On Fri, Jul 29, 2011 at 01:58:56PM -0430, Eduardo Pestana wrote: > On Fri, Jul 29, 2011 at 1:21 PM, Jack Howarth <[email protected]>wrote: > > > On Fri, Jul 29, 2011 at 01:29:57PM -0400, Alexander Hansen wrote: > > > On 7/29/11 12:01 PM, Jack Howarth wrote: > > > > On Fri, Jul 29, 2011 at 11:11:48AM -0430, Eduardo Pestana wrote: > > > >> Dear All, > > > >> > > > >> To build the clamav packages, fink requires gcc46. > > > >> > > > >> The building of gcc46 failed. Below is the error line, with some > > output > > > >> before and after, > > > >> to give context to the problem. > > > > > > > > The error is much earler in the log due to the parallel make. You can > > find it by > > > > search the log for instances of '***'. The obvious things to check for > > are... > > > > > > > > 1) You must not have MacPorts installed under fink or have third party > > software > > > > in /usr/local... > > > > > > > > > > http://www.finkproject.org/faq/comp-general.php?phpLang=en#usr-local-libs > > > > > > > > Try moving both /usr/local and /opt/local aside if they exist before > > attempting > > > > to rebuild gcc46. > > > > > > > > 2) Make sure your Xcode is at least 3.2.3 ('xcodebuild -version' should > > show > > > > you this). If not, Software Update should already be offering you Xcode > > 3.2.6 > > > > for installation. > > > > > > > > Jack > > > >> > > > > > > <snip> > > > > > > Xcode's good, according to Eduardo's original post: > > > > > > >>> Xcode Version: 3.2.6-1 > > > > Well, without the full log it is impossible to say due to the parallel > > build. > > I still suspect it will be some form of third party software conflict > > whether from > > MacPorts or stray installations into /usr/local. A chrooted fink build > > would be > > so helpful with gcc4x. > > Jack > > > > > > > > <snip> > > > -- > > > Alexander Hansen, Ph.D. > > > Fink User Liaison > > > http://finkakh.wordpress.com/ > > > > Dear Jack, Alexander, All > > I did as Jack said. Looking carefully in the log (with /usr/local/ > *not renamed/moved*) I found > > checking for the correct version of the gmp/mpfr/mpc libraries... yes > > checking for PWL_handle_timeout in -lpwl... yes > > checking for version 0.11 (revision 0 or later) of PPL... yes > > checking for installed CLooG ISL... ISL > > checking for version 0.16.1 of CLooG... yes > > The following languages will be built: c,c++,fortran,java,lto,objc,obj-c++ > > *** This configuration is not supported in the following subdirectories: > > zlib target-libmudflap gnattools target-libada target-libgo > > (Any other directories should still work fine.) > > rm: conftest.dSYM: is a directory > > checking for default BUILD_CONFIG... bootstrap-debug > > checking for bison... bison -y > > >
This is normal. > and also > > patching file include/simple-object.h > > patching file libiberty/simple-object-mach-o.c > > patching file gcc/config/darwin.c > > Hunk #1 succeeded at 1749 (offset -4 lines). > > Hunk #2 succeeded at 1837 (offset -4 lines). > > Hunk #3 succeeded at 2740 (offset -4 lines). > > Hunk #4 succeeded at 2756 (offset -4 lines). > > Hunk #5 succeeded at 2785 (offset -4 lines). > > Hunk #6 succeeded at 2800 (offset -4 lines). > > /var/tmp/tmp.1.DimfCY > > #!/bin/bash -ev > > set +x > > if [ -e /usr/local/lib/libgmp.a ] || [ -e /usr/local/lib/libgmp.dylib ]; > > then > > echo "-----WARNING-----WARNING-----WARNING-----" > > echo "You seem to have GMP installed in /usr/local." > > echo "This is known to cause gcc46 to fail to build." > > echo "Please move aside /usr/local and try again." > > echo "-----WARNING-----WARNING-----WARNING-----" > > exit 1 > > fi > > I really need you to send the full log. The gcc build is complex and done in a parallel make for speed. It often takes a while to find the problem although usually if you search for '***' in the log you will find all of the places where error messages are emitted. I would suggest you try moving aside the .bashrc or .cshrc in your user account, and create a replacement copy with just the line... source /sw/bin/init.csh for csh or... source /sw/bin/init.sh for bash. You may have some third-party unix software installed outside of /usr/local which is being adding to the paths by source lines in your .cshrc or .bashrc. Starting with a clean .cshrc/.bashrc and opening a new terminal window to make that change take effect will insure that only the software installed by fink is seen during the build. > > I also moved /usr/local/ to /usr/local.Moved/ and tried again as Jack said. > Gcc46 failed again :-( > In the log, the two groups of lines quoted above *still* appear, and > exactly equal. > > Thanks, > Eduardo ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ 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
