-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bring it back to the list:
Hi, assuming you have installed perl in /opt/perl4modperl. You have to call mod-perl's Makefile.PL like this: - ---------------------8<--------------------- cd /tmp/mod_perl-2.0.1 /opt/perl4modperl/bin/perl Makefile.PL - ---------------------8<--------------------- Before doing that I please completely remove the source-files you tried compiling the last time and unzip the mod-perl.tar.gz once more. You can even read this thread where I've posted the complete installation process: http://www.gossamer-threads.com/lists/modperl/modperl/83574#83578 Just ask if there are more questions ;-) Tom [EMAIL PROTECTED] wrote: > Hello Mr.Tom Schindl, > I tried your suggestion. But I could not find a way to link the > /opt/perl4modperl libraries to the mod perl config script ( makefile > generator by Makefile.pl ). The makefile generator mentioned earlier by > default takes /usr/bin/perl and /usr/local/lib/perl . Also, I could not fine > how to include perl directioies in mod perl build options. Can you suggest a > way out of it. > > I would be much grateful if you could do so. > > > > With warm regards. > > Vivek J. Joshi. > > [EMAIL PROTECTED] > Trikon electronics Pvt. Ltd. > > --New opinions often appear first as jokes and fancies, then as blasphemies > and treason, then as questions open to discussion, and finally as established > truths. > > > > Tom Schindl wrote: > >>>-----BEGIN PGP SIGNED MESSAGE----- >> >>Hash: SHA1 >> >>[EMAIL PROTECTED] wrote: >> >>>----------------------- Start Bug Report ---------------------- >>>1. Problem Description: >>> >>>I am using an AMD 64-bit dual processor machine with 4GB RAM. The operating > > system is Slackware Lin > >>>ux 10. I have Apache 2.0.54 and Perl 5.8.6 . I am trying to install mod perl > > and running with all a > >>> problem while I run make. The config process goes fine. The apxs and > > apr-config are passed during > >>>configuration process properly. When the make command runs, I get the > > following error:- > >>>I get the following error which says:- >>> >>>/**********************************************************************/ >>> >>> > > /opt/crosstool/x86_64-unknown-linux-gnu/gcc-3.4.1-glibc-2.3.3/lib/gcc/x86_64-unk > nown-linux-gnu/3.4. > >>>1/../../../../x86_64-unknown-linux-gnu/bin/ld: > > /usr/local/lib/perl5/5.8.6/x86_64-linux/auto/DynaLoa > >>>der/DynaLoader.a(DynaLoader.o): relocation R_X86_64_32 can not be used when > > making a shared object; > >>> recompile with -fPIC >>>/usr/local/lib/perl5/5.8.6/x86_64-linux/auto/DynaLoader/DynaLoader.a: could > > not read symbols: Bad v > >>>alue >>>collect2: ld returned 1 exit status >>>make[1]: *** [mod_perl.so] Error 1 >>> >>>/**********************************************************************/ >>> >>>The entire command runs as follows:- >>> >>>/**********************************************************************/ >>> >>>x86_64-unknown-linux-gnu-gcc -shared -L/usr/local/lib \ >>> \ >>>mod_perl.lo modperl_interp.lo modperl_tipool.lo modperl_log.lo > > modperl_config.lo modperl_cmd.lo mod > >>>perl_options.lo modperl_callback.lo modperl_handler.lo modperl_gtop.lo > > modperl_util.lo modperl_io.l > >>>o modperl_io_apache.lo modperl_filter.lo modperl_bucket.lo modperl_mgv.lo > > modperl_pcw.lo modperl_gl > >>>obal.lo modperl_env.lo modperl_cgi.lo modperl_perl.lo modperl_perl_global.lo > > modperl_perl_pp.lo mod > >>>perl_sys.lo modperl_module.lo modperl_svptr_table.lo modperl_const.lo > > modperl_constants.lo modperl_ > >>>apache_compat.lo modperl_error.lo modperl_debug.lo modperl_common_util.lo > > modperl_common_log.lo mod > >>>perl_hooks.lo modperl_directives.lo modperl_flags.lo modperl_xsinit.lo > > modperl_exports.lo -Wl,-E > >>>-L/usr/local/lib > > /usr/local/lib/perl5/5.8.6/x86_64-linux/auto/DynaLoader/DynaLoader.a > -L/usr/local/ > >>>lib/perl5/5.8.6/x86_64-linux/CORE -lperl -lnsl -ldl -lm -lcrypt -lutil -lc \ >>>-o mod_perl.so >>> > > /opt/crosstool/x86_64-unknown-linux-gnu/gcc-3.4.1-glibc-2.3.3/lib/gcc/x86_64-unk > nown-linux-gnu/3.4. > >>>1/../../../../x86_64-unknown-linux-gnu/bin/ld: > > /usr/local/lib/perl5/5.8.6/x86_64-linux/auto/DynaLoa > >>>der/DynaLoader.a(DynaLoader.o): relocation R_X86_64_32 can not be used when > > making a shared object; > >>> recompile with -fPIC >>>/usr/local/lib/perl5/5.8.6/x86_64-linux/auto/DynaLoader/DynaLoader.a: could > > not read symbols: Bad v > >>>alue >>>collect2: ld returned 1 exit status >>>make[1]: *** [mod_perl.so] Error 1 >>>make[1]: Leaving directory > > `/home/staff/install/mod_perl-2.0.1/src/modules/perl' > >>>make: *** [modperl_lib] Error 2 >>> >>>/**********************************************************************/ >>> >>>I guess it is a problem with perl installation where Dynaloader should have > > been installed with > >>>-fPIC. If it is so, will I have to reinstall my perl? I dont want to do that > > because all this is being > >>> done on a server and the slightest change in configuration will change the > > entier setup. Can there > >>> be any other way to solve this problem , probably a workaround which >>> doesnot > > disturb the existing > >>>configuration. >>> >> >> >>No. Not as far as I know. If you don't want to modify your existing >>installation may I suggest that you install perl for mod_perl only e.g. >>in /opt/perl4mod_perl? >> >>Tom >>-----BEGIN PGP SIGNATURE----- >>Version: GnuPG v1.4.0 (GNU/Linux) >>Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org >> >>iD8DBQFDTK7vkVPeOFLgZFIRAr4bAJ4qSG+zQQ6nj131yyvQn9OZXzcEEwCgj+dV >>Vtre+jPtjSS0ZePUmeBCgMU= >>=nEjn >>-----END PGP SIGNATURE----- > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org iD8DBQFDTk9TkVPeOFLgZFIRAvEVAJ9lRoU8Kn31v+xGqAUFNVHUW8rUywCfS2v5 QRaBwdfBemTf5zkGKsgcyMY= =Z+LF -----END PGP SIGNATURE-----