Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jan 2015 09:47:53 +0100
From:      Andrea Venturoli <ml@netfence.it>
To:        Chris H <bsd-lists@bsdforge.com>, ports@freebsd.org
Subject:   Re: Help with porting FreeCAD
Message-ID:  <54ACF2B9.7050608@netfence.it>
In-Reply-To: <b422820ed327d946024b5452e8baf8e7@ultimatedns.net>
References:  <54AC5DE0.2030703@netfence.it> <cfef10f23135d52a395f3e3668dae92f@ultimatedns.net>, <54AC6685.1060900@netfence.it> <b422820ed327d946024b5452e8baf8e7@ultimatedns.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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/local/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".



> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54ACF2B9.7050608>