On 5/9/14, 1:56 AM, bruenken wrote: > > > > Alexander Hansen-2 wrote >> As a workaround, reset your kernel back to 32 bit (and reboot, of >> course). Our packages aren't _supposed_ to care about whether the >> running kernel is 32 or 64 bit, but gildas appears to be using the >> running kernel architecture rather than your Fink architecture. > > I booted the kernel in 32 bit with > "sudo systemsetup -setkernelbootarchitecture i386" > rebooted, and checked with: > "uname -a > Darwin mackiemesser.localdomain 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun > 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386" > > After that I did another selfupdate-cvs and update-all, but the problem with > gildas remains, although the error message slightly changed: > "ld: symbol(s) not found for architecture x86_64 > collect2: ld returned 1 exit status > lipo: can't open input file: /var/tmp//ccpsq2VH.out (No such file or > directory) > error: command 'gcc' failed with exit status 1 > make[3]: *** > [/sw/src/fink.build/gildas-201404c-1/gildas-src-apr14c/integ/x86_64-darwin-gfortran-32bits/python/pygildas.so] > Error 1 > make[2]: *** [default-install] Error 1 > make[1]: *** [default-install] Error 1 > make: *** [default-install] Error 1 > ### execution of /tmp/fink.XdOhv failed, exit code 2 > ### execution of /tmp/fink.rlKzH failed, exit code 2" > > I suspect that not the 32/64 bits of the kernel, but rather the processor > are the problem, since the gildas installation checks for the architecture > like this: > > "if [ `sysctl -n hw.optional.x86_64 2> /dev/null` = 1 ]; then > export arch="x86_64-darwin-gfortran-32bits" > else > export arch="pc-darwin-gfortran-32bits" > " > > I have no clue how to change this variable either on my Mac or during > installation. > Is there a way to change instead the Distribution version from i386 to > x86_64? > > Cheers and thanks, > Sandra > > > > > > --
Right, that test seems like it's not doing the right thing for Fink's purposes. We normally don't do hardware tuning. There's no _automatic_ way to switch Fink over. You would need to set up a new Fink installation using x86_64. http://www.finkproject.org/doc/bundled/install-up02.php has information concerning techniques to speed up the process. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users