Mailing List Archive

Embperl on OpenSUSE 10.1
What happens with Embperl 2.2.0 on OpenSUSE 10.1?

Apache/2.2.0 and mod_perl 2.0.2.

calamari:~/.cpan/build/Embperl-2.2.0 # perl Makefile.PL
Build with support for Apache mod_perl?(y/n) [y]
Searching for Apache sources...
Look at ..
Look at ../src
Look at ./src
Apache source not found, enter path name or q to quit [q]/usr/include/apache2
Searching for Apache sources...
Look at /usr/include/apache2
Use /usr/include/apache2 as Apache source(y/n) [y]
Will use /usr/include/apache2 for Apache Headers
Enter path and file to start as httpd
[/usr/include/apache2/httpd]/usr/sbin/httpd2
Apache Version Server version: Apache/2.2.0
Library for mod_actions.c not found, please enter path to mod_actions.so
[]/usr/lib/apache2
+ Load dynamic module mod_actions.c
(/usr/lib/apache2/mod_actions.so)
+ Load dynamic module mod_cgi.c
(/usr/lib/apache2/mod_cgi.so)
+ Load dynamic module mod_alias.c
(/usr/lib/apache2/mod_alias.so)
+ Load dynamic module mod_env.c
(/usr/lib/apache2/mod_env.so)
+ Load dynamic module mod_perl.c
(/usr/lib/apache2/mod_perl.so)
+ Load dynamic module mod_mime.c
(/usr/lib/apache2/mod_mime.so)
+ Load dynamic module mod_dir.c
(/usr/lib/apache2/mod_dir.so)
+ mod_perl was build with USE_DSO
Can't locate Apache/src.pm in @INC (@INC
contains: /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .)
at Makefile.PL line 982, <STDIN> line 6.

line 982 in Makefile.PL is only executed if there's no $mp2cfg. Don't know
what it is, but shouldn't I have one?

--

Med venlig hilsen
Kaare Rasmussen, Jasonic

Jasonic Telefon: +45 3816 2582
Nordre Fasanvej 12
2000 Frederiksberg Email: kaare@jasonic.dk

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: Embperl on OpenSUSE 10.1 [ In reply to ]
> Can't locate Apache/src.pm in @INC (@INC
> contains: /usr/local/lib/perl5/5.8.8/i686-linux
> /usr/local/lib/perl5/5.8.8
> /usr/local/lib/perl5/site_perl/5.8.8/i686-linux
> /usr/local/lib/perl5/site_perl/5.8.8
> /usr/local/lib/perl5/site_perl .) at Makefile.PL line 982,
> <STDIN> line 6.
>
> line 982 in Makefile.PL is only executed if there's no
> $mp2cfg. Don't know what it is, but shouldn't I have one?
>

Makefile.PL doesn't find your mod_perl 2 installation and tries to install
for mod_perl 1.

It tries to load Apache2::BuildConfig and sets $mp2cfg (about line 500).
Maybe Apache2::BuildConfig is missing on your system?

Gerald



** Virus checked by BB-5000 Mailfilter **


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org