Compiling Perl + mod_perl on 64-bit linux

2008-08-25 Thread Dan Axtell
Hi, I've recently upgraded my main linux machine, but unfortunately the distribution (OpenSuse 11.0, AMD x86_64) has everything with Perl 5.10. I have some software that runs under mod_perl that requires Perl 5.8.8. No problem, I just build 5.8.8, right? Well, after two days I was able to ge

Re: Compiling Perl + mod_perl on 64-bit linux

2008-08-25 Thread Fred Moyer
Dan Axtell wrote: Hi, I've recently upgraded my main linux machine, but unfortunately the distribution (OpenSuse 11.0, AMD x86_64) has everything with Perl 5.10. I have some software that runs under mod_perl that requires Perl 5.8.8. No problem, I just build 5.8.8, right? Well, after two

Re: Compiling Perl + mod_perl on 64-bit linux

2008-08-25 Thread Dan Axtell
> > You will need to compile perl with -fPIC on x86_64, I think I did it with: > > ccflags='-fPIC' sh Configure -Dprefix /path to perl > > I can't remember _exactly_ if that was it though. The other options > would be to manually the edit the Makefiles but I don't remember having > to do that. >

Re: Compiling Perl + mod_perl on 64-bit linux

2008-08-25 Thread Fred Moyer
Dan Axtell wrote: You will need to compile perl with -fPIC on x86_64, I think I did it with: ccflags='-fPIC' sh Configure -Dprefix /path to perl I can't remember _exactly_ if that was it though. The other options would be to manually the edit the Makefiles but I don't remember having to do tha

Re: Compiling Perl + mod_perl on 64-bit linux

2008-08-26 Thread Niels Larsen
I had something that sounds the same. Setting CCFLAGS didnt work, but sh ./Configure -de -Accflags='-fPIC' (etc) did give a libperl that worked on AMD x86_64. With 5.10 though. Niels L Dan Axtell wrote: You will need to compile perl with -fPIC on x86_64, I think I did it with: ccflags='-fP

Re: Compiling Perl + mod_perl on 64-bit linux

2008-08-26 Thread Dan Axtell
On Tuesday 26 August 2008 7:14:35 am you wrote: > I had something that sounds the same. Setting CCFLAGS didnt > work, but > > sh ./Configure -de -Accflags='-fPIC' (etc) > > did give a libperl that worked on AMD x86_64. With 5.10 though. > OK, I tried this: sh ./Configure -de -Accflags='-fPIC'

Re: Compiling Perl + mod_perl on 64-bit linux

2008-08-26 Thread Niels Larsen
I dont have a good answer. But editing the Makefile may hide the real error .. which error appears when not editing the Makefile, and Google with that error, no hints? what happens if -Dloclibpth="/usr/lib64" is omitted? and of curiosity, what was the reason for going back to perl 5.8 from 5.10? (

Re: Compiling Perl + mod_perl on 64-bit linux

2008-08-26 Thread Dan Axtell
On Tuesday 26 August 2008 2:28:46 pm Niels Larsen wrote: > I dont have a good answer. But editing the Makefile may hide the real > error .. which error appears when not editing the Makefile, and Google > with that error, no hints? what happens if -Dloclibpth="/usr/lib64" > is omitted? and of curios

Re: Compiling Perl + mod_perl on 64-bit linux

2008-08-26 Thread Niels Larsen
Thats what I would do too. The CGI::Builder author seems to be available to help (http://perl.4pro.net), perhaps for pay, but maybe he wont charge for compile- and bug-fixing. Niels Dan Axtell wrote: On Tuesday 26 August 2008 2:28:46 pm Niels Larsen wrote: I dont have a good answer. But editin