Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151356 - dev-games/ogre fails to build, missing dep check
Summary: dev-games/ogre fails to build, missing dep check
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-14 09:26 UTC by Priit Laes (IRC: plaes)
Modified: 2006-10-16 11:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2006-10-14 09:26:54 UTC
[ebuild  N    ] dev-games/ogre-1.2.2_p1  USE="examples gtk threads -cegui -cg -devil -double-precision -openexr" 0 kB 
[ebuild   R   ] dev-libs/boost-1.33.1  USE="-bcp -bjam -debug -doc -pyste -static -threads -threadsonly"

...[SNIP]...
checking for FreeType - version >= 9.0.0... yes
checking for dlopen in -ldl... yes
checking for pow in -lm... yes
checking for gzopen in -lz... yes
checking for pthread_create in -lpthread... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for cppunit-config... no
checking for Cppunit - version >= 1.10.0... checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ZZIPLIB... yes
checking for CFGTK_DEPS... yes
checking X11/Intrinsic.h usability... yes
checking X11/Intrinsic.h presence... yes
checking for X11/Intrinsic.h... yes
checking X11/Xaw/Command.h usability... yes
checking X11/Xaw/Command.h presence... yes
checking for X11/Xaw/Command.h... yes
checking for X11/extensions/xf86vmode.h... yes
checking for X11/extensions/Xrandr.h... yes
configure: setting gl-support to platform: GLX
checking whether to use double floating point precision... no
checking whether to use threaded resource loading... checking for main in -lboost_thread-mt... no
configure: error: cannot find boost_thread-mt library

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/dev-games/ogre-1.2.2_p1/work/ogrenew/config.log

!!! ERROR: dev-games/ogre-1.2.2_p1 failed.
Call stack:
  ebuild.sh, line 1564:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ogre-1.2.2_p1.ebuild, line 56:   Called econf '--with-cfgtk=gtk' '--with-platform=GLX' '--disable-devil' '--disable-cg' '--disable-openexr' '--enable-threading' '--disable-double'
  ebuild.sh, line 540:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


Seems that it needs also boost library compiled with threads support.
Comment 1 SpanKY gentoo-dev 2006-10-14 14:45:30 UTC
so re-emerge boost with USE=threads
Comment 2 Priit Laes (IRC: plaes) 2006-10-15 00:05:53 UTC
Bah... recompiling boost worked, although this would be better approach:

if use_threads ; then
  if ! built_with_use dev-libs/boost threads ; then
    die ...
  fi
fi
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2006-10-16 11:54:21 UTC
We'll add that when we get use-based deps.  thanks.