??? "MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1"
Ryan Schmidt
ryandesign at macports.org
Tue Apr 22 15:19:48 PDT 2008
On Apr 22, 2008, at 3:52 PM, paul beard wrote:
> I seem to be having recurring issues with this. I have, I think, a
> TRAC ticket on it for some port or other, but TRAC is being ornery
> today and refusing to let me see tickets. I even get this if I
> explicitly export the correct value as part of the command.
>
> /usr/bin/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
> make[3]: *** [liba11y-keyboard.la] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Error: The following dependencies failed to build: gnome-settings-
> daemon
This should not be a problem with MacPorts trunk which passes the
correct value for MACOSX_DEPLOYMENT_TARGET to every port.
For MacPort 1.6.0 as released, try adding this to the port:
platform darwin 7 {
configure.env-append MACOSX_DEPLOYMENT_TARGET=10.3
build.env-append MACOSX_DEPLOYMENT_TARGET=10.3
}
platform darwin 8 {
configure.env-append MACOSX_DEPLOYMENT_TARGET=10.4
build.env-append MACOSX_DEPLOYMENT_TARGET=10.4
}
platform darwin 9 {
configure.env-append MACOSX_DEPLOYMENT_TARGET=10.5
build.env-append MACOSX_DEPLOYMENT_TARGET=10.5
}
More information about the macports-users
mailing list