On 9/11/13 5:35 PM, Robert Poor wrote:
> @Alexander:
>
> I apologize for misunderstanding.  (I thought you meant it was
> prompting for the license because it detected the "wrong" compiler.)
>
> I've done a careful fresh start, but I'm still getting the same error.
>   Here's the step-by-step:
>
> * I rm -rf'd the /sw directory.  Entirely.
> * I moved the errant /usr/llvm-gcc-4.2 directory out of the way.
>
> Then based on what I read in:
>
>     http://fink.thetis.ig42.org/download/srcdist.php
>
> * downloaded a fresh XCode and installed it.
> * launched XCode preferences panel and downloaded the command line tools
> * sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/
> * sudo xcodebuild -license
> * downloaded and unpacked fink-0.35.1.tar.gz
> * cd fink-0.35.1
> * ./bootstrap
> * /sw/bin/pathsetup.sh
> * source ~/.bashrc   # to pick up the new PATH var
> * fink selfupdate-rsync
> * fink index -f
> * fink update-all
> * sudo fink install octave-atlas
> ... wait five hours...
>
> And it died in the same place.  BUT I noticed that shortly before it
> died something suspicious:
>
>     + CXX='g++-4.2 -MD'
>     + perl -pi -e 's,= cc,= gcc-4.2,g; s,= c\+\+,= g++-4.2,g'
> mkspecs/darwin-g++/qmake.conf
>
> It appears to be setting environment variables to use g++-4.2, which
> as you point out, doesn't exist.  Following is the printout from
> shortly before those lines up to the point where it dies.  Let me know
> what I might be doing wrong here.
>
> Best,
>
> - Rob
>
> ========
> sudo -u fink-bld [ENV] sh -c /tmp/fink.38XTR
> /tmp/fink.ENTXN
> ++ dpkg -p qt3
> ++ grep '^Version:'
> ++ cut '-d ' -f2-
> Package `qt3' is not available.
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> + CURRENTVERSION=
> + DOREMOVE=0
> + for BADUPGRADE in 3.2.1-1 3.2.1-11 3.2.1-12
> + '[' '' = 3.2.1-1 ']'
> + for BADUPGRADE in 3.2.1-1 3.2.1-11 3.2.1-12
> + '[' '' = 3.2.1-11 ']'
> + for BADUPGRADE in 3.2.1-1 3.2.1-11 3.2.1-12
> + '[' '' = 3.2.1-12 ']'
> ++ ls -1 /lib/
> ++ grep -E '(qt-mt|qt3)'
> ++ grep -v '.bad$'
> + '[' 0 = 1 ']'
> + unset QMAKESPEC
> ++ pwd
> + export QTDIR=/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8
> + QTDIR=/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8
> + export 
> DYLD_LIBRARY_PATH=/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/lib:/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/plugins/designer:/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/plugins/imageformats
> + 
> DYLD_LIBRARY_PATH=/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/lib:/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/plugins/designer:/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/plugins/imageformats
> + export 
> PATH=/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/bin:/sw/lib/freetype219/bin:/sw/lib/fontconfig2/bin:/sw/var/lib/fink/path-prefix-clang:/sw/bin:/sw/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin
> + 
> PATH=/sw/src/fink.build/qt3-3.3.8-2002/qt-x11-free-3.3.8/bin:/sw/lib/freetype219/bin:/sw/lib/fontconfig2/bin:/sw/var/lib/fink/path-prefix-clang:/sw/bin:/sw/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin
> + export INSTALL_ROOT=
> + INSTALL_ROOT=
> + '[' -f /usr/lib/libresolv.dylib ']'
> + LIBRESOLV=-lresolv
> + perl -pi -e 's,#define QT_AOUT_UNDERSCORE,,'
> mkspecs/darwin-g++/qplatformdefs.h
> + '[' -x /usr/bin/gcc-4.2 ']'
> + export 'CC=gcc-4.2 -MD' 'CXX=g++-4.2 -MD'
> + CC='gcc-4.2 -MD'
> + CXX='g++-4.2 -MD'
> + perl -pi -e 's,= cc,= gcc-4.2,g; s,= c\+\+,= g++-4.2,g'
> mkspecs/darwin-g++/qmake.conf
> + echo yes
> ++ pwd
> ++ pwd
> + ./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
> g++-4.2 -c -o makefile.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 generators/makefile.cpp
> make: g++-4.2: No such file or directory
> make: *** [project.o] Error 1
> make: *** Waiting for unfinished jobs....
> make: *** [property.o] Error 1
> make: *** [main.o] Error 1
> make: *** [makefile.o] Error 1
> qmake failed to build. Aborting.
> ### execution of /tmp/fink.ENTXN failed, exit code 2
> ### execution of /tmp/fink.38XTR failed, exit code 2
>


I believe I said to move  * /usr/bin/gcc-4.2 *, since _that_ is what is 
doing this to you.  Do that.

You're _supposed_ to have /usr/lib/llvm-gcc-4.2, so put that back.

There's no need to remove Fink.

-- 
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

Reply via email to