[torquedev] [Bug 70] libcap-devel and pam-devel apparently required to build TORQUE 2.5 beta

bugzilla-daemon at supercluster.org bugzilla-daemon at supercluster.org
Thu Jul 8 14:00:18 MDT 2010


http://www.clusterresources.com/bugzilla/show_bug.cgi?id=70

--- Comment #5 from Troy Baer <tbaer at utk.edu> 2010-07-08 14:00:18 MDT ---
(In reply to comment #1)
> Can you send the output? I don't know why either library would be required to
> link pbs_mom.

I may have mistyped earlier -- it's libcap-devel that now seems to be required,
*not* libpcap-devel.

rpm -e libcap-devel

cd /opt/src/batch/torque-2.5-beta_0.20100702

make distclean

./configure --prefix=/opt/torque/2.5-beta_0.20100702 --disable-gcc-warnings
--with-server-home=/var/spool/torque
--with-default-server=nautilus.nics.utk.edu --enable-cpuset --enable-docs
--disable-shell-pipe --enable-shell-use-argv --enable-acct-x --disable-blcr
--disable-cpa --disable-csa --with-sched=no --enable-server --enable-mom
--enable-clients --enable-drmaa --x-libraries=/usr/X11R6/lib64

make
[...]
/bin/sh ../../libtool --tag=CC --mode=link gcc  -g -O2 -D_LARGEFILE64_SOURCE
-DUSEJOBCREATE   -o pbs_mom  catch_child.o mom_comm.o mom_inter.o mom_main.o
mom_server.o prolog.o requests.o start_exec.o checkpoint.o tmsock_recov.o
req_quejob.o job_func.o attr_recov.o dis_read.o job_attr_def.o job_recov.o
process_request.o reply_send.o resc_def_all.o job_qs_upgrade.o 
linux/libmommach.a -L/opt/cray/job/default/lib64 -ljob  -lutil
../lib/Libattr/libattr.a ../lib/Libsite/libsite.a ../lib/Libutils/libutils.a
../lib/Libpbs/libtorque.la 
mkdir .libs
gcc -g -O2 -D_LARGEFILE64_SOURCE -DUSEJOBCREATE -o .libs/pbs_mom catch_child.o
mom_comm.o mom_inter.o mom_main.o mom_server.o prolog.o requests.o start_exec.o
checkpoint.o tmsock_recov.o req_quejob.o job_func.o attr_recov.o dis_read.o
job_attr_def.o job_recov.o process_request.o reply_send.o resc_def_all.o
job_qs_upgrade.o  linux/libmommach.a -L/opt/cray/job/default/lib64
/usr/lib64/libjob.so -lcap -lpam -lutil ../lib/Libattr/libattr.a
../lib/Libsite/libsite.a ../lib/Libutils/libutils.a
../lib/Libpbs/.libs/libtorque.so  -Wl,--rpath
-Wl,/opt/torque/2.5-beta_0.20100702/lib
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
cannot find -lcap
collect2: ld returned 1 exit status
make[3]: *** [pbs_mom] Error 1
make[3]: Leaving directory
`/opt/src/batch/torque-2.5-beta_0.20100702/src/resmom'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/opt/src/batch/torque-2.5-beta_0.20100702/src/resmom'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/src/batch/torque-2.5-beta_0.20100702/src'
make: *** [all-recursive] Error 1

[install libcap-devel rpm, build works]

rpm -e pam-devel

make distclean

./configure --prefix=/opt/torque/2.5-beta_0.20100702 --disable-gcc-warnings
--with-server-home=/var/spool/torque
--with-default-server=nautilus.nics.utk.edu --enable-cpuset --enable-docs
--disable-shell-pipe --enable-shell-use-argv --enable-acct-x --disable-blcr
--disable-cpa --disable-csa --with-sched=no --enable-server --enable-mom
--enable-clients --enable-drmaa --x-libraries=/usr/X11R6/lib64

make
[...]
/bin/sh ../../libtool --tag=CC --mode=link gcc  -g -O2 -D_LARGEFILE64_SOURCE
-DUSEJOBCREATE   -o pbs_mom  catch_child.o mom_comm.o mom_inter.o mom_main.o
mom_server.o prolog.o requests.o start_exec.o checkpoint.o tmsock_recov.o
req_quejob.o job_func.o attr_recov.o dis_read.o job_attr_def.o job_recov.o
process_request.o reply_send.o resc_def_all.o job_qs_upgrade.o 
linux/libmommach.a -L/opt/cray/job/default/lib64 -ljob  -lutil
../lib/Libattr/libattr.a ../lib/Libsite/libsite.a ../lib/Libutils/libutils.a
../lib/Libpbs/libtorque.la 
mkdir .libs
gcc -g -O2 -D_LARGEFILE64_SOURCE -DUSEJOBCREATE -o .libs/pbs_mom catch_child.o
mom_comm.o mom_inter.o mom_main.o mom_server.o prolog.o requests.o start_exec.o
checkpoint.o tmsock_recov.o req_quejob.o job_func.o attr_recov.o dis_read.o
job_attr_def.o job_recov.o process_request.o reply_send.o resc_def_all.o
job_qs_upgrade.o  linux/libmommach.a -L/opt/cray/job/default/lib64
/usr/lib64/libjob.so -lcap -lpam -lutil ../lib/Libattr/libattr.a
../lib/Libsite/libsite.a ../lib/Libutils/libutils.a
../lib/Libpbs/.libs/libtorque.so  -Wl,--rpath
-Wl,/opt/torque/2.5-beta_0.20100702/lib
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
cannot find -lpam
collect2: ld returned 1 exit status
make[3]: *** [pbs_mom] Error 1
make[3]: Leaving directory
`/opt/src/batch/torque-2.5-beta_0.20100702/src/resmom'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/opt/src/batch/torque-2.5-beta_0.20100702/src/resmom'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/src/batch/torque-2.5-beta_0.20100702/src'
make: *** [all-recursive] Error 1

[reconfiguring with --disable-pam and rebuilding results in exactly the same
behavior as above]

-- 
Configure bugmail: http://www.clusterresources.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the torquedev mailing list