Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40489 - gconf-1.0.9 fails to find libgettext.h
Summary: gconf-1.0.9 fails to find libgettext.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-05 08:26 UTC by Greg Watson (linuxkrn)
Modified: 2004-02-06 03:36 UTC (History)
1 user (show)

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


Attachments
modified ebuild (gconf-1.0.9.ebuild,1.90 KB, application/octet-stream)
2004-02-06 02:55 UTC, Kristiaan Lenaerts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Watson (linuxkrn) 2004-02-05 08:26:07 UTC
config.status: creating config.h
config.status: linking ./intl/libgettext.h to intl/libintl.h
config.status: error: ./intl/libgettext.h: File not found
!!! ERROR: gnome-base/gconf-1.0.9 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed


Reproducible: Always
Steps to Reproduce:
1. emerge gconf

Actual Results:  
config.status: creating config.h
config.status: linking ./intl/libgettext.h to intl/libintl.h
config.status: error: ./intl/libgettext.h: File not found

!!! ERROR: gnome-base/gconf-1.0.9 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed


Expected Results:  
successful emerge

*  sys-devel/gettext-0.12.1 :
        [  I] 0.12.1 (0)

Portage 2.0.50_pre22 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0,
2.6.1-gentoo-r1)
=================================================================
System uname: 2.6.1-gentoo-r1 i686 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -funroll-loops -fomit-frame-pointer -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/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/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -funroll-loops -fomit-frame-pointer
-mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
ftp://mirror.iawnet.sandia.gov/pub/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://www.ibiblio.org/pub/Linux/distributions/gentoo "
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb bonobo cdr crypt cups dga dvb dvd encode
foomaticdb gdbm ggi gif gphoto2 gpm gtk gtk2 gtkhtml guile imlib java jpeg kde
ldap libg++ libwww mad mbox mikmod mmx motif mozilla mpeg nas ncurses oggvorbis
opengl oss pam pdflib perl png python qt quicktime readline sdl slang snmp spell
sse sse2 ssl svga tcltk tcpd tetex tiff truetype v4l x86 xinerama xml xml2 xmms
xv zlib zvbi"
Comment 1 Greg Watson (linuxkrn) 2004-02-05 09:04:20 UTC
Something to note.

I'm using -nls and I see it's looking for /intl/libgettext.h.

Maybe there is a problem with using gconf -nls?
Comment 2 Kristiaan Lenaerts 2004-02-06 01:26:13 UTC
I have the same problem, also with -nls. I looked at the gconf-1.0.9.ebuild, and compared it with the ebuild for 1.0.8
It seems to me there is something missing. My guess is you heve to edit it to display:
(actually copy-paste from the 1.0.8 ebuild)

use nls \
        || myconf="--disable-nls"       \
        && mkdir intl                   \
        && touch intl/libgettext.h

I'll try it, and post the edited ebuild if it works for me.
Comment 3 Kristiaan Lenaerts 2004-02-06 01:34:36 UTC
obviosly I'm wrong... the ebuild from 1.0.8 uses configure, while the 1.0.9 ebuild uses econf... I'm not sure how they work exactly, but use-flags are obviously used a bit different...

a quick fix would be to use configure, but I'm sure there are enough reasons not to use it. I'll look into it a bit more.
Comment 4 Kristiaan Lenaerts 2004-02-06 02:51:58 UTC
Ok, I know the reasons...

the problem is actually simple, configure always expects ./intl/libgettext.h to exist. The original ebuild checks if the use-flag is set, and only then creates the file.

I edited it so it will always create the file (due to some logic, the 1.0.8 ebuild  did the same), and then just use econf.

I have no idea how to create a patch, so I'll just attach the ebuild.
Comment 5 Kristiaan Lenaerts 2004-02-06 02:55:54 UTC
Created attachment 25067 [details]
modified ebuild
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2004-02-06 03:36:43 UTC
alright, that should be fixed now. thanks for all your input.