Thanks for the patch. It will be in the next release of SLURM. ________________________________________ From: [email protected] [[email protected]] On Behalf Of Jon Bringhurst [[email protected]] Sent: Friday, May 06, 2011 8:11 AM To: [email protected] Subject: Re: [slurm-dev] Compile SLURM on OSX 1.6.x
I just managed to get it to compile under Mac OS X 10.6.7 (darwin 10.7.0). Until these changes make their way into a release tarball, you either need to clone the master git or grab the following two patches and compile with the deploy target env below: <https://github.com/chaos/slurm/commit/cd98949914776df567f8372fc2c57742107e26b7> <https://github.com/chaos/slurm/commit/63794f2d90490d3cbfe778d253cbc1ff76f99578> 'sh configure && MACOSX_DEPLOYMENT_TARGET=10.5 make all' -Jon On May 5, 2011, at 4:24 AM, Paolo Di Tommaso wrote: Hi Folks, I'm trying to compile SLURM on Mac OSX 1.6.x but I get the following error message: libtool: link: gcc -Wl,-undefined -Wl,dynamic_lookup -o .libs/priority_multifactor.so -bundle .libs/priority_multifactor.o -lm ld: codegen problem, can't use rel32 to external symbol _slurm_destroy_priority_factors_object in _priority_p_get_priority_factors_list from .libs/priority_multifactor.o collect2: ld returned 1 exit status make[5]: *** [priority_multifactor.la<http://priority_multifactor.la/>] Error 1 make[4]: *** [all-recursive] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 I've used the plain configuration, I mean just ./configure make Is there any special configuration option to make it compile on mac? Thanks Paolo Di Tommaso
