[mod_python] Compile problems - Mod_Python 3.1.4

Frank Gruman fgatwork at verizon.net
Mon May 16 10:43:46 EDT 2005


OK - so I have decided I am running to many things at tip and I am not 
an uber programmer, so I need to cool my jets.  I have set systems back 
on Apache 2.0.54 with the APR/APR-Util for that version (0.9.6).

I can successfully configure, but have found that the make is trying to 
find a file that does not exist.  I have searched my drives for 
aprutil-0, and it does not exist.  I have done builds of both Apache 
2.0.54 with APR 0.9.6 as well as Apache 2.1.5-dev with APR 1.1.2.  No 
such file.  There is also a note to apr-0 that does not exist.

Here is the log at the point of failure:

gcc -pthread -shared 
build/temp.linux-i686-2.4/sources/mod_python-3.1.4/src/mod_python.o 
build/temp.linux-i686-2.4/sources/mod_python-3.1.4/src/_apachemodule.o 
build/temp.linux-i686-2.4/sources/mod_python-3.1.4/src/connobject.o 
build/temp.linux-i686-2.4/sources/mod_python-3.1.4/src/filterobject.o 
build/temp.linux-i686-2.4/sources/mod_python-3.1.4/src/hlist.o 
build/temp.linux-i686-2.4/sources/mod_python-3.1.4/src/hlistobject.o 
build/temp.linux-i686-2.4/sources/mod_python-3.1.4/src/requestobject.o 
build/temp.linux-i686-2.4/sources/mod_python-3.1.4/src/serverobject.o 
build/temp.linux-i686-2.4/sources/mod_python-3.1.4/src/tableobject.o 
build/temp.linux-i686-2.4/sources/mod_python-3.1.4/src/util.o -L -lapr-0 
-laprutil-0 -o build/lib.linux-i686-2.4/mod_python_so.so
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: 
cannot find -laprutil-0
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
make[1]: *** [build] Error 1
make[1]: Leaving directory `/sources/mod_python-3.1.4/dist'
make: *** [do_dso] Error 2
toybox:/sources/mod_python-3.1.4 # /usr/local/apache2/bin/apr-config 
--version
0.9.6
toybox:/sources/mod_python-3.1.4 #

Any more ideas?

Regards,
Frank

Jim Gallacher wrote:

> Frank Gruman wrote:
>
>> Thanks Jim,
>>
>> That helped.  I had to add one little fix to your diff.  You are 
>> missing a comma after the 'libraries = libraries' line. 
>
>
> Doh! This is what happens when you fix, test, do one last tweak and 
> then post without testing again.
>
>> It led me on to the next set of errors...
>>
>> The whole MAKE looks different now than it did before.  It runs 
>> through a couple of tests, and then starts to build the mod_python.so 
>> module (woo hoo!!).  But then I see a whole bunch of 'error: parse 
>> error before apr_off_t'.  I have attached a copy of the make log from 
>> that point on.
>>
>> I have tried running with APR 0.9.6 as well as the latest 
>> APR/APR-Util tip (1.1.2 - pulled from the 1.1.x branch at the same 
>> time as Apache - Friday, 06 May, afternoon...)
>>
>> I know I have seen apr_off_t errors before, but I can't recall the 
>> issue.
>
>
> Sorry, I can't help you there.
>
> Regards,
> Jim
>
>


More information about the Mod_python mailing list