anudeep26 / rudix

Automatically exported from code.google.com/p/rudix
Other
0 stars 0 forks source link

gettext-0.18.1.1 won't build on Lion #76

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. get the latest gettext port
2. make build

What is the expected output? What do you see instead?

gettext builded without errors. But on Lion I get:

<pre>
stpncpy.c:34: error: expected declaration specifiers or ‘...’ before 
numeric constant
stpncpy.c:34: error: expected ‘)’ before ‘!=’ token
stpncpy.c:34: error: expected ‘)’ before ‘?’ token
stpncpy.c:34: error: expected declaration specifiers or ‘...’ before 
numeric constant
stpncpy.c:34: error: expected ‘)’ before ‘!=’ token
stpncpy.c:34: error: expected ‘)’ before ‘?’ token
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" 
-DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 
-DDEPENDS_ON_LIBINTL=1 -I../intl -I///usr/include/libxml2 -I./libcroco -arch 
i386 -arch x86_64 -Os -c strchrnul.c  -fno-common -DPIC -o .libs/strchrnul.o
lipo: can't figure out the architecture type of: 
/var/folders/l1/l_5m8gp909v9v0x_ktpdv83c0000gn/T//ccDIJrFX.out
make[5]: *** [stpncpy.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" 
-DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 
-DDEPENDS_ON_LIBINTL=1 -I../intl -I///usr/include/libxml2 -I./libcroco -arch 
i386 -arch x86_64 -Os -c strchrnul.c -o strchrnul.o >/dev/null 2>&1
make[4]: *** [all] Error 2
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [build] Error 2

</pre>

Please use labels and text to provide additional information.

Original issue reported on code.google.com by ruda.moura@gmail.com on 31 Jul 2011 at 7:37

GoogleCodeExporter commented 9 years ago
This is not a solution but if you don't need the whole gettext but only the 
runtime (like me) you can compile only "gettext-runtime" subdirectory, this 
works.

Original comment by edoard...@gmail.com on 20 Aug 2011 at 12:23

GoogleCodeExporter commented 9 years ago
Fixed since revision 0e7c428f9609

Original comment by ruda.moura@gmail.com on 25 Sep 2011 at 7:19