View Single Post
  #1   (View Single Post)  
Old 9th January 2009
troberts troberts is offline
Port Guard
 
Join Date: May 2008
Posts: 27
Default Can't compile gcc-4.3.3_20090101 [SOLVED]

The following ports:
  • blas-1.0_2
  • lapack-3.1.1_1
  • py25-numpy-1.2.0,1
need to be updated but gcc-4.3.3_20090101 will not compile in the presence of lang/gcc295. The error message displayed is:
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

#
I did a pkg_info for 'gcc' and the three things displayed are:
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'
What confuses me is the message, "This port will not build in the presence of lang/gcc295.". The only reason I can come up with for gcc295 having a "presence" is because of ccache. I installed it, as is, and gcc295 is mentioned in the following section of its Makefile
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
If this is the problem, could I just delete the if statement that adds the gcc295 compiler to GNU_COMPILERS+=? Can I just delete the gcc295 link located in /usr/local/libexec/ccache? I was going to rename the link, but the 'Rename' option was inactive.

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.
Reply With Quote