pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Help! not compiling /devel/m17n-lib-1.6.2 on MacOSX Leopard



Hi all!

I have problem compiling /devel/m17n-lib on Mac OSX 10.6.8 (Snow Leopard)

The error message is following

/bin/sh ../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   
-DM17NDIR=\"/usr/pkg/share/m17n\" -DM17N_MODULE_DIR=\"/usr/pkg/lib/m17n/1.0\" 
-DGETTEXTDIR=\"/usr/pkg/share/locale\" -no-cpp-precomp -isystem /usr/include 
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 
-I/usr/X11/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 
-I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 
-I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 
-I/usr/pkg/include -I/usr/pkg/include -I/usr/X11/include -I/usr/pkg/include   
-I/usr/pkg/include/libxml2  -I/usr/X11/include  -pipe -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/X11/include -MT m17n-X.lo 
-MD -MP -MF .deps/m17n-X.Tpo -c -o m17n-X.lo m17n-X.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. 
-DM17NDIR=\"/usr/pkg/share/m17n\" -DM17N_MODULE_DIR=\"/usr/pkg/lib/m17n/1.0\" 
-DGETTEXTDIR=\"/usr/pkg/share/locale\" -no-cpp-precomp -isystem /usr/include 
-I/Volumes/PKGSRC/pkgsrc/devel/m17n-lib/work/.buildlink/include 
-I/Volumes/PKGSRC/pkgsrc/devel/m17n-lib/work/.buildlink/include/freetype2 
-I/Volumes/PKGSRC/pkgsrc/devel/m17n-lib/work/.x11-buildlink/include 
-I/Volumes/PKGSRC/pkgsrc/devel/m17n-lib/work/.buildlink/include/libxml2 -pipe 
-O2 -MT m17n-X.lo -MD -MP -MF .deps/m17n-X.Tpo -c m17n-X.c  -fno-common -DPIC 
-o .libs/m17n-X.o
In file included from internal.h:40,
                 from m17n-X.c:55:
/Volumes/PKGSRC/pkgsrc/devel/m17n-lib/work/.buildlink/include/libintl.h:440: 
error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'libintl_newlocale'
*** Error code 1

Stop.
bmake: stopped in /Volumes/PKGSRC/pkgsrc/devel/m17n-lib/work/m17n-lib-1.6.2/src
*** Error code 1
...

pkgsrc branch is pkgsrc-2011Q2
gcc version is i686-apple-darwin10-gcc-4.2.1

m17n-lib-1.6.1 in pkgsrc-2011Q1 compiled without problem.
and other programs (e.g. python26 ) depending on gettext-lib compiled 
successfully.

Does anyone have an idea to fix?

Thank you in advance.

Cheers

Y.Kawasaki




Home | Main Index | Thread Index | Old Index