[torqueusers] installing torque-2.3.5 on mac snowleopard
Yasaman Ghadarghadr
yasaman_ghadargh at wsu.edu
Wed Jun 30 16:53:40 MDT 2010
I get the same error's with both 2.3.5 and 2.4.8. But to be more current we can limit our discussion to the 2.4.8 version only. In this case,
./configure --prefix=/usr --with-default-server=name --with-server-home=/var/spool/pbs --with-rcp=scp --host=x86_64-apple-darwin10 --build=x86_64-apple-darwin10
results in:
../Libifl/pbsD_connect.c: In function 'send_unix_creds':
../Libifl/pbsD_connect.c:512:12: error: ISO C90 forbids array 'buf' whose size can't be evaluated
whereas:
./configure --prefix=/usr --with-default-server=name --with-server-home=/var/spool/pbs --with-rcp=scp --host=x86_64-apple-darwin10 --build=x86_64-apple-darwin10 --disable-unixsockets
-the compile gets farther and past the ISO error, and i observe:
../Liblog/pbs_log.c: In function 'log_size':
../Liblog/pbs_log.c:921:3: error: 'fstat64' is deprecated (declared at /usr/include/sys/stat.h:463)
-this occurs irrespective of whether I leave -pedantic in the Makefile.
Finally, wrt to your suggestion about autoreconf:
./configure --prefix=/usr --with-default-server=name --with-server-home=/var/spool/pbs --with-rcp=scp --host=x86_64-apple-darwin10 --build=x86_64-apple-darwin10 --disable-unixsockets autoreconf -v
yields:
../Liblog/pbs_log.c: In function 'log_size':
../Liblog/pbs_log.c:921:3: error: 'fstat64' is deprecated (declared at /usr/include/sys/stat.h:463)
FINALLY, i got the Make to work when i added --disable-gcc-warnings:
./configure --prefix=/usr --with-default-server=name --with-server-home=/var/spool/pbs --with-rcp=scp --host=x86_64-apple-darwin10 --build=x86_64-apple-darwin10 --disable-unixsockets autoreconf -v --disable-gcc-warnings
Thanks so much for all of your help!
Yasi
On Jun 30, 2010, at 3:15 PM, Garrick Staples wrote:
> On Wed, Jun 30, 2010 at 03:13:33PM -0700, Garrick Staples alleged:
>> Wait a second... why 2.3.5? That's nearly 2 years old on an older branch?
>>
>> Please start with the latest version of the 2.1, 2.3, or 2.4 branches.
>
> If you are deadset on using an obsolete version, then use --disable-unixsockets
> to elliminate that section of the code.
>
> --
> Garrick Staples, GNU/Linux HPCC SysAdmin
> University of Southern California
>
> Life is Good!
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
More information about the torqueusers
mailing list