Opened 14 years ago
Closed 14 years ago
#21 closed task (fixed)
Problem installing debian way
Reported by: | wim@… | Owned by: | bas |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | pbs | Version: | 4.1.0 |
Keywords: | Cc: | wim@… |
Description
Hi to every body
I have some problem with installing pbs_python with debian/rules binary like describded on https://subtrac.sara.nl/oss/pbs_python/wiki/TorqueInstallation
When I run debian/rules binary I get an error
... dh_installmime -ppbs-python dh_strip -ppbs-python dh_compress -ppbs-python dh_fixperms -ppbs-python dh_makeshlibs -ppbs-python dh_installdeb -ppbs-python dh_perl -ppbs-python dh_shlibdeps -ppbs-python dpkg-shlibdeps: failure: no dependency information found for /usr/local/lib/libtorque.so.2 (used by debian/pbs-python/usr/local/lib/python2.5/site-packages/pbs/_pbs.so). dh_shlibdeps: command returned error code 512 make: *** [binary-predeb-IMPL/pbs-python] Error 1
Is there something I miss?? Many Thanks
Attachments (0)
Change History (12)
comment:1 Changed 14 years ago by bas
- Owner changed from somebody to bas
- Status changed from new to assigned
- Type changed from defect to task
comment:2 Changed 14 years ago by wim@…
- Owner changed from bas to anonymous
- Status changed from assigned to new
Thanks for your reply
debian distribution: Lenny 32 bits
torque library: /usr/local/lib
also /usr/local/lib/libtorque.so.2 exist
i would like to test 4.1.0, where can I download it??
greetz
Wim
comment:3 Changed 14 years ago by bas
- Owner changed from anonymous to bas
- Status changed from new to assigned
The same spot where you downloaded 4.0.2:
- ftp.sara.nl
- cd pub/incoming
- get pbs_python.tar.gz
comment:4 Changed 14 years ago by Wim <wim@…>
- Cc wim@… added
- Version changed from 4.0.2 to 4.1.0
thanks, i tried it with v4.1.0 but the same error
dh_shlibdeps -ppbs-python dpkg-shlibdeps: failure: no dependency information found for /usr/local/lib/libtorque.so.2 (used by debian/pbs-python/usr/lib/python2.5/site-packages/pbs/_pbs.so). dh_shlibdeps: command returned error code 512 make: *** [binary-predeb-IMPL/pbs-python] Error 1
do I need some extra debian packages??
comment:5 Changed 14 years ago by bas
pbs_pythin is configure for /usr and you have installed torque in /usr/local. can you put the full output of:
- debian/rules build
- debian/rules binary
- ldd debian/pbs-python/usr/lib/python2.5/site-packages/pbs/_pbs.so
I think LD_LIBRARY_PATH is missing can you set it:
- export LD_LIBRARY_PATH=/usr/local/lib
- re-run the debian install
There is also torque_2_deb on the ftp.sara.nl. I will updated it to version 2.4.7
comment:6 Changed 14 years ago by Wim <wim@…>
output debian/rules build
test -x debian/rules mkdir -p "." DEB_MAKE_CHECK_TARGET unset, not running checks
debian/rules binary
test -x debian/rules mkdir -p "." DEB_MAKE_CHECK_TARGET unset, not running checks wegc75:/usr/local/src/pbs_python-4.1.0# debian/rules binary test -x debian/rules test "`id -u`" = 0 dh_clean -k dh_installdirs -A mkdir -p "." DEB_MAKE_CHECK_TARGET unset, not running checks /usr/bin/make -C . install DESTDIR=/usr/local/src/pbs_python-4.1.0/debian/pbs-python/ make[1]: Entering directory `/usr/local/src/pbs_python-4.1.0' #(cd src; make) python setup.py build running build running build_py running build_ext python ./setup.py install --prefix /usr/local/src/pbs_python-4.1.0/debian/pbs-python///usr ; running install running build running build_py running build_ext running install_lib creating /usr/local/src/pbs_python-4.1.0/debian/pbs-python/usr creating /usr/local/src/pbs_python-4.1.0/debian/pbs-python/usr/lib creating /usr/local/src/pbs_python-4.1.0/debian/pbs-python/usr/lib/python2.5 creating /usr/local/src/pbs_python-4.1.0/debian/pbs-python/usr/lib/python2.5/site-packages creating /usr/local/src/pbs_python-4.1.0/debian/pbs-python/usr/lib/python2.5/site-packages/pbs copying build/lib.linux-i686-2.5/_pbs.so -> /usr/local/src/pbs_python-4.1.0/debian/pbs-python///usr/lib/python2.5/site-packages/pbs copying build/lib.linux-i686-2.5/pbs.py -> /usr/local/src/pbs_python-4.1.0/debian/pbs-python///usr/lib/python2.5/site-packages/pbs copying build/lib.linux-i686-2.5/PBSQuery.py -> /usr/local/src/pbs_python-4.1.0/debian/pbs-python///usr/lib/python2.5/site-packages/pbs byte-compiling /usr/local/src/pbs_python-4.1.0/debian/pbs-python///usr/lib/python2.5/site-packages/pbs/pbs.py to pbs.pyc byte-compiling /usr/local/src/pbs_python-4.1.0/debian/pbs-python///usr/lib/python2.5/site-packages/pbs/PBSQuery.py to PBSQuery.pyc running install_egg_info Writing /usr/local/src/pbs_python-4.1.0/debian/pbs-python///usr/lib/python2.5/site-packages/pbs/pbs_python-4.0.0.egg-info creating /usr/local/src/pbs_python-4.1.0/debian/pbs-python///usr/lib/python2.5/site-packages/pbs.pth install -D LICENSE.SARA /usr/local/src/pbs_python-4.1.0/debian/pbs-python///usr/share/doc/pbs-python/LICENSE.SARA (cd examples; for i in *py; do install -D $i /usr/local/src/pbs_python-4.1.0/debian/pbs-python///usr/share/doc/pbs-python/examples/${i}; done) make[1]: Leaving directory `/usr/local/src/pbs_python-4.1.0' dh_installdirs -ppbs-python dh_installdocs -ppbs-python ./README ./AUTHORS dh_installexamples -ppbs-python dh_installman -ppbs-python dh_installinfo -ppbs-python dh_installmenu -ppbs-python dh_installcron -ppbs-python dh_installinit -ppbs-python dh_installdebconf -ppbs-python dh_installemacsen -ppbs-python dh_installcatalogs -ppbs-python dh_installpam -ppbs-python dh_installlogrotate -ppbs-python dh_installlogcheck -ppbs-python dh_installchangelogs -ppbs-python ./CHANGES dh_installudev -ppbs-python dh_lintian -ppbs-python dh_install -ppbs-python dh_link -ppbs-python dh_installmime -ppbs-python dh_strip -ppbs-python dh_compress -ppbs-python dh_fixperms -ppbs-python dh_makeshlibs -ppbs-python dh_installdeb -ppbs-python dh_perl -ppbs-python dh_shlibdeps -ppbs-python dpkg-shlibdeps: failure: no dependency information found for /usr/local/lib/libtorque.so.2 (used by debian/pbs-python/usr/lib/python2.5/site-packages/pbs/_pbs.so). dh_shlibdeps: command returned error code 512 make: *** [binary-predeb-IMPL/pbs-python] Error 1
ldd debian/pbs-python/usr/lib/python2.5/site-packages/pbs/_pbs.so
linux-gate.so.1 => (0x4001c000) libtorque.so.2 => /usr/local/lib/libtorque.so.2 (0x40038000) libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0x40104000) libc.so.6 => /lib/i686/cmov/libc.so.6 (0x4011e000) /lib/ld-linux.so.2 (0x40000000)
I have set already LD_LIBRARY_PATH echo $LD_LIBRARY_PATH
/usr/local/lib
but the error is still there
i have installed torque from http://www.clusterresources.com/downloads/torque/torque-2.4.6.tar.gz
./configure --with-server-home=/var/spool/pbs --with-rcp=scp
comment:7 Changed 14 years ago by bas
Can first do a debian clean:
- debian/rules clean
- debian/rules build
Must be more output then wahat you send me. Strange that it finds the library but does not do anything with it. Note that pbs_python is depended on the torque package else it won't install
comment:8 Changed 14 years ago by Wim <wim@…>
i did a debian/rules clean and runned debian/rules build again here is the output
test -x debian/rules mkdir -p "." touch debian/stamp-autotools-files chmod a+x /usr/local/src/pbs_python-4.1.0/./configure cd . && CC="cc" CXX="g++" CFLAGS="-g -Wall -O2" CXXFLAGS="-g -Wall -O2" CPPFLAGS="" LDFLAGS="" /usr/local/src/pbs_python-4.1.0/./configure --build=i486-linux-gnu --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/pbs-python" --disable-maintainer-mode --disable-dependency-tracking --srcdir=. --enable-python checking for pbs-config... /usr/local/bin/pbs-config Found torque version: 2.4.6 checking for python... /usr/bin/python checking for python version... 2.5 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.5/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.5/site-packages configure: creating ./config.status config.status: creating Makefile config.status: creating setup.py /usr/bin/make -C . make[1]: Entering directory `/usr/local/src/pbs_python-4.1.0' #(cd src; make) python setup.py build running build running build_py creating build creating build/lib.linux-i686-2.5 copying src/pbs.py -> build/lib.linux-i686-2.5 copying src/PBSQuery.py -> build/lib.linux-i686-2.5 running build_ext building '_pbs' extension creating build/temp.linux-i686-2.5 creating build/temp.linux-i686-2.5/src gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DTORQUE_OLD -I/usr/include/python2.5 -c src/pbs_wrap.c -o build/temp.linux-i686-2.5/src/pbs_wrap.o src/pbs_wrap.c:2622: warning: function declaration isn’t a prototype src/pbs_wrap.c:2630: warning: function declaration isn’t a prototype gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-i686-2.5/src/pbs_wrap.o -L/usr/local/lib -ltorque -o build/lib.linux-i686-2.5/_pbs.so make[1]: Leaving directory `/usr/local/src/pbs_python-4.1.0' touch debian/stamp-makefile-build DEB_MAKE_CHECK_TARGET unset, not running checks
torque is installed from http://www.clusterresources.com/downloads/torque/torque-2.4.6.tar.gz and is running without problems
thanks in advance
comment:9 Changed 14 years ago by bas
I have done some research and dpkg-shlibdeps tries to find libtorque in a debian package. But in your installation it is installed manually. That is the error you see
comment:18 Changed 14 years ago by wim@…
thanks, and is there a way to solve this?? greetz On 05/10/2010 11:43 AM, pbs_python wrote: > #21: Problem installing debian way > ---------------------------+------------------------------------------------ > Reporter: wim@… | Owner: bas > Type: task | Status: assigned > Priority: blocker | Component: pbs > Version: 4.1.0 | Keywords: > ---------------------------+------------------------------------------------ > > Comment(by bas): > > I have done some research and ''dpkg-shlibdeps'' tries to find libtorque > in a debian package. But in your installation it is installed manually. > That is the error you see > >
comment:19 Changed 14 years ago by bas
Just installed it manually, Just as you did with torque ;-)
comment:20 Changed 14 years ago by bas
- Resolution set to fixed
- Status changed from assigned to closed
will close the ticket.
On which debian distribution did you get this error. We have:
There were some problems with the auto tools to find the torque library. Lot of these issue were fixed in 4.1.0. Can you try it? Where is your torque library installed?