On 6/12/12 12:40 PM, Greg A. Woods wrote: > At Tue, 12 Jun 2012 12:00:36 -0700, Alexander Hansen > <[email protected]> wrote: Subject: Re: [Fink-users] > problems compiling qt4-base-mac-4.7.3-4 >> >> Interesting. That might presuppose supplying a full set of >> build tools which don't do that. > > In a way -- pkgsrc builds a set of scripts as wrappers to all the > build tools which might do odd things, and those scripts will > sometimes modify the command-line parameters as well as making sure > the correct underlying tool is ultimately run. > >> I _have_ experienced a similar error to what you reported. The >> context in my case was that I had a "foreign" library which was >> giving symbols to my compiler that it didn't understand. (Though >> "foreign" in this case was "Built by Fink on a G5, but installed >> on a G4", and the compiler was gfortran). >> >> The best thing I can suggest in the near term is to look for any >> extraneous compiler libraries. > > Hmmmm.... In terms of tools and libraries I don't think I've ever > installed anything on this machine outside of /Applications > without using fink to do it, other than of course OS upgrades. > > If I go by what's left sitting in /sw/src then qt-4.6.3 was > installed in the fall of 2010, and has been in use successfully > until this most recent "fink self-update && fink update-all" when > the attempt was made to upgrade it to qt-4.7.3. > >> Otherwise, I can build you a set of .debs to install. That'll >> take a little bit of time because I'll need to set up an >> 10.6/x86_64 Fink that builds in /sw. > > Hmmm... perhaps we could avoid going to that length. > > Is there an easy way to get fink to use one of the compilers it > has installed itself for building this package? I see that a > recent fink update caused gcc-4.7.0 to be installed, and I see > parts of gcc-4.6.3 are also installed. > > -- Greg A. Woods Planix, Inc. > > <[email protected]> +1 250 762-7675 > http://www.planix.com/
It looks like it's possible to try it, anyway: I recommend making local copies of /sw/fink/dists/stable/main/finkinfo/libs/qt4-base-mac.info and /sw/fink/dists/stable/main/finkinfo/libs/qt4-base.patch: http://finkers.wordpress.com/?s=local+packages In that qt4.info, after the block: if [[ $(sw_vers -productVersion | cut -d. -f1-2) > 10.6 ]]; then export PATH="/Developer/usr/bin:/usr/llvm-gcc-4.2:$PATH" export CC=llvm-gcc-4.2 export CXX=llvm-g++-4.2 fi add export CC=%p/bin/fsf-gcc-4.7 export CXX=%p/bin/fsf-g++-4.7 (you could get rid of that if..fi block if you want). -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
