Mac OS X Tiger and MACOSX_DEPLOYMENT_TARGET

Discussion in 'Ruby' started by Une Bévue, Jul 29, 2011.

  1. Une Bévue

    Une Bévue Guest

    recently i wanted to install nokogiri and gtk2 under ruby 1.9 (installed
    by MacPorts) over Tiger 10.4.11 and get the following error message :

    /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: flag: -undefined
    dynamic_lookup can't be used with MACOSX_DEPLOYMENT_TARGET environment
    variable set to: 10.1
    collect2: ld returned 1 exit status

    if i echo this variable MACOSX_DEPLOYMENT_TARGET, I get an empty string
    :

    iBook:~ yt$ echo $MACOSX_DEPLOYMENT_TARGET

    iBook:~ yt$

    then this variable is in a file; where to change it and for what value ?
     
    Une Bévue, Jul 29, 2011
    #1
    1. Advertisements

  2. Just set it to 10.4

    export MACOSX_DEPLOYMENT_TARGET=10.4
     
    Konstantinos Pachnis, Aug 10, 2011
    #2
    1. Advertisements

  3. Une Bévue

    Une Bévue Guest

    Fine, tanks !
     
    Une Bévue, Aug 20, 2011
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.