On 9/10/13 11:11 PM, Robert Poor wrote: > Well, it appears I need a more real fix: when I re-ran `fink install octave`, > somewhere along the line it loaded a new > /sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/configure > which undid my patch. > > So exactly how do I prevent qt's configure file from asking me to > confirm my acceptance of the GPL license? > > - Rob > > Salient context: > > Package manager version: 0.35.1 > Distribution version: selfupdate-cvs Tue Sep 10 20:37:45 2013, 10.8, x86_64 > Trees: local/main stable/main > Xcode.app: 4.6.3 > Xcode command-line tools: 4.6.0.0.1.1362189000 > Max. Fink build jobs: 4 > > And more context regarding the error: > > + ./configure -I/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/include > -L/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/lib > -I/sw/lib/freetype219/include -I/sw/lib/freetype219/include/freetype2 > -L/sw/lib/freetype219/lib -I/sw/lib/fontconfig2/include > -L/sw/lib/fontconfig2/lib -I/sw/lib/xft2/include -L/sw/lib/xft2/lib > -I/sw/include -L/sw/lib -I/usr/X11R6/include -L/usr/X11R6/lib -lresolv > -buildkey qt3-jaguar -platform darwin-g++ -xplatform darwin-g++ > -prefix /sw/lib/qt3 -docdir /sw/share/doc/qt3 -headerdir > /sw/include/qt -libdir /sw/lib -no-pch -release -shared -no-exceptions > -thread -cups -stl -qt-gif -plugin-imgfmt-png -plugin-imgfmt-jpeg > -plugin-imgfmt-mng -system-libpng -system-libjpeg -system-zlib > -largefile -sm -xinerama -xrender -xft -xkb -plugin-sql-sqlite > -no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql > > This is the Qt/X11 Open Source Edition. > > You are licensed to use this software under the terms of either > the Q Public License (QPL) or the GNU General Public License (GPL). > > Type 'Q' to view the Q Public License. > Type 'G' to view the GNU General Public License. > Type 'yes' to accept this license offer. > Type 'no' to decline this license offer. > > Do you accept the terms of either license? > Creating qmake. Please wait... > g++-4.2 -c -o project.o -pipe -I. -Igenerators -Igenerators/unix > -Igenerators/win32 -Igenerators/mac > -I/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/include/qmake > -I/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/include > -I/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/include > -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL > -DQT_NO_COMPRESS > -I/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/mkspecs/darwin-g++ > -DHAVE_QCONFIG_CPP -mdynamic-no-pic project.cpp > make: g++-4.2: No such file or directory > g++-4.2 -c -o property.o -pipe -I. -Igenerators -Igenerators/unix > -Igenerators/win32 -Igenerators/mac > -I/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/include/qmake > -I/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/include > -I/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/include > -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL > -DQT_NO_COMPRESS > -I/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/mkspecs/darwin-g++ > -DHAVE_QCONFIG_CPP -mdynamic-no-pic property.cpp > make: g++-4.2: No such file or directory > g++-4.2 -c -o main.o -pipe -I. -Igenerators -Igenerators/unix > -Igenerators/win32 -Igenerators/mac > -I/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/include/qmake > -I/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/include > -I/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/include > -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL > -DQT_NO_COMPRESS > -I/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/mkspecs/darwin-g++ > -DHAVE_QCONFIG_CPP -mdynamic-no-pic main.cpp > make: g++-4.2: No such file or directory > make: *** [property.o] Error 1 > make: *** Waiting for unfinished jobs.... > make: *** [project.o] Error 1 > make: *** [main.o] Error 1 > qmake failed to build. Aborting. > ### execution of /tmp/fink.0Djoc failed, exit code 2 > ### execution of /tmp/fink.VQpCH failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-qt3-3.3.8-2002 > (Reading database ... 28045 files and directories currently installed.) > Removing fink-buildlock-qt3-3.3.8-2002 ... > Updating the list of locally available binary packages. > Scanning dists/stable/main/binary-darwin-x86_64 > New package: > dists/stable/main/binary-darwin-x86_64/languages/gcc48-compiler_4.8.1-1000_darwin-x86_64.deb > New package: > dists/stable/main/binary-darwin-x86_64/languages/gcc48-shlibs_4.8.1-1000_darwin-x86_64.deb > New package: > dists/stable/main/binary-darwin-x86_64/languages/gcc48_4.8.1-1000_darwin-x86_64.deb > New package: > dists/stable/main/binary-darwin-x86_64/sci/qrupdate-shlibs_1.1.2-7_darwin-x86_64.deb > New package: > dists/stable/main/binary-darwin-x86_64/sci/qrupdate_1.1.2-7_darwin-x86_64.deb > Failed: phase compiling: qt3-3.3.8-2002 failed > > Before reporting any errors, please run "fink selfupdate" and try again. > Also try using "fink configure" to set your maximum build jobs to 1 and > attempt to build the package again. > If you continue to have issues, please check to see if the FAQ on Fink's > website solves the problem. If not, ask on one (not both, please) of > these mailing lists: > > The Fink Users List <fink-us...@lists.sourceforge.net> > The Fink Beginners List <fink-beginners@lists.sourceforge.net>, > > with a carbon copy to the maintainer: > > Benjamin Reed <q...@fink.raccoonfink.com> > > Note that this is preferable to emailing just the maintainer directly, > since most fink package maintainers do not have access to all possible > hardware and software configurations. > > Please try to include the complete error message in your report. This > generally consists of a compiler line starting with e.g. "gcc" or "g++" > followed by the actual error output from the compiler. > > Also include the following system information: > Package manager version: 0.35.1 > Distribution version: selfupdate-cvs Tue Sep 10 20:37:45 2013, 10.8, x86_64 > Trees: local/main stable/main > Xcode.app: 4.6.3 > Xcode command-line tools: 4.6.0.0.1.1362189000 > Max. Fink build jobs: 4 > > bash-3.2$ >
From the context, I'm not sure why you think you need to tweak the license prompt, since that's _not_ what is causing the build to fail. As I said before, the problem is that our build checks for the presence of /usr/bin/gcc-4.2, and if that is present, the build tries to use /usr/bin/gcc-4.2 and /usr/bin/g++-4.2--this was really for OS 10.5 and got carried forward. You have the former but not the latter. Fink expects that you _don't_ have a /usr/bin/gcc-4.2 on 10.8, so renaming or removing that should allow things to proceed. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners