Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270021 - games-strategy/wesnoth-1.6.2: boost not found by cmake
Summary: games-strategy/wesnoth-1.6.2: boost not found by cmake
Status: RESOLVED DUPLICATE of bug 269517
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 272992 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-16 05:56 UTC by Christian Apeltauer
Modified: 2009-06-07 07:57 UTC (History)
2 users (show)

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 Christian Apeltauer 2009-05-16 05:56:15 UTC
Compilation of wesnoth-1.6.2 fails during configuration phase because boost is not detected:
>>> Unpacking source...
>>> Unpacking wesnoth-1.6.2.tar.bz2 to /var/tmp/portage/games-strategy/wesnoth-1.6.2/work
>>> Source unpacked in /var/tmp/portage/games-strategy/wesnoth-1.6.2/work
>>> Preparing source in /var/tmp/portage/games-strategy/wesnoth-1.6.2/work/wesnoth-1.6.2 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/games-strategy/wesnoth-1.6.2/work/wesnoth-1.6.2 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/games-strategy/wesnoth-1.6.2/work/wesnoth-1.6.2_build"
loading initial cache file /var/tmp/portage/games-strategy/wesnoth-1.6.2/temp/gentoo_common_config.cmake
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
CMake Error at cmake/FindBoost.cmake:392 (MESSAGE):
  Please install the Boost libraries AND development packages
Call Stack (most recent call first):
  CMakeLists.txt:22 (find_package)

Output of 
$ emerge -pv wesnoth boost boost-build
[ebuild   R   ] dev-util/boost-build-1.37.0  USE="-examples -python" 0 kB
[ebuild   R   ] dev-libs/boost-1.37.0-r1  USE="eselect -debug -doc -expat -icu -mpi -python -tools" 0 kB
[ebuild     U ] games-strategy/wesnoth-1.6.2 [1.6.1] USE="nls -dedicated -server -tinygui" 0 kB

Output of
$ emerge --info
Portage 2.2_rc33 (hardened/amd64, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-hardened-r7monolith x86_64)
=================================================================
System uname: Linux-2.6.28-hardened-r7monolith-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4800+-with-gentoo-2.0.0
Timestamp of tree: Fri, 15 May 2009 01:45:03 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p17-r1
dev-lang/python:     2.6.2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -Wstack-protector -fstack-protector-all"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -Wstack-protector -fstack-protector-all"
DISTDIR="/var/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/var/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X acl alsa amd64 bash-completion berkdb branding bzip2 canna caps cjk cracklib crypt css dbus dvd dvdr dvdread ffmpeg gnutls gzip hal hardened jpeg justify kde kdehiddenvisibility kdeprefix latex lzo mhash midi mmx mng mp3 nls nptl nptlonly nsplugin offensive ogg opengl pam pcre pic png posix qt4 readline ruby smp sse sse2 ssl symlink tcpd theora threads tiff truetype unicode urandom usb vim-syntax vorbis xattr xcomposite xorg xulruuner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x 	ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 	trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always




When I tried to compile wesnoth manually using autotools, I had to specify
--with-boost=/usr/include/boost-1_37/
Otherwise the configure script failed to find boost.
Comment 1 Sebastian Luther (few) 2009-05-16 06:07:36 UTC

*** This bug has been marked as a duplicate of bug 269517 ***
Comment 2 Serkan Kaba (RETIRED) gentoo-dev 2009-06-07 07:57:12 UTC
*** Bug 272992 has been marked as a duplicate of this bug. ***