Viewcvs...a nightmare on HP-UX!!!

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 :o

Daniele

Hello all! :stuck_out_tongue:

I have the same system bellow, but I'm trying to compile Python 2.4.1, I have an error while building the package, seems like something about linking packages:

    ar cr libpython2.4.a Modules/threadmodule.o  Modules/signalmodule.o  Modules/posixmodule.o  Modules/errnomodule.o  Modules/_sre.o  Modules/_codecsmodule.o  Modules/zipimport.o  Modules/symtablemodule.o  Modules/xxsubtype.o
    ranlib libpython2.4.a
     gcc -pthread  -Wl,-E -Wl,\+s -o python \\
                    Modules/python.o \\
                    libpython2.4.a -lnsl -lrt -ldld    -lm

/usr/ccs/bin/ld: Unsatisfied symbols:
PyThread_acquire_lock (first referenced in libpython2.4.a(import.o)) (code)
PyThread_exit_thread (first referenced in libpython2.4.a(threadmodule.o)) (code)
PyThread_allocate_lock (first referenced in libpython2.4.a(import.o)) (code)
PyThread_free_lock (first referenced in libpython2.4.a(threadmodule.o)) (code)
PyThread_start_new_thread (first referenced in libpython2.4.a(threadmodule.o)) (code)
PyThread_release_lock (first referenced in libpython2.4.a(import.o)) (code)
PyThread_get_thread_ident (first referenced in libpython2.4.a(import.o)) (code)
PyThread__init_thread (first referenced in libpython2.4.a(thread.o)) (code)
collect2: ld returned 1 exit status
*** Error exit code 1

Stop.
#

I don't know what else todo to complete! The configure script runs without erros, but the "make" procedures doesn't finish! :mad:

Thank you

Have you tried using a different front end GUI? I'm using eSvn, and it's working great forme.

Hi dannile,

seems that this could solve your problem: [ python-Bugs-1071597 ] configure problem on HP-UX 11.11

-haubi