Antwort: Re: Re: compile embperl on fedora core 1

2003-11-10 Thread Alexander Hartmaier



Hi Gerald!

Here is my BuildConfig.pm from 'Fedora Core 1' (alias RedHat 10).

(See attached file: BuildConfig.pm)

It's in the dir '
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi/Apache'.

I have added 'usr/include/apr-0' myself to the Makefile and this gets Embperl
working.

The only problem I'm encountering now is that the apache childs (2.0.47, the
version that ships with fedora) crash with a segmentation fault when I generate
my graphs. In offline mode this embperl pages work.

I will now compile apache and mod_perl myself and try if this works.

Alex




Von:  Gerald Richter <[EMAIL PROTECTED]> am 07.11.2003 20:29



An:   Alexander Hartmaier/DEBIS/EDVG/[EMAIL PROTECTED], [EMAIL PROTECTED]
Kopie:

Thema:Re: Re: compile embperl on fedora core 1

> #35 escape.htm...
> Error in Line 44
> Is: >HashinAhttp://localhost/tests?B=2&A=1";><
> Should: >HashinAhttp://localhost/tests?A=1&B=2";><

Ignore this, this is just a problem of hash order. I need to fix this for
Perl 5.8.1 anyway. No problem of Embperl itself.


>
> @Gerald: could you fix the Makefile.PL?! Thanks!
>

I have done some work in this direction. The include path is taken form the
mod_perl installation, to make sure Embperl uses the same Apache as mod_perl
(otherwise it would crash). It looks like mod_perl debian packet is compiled
differently then the usual way or the Apache header files have been moved
after the compile of mod_perl.

To narrow down the problem, could you please send me the the files from your
perl installation
lib/site_perl/5.8.0/i686-linux-thread-multi/Apache/BuildConfig.pm. Of course
you need to replace the Perl version and architecture directories with your
version. In case you have an Apache2 directory, please send me the
BuildConfig.pm from there also

Gerald


> Lets look if Embperl really works...
>
>
>
>
> Von:  Benni Baermann <[EMAIL PROTECTED]> am 07.11.2003 15:41
>
>
>
> An:   [EMAIL PROTECTED]
> Kopie:
>
> Thema:Re: compile embperl on fedora core 1
>
> On Fri, Nov 07, 2003 at 03:31:29PM +0100, Alexander Hartmaier wrote:
>> I just looked after the missing .h files:
>>
>> They are located in '/usr/include/apr-0' (from the apr-devel rpm).
>>
>> Maybe this path needs to be included as well as
>> '/usr/include/httpd'???
>
> For me this works. (See one of the previous threads).
>
> Add "-I/usr/include/apr-0" at the appropriate point in Makefile.PL. I
> have done this at the point, where $i got his value. maybe there is a
> better point for this. just a dirty hack.
>
> Benni

--
Gerald Richter ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:   Tulpenstrasse 5  D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED]  Voice:   +49 6133 939-122
WWW:http://www.ecos.de/  Fax: +49 6133 939-333
--
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-

*2*



BuildConfig.pm
Description: Binary data
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: make failed with 2.0b9

2003-11-10 Thread Benni Baermann
On Mon, Nov 03, 2003 at 09:33:24AM +1100, Angus Lees wrote:
> > /usr/include/apache2/ap_config.h:59: apr_hooks.h: No such file or
> > directory
> 
> I presume you have the apache2-dev package installed?

Yes, but there seems to be a missing -I in Maekfile.PL. See mails
before.

Benni
-- 
http://www.aymargeddon.de


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems with Embperl 2.0b9 install on RedHat 8

2003-11-10 Thread Jarrod Stenberg
> Could you please run
> 
> make test TESTARGS="-hi"
> 
> and send me the ouput. If you get a SIGSEGV, please
> run also
> 
> make test TESTARGS="-hi --gdb"

Gerald,

Done.  I sent you both.

Another thing to note.  Both of these cause the same
error:
EMBPERL_COOKIE_EXPIRES "Friday, 31-Dec-2010 14:00:00
GMT"
EMBPERL_COOKIE_EXPIRES "+3M"


Here are the simple httpd.conf entries:
LoadModule perl_module modules/mod_perl.so
LoadModule embperl_module
"/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Embperl/Embperl.so"
EMBPERL_COOKIE_EXPIRES "+3M"


-Jarrod

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems with Embperl 2.0b9 install on RedHat 8

2003-11-10 Thread Gerald Richter

Jarrod,
>
> Done.  I sent you both.
>
> Another thing to note.  Both of these cause the same
> error:
> EMBPERL_COOKIE_EXPIRES "Friday, 31-Dec-2010 14:00:00
> GMT"
> EMBPERL_COOKIE_EXPIRES "+3M"
>
>

ok, thanks I will take a look at it

Gerald

--
Gerald Richter ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:   Tulpenstrasse 5  D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED]  Voice:   +49 6133 939-122
WWW:http://www.ecos.de/  Fax: +49 6133 939-333
--
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



sigfault with 2.0b9

2003-11-10 Thread Benni Baermann
Hi!

After upgrading to Perl 5.8.1 i got 

[Mon Nov 10 14:58:24 2003] [notice] child pid 7675 exit signal
Segmentation fault (11)

for every embperl-page i request. Any hints?

I use:
Embperl 2.0b9
mod_perl-1.99_10
(both self made)

and Apache:

Server version: Apache/2.0.47
Server built:   Jul 15 2003 13:47:34

from Debian unstable

Benni
-- 
http://www.aymargeddon.de


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]