Overview Description: galib ebuild doesn't copy required header file std_stream.h /usr/include/ga Steps to Reproduce: 1), emerge galib 2), creat a c++ program which uses galib functions 3), compile the program using: g++ foo.cpp Actual Results: Got error messages read like: /usr/include/ga/GAParameter.h:16:27: ga/std_stream.h: No such file or directory Expected Results: Compiles without error Additional Information: emerge --info Portage 2203-svn (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16.11 i686) ================================================================= System uname: 2.6.16.11 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.14 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.4.2 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer -fexpensive-optimizations" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer -fexpensive-optimizations" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig digest distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2 cdr cjk cli crypt cscope cups curl dbus directfb dri eds emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran gd gdbm ggi gif glut gpm gstreamer gtk2 gtkhtml hal idn imagemagick imlib isdnlog java jpeg junit kde lcms ldap libcaca libedit libg++ libwww linguas_zh_TW mad mikmod mmx mng motif mozilla mp3 mpeg nas ncurses nls nptl nptlonly ogg openal opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl sse sse2 ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis wmf xine xml xml2 xmms xorg xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Created attachment 85721 [details, diff] a patch to fix the missing std_stream.h bug for sci-libs/galib-2.4.6 adding a line in the src_install section to cp the std_stream.h file, cp -a ga/std_stream.h ${D}/usr/include/ga/
Hi dongxu, Thank you very much for pointing this out and your patch. I've decided to patch the makefile instead. I've successfully compiled all the files in examples/ against libga and tested them. Please let us know if there are any additional problems. Thanks, Markus