|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
Can't compile gcc-4.3.3_20090101 [SOLVED]
The following ports:
Code:
===> gcc-4.3.3_20090101 depends on file: /usr/local/bin/perl5.8.8 - found This port will not build in the presence of lang/gcc295. *** Error code 1 Stop in /usr/ports/lang/gcc43. ===>>> make failed for lang/gcc43 ===>>> Aborting update ===>>> Update for /usr/ports/lang/gcc43 failed ===>>> Aborting update Terminated # Code:
gcc-3.4.6_3,1 GNU Compiler Collection 3.4 gcc-4.2.5_20081126 GNU Compiler Collection 4.2 gccmakedep-1.0.2 Create dependencies in makefiles using 'gcc -M' Code:
.if !defined(WITHOUT_COMPILER_LINKS) .if ${ARCH}=="i386" || ${ARCH}=="alpha" GNU_COMPILERS+= 295 .endif .if ${ARCH}=="i386" CCACHE_COMPILERS+= icc icpc .endif GNU_COMPILERS+= 32 33 34 40 41 42 43 44 -ooo CCACHE_COMPILERS+= cc c++ gcc g++ ${GNU_COMPILERS:S|^|gcc|} ${GNU_COMPILERS:S|^|g++|} .if defined(EXTRA_COMPILERS) CCACHE_COMPILERS+= ${EXTRA_COMPILERS} .endif WORLD_COMPILERS= world-cc world-c++ PLIST_FILES+= ${CCACHE_COMPILERS:S|^|${CCLINKDIR}/|} \ ${WORLD_COMPILERS:S|^|${CCLINKDIR}/|} SUB_FILES+= ${WORLD_COMPILERS} SUB_LIST+= CCACHE_COMPILERS="${CCACHE_COMPILERS}" \ CCLINKDIR="${CCLINKDIR}" \ ICCPREFIX="${LOCALBASE}/intel_cc_80/bin" \ HOWTO="${HOWTO}" .endif Any suggestions will be greatly appreciated. Last edited by troberts; 10th January 2009 at 04:45 PM. Reason: Attempting to provide more information to make the question clearer. |
|
||||
Found this in lang/gcc43's Makefile:
Code:
pre-extract: @# Building libgcj with lang/gcc295 installed is causing a failure @# about "hidden symbol `__eprintf'" in libgcc.a(_eprintf.o). @if type gcc295 >/dev/null ; then \ echo "This port will not build in the presence of lang/gcc295."; \ exit 1; \ fi
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
I renamed gcc295 and g++295 links in /usr/local/libexec/ccache and that took care of the problem. Also, the reason I could not rename the links is I was logged into my user account instead of root.
It is amazing what one can figure out once you realize the worst thing that can happen, if something goes wrong, is you have to reinstall everything. |
|
||||
This is unix, not dos! Reinstalling everything [from backup] can be easier then fixing a problem, but rarely is truly necessary if you still have a backup plan ;-)
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
The point I was trying to make was that instead of waiting for the "correct" answer I should come up with my own solution and try it. If it does not fix my problem then I just fix my fix and try something else.
|
|
|||
Quote:
Code:
# New ports collection makefile for: blas # Date created: 27 October 1994 # Whom: ljo # # $FreeBSD: ports/math/blas/Makefile,v 1.45 2009/01/07 16:34:13 gerald Exp $ # PORTNAME= blas PORTVERSION= 1.0 PORTREVISION= 3 CATEGORIES= math MASTER_SITES= http://www.netlib.org/blas/ \ ftp://ftp.mirrorservice.org/sites/netlib.bell-labs.com/netlib/blas/ \ ftp://netlib.bell-labs.com/netlib/blas/ DISTNAME= ${PORTNAME} EXTRACT_SUFX= .tgz MAINTAINER= maho@FreeBSD.org COMMENT= Basic Linear Algebra, level 1, 2, and 3 USE_LDCONFIG= yes USE_FORTRAN= yes WRKSRC= ${WRKDIR}/BLAS PLIST_FILES= lib/libblas.a lib/libblas.so lib/libblas.so.2 do-configure: @${INSTALL_DATA} ${FILESDIR}/makefile.lib ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's+@FFLAGS@+${FFLAGS}+g' ${WRKSRC}/Makefile .include <bsd.port.mk> |
|
||||
This is the ``offending line'':
USE_FORTRAN= yes From ports/Mk/bsd.gcc.mk: Code:
# If your port needs a Fortran compiler, please specify that with the # USE_FORTRAN= knob. Here is the list of options for that knob: # # USE_FORTRAN= yes # use gfortran43 (/lang/gcc43) # USE_FORTRAN= g77 # use g77-34 (lang/gcc34; FreeBSD>=7) # # or system f77 (/usr/bin/f77; FreeBSD<=6) # USE_FORTRAN= ifort # use the Intel compiler (lang/ifc)
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't compile autoconf262 | Sunsawe | FreeBSD Ports and Packages | 2 | 26th August 2008 07:53 PM |
firefox3 will not compile | map7 | FreeBSD Ports and Packages | 8 | 14th July 2008 11:23 PM |
gio-fam-backend will not compile | map7 | FreeBSD Ports and Packages | 0 | 2nd July 2008 01:59 AM |
How come gnome2 won't compile? | Damien787 | FreeBSD Ports and Packages | 10 | 16th June 2008 05:20 PM |
Why wont this compile? | Johnny2Bad | FreeBSD General | 10 | 19th May 2008 11:30 PM |