RE: [users@httpd] mod_python 3.1.4 issue with Apache 2.0.53

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

 



Joe,

the following env variables were exported:
$ env | grep FLAGS
LDFLAGS=-fPIC
CFLAGS=-fPIC
$
(we do not use CPP, so setting CPPFLAGS would have been ignored anyway)

building Python:
...
gcc -fPIC  -o python \
                Modules/python.o \
                libpython2.3.a -lresolv -lsocket -lnsl -lrt -ldl  -lpthread
-lm

... and -fPIC appeared as argument during the build process.

but still no success, mod_python build fails with exactly the same message

and again: mod_python 3.1.3 was successfully built for Apache 2.0.52 (with
standard Python build, so we did not need "-fPIC" )


Gyula



> -----Original Message-----
> From: Joe Orton [mailto:jorton@xxxxxxxxxx]
> Sent: 19 April 2005 10:34
> To: Toke, Gyula
> Cc: 'users@xxxxxxxxxxxxxxxx'
> Subject: Re: [users@httpd] mod_python 3.1.4 issue with Apache 2.0.53
> 
> 
> On Mon, Apr 18, 2005 at 12:12:41PM -0400, Toke, Gyula wrote:
> > Thanks Joe,
> > 
> > I've re-compiled Python with CFLAGS=-fPIC, re-configured 
> mod_python 3.1.4 to
> > use this new build, but it did not make any difference. It 
> still complains
> > about these relocations, even with Apache 2.0.54...
> 
> Then you haven't successfully compiled Python with -fPIC; maybe CFLAGS
> isn't the right variable, check the build output.  You need 
> to work out
> how to do that, anyway, it's the only solution to this problem.
> 
> joe
> 
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux