[torqueusers] installing torque-2.3.5 on mac snowleopard

Joshua Bernstein jbernstein at penguincomputing.com
Tue Jun 29 15:35:07 MDT 2010


Yasaman,

I won't have my Snow Leopard box ready for testing for a few more days, 
but I believe the problem comes from the GCC option -pedantic. You might 
try removing that option from the Makefile after running configure.

-Josh

Yasaman Ghadarghadr wrote:
> 
> Thanks for pointing me to the patch Josh. Unfortunately, it had no 
> affect.  If i understood the patch correctly, in 
> /src/server/pbsd_main.c, i replaced
> 
> |*printf("configure:   %s\n", PBS_CONFIG_ARGS);*|
> 
> 
> with 
> 
> |*printf("configure:   %s\n", "Please have a look at the build logs.");*|
> 
> 
> and in /src/resmom/mom_main.c, i replaced
> 
> |*printf("configure:   %s\n", PBS_CONFIG_ARGS);*|
> 
>  
> with
> 
> |*printf("configure:   %s\n", "Please have a look at the build logs.");*|
> 
> 
> 
> However, i got the exact same error, which complains about 
> ../Libifl/pbsD_connect.c:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include 
> -I../../../src/include -I../Libdis -DIFF_PATH=\"/usr/sbin/pbs_iff\" 
> -DPBS_DEFAULT_FILE=\"/var/spool/pbs/server_name\" -g -O2 -W -Wall 
> -Wno-unused-parameter -Wno-long-long -pedantic -Werror -MT 
> pbsD_connect.lo -MD -MP -MF .deps/pbsD_connect.Tpo -c 
> ../Libifl/pbsD_connect.c  -fno-common -DPIC -o .libs/pbsD_connect.o
> cc1: warnings being treated as errors
> ../Libifl/pbsD_connect.c: In function 'send_unix_creds':
> ../Libifl/pbsD_connect.c:557:12: error: ISO C90 forbids array 'buf' 
> whose size can't be evaluated
> make[3]: *** [pbsD_connect.lo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> 
> 
> I made sure to do a make clean too after i made the changes. Any other 
> ideas?
> 
> Much thanks;
> 
> Yasi
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers


More information about the torqueusers mailing list