Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cant emerge glibmm... (SOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
LoSeR_5150
Guru
Guru


Joined: 20 Mar 2005
Posts: 455
Location: San Francisco, CA

PostPosted: Sun May 01, 2005 2:46 am    Post subject: cant emerge glibmm... (SOLVED) Reply with quote

tried to emerge glibmm and i get the following:

>>> emerge (1 of 1) dev-cpp/glibmm-2.4.4 to /
>>> md5 files ;-) glibmm-2.6.1.ebuild
>>> md5 files ;-) glibmm-2.4.7-r1.ebuild
>>> md5 files ;-) glibmm-2.4.4.ebuild
>>> md5 files ;-) ChangeLog
>>> md5 files ;-) metadata.xml
>>> md5 files ;-) files/digest-glibmm-2.4.7-r1
>>> md5 files ;-) files/digest-glibmm-2.4.4
>>> md5 files ;-) files/digest-glibmm-2.6.1
>>> md5 src_uri ;-) glibmm-2.4.4.tar.bz2
>>> Unpacking source...
>>> Unpacking glibmm-2.4.4.tar.bz2 to /var/tmp/portage/glibmm-2.4.4/work
>>> Source unpacked.
* Patching ${S}/scripts/ltmain.sh ...
* Applying portage-1.4.1.patch ...
* Applying max_cmd_len-1.5.0.patch ...
* Applying sed-1.5.6.patch ...
* Applying uClibc/libtool patches ...
QA Notice: USE Flag 'doc' not in IUSE for dev-cpp/glibmm-2.4.4
* econf: updating glibmm-2.4.4/scripts/config.guess with /usr/share/gnuconfig/c onfig.guess
* econf: updating glibmm-2.4.4/scripts/config.sub with /usr/share/gnuconfig/con fig.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --i nfodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/v ar/lib --libdir=/usr/lib64 --disable-gtk-doc
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for some Win32 platform... no
checking for native Win32... no
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... gcc3
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for x86_64-pc-linux-gnu-g77... x86_64-pc-linux-gnu-g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether x86_64-pc-linux-gnu-g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64- pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-strip... (cached) x86_64-pc-linux-gnu-strip
checking if x86_64-pc-linux-gnu-gcc static flag works... yes
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bi n/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld ... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bi n/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bi n/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for x86_64-pc-linux-gnu-g77 option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-g77 PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-g77 supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-g77 linker (/usr/x86_64-pc-linux-gnu/bi n/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for gm4... no
checking for m4... m4
checking whether m4 is GNU m4... yes
checking whether make is GNU Make... yes
checking for perl... /usr/bin/perl
checking whether Perl is new enough... yes
checking for flockfile... yes
checking for funlockfile... yes
checking for getc_unlocked... yes
checking for pkg-config... /usr/bin/pkg-config
checking for sigc++-2.0 >= 2.0.0 glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 gmodule- 2.0 >= 2.4.0... yes
checking GLIBMM_CFLAGS... -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/incl ude -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
checking GLIBMM_LIBS... -Wl,--export-dynamic -L/usr/lib64 -lsigc-2.0 -lgobject-2 .0 -lgmodule-2.0 -ldl -lglib-2.0
checking for gthread-2.0 >= 2.4.0... yes
checking GTHREAD_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2. 0/include
checking GTHREAD_LIBS... -pthread -L/usr/lib64 -lgthread-2.0 -lglib-2.0
checking for x86_64-pc-linux-gnu-g++... (cached) x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... (cached) yes
checking dependency style of x86_64-pc-linux-gnu-g++... (cached) gcc3
checking whether we are using SUN CC compiler... no
checking if C++ compiler supports bool... yes
checking if C++ compiler supports namespaces... yes
checking if C++ compiler supports mutable... yes
checking if C++ environment provides all required features... yes
checking whether C++ library symbols are declared in namespace std... yes
checking whether the C++ library supports std::iterator_traits... yes
checking for non-standard Sun libCstd reverse_iterator... no
checking whether STL containers have templated sequence constructors... yes
checking if C++ compiler allows member functions to refer to member templates... yes
checking whether the compiler finds it ambiguous to have both const and non-cons t template specializations... yes
checking whether to merge C reference docs into generated headers... no
checking for compiler warning flags to use... -Wall -Wno-long-long
configure: creating ./config.status
config.status: creating Makefile
config.status: creating glib/Makefile
config.status: creating glib/glibmm-2.4.pc
config.status: creating glib/src/Makefile
config.status: creating glib/glibmm/Makefile
config.status: creating glib/glibmm/private/Makefile
config.status: creating tools/Makefile
config.status: creating tools/gmmproc
config.status: creating tools/generate_wrap_init.pl
config.status: creating tools/m4/Makefile
config.status: creating tools/pm/Makefile
config.status: creating tools/extra_defs_gen/Makefile
config.status: creating tests/Makefile
config.status: creating tests/glibmm_value/Makefile
config.status: creating examples/Makefile
config.status: creating examples/markup/Makefile
config.status: creating examples/thread/Makefile
config.status: creating scripts/Makefile
config.status: creating docs/Makefile
config.status: creating docs/images/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/Doxyfile
config.status: creating docs/reference/beautify_docs.pl
config.status: creating docs/internal/Makefile
config.status: creating config.h
config.status: creating glib/glibmmconfig.h
config.status: executing depfiles commands
make all-recursive
make[1]: Entering directory `/var/tmp/portage/glibmm-2.4.4/work/glibmm-2.4.4'
Making all in tools
make[2]: Entering directory `/var/tmp/portage/glibmm-2.4.4/work/glibmm-2.4.4/too ls'
Making all in m4
make[3]: Entering directory `/var/tmp/portage/glibmm-2.4.4/work/glibmm-2.4.4/too ls/m4'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/glibmm-2.4.4/work/glibmm-2.4.4/tool s/m4'
Making all in pm
make[3]: Entering directory `/var/tmp/portage/glibmm-2.4.4/work/glibmm-2.4.4/too ls/pm'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/glibmm-2.4.4/work/glibmm-2.4.4/tool s/pm'
Making all in extra_defs_gen
make[3]: Entering directory `/var/tmp/portage/glibmm-2.4.4/work/glibmm-2.4.4/too ls/extra_defs_gen'
if /bin/sh ../../libtool --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../glib -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/i nclude -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -march=athlon6 4 -O2 -fforce-addr -fmove-all-movables -fno-ident -fomit-frame-pointer -fpeel-lo ops -fprefetch-loop-arrays -frename-registers -ftracer -funswitch-loops -funit- at-a-time -fweb -pipe -fvisibility-inlines-hidden -Wall -Wno-long-long -MT gener ate_extra_defs.lo -MD -MP -MF ".deps/generate_extra_defs.Tpo" -c -o generate_ext ra_defs.lo generate_extra_defs.cc; \
then mv -f ".deps/generate_extra_defs.Tpo" ".deps/generate_extra_defs.Plo"; else rm -f ".deps/generate_extra_defs.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../glib -I/usr/i nclude/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr /lib64/glib-2.0/include -march=athlon64 -O2 -fforce-addr -fmove-all-movable s -fno-ident -fomit-frame-pointer -fpeel-loops -fprefetch-loop-arrays -frename- registers -ftracer -funswitch-loops -funit-at-a-time -fweb -pipe -fvisibility-in lines-hidden -Wall -Wno-long-long -MT generate_defs_glib.o -MD -MP -MF ".deps/ge nerate_defs_glib.Tpo" -c -o generate_defs_glib.o generate_defs_glib.cc; \
then mv -f ".deps/generate_defs_glib.Tpo" ".deps/generate_defs_glib.Po"; else rm -f ".deps/generate_defs_glib.Tpo"; exit 1; fi
mkdir .libs
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../glib -I/usr/inc lude/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/l ib64/glib-2.0/include -march=athlon64 -O2 -fforce-addr -fmove-all-movables -fno- ident -fomit-frame-pointer -fpeel-loops -fprefetch-loop-arrays -frename-register s -ftracer -funswitch-loops -funit-at-a-time -fweb -pipe -fvisibility-inlines-hi dden -Wall -Wno-long-long -MT generate_extra_defs.lo -MD -MP -MF .deps/generate_ extra_defs.Tpo -c generate_extra_defs.cc -fPIC -DPIC -o .libs/generate_extra_de fs.o
/bin/sh ../../libtool --mode=link x86_64-pc-linux-gnu-g++ -march=athlon64 -O2 - fforce-addr -fmove-all-movables -fno-ident -fomit-frame-pointer -fpeel-loops -f prefetch-loop-arrays -frename-registers -ftracer -funswitch-loops -funit-at-a-ti me -fweb -pipe -fvisibility-inlines-hidden -Wall -Wno-long-long -o libglibmm_g enerate_extra_defs-2.4.la -rpath /usr/lib64 -version-info 1:4:0 generate_extra _defs.lo -Wl,--export-dynamic -L/usr/lib64 -lsigc-2.0 -lgobject-2.0 -lgmodule-2. 0 -ldl -lglib-2.0 -Wl,--export-dynamic -L/usr/lib64 -lsigc-2.0 -lgobject-2.0 - lgmodule-2.0 -ldl -lglib-2.0
x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3 /../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/crtbeginS.o .l ibs/generate_extra_defs.o -L/usr/x86_64-pc-linux-gnu/lib -L/usr/x86_64-pc-linux -gnu/bin -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3 -L/usr/lib64 /usr/lib64/libsig c-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib 64/libglib-2.0.so -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc -linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64 -L/usr /lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/libstdc++.so -lm -lc -lgcc_s /usr/lib/gcc /x86_64-pc-linux-gnu/3.4.3/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../. ./../../lib64/crtn.o -march=athlon64 -Wl,--export-dynamic -Wl,--export-dynamic -Wl,-soname -Wl,libglibmm_generate_extra_defs-2.4.so.1 -o .libs/libglibmm_genera te_extra_defs-2.4.so.1.0.4
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: . libs/generate_extra_defs.o: relocation R_X86_64_PC32 against `std::basic_string< char, std::char_traits<char>, std::allocator<char> >::~basic_string()@@GLIBCXX_3 .4' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: f inal link failed: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libglibmm_generate_extra_defs-2.4.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/glibmm-2.4.4/work/glibmm-2.4.4/tool s/extra_defs_gen'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/glibmm-2.4.4/work/glibmm-2.4.4/tool s'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/glibmm-2.4.4/work/glibmm-2.4.4'
make: *** [all] Error 2

!!! ERROR: dev-cpp/glibmm-2.4.4 failed.
!!! Function gnome2_src_compile, Line 40, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.


emerge --info :

Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 30 2005, 19:37:34)]
ccache version 2.3 [enabled]
dev-lang/python: 2.3.4-r1
sys-apps/sandbox: 1.2.2
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils: 2.15.92.0.2-r7
sys-devel/libtool: 1.5.16
virtual/os-headers: 2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -fforce-addr -fmove-all-movables -fno-ident -fomit-frame-pointer -fpeel-loops -fprefetch-loop-arrays -frename-registers -ftracer -funswitch-loops -funit-at-a-time -fweb -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -fforce-addr -fmove-all-movables -fno-ident -fomit-frame-pointer -fpeel-loops -fprefetch-loop-arrays -frename-registers -ftracer -funswitch-loops -funit-at-a-time -fweb -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox strict"
GENTOO_MIRRORS="http://gentoo.ccccom.com"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X aa52 aalib acpi alsa amd64 artworkextra avi berkdb bitmap-fonts cdparanoia cdr crypt cups dio directfb dvd dvdr dvdread emul-linux-x86 encode fam fbcon ffmpeg flac font-server fortran gif gimpprint glx gnome gpm gstreamer gtk gtk2 hal imagemagick imlib jack java jp2 jpeg kdeenablefinal lcms lm_sensors lzw lzw-tiff mad mozilla mp3 mpeg ncurses nocd nptl nptlonly nvidia offensive ogg oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis xml2 xmms xpm xrandr xv xvid zlib"
Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS

I have searched the forums as well as bugzilla and tried various fixes/suggestions to no avail... any help is extremely appreciated... thanks
Back to top
View user's profile Send private message
LoSeR_5150
Guru
Guru


Joined: 20 Mar 2005
Posts: 455
Location: San Francisco, CA

PostPosted: Sun May 01, 2005 4:25 am    Post subject: Reply with quote

Well I solved my problem.... hehehe... well yet another lesson on CFLAGS/CXXFLAGS...
I had to remove -fvisibility-inlines--hidden from my CXXFLAGS...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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