Date: Wed, 16 Sep 2009 21:03:21 +0200 From: Christoph Moench-Tegeder <cmt@burggraben.net> To: freebsd-ports@freebsd.org Subject: Re: FreeBSD Port: octave-3.2.2_5 Message-ID: <20090916190321.GE1392@elch.haidundneu23.net> In-Reply-To: <4AAEC62D.9000007@janh.de> References: <4AAEC62D.9000007@janh.de>
next in thread | previous in thread | raw e-mail | index | archive | help
## Jan Henrik Sylvester (me@janh.de): > >> Here's the error in the build: > >> making gendoc.cc > >> g++44 -O2 -fno-strict-aliasing -pipe -I/usr/local/include > >> -I/usr/local/include -o gendoc gendoc.cc -L/usr/local/lib -pthread > >> making DOCSTRINGS > >> /libexec/ld-elf.so.1: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 > >> required by ./gendoc not found > > Hi Joey, I also noticed that Gerald has updated GCC43 to GCC44. > > you should recompile all ports... > > thanks > I hit the same error on 7.2-RELEASE. I did recompile all Fortran > dependencies with gcc44 and removed gcc43, still the error persists. The power of versioned symbols... Try this on math/octave/Makefile --- Makefile.orig 2009-09-16 20:34:05.000000000 +0200 +++ Makefile 2009-09-16 20:33:14.000000000 +0200 @@ -76,12 +76,12 @@ PLIST_SUB= OCTAVE_VERSION=${OCTAVE_VERSION} GNU_HOST=${GNU_HOST} INCLUDES= -I${LOCALBASE}/include MAKE_ENV+= CPPFLAGS="${CPPFLAGS} ${INCLUDES}" \ - LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" + LDFLAGS="${LDFLAGS} -L/usr/local/lib/gcc44 -Wl,-rpath /usr/local/lib/gcc44 -L${LOCALBASE}/lib ${PTHREAD_LIBS}" CFLAGS+= ${INCLUDES} CXXFLAGS+= ${INCLUDES} CPPFLAGS+= ${INCLUDES} CONFIGURE_ENV+= GPERF="${LOCALBASE}/bin/gperf" \ - LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \ + LDFLAGS="${LDFLAGS} -L/usr/local/lib/gcc44 -Wl,-rpath /usr/local/lib/gcc44 -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \ CC="${CC}" \ CXX="${CXX}" \ TERMIOS_H="termios.h" This makes octave build, but I'm not sure if it breaks other things... Note the hardcoded gcc44 paths... there must be a better way. Regards, Christoph -- Spare Space
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090916190321.GE1392>