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





--
View this message in context: 
http://fink.9193.n7.nabble.com/Failure-to-install-gildas-201404c-1-on-Mac-10-6-8-tp45977p45979.html
Sent from the fink-users mailing list archive at Nabble.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

Reply via email to