Connecting Tech Pros Worldwide Help | Site Map

Newbie needs help with his blood pressure...

 
LinkBack Thread Tools Search this Thread
  #1  
Old August 21st, 2008, 12:35 PM
Luis Speciale
Guest
 
Posts: n/a
Default Newbie needs help with his blood pressure...

Hi u all :

I'm trying to build mod_python in Leopard 10.5.4 with a cvs version from

http://svn.apache.org/repos/asf/quet...d_python/trunk

I have

$ python
Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin

Then when I try

../configure --with-apxs=/usr/sbin/apxs
--with-python=/usr/local/bin/python ARCHFLAGS='-arch ppc'

I get this

checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ar... ar
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking for main in -lm... yes
checking for an ANSI C-conforming const... yes
checking your blood pressure... a bit high, but we can proceed
configure: checking whether apxs is available...
checking Apache version... 2.2.8
checking for Apache libexec directory... /usr/libexec/apache2
checking for Apache include directory... -I/usr/include/apache2
checking for --with-python... /usr/local/bin/python
checking Python version... 2.5
checking for --with-python-src... no
checking for --with-mutex-dir... no
Using MUTEX_DIR /tmp
checking for --with-max-locks... no
Using 8 MAX_LOCKS.
checking for --with-flex... no
checking for flex... /usr/bin/flex
found /usr/bin/flex, we'll use this. Use --with-flex to specify another.
checking flex version... 2.5.33. Good
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating Doc/Makefile
config.status: creating src/include/mod_python.h
config.status: creating test/Makefile
config.status: creating test/testconf.py
config.status: creating dist/setup.py
config.status: creating dist/Makefile

Seems to be OK for my blood pressure, but

make

brings this

/usr/sbin/apxs -I/Users/speciale/Desktop/dossier sans titre
3/src/include
-I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
-DNDEBUG -Wc,'-arch ppc7400' -Wc,'-arch ppc64' -Wc,'-arch i386'
-Wc,'-arch x86_64' -c mod_python.c _apachemodule.c requestobject.c
tableobject.c util.c serverobject.c connobject.c filterobject.c hlist.c
hlistobject.c finfoobject.c -arch ppc7400 -arch ppc64 -arch i386 -arch
x86_64 -Wl,-F/Library/Frameworks -framework Python -u _PyMac_Error -ldl
Usage: apxs -g [-S <var>=<val>] -n <modname>
apxs -q [-S <var>=<val>] <query...
apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
[-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
[-Wl,<flags>] [-p] <files...
apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile...
apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile...
make[1]: *** [mod_python.so] Error 1
make: *** [do_dso] Error 2

I'm dead ?

Thanks Doctors !-)

Luis

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.