Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Mac OS 10.6 vs 10.7 Build Env

Help
2012-01-06
2012-11-20
  • Mark Brethen
    Mark Brethen
    2012-01-06

    Using the following:

    ./configure -prefix=${prefix} -with-csl ; ./configure -with-psl

    and

    make

    I'm getting very different results.

    Both csl and psl install on mac os 10.7 (lion) but fail on 10.6 (snow leopard)

    Config.log (lion):

    ## --------- ##
    ## Platform. ##
    ## --------- ##
    hostname = Marks-MacBook-Pro.local
    uname -m = x86_64
    uname -r = 11.2.0
    uname -s = Darwin
    uname -v = Darwin Kernel Version 11.2.0: Tue Aug  9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64
    /usr/bin/uname -p = i386
    /bin/uname -X     = unknown
    /bin/arch              = unknown
    /usr/bin/arch -k       = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo      = Mach kernel version:
         Darwin Kernel Version 11.2.0: Tue Aug  9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64
    Kernel configured for up to 8 processors.
    4 processors are physically available.
    8 processors are logically available.
    Processor type: i486 (Intel 80486)
    Processors active: 0 1 2 3 4 5 6 7
    Primary memory available: 4.00 gigabytes
    Default processor set: 132 tasks, 1137 threads, 8 processors
    Load average: 1.99, Mach factor: 6.00
    /bin/machine           = unknown
    /usr/bin/oslevel       = unknown
    /bin/universe          = unknown
    PATH: /opt/local/bin
    PATH: /opt/local/sbin
    PATH: /bin
    PATH: /sbin
    PATH: /usr/bin
    PATH: /usr/sbin
    ## ----------- ##
    ## Core tests. ##
    ## ----------- ##
    configure:1814: Absolute path to source directory = /opt/local/var/macports/build/_Users_marbre_ports_math_reduce/reduce/work/trunk
    configure:1850: checking build system type
    configure:1864: result: x86_64-apple-darwin11.2.0
    configure:1884: checking host system type
    configure:1897: result: x86_64-apple-darwin11.2.0
    configure:2498: host=x86_64-apple-darwin11.2.0 args= '--with-psl'
    configure:2520: Will build in the x86_64-mac_10.7_lion-darwin11.2.0 subdirectory
    configure:2568: +++ Will build in /opt/local/var/macports/build/_Users_marbre_ports_math_reduce/reduce/work/trunk/pslbuild/x86_64-mac_10.7_lion-darwin11.2.0
    

    Config.log (snow leopard):

    ## --------- ##
    ## Platform. ##
    ## --------- ##
    hostname = lavergne.gotdns.org
    uname -m = x86_64
    uname -r = 10.8.0
    uname -s = Darwin
    uname -v = Darwin Kernel Version 10.8.0: Tue Jun  7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64
    /usr/bin/uname -p = i386
    /bin/uname -X     = unknown
    /bin/arch              = unknown
    /usr/bin/arch -k       = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo      = Mach kernel version:
         Darwin Kernel Version 10.8.0: Tue Jun  7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64
    Kernel configured for a single processor only.
    1 processor is physically available.
    1 processor is logically available.
    Processor type: i486 (Intel 80486)
    Processor active: 0
    Primary memory available: 768.00 megabytes
    Default processor set: 66 tasks, 201 threads, 1 processors
    Load average: 1.47, Mach factor: 0.15
    /bin/machine           = unknown
    /usr/bin/oslevel       = unknown
    /bin/universe          = unknown
    PATH: /opt/local/bin/no_default_gcc
    PATH: /opt/local/bin
    PATH: /opt/local/sbin
    PATH: /bin
    PATH: /sbin
    PATH: /usr/bin
    PATH: /usr/sbin
    ## ----------- ##
    ## Core tests. ##
    ## ----------- ##
    configure:1814: Absolute path to source directory = /opt/local/var/macports/build/_Users_aeetes_dports_math_reduce/reduce/work/trunk
    configure:1850: checking build system type
    configure:1864: result: i386-apple-darwin10.8.0
    configure:1884: checking host system type
    configure:1897: result: i386-apple-darwin10.8.0
    configure:2498: host=i386-apple-darwin10.8.0 args= '--with-psl'
    configure:2520: Will build in the universal-mac_10.6_snowleopard-darwin10.8.0 subdirectory
    configure:2568: +++ Will build in /opt/local/var/macports/build/_Users_aeetes_dports_math_reduce/reduce/work/trunk/pslbuild/universal-mac_10.6_snowleopard-darwin10.8.0
    

    Although snow leopard (10.6) is X86_64, config.guess returns i386. I suspect this is the reason reduce fails to build.

     
  • Mark Brethen
    Mark Brethen
    2012-01-06

    csl config errors in snow leopard:

    :info:configure configure: error: SDK not found - need at least the 10.6 version
    :info:configure configure: About to configure FOX tests[code]
    [code]:info:configure configure: fat binary creation will probably NOT be possible
    :info:configure checking for gcc... gcc
    :info:configure checking whether the C compiler works... no
    :info:configure configure: error: in `/opt/local/var/macports/build/_Users_aeetes_dports_math_reduce/reduce/work/trunk/pslbuild/universal-mac_10.6_snowleopard-darwin10.8.0/xport':
    :info:configure configure: error: C compiler cannot create executables[code]
    and psl config errors:
    [code]:info:configure configure: Will build this PSL using the  initial binaries
    :info:configure cp: /opt/local/var/macports/build/_Users_aeetes_dports_math_reduce/reduce/work/trunk/psl/psl-/*: No such file or directory
    :info:configure configure: About to update PSL binaries from master web-site at ZIB
    :info:configure /opt/local/var/macports/build/_Users_aeetes_dports_math_reduce/reduce/work/trunk/psl/configure: line 2423: ../xport/xport: No such file or directory
    :info:configure chmod: bpsl*: No such file or directory[code]
    
     
  • Thomas Sturm
    Thomas Sturm
    2012-01-06

    The logs say that the gcc does not work. Have you got XCode installed and up-to-date? Can you compile Hello World on the command line?

    Thomas

     
  • Arthur Norman
    Arthur Norman
    2012-01-06

    Re "error: SDK not found - need at least the 10.6 version"
    can you please confirm that you do actually have the 10.6 SDK installed and in the default location where the configure scripts look for it.

    Arthur