Re: embperl

2001-09-07 Thread Jens-Uwe Mager
. As mod_perl picks up the compiler settings from the perl installation you must first compile perl with the proper compiler. But IBM does ship perl compiled using their compiler, so if you are lazy and do not recompile perl you are hosed. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827

Re: Problems building Bundle::Apache - libapreq-0.33

2001-07-17 Thread Jens-Uwe Mager
failed for Request.c The platform is Solaris, Perl 5.6.1 and Apache 1.3.20. Everything else is the latest available from CPAN. The INSTALL file is less than helpful, and a search of the modperl archives didn't find anything. Did you make install modperl yet? -- Jens-Uwe Mager HELIOS Software

Re: Problems building Bundle::Apache - libapreq-0.33

2001-07-17 Thread Jens-Uwe Mager
On Tue, Jul 17, 2001 at 11:08:43AM +0100, Alan Burlison wrote: Jens-Uwe Mager wrote: Did you make install modperl yet? Yes, via APXS. mod_perl is installed and works just fine. I can see the missing mod_perl.h file in the modperl build directory, but it doesn't appear anywhere under

Re: boot_IO error

2001-07-11 Thread Jens-Uwe Mager
: apache_1.3.19.rtl.patch modperl.rtl.patch perl-5.6.1.dlopen.patch The apache_1.3.19.rtl.patch does also apply to 1.3.20 cleanly. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX:+49 5131 709325 Internet: [EMAIL

Re: Unable to build apache + mod_perl on AIX

2001-06-20 Thread Jens-Uwe Mager
you _must_ also build perl using gcc. This means you can not use the perl which is part of AIX, as this is built using xlc. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX:+49 5131 709325 Internet: [EMAIL PROTECTED]

Re: Perm Module VM_Monitor (fwd)

2001-06-06 Thread Jens-Uwe Mager
your own local perl version. You may get around compiling apache itself by using the rtl_enable command on the httpd executable, as the patch for Apache does just that but at compile time. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320

Re: mod_perl DSO leaking on restart?

2001-04-26 Thread Jens-Uwe Mager
of httpd, one without mod_perl and one with; I set it up as a DSO since this way I only need one executable). Should I recompile it statically linked? I had the same problems, after linking modperl statically into httpd the leaks disappeared. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3

Re: [Patch] Apache-dso_module() to find if a module is loaded as DSO or not

2001-04-25 Thread Jens-Uwe Mager
variable allocations around. It probably needs a function that destroys all it's global allocations. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX:+49 5131 709325 Internet: [EMAIL PROTECTED]

Re: Prblem in loading modules

2001-04-25 Thread Jens-Uwe Mager
days ago and all should work fine. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX:+49 5131 709325 Internet: [EMAIL PROTECTED]

Patches for perl 5.6.1, Apache and modperl for the AIX 4.3 native dlopen

2001-04-22 Thread Jens-Uwe Mager
PGP message

Re: Compress::Zlib problem

2001-04-20 Thread Jens-Uwe Mager
buf) = $o-{dh}-flush(); $buf .= pack("V V", $o-{crc}, $o-{len}); print {$o-{handle}} $buf; undef $o-{dh}; } sub DESTROY { my ($o) = @_; CLOSE($o); } -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 7

Re: [gsar@ActiveState.com: v5.6.1 trial2 is available]

2001-03-14 Thread Jens-Uwe Mager
On Tue, Mar 13, 2001 at 05:57:20PM -0800, Gurusamy Sarathy wrote: There is a change in behavior here that looks somewhat suspect because the comments didn't mention it. On Wed, Feb 21, 2001 at 09:32:04PM +0100, Jens-Uwe Mager wrote: +#ifdef USE_NATIVE_DLOPEN [...] +#else

Re: Defining $PERL_CC

2001-03-07 Thread Jens-Uwe Mager
perl itself, this is not going to work. Especially the gcc command line options are different enough from the ones the IBM C compiler understands, and the modperl build procedure relies on the values recorded at the time perl was build. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827

Re: Defining $PERL_CC

2001-03-07 Thread Jens-Uwe Mager
expat-lite -DNO_DL_NEEDED `../../apaci` -c mod_perl.c /bin/sh: -I: not found. That is pretty strange. What does the following command produce on your machine: perl -MConfig -le 'print $Config{"cc"};' -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phon

Re: modPerl build failure

2001-03-07 Thread Jens-Uwe Mager
compiler and you attempt to build modperl with gcc, this does not work as both must be build using the same compiler. You will have to rebuild perl if you want to use gcc. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX

Re: [AIX] [gsar@ActiveState.com: v5.6.1 trial2 is available]

2001-02-23 Thread Jens-Uwe Mager
e main program, whereas before without the dot it meant import later by use of the loadbind() system call explicetely. But the native dlopen from AIX does not use loadbind(), so the old plug-ins references back into the main part do not get resolved. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede

Re: [gsar@ActiveState.com: v5.6.1 trial2 is available]

2001-02-22 Thread Jens-Uwe Mager
en to import symbols from the main program. The patch already does that in makedef.pl for the perl.exp file, but only on AIX 4.3 and above because the older AIX linkers do strange things if this option is used. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone:

Re: mod_perl as DSO on AIX with perl-5.6

2001-02-21 Thread Jens-Uwe Mager
--- } elsif ($PLATFORM eq 'aix') { -print "#!\n"; +print "#! .\n"; } my %skip; -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX:+49 5131 709325 Internet: [EMAIL PROTECTED]

Re: mod_perl and DSO

2001-01-29 Thread Jens-Uwe Mager
: symbol not found: Perl_incgv - the line 236 is : LoadModule perl_module libexec/libperl.so - libperl.so is correct and in the right place - apache works fine without the 236 line in httpd.conf I would suspect that on plain old S5R4 machines you must build perl with a shared core. -- Jens-Uwe

Re: mod_perl as DSO on AIX with perl-5.6

2001-01-28 Thread Jens-Uwe Mager
loads to fail. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX:+49 5131 709325 Internet: [EMAIL PROTECTED]

Re: [OT] XML::DOM

2001-01-24 Thread Jens-Uwe Mager
ll applies today, I have no idea. I still know a few platforms that do not support loading C++ code from a loadable plug-in (dll, shared object) if the main program is not a C++ program. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131

Re: Compiling mod_perl 1.24 with the Sun Solaris C Compiler

2001-01-24 Thread Jens-Uwe Mager
most plug-in systems it is recommended to compile all parts that are loaded into one address space using the exactly same compiler, that means in the modperl case all of Apache, Apache plug-ins, perl and perl plug-ins should be compiled using the Sun Workshop C compiler. Mixing compilers arbitrarily is a

Re: ap_configtestonly

2001-01-20 Thread Jens-Uwe Mager
in) This symbol was only used for a short while from modperl until it was found that this is supposed to be a private Apache symbol. I believe 1.24_1 does not use it anymore, so upgrade modperl to a newer version. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone

Re: Apache::Registry + errors in a browser

2001-01-12 Thread Jens-Uwe Mager
, $$code, "\n", ); $pr-{'sub'} = \$sub; } 1; That way I can try my perl content handlers by just commenting out the package statement just like ordinary perl scripts. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 308

Re: libapreq-0.31_03

2000-12-27 Thread Jens-Uwe Mager
to retrieve these flags if needed. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX:+49 5131 709325 Internet: [EMAIL PROTECTED] Index: Cookie/Cookie.xs

Re: Modifying the reported size in a directory index

2000-12-27 Thread Jens-Uwe Mager
! Thanks for making that available, it exactly does what I wanted. I just patched my modperl with the patch and also installed Sys::Stat and use the new module in my MacBinary fixup handler and it works beautifully. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone

Re: ANNOUNCE: Embperl 2.0b1

2000-12-22 Thread Jens-Uwe Mager
from an FTP archive, but for development versions this is a bit painful. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX:+49 5131 709325 Internet: [EMAIL PROTECTED]

Re: RFC: mod_perl advocacy project resurrection

2000-12-05 Thread Jens-Uwe Mager
built using a exactly the same compiler and a coherent set of compiler flags. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX:+49 5131 709325 Internet: [EMAIL PROTECTED

Re: Problem Building Mod_Perl 1.24_01 under AIX and gcc

2000-12-05 Thread Jens-Uwe Mager
compiler. In your case perl was compiled using the IBM C compiler, and the perl build procedure introduces compiler flags needed for mod_perl that are doing something completely different with gcc, causing the confusing error message. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827

Re: Apache 1.3.14 build

2000-12-05 Thread Jens-Uwe Mager
. directories but terminated prematually with warning message for "Apache Version 1.3.0 required, aborting.." Use the cvs version of mod_perl or one of the recent snapshots, the version number definition in Apache changed recently causing confusion in older mod_perl versions. -- Jens-Uwe Mag

Re: [OFF] strace

2000-11-27 Thread Jens-Uwe Mager
, that strace under DEC Unix is not what you think, it is a System V streams trace utility. As far as I know there is no system call trace utility on DEC Unix. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX:+49 5131 709325

Re: mod_perl-1.24_01 problems under AIX

2000-11-27 Thread Jens-Uwe Mager
to the command line to build perl, but this compiler option means something completely different to gcc, causing the strange error. If you want to use gcc to build mod_perl, you will also have to use gcc to build perl itself. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany

Re: Memory Usage

2000-11-08 Thread Jens-Uwe Mager
dations?" I do not think that this is a problem, as if a client dies after it has done it's number of requests it will not load and reload all DSO's, it will just fork a fresh copy of the master and be done with it. I think the problem only happens with the restart signal. -- Jens-Uwe Mager

Re: Memory Usage

2000-11-07 Thread Jens-Uwe Mager
estart and cause all global/static variables to be reset to NULL, forgetting all traces about previously allocated memory. If mod_perl is built statically, it will not be reloaded and thus all global/static variables persist and perl will re-use the memory allocated. -- Jens-Uwe Mager HELIOS Soft

Re: Memory Usage

2000-11-07 Thread Jens-Uwe Mager
wondering if other folks that embed perl interpreters into their applications are having similar problems. I would believe that is a general perl bug. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX:+49 5131 709325 Internet

Re: Memory Usage

2000-11-07 Thread Jens-Uwe Mager
ocs/dso.html" Wait a sec, not _Apache DSO's_ in general are experimental, these appear to work quite fine. The problem is with mod_perl as a DSO, that is one particular Apache module that has the problem. And this is probably not even mod_perl's fault but the way perl itself is managing memory. -- J

Re: Problem building mod_perl on AIX with apxs DSO style

2000-09-15 Thread Jens-Uwe Mager
/support/httpd.exp.orig Wed Mar 1 16:35:34 2000 +++ src/support/httpd.exp Wed Mar 1 16:35:42 2000 @@ -1,4 +1,4 @@ -#! . +#! ap_MD5Encode ap_MD5Final ap_MD5Init Perl-5.6.0 with AIX patch distributed by Jens-Uwe Mager on this list a few months ago. Apache-1.3.12 mod_perl-1.24 I

Re: open(FH,'|qmail-inject') fails

2000-09-08 Thread Jens-Uwe Mager
and relies instead on sendmail's rather largish machinery to parse email adresses. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX:+49 5131 709325 Internet: [EMAIL PROTECTED]

Re: Question about suggested AIX patch to perl.

2000-09-02 Thread Jens-Uwe Mager
the .tar.gz file from CPAN. To find out if you have the problem you will need to use a perl XS module that also needs to reference symbols from the Apache core, for example HTML::Embperl or libapreq. These modules will dump core without the patch. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3

anon CVS of modperl hangs?

2000-08-23 Thread Jens-Uwe Mager
I am trying to do an anon cvs update of modperl and it appears to hang without doing anything. I can cvs upd other projects. Could anyone try that and look if it works? -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX:+49

PATCH: AIX build fix for the apaci style build

2000-08-23 Thread Jens-Uwe Mager
hared=include" I also tested the build procedure using the apxs tool like this: perl Makefile.PL USE_APXS=1 EVERYTHING=1 WITH_APXS=/usr/local/apache/bin/apxs this still works but has the problem of the memory leak at server restart. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 308

Modifying the reported size in a directory index

2000-08-22 Thread Jens-Uwe Mager
this in plain perl? -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX:+49 5131 709325 Internet: [EMAIL PROTECTED]

Re: AIX 4.3.2, perl 5.6, mod_perl 1.24, apache 1.3.12 installation problems

2000-08-09 Thread Jens-Uwe Mager
): perl Makefile.PL USE_APXS=1 EVERYTHING=1 \ WITH_APXS=/usr/local/apache/bin/apxs -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX:+49 5131 709325 Internet: [EMAIL PROTECTED]

Re: Perl as DSO...whats wrong with it, specifically?

2000-07-26 Thread Jens-Uwe Mager
e AIX case without APXS, this needs fixing. Does anybody know why there are so many ways to build mod_perl? And what is actually the most important way to build it? I always assumed the apxs way by touching the least of Apache is to be preferred. -- Jens-Uwe Mager HELIOS Software GmbH Steinrie

Re: Perl as DSO...whats wrong with it, specifically?

2000-07-25 Thread Jens-Uwe Mager
memory footprint back to normal. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX:+49 5131 709325 Internet: [EMAIL PROTECTED]

Re: Perl as DSO...whats wrong with it, specifically?

2000-07-25 Thread Jens-Uwe Mager
from CVS (as of June 9, 2000 at least). There are a few patches necessary that must be applied to the _perl_ distribution to fix bugs I did in the original dl_aix.xs from perl around 1992 or so. But the latest CVS versions work fine on my AIX boxes. -- Jens-Uwe Mager HELIOS Software GmbH

Re: Perl as DSO...whats wrong with it, specifically?

2000-07-25 Thread Jens-Uwe Mager
(unrelated?) then I had w/ 5.00503. That is strange - what kind of errors do you get? -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX:+49 5131 709325 Internet: [EMAIL PROTECTED]

Re: Perl as DSO...whats wrong with it, specifically?

2000-07-25 Thread Jens-Uwe Mager
On Tue, Jul 25, 2000 at 11:57:56PM +0200, Jens-Uwe Mager wrote: From the last post from you I have you appeared to use mod_perl-1.22. What exactly have you been using? Oops - I did misread, you said you are using 1.24. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen

Re: AIX, dlopen problem?

2000-07-07 Thread Jens-Uwe Mager
/lib/perl5/site_perl/5.005/aix/auto/Apache/mod_perl.exp -bI:/usr/local/apache/libexec/httpd.exp Add these to the link line of the AuthenKerberos module. If that still does not work, I would need to examine the exact link command line and the output of "dump -nv AuthenKerberos.so". -- Je

Re: non-DSO mod_perl, Embperl, and AIX not working

2000-06-16 Thread Jens-Uwe Mager
push @ldflags, "-bI:$httpdexp"; + } else { + $httpdexp = $self-dir . "/support/httpd.exp"; + push @ldflags, "-bI:$httpdexp" if -e $httpdexp; + } } return join(' ', @ldflags); } -- Jens-Uwe Mager HELIOS Software GmbH Steinri

Re: non-DSO mod_perl, Embperl, and AIX not working

2000-06-14 Thread Jens-Uwe Mager
lobal symbols enter the inter-module name space through the use of .exp files. If you link in global symbols from some .o files these are not global symbols for other shared objects unless being made inter-module global by an .exp file. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede

Re: non-DSO mod_perl, Embperl, and AIX not working

2000-06-14 Thread Jens-Uwe Mager
httpd list the symbols in question like this? [207] 0x20007458.data EXP DS SECdef[noIMid] ap_table_set -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX:+49 5131 709325 Internet: [EMAIL

Re: non-DSO mod_perl, Embperl, and AIX not working

2000-06-08 Thread Jens-Uwe Mager
the Linker Option -G to turn on runtime linking for a module, you must use the -bE:export file -bM:SRE options instead. The option -berok may not be used with the classic style dynamic linking, this is causing the segfault here. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Ge

Re: non-DSO mod_perl, Embperl, and AIX not working (duplicate ?)

2000-06-08 Thread Jens-Uwe Mager
retty much have only one choice, namely use the IBM C compiler. I had more than one problem with gcc over the years, so I believe both compilers are on par problem wise. The IBM C compiler appears to produce much better code on POWER/PowerPC machines, so I stick with it. -- Jens-Uwe Mager HELIOS Sof

Re: Can't compile Connection.c (mod_perl) under AIX4.3.2 using gcc

2000-05-22 Thread Jens-Uwe Mager
all with xlc. Especially perl modules need to use the exactly same compiler and flags as used in compiling the main perl. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX:+49 5131 709325 Internet: [EMAIL PROTECTED]

Re: Apache/mod_perl install on AIX 4.3.3 failing - maybe compiler?

2000-02-09 Thread Jens-Uwe Mager
something along the lines of: CC="xlc -D_ALL_SOURCE" ./configure ... will do. I always add the -D_ALL_SOURCE so packages find the available but by default invisible extented BSD style functions without saying I want a pure BSD environment. -- Jens-Uwe Mager HELIOS Software GmbH

Re: make test fails on Embperl on AIX ...

2000-02-08 Thread Jens-Uwe Mager
/Faq.pod.1.html#Embperl_and_mod_perl_on_AIX he also sends the patches to build Embperl on AIX, maybe he (or anybody else on the list) has more ideas what's going wrong I appear to have missed the initial post, what is going wrong? -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen

Re: Apache/mod_perl install on AIX 4.3.3 failing - maybe compiler?

2000-02-08 Thread Jens-Uwe Mager
embers all compiler options used to configure perl and re-applies these upon compiling perl modules. To use modperl you must compile all parts of the equation (apache, perl, modperl other perl modules) with exactly the same compiler, that means either all IBM xlc or all gcc. Jens-Uwe Mager PS: This

Re: Why does Apache do this braindamaged dlclose/dlopen stuff?

2000-01-19 Thread Jens-Uwe Mager
*not* be dlclosed, EVEN IF THEY ARE NO LONGER IN THE CONFIG FILE!!! I believe they did that on purpose, akin to the line let's see if we survive a complete restart as via apachectl restart. -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX

Re: DSO slows things down?

2000-01-14 Thread Jens-Uwe Mager
libraries into their programs (if that is possible at all on the machine in question). -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX:+49 5131 709325 Internet: [EMAIL PROTECTED]

Re: embperl pages and braindead sucking robots

1999-11-24 Thread Jens-Uwe Mager
. That would be necessary if this guy would suck up all my CPU power/bandwidth, but that did not work out that way. I think I will have to put some code into my embperl pages to produce an error if there is a path info for a script that is not supposed to have one. -- Jens-Uwe Mager HELIOS Software

embperl pages and braindead sucking robots

1999-11-23 Thread Jens-Uwe Mager
is this ExtractorPro thing? -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX:+49 5131 709325 Internet: [EMAIL PROTECTED]