cc: Error: modperl_exports.c under Tru64 Unix

2004-12-13 Thread sdfgsd sergserg
Tried to compile RC1 under HP Tru64 Unix 4.0g(JAVA) AS1200 [EMAIL PROTECTED] (ev56) (Static build, because I think Tru64 doesn't support dynamic loading) First I ran: perl Makefile.PL MP_USE_STATIC=1 \ MP_AP_PREFIX=/house/doink123/httpd-2.0.52 \ MP_AP_CONFIGURE="--with-mpm=prefork --pref

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-13 Thread Stas Bekman
sdfgsd sergserg wrote: Tried to compile RC1 under HP Tru64 Unix 4.0g(JAVA) AS1200 [EMAIL PROTECTED] (ev56) (Static build, because I think Tru64 doesn't support dynamic loading) First I ran: perl Makefile.PL MP_USE_STATIC=1 \ MP_AP_PREFIX=/house/doink123/httpd-2.0.52 \ MP_AP_CONFIGURE="--wi

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-13 Thread Stas Bekman
Stas Bekman wrote: cc: Error: modperl_exports.c, line 195: In the initializer for modperl_hack_io_apache_init, "modperl_io_apache_init" is not declared. (undeclared) const void *modperl_hack_io_apache_init = (const void *)modperl_io_apache_init; modperl_exports.c starts with: #include "mod_perl

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-13 Thread Joe Orton
On Mon, Dec 13, 2004 at 08:12:19PM -0500, Stas Bekman wrote: > In fact we already somewhat handle that in modperl_io_apache.h > > > > #ifdef PERLIO_LAYERS > [...] > MP_INLINE void modperl_io_apache_init(pTHX); > > #else /* #ifdef PERLIO_LAYERS */ > > #define modperl_io_apache_init(pTHX) > >

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-13 Thread sdfgsd sergserg
Oh my mail is not the full version :) I'm sorry, I wrote it at 1 a.m. So first I wanted to say that I got an error when running this: >> perl Makefile.PL MP_USE_STATIC=1 \ >> MP_AP_PREFIX=/house/doink123/httpd-2.0.52 \ >> MP_AP_CONFIGURE="--with-mpm=prefork >> --prefix=/house/doink123

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-14 Thread Stas Bekman
Joe Orton wrote: On Mon, Dec 13, 2004 at 08:12:19PM -0500, Stas Bekman wrote: In fact we already somewhat handle that in modperl_io_apache.h #ifdef PERLIO_LAYERS [...] MP_INLINE void modperl_io_apache_init(pTHX); #else /* #ifdef PERLIO_LAYERS */ #define modperl_io_apache_init(pTHX) but for some r

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-14 Thread Stas Bekman
Joe Orton wrote: [...] Thanks Joe. So what kind of hack of the hack can we use here? I suppose that even if it did expand it, there would have been a problem since we have: #define modperl_io_apache_init(pTHX) so it expands to nothing. Of course the right solution is to never include this in t

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-14 Thread Joe Orton
On Tue, Dec 14, 2004 at 03:24:30PM -0500, Stas Bekman wrote: > Joe Orton wrote: > >Just make the generated export stub code #ifndef'ed? > > > >#ifndef modperl_io_apache_init > >const void *modperl_hack_io_apache_init = (const void > >*)modperl_io_apache_init; > >#endif > > > >if the symbol is a ma

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-14 Thread Stas Bekman
Philippe M. Chiasson wrote: There is already support in the modperl_exports.c generation code to exclude certain functions depending on build options. So in summary, if we just excluded modperl_io_apache_init() from modperl_exports.c when PERLIO is absent, we would be good ? Or is there other mod

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-14 Thread Stas Bekman
sdfgsd sergserg wrote: Oh my mail is not the full version :) I'm sorry, I wrote it at 1 a.m. So first I wanted to say that I got an error when running this: perl Makefile.PL MP_USE_STATIC=1 \ MP_AP_PREFIX=/house/doink123/httpd-2.0.52 \ MP_AP_CONFIGURE="--with-mpm=prefork --prefix=/house/doink12

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-14 Thread Philippe M. Chiasson
Philippe M. Chiasson wrote: Stas Bekman wrote: Philippe M. Chiasson wrote: There is already support in the modperl_exports.c generation code to exclude certain functions depending on build options. So in summary, if we just excluded modperl_io_apache_init() from modperl_exports.c when PERLIO is a

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-15 Thread sdfgsd sergserg
Builds fine. There are three warnings BTW: cc: Info: modperl_global.c, line 165: Extraneous semicolon. (extrasemi) MP_GLOBAL_IMPL(pconf, apr_pool_t *); ---^ cc: Info: modperl_global.c, line 166: Extraneous semicolon. (extrasemi) MP_GLOBAL_IMPL(server_rec, server_rec

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-15 Thread Stas Bekman
sdfgsd sergserg wrote: Builds fine. There are three warnings BTW: cc: Info: modperl_global.c, line 165: Extraneous semicolon. (extrasemi) MP_GLOBAL_IMPL(pconf, apr_pool_t *); ---^ cc: Info: modperl_global.c, line 166: Extraneous semicolon. (extrasemi) MP_GLOBAL_IMPL(

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-16 Thread Nick ***
spe145.testdrive.hp.com> perl t/REPORT Using /house/doink123/mp2_svn/blib 9404:/house/doink123/httpd-2.0.52/.libs/lt-httpd: /sbin/loader: Fatal Error: cannot map libperl.so -8<-- Start Bug Report 8<-- 1. Problem Description: [DESCRIBE THE PROBLEM HERE] 2

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-16 Thread Stas Bekman
Nick *** wrote: spe145.testdrive.hp.com> perl t/REPORT Using /house/doink123/mp2_svn/blib 9404:/house/doink123/httpd-2.0.52/.libs/lt-httpd: /sbin/loader: Fatal Error: cannot map libperl.so -8<-- Start Bug Report 8<-- Thanks. I've asked that for Philippe, who

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-13 Thread Stas Bekman
Stas Bekman wrote: Stas Bekman wrote: cc: Error: modperl_exports.c, line 195: In the initializer for modperl_hack_io_apache_init, "modperl_io_apache_init" is not declared. (undeclared) const void *modperl_hack_io_apache_init = (const void *)modperl_io_apache_init; modperl_exports.c starts with:

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-14 Thread Joe Orton
On Tue, Dec 14, 2004 at 10:27:03AM -0500, Stas Bekman wrote: > Joe Orton wrote: > >On Mon, Dec 13, 2004 at 08:12:19PM -0500, Stas Bekman wrote: > > > >>In fact we already somewhat handle that in modperl_io_apache.h > >> > >> > >> > >>#ifdef PERLIO_LAYERS > >>[...] > >>MP_INLINE void modperl_io_apac

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-14 Thread Philippe M. Chiasson
Stas Bekman wrote: Joe Orton wrote: On Mon, Dec 13, 2004 at 08:12:19PM -0500, Stas Bekman wrote: In fact we already somewhat handle that in modperl_io_apache.h #ifdef PERLIO_LAYERS [...] MP_INLINE void modperl_io_apache_init(pTHX); #else /* #ifdef PERLIO_LAYERS */ #define modperl_io_apache_init(pTH

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-14 Thread Stas Bekman
Joe Orton wrote: On Tue, Dec 14, 2004 at 03:24:30PM -0500, Stas Bekman wrote: Joe Orton wrote: Just make the generated export stub code #ifndef'ed? #ifndef modperl_io_apache_init const void *modperl_hack_io_apache_init = (const void *)modperl_io_apache_init; #endif if the symbol is a macro then t

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-14 Thread Philippe M. Chiasson
Stas Bekman wrote: Philippe M. Chiasson wrote: There is already support in the modperl_exports.c generation code to exclude certain functions depending on build options. So in summary, if we just excluded modperl_io_apache_init() from modperl_exports.c when PERLIO is absent, we would be good ? O

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-14 Thread Stas Bekman
Stas Bekman wrote: sdfgsd sergserg wrote: Tried to compile RC1 under HP Tru64 Unix 4.0g(JAVA) AS1200 [EMAIL PROTECTED] (ev56) (Static build, because I think Tru64 doesn't support dynamic loading) First I ran: perl Makefile.PL MP_USE_STATIC=1 \ MP_AP_PREFIX=/house/doink123/httpd-2.0.52 \ M

Re: cc: Error: modperl_exports.c under Tru64 Unix

2004-12-18 Thread Nick ***
Can't make loaded symbols global on this platform while loading /house/doink123/mp2_svn/blib/arch/auto/APR/Const/Const.so at /usr/local/lib/perl5/5.6.1/alpha-dec_osf/DynaLoader.pm line 206. > Оригинално писмо >От: Stas Bekman <[EMAIL PROTECTED]> >Относно: Re