Modify ↓
#19 closed defect (fixed)
Problem building pbs_python 4.0.0
Reported by: | vizino@… | Owned by: | somebody |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | pbs | Version: | 3.2.0 |
Keywords: | Cc: |
Description
Hi, I just downloaded and tried to compile pbs_python-4.0.0 and got the following error during the "make" step. Here's the tail end of the failing build: --- ... running build_py creating build creating build/lib.linux-ia64-2.4 copying src/pbs.py -> build/lib.linux-ia64-2.4 copying src/PBSQuery.py -> build/lib.linux-ia64-2.4 running build_ext building '_pbs' extension creating build/temp.linux-ia64-2.4 creating build/temp.linux-ia64-2.4/src gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC -DTORQUE_OLD -I/usr/include/python2.4 -c src/pbs_wrap.c -o build/temp.linux-ia64-2.4/src/pbs_wrap.o gcc -pthread -shared build/temp.linux-ia64-2.4/src/pbs_wrap.o -L-L/usr/local/packages/torque/2.3.0/lib -ltorque -Wl,--rpath -Wl,/usr/local/packages/torque/2.3.0/lib -ltorque -o build/lib.linux-ia64-2.4/_pbs.so /usr/lib/gcc/ia64-suse-linux/4.1.2/../../../../ia64-suse-linux/bin/ld: cannot find -ltorque collect2: ld returned 1 exit status error: command 'gcc' failed with exit status 1 make: *** [pythonlib] Error 1 -- It looks like a stray "-L" was inserted in the gcc line. Rerunning the failing gcc without the stray "-L" worked fine: -- gcc -pthread -shared build/temp.linux-ia64-2.4/src/pbs_wrap.o -L/usr/local/packages/torque/2.3.0/lib -ltorque -Wl,--rpath -Wl,/usr/local/packages/torque/2.3.0/lib -ltorque -o build/lib.linux-ia64-2.4/_pbs.so -- In case it helps I ran configure first as follows: -- ./configure --prefix=/usr/local/packages/pbs_python/4.0.0 -- with no errors. -Chad Vizino Pittsburgh Supercomputing Center
Attachments (0)
Change History (2)
comment:1 Changed 14 years ago by bas
- Status changed from new to closed
comment:2 Changed 14 years ago by bas
Note: See
TracTickets for help on using
tickets.
(In [230]) Fixed a bug in setting the right compiler path for the library, closes #19