[Mauiusers] compile error and install problem 3.2.6p21

Steve Young chemadm at hamilton.edu
Thu Jan 7 09:00:44 MST 2010


Hi,
	I'm in the process of rebuilding my whole torque,maui and gold  
installation with the latest releases. Torque has installed perfectly.  
I get maui to build fine but do notice this error in the compile so  
I'd thought I'd pass it along:

make[1]: Entering directory `/opt/src/maui-3.2.6p21/src/mcom'
gcc -I../../include/ -I/usr/local/maui/include    -D__LINUX     -g - 
O2  -c MSU.c
gcc -I../../include/ -I/usr/local/maui/include    -D__LINUX     -g - 
O2  -c MSec.c
gcc -I../../include/ -I/usr/local/maui/include    -D__LINUX     -g - 
O2  -c MS3I.c
MS3I.c: In function ‘MS3LoadModule’:
MS3I.c:559: warning: assignment from incompatible pointer type
MS3I.c:560: warning: assignment from incompatible pointer type
MS3I.c:566: warning: assignment from incompatible pointer type
MS3I.c:574: warning: assignment from incompatible pointer type
MS3I.c:579: warning: assignment from incompatible pointer type
gcc -I../../include/ -I/usr/local/maui/include    -D__LINUX     -g - 
O2  -c MXML.c
gcc -I../../include/ -I/usr/local/maui/include    -D__LINUX     -g - 
O2  -c MConst.c
gcc -I../../include/ -I/usr/local/maui/include    -D__LINUX     -g - 
O2  -c MTComm.c
gcc -I../../include/ -I/usr/local/maui/include    -D__LINUX     -g - 
O2  -c MComm.c
ar rcs ../../lib/libmcom.a MSU.o MSec.o MS3I.o MXML.o MConst.o  
MTComm.o MComm.o
make[1]: Leaving directory `/opt/src/maui-3.2.6p21/src/mcom'



Not sure if this will cause any problems down the road. Anyhow, my  
real problem is trying to get maui to NOT install in /usr/local/ 
maui... I've configured with the following:

./configure --prefix=/opt/maui-3.2.6p21 --exec-prefix=/opt/ 
maui-3.2.6p21 --with-pbs=/opt/torque-2.4.3 --with-gold

and I've also tried with specifying all of the individual directories  
like:

./configure --prefix=/opt/maui-3.2.6p21 --exec-prefix=/opt/ 
maui-3.2.6p21 --with-pbs=/opt/torque-2.4.3 --with-gold --bindir=/opt/ 
maui-3.2.6p21/bin --sbindir=/opt/maui-3.2.6p21/sbin --libexecdir=/opt/ 
maui-3.2.6p21/libexec --datadir=/opt/maui-3.2.6p21/share --sysconfdir=/ 
opt/maui-3.2.6p21/etc --sharedstatedir=/opt/maui-3.2.6p21/com -- 
localstatedir=/opt/maui-3.2.6p21/var --libdir=/opt/maui-3.2.6p21/lib -- 
includedir=/opt/maui-3.2.6p21/include --infodir=/opt/maui-3.2.6p21/ 
info --mandir=/opt/maui-3.2.6p21/man

Even going back to p20 I still get the same results. Everything  
compiles but the make install fails like so:

<snip>
for i in canceljob changeparam checkjob checknode diagnose releasehold  
releaseres resetstats runjob schedctl sethold setqos setres setspri  
showbf showconfig showgrid showhold showstart showq showres showstate  
showstats mschedctl mjobctl mnodectl mdiag mstat mbal; do \
	  ln -f ../../bin/mclient ../../bin/$i; \
	  chmod 751 ../../bin/$i; \
	done
gcc mprof.o -o ../../bin/mprof  -lmoab -lmcom       -lm     -L../../ 
lib     -L/opt/torque-2.4.3/lib -ltorque -Wl,--rpath -Wl,/opt/ 
torque-2.4.3/lib
chmod 751 ../../bin/mprof
mkdir -p /opt/maui-3.2.6p21/{bin,sbin,include,lib}
mkdir -p /usr/local/maui/{log,traces,stats,spool,tools}
mkdir: cannot create directory `/usr/local/maui': No such file or  
directory
mkdir: cannot create directory `/usr/local/maui': No such file or  
directory
mkdir: cannot create directory `/usr/local/maui': No such file or  
directory
mkdir: cannot create directory `/usr/local/maui': No such file or  
directory
mkdir: cannot create directory `/usr/local/maui': No such file or  
directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/opt/src/maui-3.2.6p21/src/server'
make: *** [install] Error 2
[ maui-3.2.6p21]#

Is there a way to make it all install in /opt/maui-3.2.6p21 like I'd  
like it to? Any advice would be greatly appreciated. Thanks!






More information about the mauiusers mailing list