The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
FreeBSD nightmare!!! kenyatta BSD 4 08-15-2008 03:49 PM
is unix really such a nightmare... or is it me? mickeymouse UNIX for Dummies Questions & Answers 10 06-06-2008 12:51 AM
Installation of ViewCVS on a linux machine bsandeep_80 UNIX for Advanced & Expert Users 0 04-10-2008 05:51 AM
installing apache (nightmare for me) marinob007 UNIX for Dummies Questions & Answers 1 12-18-2007 09:03 PM
Splitting Chunked-FullNames Nightmare RacerX Shell Programming and Scripting 2 11-05-2007 06:36 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 03-29-2005
Registered User
 

Join Date: Mar 2005
Location: Rome
Posts: 1
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

Daniele
Reply With Quote
Forum Sponsor
  #2  
Old 05-13-2005
Registered User
 

Join Date: May 2005
Posts: 1
Python 2.4.1 error on make

Hello all!


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!

Thank you

Quote:
Originally Posted by goblin79
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
Reply With Quote
  #3  
Old 06-01-2005
Registered User
 

Join Date: Jan 2005
Posts: 40
Have you tried using a different front end GUI? I'm using eSvn, and it's working great forme.
Reply With Quote
  #4  
Old 09-06-2005
Registered User
 

Join Date: Sep 2005
Posts: 1
python build on HP-UX: have to define _POSIX_THREADS manually

Hi dannile,

seems that this could solve your problem: http://mail.python.org/pipermail/pyt...er/026316.html

-haubi

Quote:
Originally Posted by dannile
Hello all!


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!

Thank you

Last edited by haubi; 09-06-2005 at 01:30 AM. Reason: missing title
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:31 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0