GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » External Packages » external packages dec13 - mac os x maverick
external packages dec13 - mac os x maverick [message #15936] Mon, 10 March 2014 11:24
Stefan Pflueger is currently offline  Stefan Pflueger
Messages: 99
Registered: February 2012
continuous participant
From: *kph.uni-mainz.de
Hi,

I tried installing the dec13 external packages on my macbook with os x 10.9.2 (maverick), however it was complaining in the configuration stage about a missing libX11, even though I installed the XQuartz package.
I dug a little deeper and found out that the config script found the library but it thought it was a 32bit lib instead of 64bit.

Here's an excerpt of functions.sh from the scripts subfolder in the external package directory:

674	    else
675	        logmsg " file -L $chklib64 | grep '64-bit'"
676	        file -L $chklib64 | grep '64-bit' > /dev/null 2>& 1
677	        ret=$?
678	    fi


I ran the file -L on my libX11 and that returned [x86_64] not [64-bit] etc. I modified the code to this

674	    else
675	        logmsg " file -L $chklib64 | grep '64-bit'"
676	        file -L $chklib64 | grep '64-bit' > /dev/null 2>& 1
677	        ret=$?
                if [ "$ret" -eq "1" ]; then
	          logmsg " file -L $chklib64 | grep 'x86_64'"
	          file -L $chklib64 | grep 'x86_64' > /dev/null 2>& 1
	          ret=$?
	        fi
            fi



and it seems to work (still compiling). Did anyone have similar problems?

Best regards,

Stefan
Previous Topic: typo in symbolic link in apr13 ext packages geant4 install script
Next Topic: Install error external packages "apr 13" and Kubuntu 14.04
Goto Forum:
  


Current Time: Sat Nov 23 01:59:14 CET 2024

Total time taken to generate the page: 0.00780 seconds