Resolving configuration clashes after installing gcc-intel-leopard-bin.tar.gz from hpc.sourceforge.net
Hi people,
I tried to install the library PLPLOT using the port-file from macports.org, and since it insisted on building gcc 4.2, I've decided to upgrade my current gcc (4.0.1) using the tarball available from hpc.sourceforge.net.
After extracting the archive to /, I noticed that I still had the gcc 4.0.1 compilers as my default (i.e., gcc -v returns gcc 4.0.1 information). Additionally, I now have problems compiling codes which were built without an error previously. For example, when I tried to install gnuplot (again, using the macports.org port file), the build failed, and I got these messages:
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gnuplot/work/gnuplot-4.2.3" && make all " returned error 2
and
/usr/bin/g++-4.0 -O2 -L/opt/local/lib -L/opt/local/lib -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -L/opt/local/lib -L/opt/local/lib -L/usr/X11/lib -L/opt/local/lib -o gnuplot alloc.o axis.o breaders.o bitmap.o color.o command.o contour.o datafile.o dynarray.o eval.o fit.o gadgets.o getcolor.o graph3d.o graphics.o help.o hidden3d.o history.o internal.o interpol.o matrix.o misc.o mouse.o parse.o plot.o plot2d.o plot3d.o pm3d.o readline.o save.o scanner.o set.o show.o specfun.o standard.o stdfn.o tables.o term.o time.o unset.o util.o util3d.o variable.o version.o -lreadline -lncurses -lz -lgd -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz @LTLIBICONV@ -lpdf -laquaterm -framework Foundation
i686-apple-darwin9-g++-4.0.1: @LTLIBICONV@: No such file or directory
How can I resolve the conflicting GCC versions (I am fairly confident that this is the reason for the errors) or, failing that, safely un-install the GCC 4.2? Any help would be appreciated.
EDIT: it seems that the problem lies not with hpc.sourcefourge.net's gcc distribution, but with an update to a dependency of gnuplot which broke it


