Hello
I'm new on this forum but I have a big problem. I've installed Subversion 1.1.1 and Apache 2.0.52 on a HP-UX. This is the uname:
HP-UX xxxx B.11.11 U 9000/800 4169945236 unlimited-user license
Now I must to install a software to browse the svn repositories. My choice is Viewcvs.
I tried to install but to use this software I must to compile mod_python.so for Apache: the problem is here. I've downloaded the mod_python source from internet but I didn't have success. This is my steps:
1) I've downloaded python 2.3.3 from
http://hpux.connect.org.uk/ and then I've compiled with success
2) I've tried to compile mod_python-3.0.4 source downloaded by
www.modpython.org. This is my ./configure:
$ ./configure --prefix=/.../mod_python-3.0.4 \
--with-apxs=/.../apache2/bin/apxs \
--with-python=/.../python-2.3.3/bin/python
The ./configure seems ok. But the "make" returns this error
*** Warning: linker path does not have real file for library -lpython.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libpython and none of the candidates passed a file format test
*** using a file magic. Last file checked: /CVS/prodotti/python-2.3.3/lib/python/config/libpython.a
*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module mod_python. Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
Now su and make install
(or, if you only want to perform a partial install,
you can use make install_dso and make install_py_lib)
ln -s ../lib/python/mod_python
Usage: ln [-f] [-i] [-s] f1 f2
ln [-f] [-i] [-s] f1 ... fn d1
*** Error exit code 2
Stop.
*** Error exit code 1
I tried to modify Makefile and I also tried to make only dso but the problem remain.
I considered that can be a libraries problem. As suggested on google.com I updated the libtool but the problem remain.
I tried also with other mod_python version without success.
Anyone have some ideas?
Thx for help and sorry for my english
Daniele