Date: Wed, 07 Jan 2015 07:54:50 -0800 From: "Chris H" <bsd-lists@bsdforge.com> To: ports@freebsd.org, Andrea Venturoli <ml@netfence.it> Subject: Re: Help with porting FreeCAD Message-ID: <d150170a7ba16a300a1bebeb6ad3b4e5@ultimatedns.net> In-Reply-To: <54ACF2B9.7050608@netfence.it> References: <54AC5DE0.2030703@netfence.it> <cfef10f23135d52a395f3e3668dae92f@ultimatedns.net>, <54AC6685.1060900@netfence.it> <b422820ed327d946024b5452e8baf8e7@ultimatedns.net>, <54ACF2B9.7050608@netfence.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 07 Jan 2015 09:47:53 +0100 Andrea Venturoli <ml@netfence.it> wrote > On 01/07/15 00:10, Chris H wrote: > > > Sure. OK. > > Maybe something along the lines of: > > > > BUILD_DEPENDS+= ${PREFIX}/bin/gcc49:${PORTSDIR}/lang/gcc49 > > This did not help. > Some extract from the configuration/build: > > > ===> freecad-20150106 depends on executable: gfortran48 - found > > ... > > /usr/local/bin/g++49 -pipe -g -Wl,-rpath=/usr/local/lib/gcc49 > > -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc49 -Wno-deprecated > > -Wno-write-strings -pipe -g -Wl,-rpath=/usr/local/lib/gcc49 > > -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc49 -DFC_DEBUG > > -Wl,-rpath=/usr/local/lib/gcc48 -L/usr/local/lib/gcc48 -B/usr/local/bin > > -Wl,-rpath=/usr/local/lib/gcc49 -L/usr/local/lib/gcc49 > > CMakeFiles/FreeCADMain.dir/MainGui.cpp.o -o ../../bin/FreeCAD > > ../../lib/libFreeCADGui.so ../../lib/libFreeCADApp.so > > ../../lib/libFreeCADBase.so /usr/local/lib/libpython2.7.so > > /usr/local/lib/libxerces-c.so -lz -lutil /usr/local/lib/libCoin.so > > /usr/local/lib/qt4/libQtOpenGL.so /usr/local/lib/qt4/libQtSvg.so > > /usr/local/lib/qt4/libQtUiTools.a /usr/local/lib/qt4/libQtWebKit.so > > /usr/local/lib/qt4/libQtGui.so /usr/local/lib/qt4/libQtXml.so > > /usr/local/lib/qt4/libQtNetwork.so /usr/local/lib/qt4/libQtCore.so > > /usr/local/lib/libboost_filesystem.so > > /usr/local/lib/libboost_program_options.so /usr/local/li! b/libboost > _regex.so /usr/local/lib/libboost_signals.so > /usr/local/lib/libboost_system.so /usr/local/lib/libboost_thread.so > /usr/local/lib/libGL.so /usr/local/lib/libshiboken-python2.7.so > /usr/local/lib/libpyside-python2.7.so > -Wl,-rpath,/tmp/usr/ports/cad/freecad/work/.build/lib:/usr/local/lib:/usr/loc > al/lib/qt4: > ../../lib/libFreeCADGui.so: undefined reference to > 'std::__throw_out_of_range_fmt(char const*, ...)' > > My guess is the problem still comes from "-L/usr/local/lib/gcc48" coming > before "-L/usr/local/lib/gcc49". My guess is a problem with qt(4|5) There was also a suggestion regarding making use of hints in Mk/Uses/fortran which may also be of help to you here. I can't believe I overlooked that myself. :P Best wishes. --Chris > > > > > Also, regarding your USE_GCC > > you would do well to choose: > > USE_GCC= 4.9+ > > which says: Must use gcc49, or greater. > > Ok, now I'm just trying to get it working, but your suggestion is welcome. > > bye & Thanks > av. > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d150170a7ba16a300a1bebeb6ad3b4e5>