leonhd / unladen-swallow

Automatically exported from code.google.com/p/unladen-swallow
Other
1 stars 1 forks source link

Cannot compile 2009Q3 or trunk with --enable-shared #104

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I'm a linux user on X86_64 and I'm trying to compile unladen with the option 
--enable-shared to use it with mod_msgi and other application that need the 
shared lib.
I'm not sure but, I think that it was working the last time I tried. It was 
with Q2 I think.
See the attached file for the error. 

Original issue reported on code.google.com by dory.thi...@gmail.com on 29 Dec 2009 at 8:56

Attachments:

GoogleCodeExporter commented 8 years ago
Hum sorry, for the "Type-Enhancement". I was pretty sure I chose "Defect"...

Original comment by dory.thi...@gmail.com on 29 Dec 2009 at 8:57

GoogleCodeExporter commented 8 years ago
I believe I just committed the fix in r954. Can you update your trunk checkout 
and 
reconfigure/remake?

Original comment by collinw on 29 Dec 2009 at 10:17

GoogleCodeExporter commented 8 years ago
Note that if you were hardcoding the necessary Python flags into your makefile, 
you 
need to use python-config instead.

Original comment by collinw on 30 Dec 2009 at 12:22

GoogleCodeExporter commented 8 years ago
It works, thx!
I used ./configure --enable-shared

Original comment by dory.thi...@gmail.com on 30 Dec 2009 at 12:00

GoogleCodeExporter commented 8 years ago
Thanks for reporting this problem.

I've added a buildslave to test this configuration so we don't break it again. 
I'm also 
going to add something like mod_python to our test suite.

Original comment by collinw on 30 Dec 2009 at 7:05

GoogleCodeExporter commented 8 years ago
No problem, as python dev I like this project! 
You should add mod_wsgi to you test instead of mod_python, mod_wsgi is better 
in many 
ways (performances, memory, standardization...). Most of the web applications 
are 
working with it : http://code.google.com/p/modwsgi/

Original comment by dory.thi...@gmail.com on 30 Dec 2009 at 7:11

GoogleCodeExporter commented 8 years ago
r954 was rolled back in r956: it was breaking the static build on Linux 
(despite working 
on Darwin) just fine. Reopening this issue accordingly.

Original comment by collinw on 1 Jan 2010 at 3:34

GoogleCodeExporter commented 8 years ago
Note to self: need to apply http://codereview.appspot.com/181106, too.

Original comment by collinw on 5 Jan 2010 at 12:00

GoogleCodeExporter commented 8 years ago
Fixed for real in r981.

Original comment by collinw on 9 Jan 2010 at 1:21