LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 05-01-2011, 03:18 AM   #1
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 271

Rep: Reputation: 6
emerge boost trouble


Hello,

I'm trying to compile Ktorrent 3.3.4 from source but its complaining about not finding boost headers.

I tried to emerge boost but get this error:

Code:
>>> Emerging (1 of 2) dev-util/boost-build-1.42.0
 * boost_1_42_0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                       [ ok ]
 * Package:    dev-util/boost-build-1.42.0
 * Repository: gentoo
 * Maintainer: dev-zero@gentoo.org SebastianLuther@gmx.de,hwoarang@gentoo.org,cpp@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib python userland_GNU
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/dev-util/boost-build-1.42.0/work
>>> Preparing source in /var/tmp/portage/dev-util/boost-build-1.42.0/work/boost_1_42_0/tools ...
 * Applying boost-1.42-fix-mpich2-detection.patch ...                                                                         [ ok ]
 * Applying boost-build-1.42-env-whitespace.patch ...                                                                         [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-util/boost-build-1.42.0/work/boost_1_42_0/tools ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-util/boost-build-1.42.0/work/boost_1_42_0/tools ...
###
### Using 'cc' toolset.
###
rm -rf bootstrap
mkdir bootstrap
x86_64-pc-linux-gnu-gcc -o bootstrap/mkjambase0 -O2 -pipe -march=amdfam10 -mabm -msse4a -combine -fprefetch-loop-arrays -funroll-all-loops -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed mkjambase.c
./bootstrap/mkjambase0 jambase.c Jambase
x86_64-pc-linux-gnu-gcc -o bootstrap/jam0 -O2 -pipe -march=amdfam10 -mabm -msse4a -combine -fprefetch-loop-arrays -funroll-all-loops -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed command.c compile.c debug.c expand.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c output.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c pwd.c class.c native.c w32_getreg.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execunix.c fileunix.c
expand.c: In function 'var_expand':
expand.c:85: warning: field precision should have type 'int', but argument 2 has type 'long int'
variable.c: In function 'var_string_to_file':
variable.c:408: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
variable.c:409: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
glob.c: In function 'glob':
/usr/include/bits/string3.h:78: sorry, unimplemented: inlining failed in call to 'memset': redefined extern inline functions are not considered for inlining
glob.c:118: sorry, unimplemented: called from here
 * ERROR: dev-util/boost-build-1.42.0 failed (compile phase):
 *   building bjam failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 2760:  Called die
 * The specific snippet of code:
 *           LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) || die "building bjam failed";
 * 
 * If you need support, post the output of 'emerge --info =dev-util/boost-build-1.42.0',
 * the complete build log and the output of 'emerge -pqv =dev-util/boost-build-1.42.0'.
 * The complete build log is located at '/var/tmp/portage/dev-util/boost-build-1.42.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/boost-build-1.42.0/temp/environment'.
 * S: '/var/tmp/portage/dev-util/boost-build-1.42.0/work/boost_1_42_0/tools'

>>> Failed to emerge dev-util/boost-build-1.42.0, Log file:

>>>  '/var/tmp/portage/dev-util/boost-build-1.42.0/temp/build.log'

 * Messages for package dev-util/boost-build-1.42.0:

 * ERROR: dev-util/boost-build-1.42.0 failed (compile phase):
 *   building bjam failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 2760:  Called die
 * The specific snippet of code:
 *           LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) || die "building bjam failed";
 * 
 * If you need support, post the output of 'emerge --info =dev-util/boost-build-1.42.0',
 * the complete build log and the output of 'emerge -pqv =dev-util/boost-build-1.42.0'.
 * The complete build log is located at '/var/tmp/portage/dev-util/boost-build-1.42.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/boost-build-1.42.0/temp/environment'.
 * S: '/var/tmp/portage/dev-util/boost-build-1.42.0/work/boost_1_42_0/tools'

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Anyone have an idea of where I should look for a problem or what I should do?

Thanks
 
Old 05-01-2011, 03:35 AM   #2
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 271

Original Poster
Rep: Reputation: 6
Never mind.

I had a bad make.conf option.

Boost is merging now.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Kde emerge trouble Adol Gentoo 13 04-28-2011 08:47 AM
[SOLVED] cant emerge samba : Failed to emerge sys-libs/tdb-1.2.1 Adol Gentoo 2 03-09-2011 11:51 AM
python: can't open file 'emerge\bin\emerge.py' Virtuality Programming 5 01-30-2008 01:23 PM
trouble with gentoo "emerge" mrlankey0486 Linux - Software 2 08-29-2006 07:11 AM
emerge errors during emerge -u world busbarn Linux - Distributions 6 04-23-2003 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 08:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration