[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compile gettext-0.18.1.1 on Solaris10-x86 failed
From: |
Liu Jie |
Subject: |
Re: Compile gettext-0.18.1.1 on Solaris10-x86 failed |
Date: |
Mon, 14 Feb 2011 10:45:34 +0800 |
On Mon, Feb 14, 2011 at 2:56 AM, Ralf Wildenhues <address@hidden> wrote:
> Hello,
>
> * Liu Jie wrote on Sun, Feb 13, 2011 at 04:39:01AM CET:
>> I tried to compile gettext-0.18.1.1 on my solaris10 x86 box but failed
>> with the following rror
>> info:
>
>> make[2]: Entering directory
>> `/Downloads/gettext-0.18.1.1/gettext-runtime/intl'
>> /bin/bash ../libtool --tag=CC --mode=link \
>> gcc -D_REENTRANT -I/usr/local/include -g -O2 -o libintl.la \
>> bindtextdom.lo dcgettext.lo dgettext.lo gettext.lo finddomain.lo
> [...]
>> setlocale.lo version.lo osdep.lo intl-compat.lo -L/usr/local/lib
>> -liconv -L/usr/openwin/lib -L/usr/local/ssl/lib -L/usr/X11R6/lib
>> -R/usr/local/lib -lc \
>> \
>> -version-info 9:1:1 \
>> -rpath /usr/local/lib \
>> -no-undefined
>> libtool: link: rm -fr .libs/libintl.so .libs/libintl.so.8
>> .libs/libintl.so.8.1.1
>> libtool: link: gcc -shared -Wl,-z -Wl,text -Wl,-h -Wl,libintl.so.8 -o
>> .libs/libintl.so.8.1.1 .libs/bindtextdom.o .libs/dcgettext.o
>> .libs/dgettext.o .libs/gettext.o .libs/finddomain.o
> [...]
>> .libs/intl-compat.o -R/usr/local/lib -R/usr/local/lib
>> -L/usr/local/lib /usr/local/lib/libiconv.so -L/usr/lib
>> -L/usr/openwin/lib -L/usr/local/ssl/lib -L/usr/X11R6/lib
>> -L/usr/local/BerkeleyDB.4.7/lib -lc -lc
>> libtool: link: (cd ".libs" && rm -f "libintl.so.8" && ln -s
>> "libintl.so.8.1.1" "libintl.so.8")
>> libtool: link: (cd ".libs" && rm -f "libintl.so" && ln -s
>> "libintl.so.8.1.1" "libintl.so")
>> libtool: link: false cru .libs/libintl.a bindtextdom.o dcgettext.o
>
> Apparently $(AR) gets set to 'false' for you. Do you have 'ar'
> installed?
Ralf, thanks for your response.
Yeah, just as Bruno mentioned before, `ar' is located at
'/usr/ccs/bin', but I have not add it to $PATH, I am definitely a
newbie on Solaris. :(
Have a nice day!
-Jeff
>
> [...]
>> intl-compat.o
>> make[2]: *** [libintl.la] Error 1
>> make[2]: Leaving directory `/Downloads/gettext-0.18.1.1/gettext-runtime/intl'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/Downloads/gettext-0.18.1.1/gettext-runtime'
>> make: *** [all] Error 2
>
> Cheers,
> Ralf
>