(below is a reposting from the other macports message list as I was recommended that here was the correct location...)
When trying to build gnuplot on OSX 10.7 Lion aquaterm fails and when you check the log file it seems to relate to the Xcode licence. version:1 :debug:main Executing org.macports.main (aquaterm) :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501 :debug:main euid changed to: 503 :debug:main Skipping completed org.macports.archivefetch (aquaterm) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (aquaterm) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (aquaterm) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (aquaterm) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (aquaterm) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (aquaterm) :debug:main Privilege de-escalation not attempted as not running as root. :debug:build build phase started at Wed Feb 29 10:44:21 EST 2012 :notice:build ---> Building aquaterm :debug:build Executing org.macports.build (aquaterm) :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_aquaterm/aquaterm/work/aquaterm" && /usr/bin/xcodebuild -target "AquaTerm" -configuration Deployment build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.7 ARCHS=x86_64 SDKROOT="" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 USER_APPS_DIR=/Applications/MacPorts FRAMEWORKS_DIR=/opt/local/Library/Frameworks' :info:build :info:build You have not agreed to the Xcode license agreements, please run xcodebuild standalone from within a Terminal window to review and agree to the Xcode license agreements. :info:build shell command "cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_aquaterm/aquaterm/work/aquaterm" && /usr/bin/xcodebuild -target "AquaTerm" -configuration Deployment build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.7 ARCHS=x86_64 SDKROOT="" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 USER_APPS_DIR=/Applications/MacPorts FRAMEWORKS_DIR=/opt/local/Library/Frameworks" returned error 69 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "$procedure $targetname" :info:build Warning: the following items did not execute (for aquaterm): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for aquaterm is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_aquaterm/aquaterm/main.log I tried following the instructions, e.g. cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_aquaterm/aquaterm/work/aquaterm /usr/bin/xcodebuild -target "AquaTerm" -configuration Deployment build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.7 ARCHS=x86_64 SDKROOT="" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 USER_APPS_DIR=/Applications/MacPorts FRAMEWORKS_DIR=/opt/local/Library/Frameworks And that seems to work fine but if you then try and reinstall aquaterm you ended up where you started again. Any ideas? thanks Martin >> The error message says "run xcodebuild standalone"; it does not say to cd >> to any directory or to provide all those arguments. Just run xcodebuild >> by itself with no arguments, I think. >> No I tried that and got this response... $ xcodebuild standalone xcodebuild: error: The directory /Users/mdekauwe does not contain an Xcode project. >> I ran into the same problem. After updating to the latest XCode (4.3.1), >> I ran: sudo xcode-select -switch /Applications/Xcode.app then reran: and I'm up and running. ** And that didn't solve it for me as I am still have issues I think to do with aquaterm: $ sudo port install gnuplot Password: ---> Computing dependencies for gnuplot ---> Dependencies to be installed: aquaterm lua pdflib ---> Building aquaterm Error: Target org.macports.build returned: shell command failed (see log for details) Error: Failed to install aquaterm Log for aquaterm is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_aquaterm/aquaterm/main.log Error: The following dependencies were not installed: aquaterm lua pdflib -- View this message in context: http://old.nabble.com/gnuplot-%2B-aquaterm-Lion-OS-X-tp33528180p33528180.html Sent from the MacPorts - Users mailing list archive at Nabble.com. _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users