perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manoj Bist" <manoj.bi...@gmail.com>
Subject Re: mod_perl2 compiling error
Date Wed, 22 Aug 2007 19:26:18 GMT
Hi Jon,

Which OS platform are you working on?

On platforms like ubuntu linux you can get precompile packages for all
these modules.
You just need to do: sudo apt-get install <package-name>.

An option like this may already be available on your development platform.

-Manoj.

On 8/22/07, jónJósef Bjarnason <jonb@nemendur.is> wrote:
> Thanks.
>
> I had to compile Perl again, then mod_perl2.
> mod_perl works now, nothing else thoguh,
> Problems compiling DBI, DBD......etc. (MySql on a different machine)
>
> I´m getting there....very slowly.
> Thank you all for your time and help.
>
> Regards
> Jon
>
>
> Þann 8/22/2007, skrifaði "Manoj Bist" <manoj.bist1@gmail.com>:
>
> >In general to create a shared object the constituent object files
> >should be PICable. Look for Makefile(s) which compile the individual
> >source files.  It would have a variable like 'CFLAGS'. Adding '-fPIC'
> >to it should take care of it.
> >
> >
> >On 8/21/07, jónJósef Bjarnason <jonb@nemendur.is> wrote:
> >> When running make for mod_perl 2.0.3 I get an error telling me to use
> >> -fPIC option.
> >> Does anyone know where to put that compiling option  ?
> >>
> >> Regards
> >> Jon
> >>
> >> Apache 2.2.4
> >> Perl 5.8.8
> >> mod_perl 2.0.3
> >> Ubuntu 6.06 LTS 64bit AMD
> >>
> >> when compiling -o mod_perl.so:
> >> `a local symbol' can not be used when making a shared
> >> object; recompile with -fPIC
> >>
>

Mime
View raw message