Perl 5.8.0 to 5.8.1 under RH 9 - mod_perl problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a little off topic, but my question about it on other lists have not
resulted in a solution. I am trying to upgrade perl on a RH 9 system using
Fedora src.rpms. Hopefully, a Fedora guru can point me in the correct direction.

I built perl and perl_suid from Fedora 5.8.1 src.rpms without problems and
installed same (had to use --force because the CGI's man and other bundle
files conflict with the man's from the CGI bundle). I did cpan2rpm on some of
them to upgrade them.

However, it broke mod_perl and killed the httpd server. Apache was unhappy
with LoadModule perl_module modules/mod_perl.so - the libperl.so referenced by
mod_perl.so was not up to its standard.

So, when I attempt to rebuild mod_perl from src.rpm, I get

rpmbuild --rebuild mod_perl-1.99_07-5.src.rpm
....
gcc -I/home/admin/rpms/BUILD/mod_perl-1.99_07/src/modules/perl
-I/home/admin/rpms/BUILD/mod_perl-1.99_07/xs -I/usr/include/httpd -D_REENTRANT
-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
-I/usr/local/include  -I/usr/include/gdbm 
-I/usr/lib/perl5/5.8.1/i386-linux-thread-multi/CORE -DMOD_PERL -O2 -g -pipe
-march=i386 -mcpu=i686 -fPIC \
-c modperl_env.c && mv modperl_env.o modperl_env.lo
modperl_env.c: In function `modperl_env_hash_keys':
modperl_env.c:48: `my_perl' undeclared (first use in this function)
modperl_env.c:48: (Each undeclared identifier is reported only once
modperl_env.c:48: for each function it appears in.)
make[1]: *** [modperl_env.lo] Error 1
make[1]: Leaving directory
`/home/admin/rpms/BUILD/mod_perl-1.99_07/src/modules/perl'
make: *** [modperl_lib] Error 2
error: Bad exit status from /home/admin/rpms/tmp/rpm-tmp.88664 (%build)
 

I do not see anything at line 48 along those lines. Also, the src.rpm
completes without error under 5.8.0 so it must be a 5.8.1 thingy that the
src.rpm spec file does not handle correctly or a missing patch or what?


I tried using a later version of mod_perl and run into all sorts of
dependencies, including wanting me to upgrade httpd ....

[admin@www SRPMS]$ rpmbuild --rebuild  mod_perl-1.99_09-10.src.rpm
Installing mod_perl-1.99_09-10.src.rpm
error: Failed build dependencies:
        httpd-devel >= 2.0.45-14 is needed by mod_perl-1.99_09-10
        apr-devel is needed by mod_perl-1.99_09-10
        apr-util-devel is needed by mod_perl-1.99_09-10
[admin@www SRPMS]$ rpm -qa | grep -i apr-
[admin@www SRPMS]$ rpm -qa | grep -i httpd-devel
httpd-devel-2.0.40-21.9
   and so on.

Back to good ole 5.8.0 ....

Argg, why is it always so complicated ??

I googled but did not see anything that would help. Suggestions please?

Hopefully, an upgraded mod_perl would resolve the libperl.so issue?

Any way to use cpan2rpm to achieve a fix?

Thank you.







[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux