Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 1457

Summary: attr-20020330 fails to build without gettext
Product: Gentoo Linux Reporter: Scott Moynes <smoynes>
Component: [OLD] Core systemAssignee: Seemant Kulleen (RETIRED) <seemant>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Scott Moynes 2002-04-01 17:14:39 UTC
gcc -O2 -mcpu=i686 -pipe -O2 -mcpu=i686 -pipe -DNDEBUG -funsigned-char -Wall
-D_GNU_SOURCE  -I./include -DVERSION=\"2.0.5\" -D_FILE_OFFSET_BITS=64 -O2
-mcpu=i686 -pipe -DNDEBUG -funsigned-char -Wall -D_GNU_SOURCE  -I../include
-DVERSION=\"2.0.5\" -D_FILE_OFFSET_BITS=64   -c -o getfattr.o getfattr.c
getfattr.c:34: libintl.h: No such file or directory
getfattr.c: In function `strerror_ea':
getfattr.c:112: warning: implicit declaration of function `gettext'
getfattr.c:112: warning: return makes pointer from integer without a cast
getfattr.c: In function `print_attribute':
getfattr.c:266: warning: passing arg 2 of `fprintf' makes pointer from integer
without a cast
getfattr.c: In function `help':
getfattr.c:389: warning: passing arg 1 of `printf' makes pointer from integer
without a cast
getfattr.c:391: warning: passing arg 1 of `printf' makes pointer from integer
without a cast
getfattr.c:404: warning: passing arg 1 of `printf' makes pointer from integer
without a cast
getfattr.c: In function `main':
getfattr.c:487: warning: passing arg 2 of `fprintf' makes pointer from integer
without a cast
getfattr.c:506: warning: passing arg 2 of `fprintf' makes pointer from integer
without a cast
make[1]: *** [getfattr.o] Error 1
make: *** [default] Error 2
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-01 19:14:58 UTC
actually, gettext is not required, because the file /usr/include/libintl.h is
provided by glibc

do you have that file? did glibc emerge ok?
Comment 2 Scott Moynes 2002-04-01 19:45:53 UTC
glibc 2.2.4 merged fine, but I do not have libintl.h. I also do not have nls in USE.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-02 03:44:15 UTC
I have no nls in USE either, and glibc emerges keep sticking a libintl.h in
/usr/include for me :(
Comment 4 Scott Moynes 2002-04-02 10:28:04 UTC
I remerged glibc and it seems to work now.
Why libintl.h wasn't installed after my last glibc merge.

You can close this bug.