Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rocs from portage and boost from geki overlay
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
bjlockie
Veteran
Veteran


Joined: 18 Oct 2002
Posts: 1186
Location: Canada

PostPosted: Tue Aug 02, 2011 4:58 am    Post subject: rocs from portage and boost from geki overlay Reply with quote

kde-base/rocs-4.7.0 from portage with dev-libs/boost-1.47.0-r1 from geki overlay.

I am trying to compile rocs and it is erroring.
I think it is related to boost from the openoffice-geki overlay.

[ 89%] Building CXX object src/Plugins/GenerateGraph/CMakeFiles/rocs_generategraphplugin.dir/generategraphtoolsplugin.o
In file included from /usr/include/boost/numeric/conversion/converter.hpp:14:0,
from /usr/include/boost/numeric/conversion/cast.hpp:32,
from /usr/include/boost/lexical_cast.hpp:31,
from /usr/include/boost/math/constants/constants.hpp:15,
from /usr/include/boost/graph/topology.hpp:17,
from /var/tmp/portage/kde-base/rocs-4.7.0/work/rocs-4.7.0/src/Plugins/GenerateGraph/generategraphwidget.h:25,
from /var/tmp/portage/kde-base/rocs-4.7.0/work/rocs-4.7.0/src/Plugins/GenerateGraph/generategraphtoolsplugin.cpp:20:
/usr/include/boost/numeric/conversion/converter_policies.hpp: In member function 'void boost::numeric::def_overflow_handler::operator()(boost::numeric::range_check_result)':
/usr/include/boost/numeric/conversion/converter_policies.hpp:162:31: error: exception handling disabled, use -fexceptions to enable
make[2]: *** [src/Plugins/GenerateGraph/CMakeFiles/rocs_generategraphplugin.dir/generategraphtoolsplugin.o] Error 1
make[1]: *** [src/Plugins/GenerateGraph/CMakeFiles/rocs_generategraphplugin.dir/all] Error 2
make: *** [all] Error 2
* ERROR: kde-base/rocs-4.7.0 failed (compile phase):
* emake failed
_________________
AMD FX6100 CPU, 16 GiB RAM, OCZ Vertex 3 SSD
ASRock 970 Extreme3 motherboard with S/PDIF audio
Galaxy-NVidia GeForce 8800GT video card, Cyber Power CP550HG USB UPS
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5325

PostPosted: Tue Aug 02, 2011 7:46 am    Post subject: Re: rocs from portage and boost from geki overlay Reply with quote

bjlockie wrote:
kde-base/rocs-4.7.0 from portage with dev-libs/boost-1.47.0-r1 from geki overlay.

I am trying to compile rocs and it is erroring.
I think it is related to boost from the openoffice-geki overlay.

[ 89%] Building CXX object src/Plugins/GenerateGraph/CMakeFiles/rocs_generategraphplugin.dir/generategraphtoolsplugin.o
In file included from /usr/include/boost/numeric/conversion/converter.hpp:14:0,
from /usr/include/boost/numeric/conversion/cast.hpp:32,
from /usr/include/boost/lexical_cast.hpp:31,
from /usr/include/boost/math/constants/constants.hpp:15,
from /usr/include/boost/graph/topology.hpp:17,
from /var/tmp/portage/kde-base/rocs-4.7.0/work/rocs-4.7.0/src/Plugins/GenerateGraph/generategraphwidget.h:25,
from /var/tmp/portage/kde-base/rocs-4.7.0/work/rocs-4.7.0/src/Plugins/GenerateGraph/generategraphtoolsplugin.cpp:20:
/usr/include/boost/numeric/conversion/converter_policies.hpp: In member function 'void boost::numeric::def_overflow_handler::operator()(boost::numeric::range_check_result)':
/usr/include/boost/numeric/conversion/converter_policies.hpp:162:31: error: exception handling disabled, use -fexceptions to enable
make[2]: *** [src/Plugins/GenerateGraph/CMakeFiles/rocs_generategraphplugin.dir/generategraphtoolsplugin.o] Error 1
make[1]: *** [src/Plugins/GenerateGraph/CMakeFiles/rocs_generategraphplugin.dir/all] Error 2
make: *** [all] Error 2
* ERROR: kde-base/rocs-4.7.0 failed (compile phase):
* emake failed


I think you need to add -fexceptions to your ccflags
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
bjlockie
Veteran
Veteran


Joined: 18 Oct 2002
Posts: 1186
Location: Canada

PostPosted: Tue Aug 02, 2011 2:14 pm    Post subject: Re: rocs from portage and boost from geki overlay Reply with quote

DaggyStyle wrote:
I think you need to add -fexceptions to your ccflags


Fails with the same error. :-(

CFLAGS="-march=athlon64 -O2 -pipe -fexceptions"
CXXFLAGS="${CFLAGS}"
_________________
AMD FX6100 CPU, 16 GiB RAM, OCZ Vertex 3 SSD
ASRock 970 Extreme3 motherboard with S/PDIF audio
Galaxy-NVidia GeForce 8800GT video card, Cyber Power CP550HG USB UPS
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5325

PostPosted: Tue Aug 02, 2011 3:19 pm    Post subject: Re: rocs from portage and boost from geki overlay Reply with quote

bjlockie wrote:
DaggyStyle wrote:
I think you need to add -fexceptions to your ccflags


Fails with the same error. :-(

CFLAGS="-march=athlon64 -O2 -pipe -fexceptions"
CXXFLAGS="${CFLAGS}"


was boost compiled with that flag too?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum