URL: <http://gna.org/bugs/?7670> Summary: scons compile issue Project: relax Submitted by: None Submitted on: Wednesday 11/08/2006 at 13:52 CET Category: Scons build system Priority: 5 - Normal Severity: 4 - Important Status: None Privacy: Public Assigned to: None Originator Name: doug Originator Email: Open/Closed: Open Release: 1.2.7 Operating System: Mac OS X _______________________________________________________ Details: I'm using the tensor_pdb version (svn co svn://svn.gna.org/svn/relax/branches/tensor_pdb) and running Mac OS X 10.4.8 w/ gcc version 4.0.1 (PowerPC version). I tried to install relax using the directions in the relax.pdf section 1.2.1 using the 'scons' program under OS X. I am seeing the following error (even after trying to execute 'scons' a few times, which is shown below): % scons clean scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... clean_temp_files(["clean_temp"], []) ############################### # Cleaning up temporary files # ############################### Removing the files ending in ['pyc', 'bak', 'o', 'os', 'obj', 'exp', 'lib']. clean_manual_files(["manual_clean"], []) ########################################## # Cleaning up the temporary manual files # ########################################## clean_files(["clean"], []) ############### # Cleaning up # ############### Removing the files ending in ['so', 'sconsign', 'dll']. scons: done building targets. % scons scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... ########################### # Compiling the C modules # ########################### Building the relaxation curve fitting module 'maths_fns/relax_fit.dylib' gcc -I/sw/include/python2.4 -fPIC -c -o maths_fns/c_chi2.os maths_fns/c_chi2.c gcc -I/sw/include/python2.4 -fPIC -c -o maths_fns/exponential.os maths_fns/exponential.c gcc -I/sw/include/python2.4 -fPIC -c -o maths_fns/relax_fit.os maths_fns/relax_fit.c gcc -bundle -bundle_loader /sw/bin/python -dynamic -dynamiclib -o maths_fns/relax_fit.dylib maths_fns/c_chi2.os maths_fns/exponential.os maths_fns/relax_fit.os powerpc-apple-darwin8-gcc-4.0.1: -bundle not allowed with -dynamiclib scons: *** [maths_fns/relax_fit.dylib] Error 1 scons: building terminated because of errors. I blindly tried removing the -bundle and -bundle_loader flags, but that did not help. _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Wednesday 11/08/2006 at 13:52 CETBy: Anonymous I'm using the tensor_pdb version (svn co svn://svn.gna.org/svn/relax/branches/tensor_pdb) and running Mac OS X 10.4.8 w/ gcc version 4.0.1 (PowerPC version). I tried to install relax using the directions in the relax.pdf section 1.2.1 using the 'scons' program under OS X. I am seeing the following error (even after trying to execute 'scons' a few times, which is shown below): % scons clean scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... clean_temp_files(["clean_temp"], []) ############################### # Cleaning up temporary files # ############################### Removing the files ending in ['pyc', 'bak', 'o', 'os', 'obj', 'exp', 'lib']. clean_manual_files(["manual_clean"], []) ########################################## # Cleaning up the temporary manual files # ########################################## clean_files(["clean"], []) ############### # Cleaning up # ############### Removing the files ending in ['so', 'sconsign', 'dll']. scons: done building targets. % scons scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... ########################### # Compiling the C modules # ########################### Building the relaxation curve fitting module 'maths_fns/relax_fit.dylib' gcc -I/sw/include/python2.4 -fPIC -c -o maths_fns/c_chi2.os maths_fns/c_chi2.c gcc -I/sw/include/python2.4 -fPIC -c -o maths_fns/exponential.os maths_fns/exponential.c gcc -I/sw/include/python2.4 -fPIC -c -o maths_fns/relax_fit.os maths_fns/relax_fit.c gcc -bundle -bundle_loader /sw/bin/python -dynamic -dynamiclib -o maths_fns/relax_fit.dylib maths_fns/c_chi2.os maths_fns/exponential.os maths_fns/relax_fit.os powerpc-apple-darwin8-gcc-4.0.1: -bundle not allowed with -dynamiclib scons: *** [maths_fns/relax_fit.dylib] Error 1 scons: building terminated because of errors. I blindly tried removing the -bundle and -bundle_loader flags, but that did not help. _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?7670> _______________________________________________ Message sent via/by Gna! http://gna.org/