bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: packaging gettext-runtime-0.14.1 and gettext-tools under NetBSD


From: Jeremy C. Reed
Subject: Re: packaging gettext-runtime-0.14.1 and gettext-tools under NetBSD
Date: Tue, 9 Mar 2004 16:00:28 -0800 (PST)

So I built gettext-runtime and gettext-tools again without changing the
libtool. (I had been replacing the provided/built libtool.)

gettext-runtime under NetBSD installed:
 lib/libasprintf.so.0.0
but under Linux it installed:
 lib/libasprintf.so.0.0.0

(As a package developer, I want this to be consistent -- just two numbers
instead of three -- and that is one reason for having our own libtool.)

Also, it seems strange to be all zeros.

gettext-runtime under NetBSD (again using libtool as configured/provided
with gettext source) installed:

 lib/libintl.so.7
 lib/libintl.so.7.0

Are those numbers wrong?

libtool is using  -version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE)
LTV_CURRENT=7
LTV_REVISION=0
LTV_AGE=4
(as defined in gettext-0.14.1/gettext-runtime/intl/Makefile.in.)

gettext-tools under Linux installed:
 lib/libgettextpo.so.0
 lib/libgettextpo.so.0.1.0

With pkgsrc's own libtool (before) it installed under Linux:
 lib/libgettextpo.so.1
 lib/libgettextpo.so.1.0


Now gettext-tools fails to install under NetBSD using pkgsrc. (It appeared
to build fine.)

Making install in libuniname
Making install in src
/usr/bin/make  install-am
mkdir -p -- . /usr/pkg/lib
 /bin/sh ../libtool --mode=install /usr/bin/install -c -o root -g wheel  
libgettextsrc.la /usr/pkg/lib/libgettextsrc.la
libtool: install: warning: relinking `libgettextsrc.la'
(cd 
/usr/pkg/tmp/pkgsrc/wip/gettext-tools/work.rainier/gettext-0.14.1/gettext-tools/src;
 /bin/sh ../libtool --mode=relink gcc -O2 -I/usr/pkg/include -L/usr/pkg/lib 
-Wl,-R/usr/pkg/lib -o libgettextsrc.la -rpath /usr/pkg/lib -release 0.14.1 
../lib/libgettextlib.la ../intl/libintl.la -L/usr/pkg/lib -liconv 
-R/usr/pkg/lib -L/usr/pkg/lib -liconv -R/usr/pkg/lib -lc -no-undefined 
message.lo read-po-abstract.lo po-lex.lo po-gram-gen.lo po-hash-gen.lo 
po-charset.lo read-properties.lo read-stringtable.lo open-po.lo dir-list.lo 
str-list.lo read-po.lo write-properties.lo write-stringtable.lo write-po.lo 
msgl-ascii.lo msgl-iconv.lo msgl-equal.lo msgl-cat.lo msgl-english.lo 
file-list.lo msgl-charset.lo po-time.lo plural.lo plural-table.lo format.lo 
format-c.lo format-sh.lo format-python.lo format-lisp.lo format-elisp.lo 
format-librep.lo format-java.lo format-csharp.lo format-awk.lo format-pascal.lo 
format-ycp.lo format-tcl.lo format-perl.lo format-perl-brace.lo format-php.lo 
format-gcc-internal.lo format-qt.lo )
gcc -shared  .libs/message.o .libs/read-po-abstract.o .libs/po-lex.o 
.libs/po-gram-gen.o .libs/po-hash-gen.o .libs/po-charset.o 
.libs/read-properties.o .libs/read-stringtable.o .libs/open-po.o 
.libs/dir-list.o .libs/str-list.o .libs/read-po.o .libs/write-properties.o 
.libs/write-stringtable.o .libs/write-po.o .libs/msgl-ascii.o 
.libs/msgl-iconv.o .libs/msgl-equal.o .libs/msgl-cat.o .libs/msgl-english.o 
.libs/file-list.o .libs/msgl-charset.o .libs/po-time.o .libs/plural.o 
.libs/plural-table.o .libs/format.o .libs/format-c.o .libs/format-sh.o 
.libs/format-python.o .libs/format-lisp.o .libs/format-elisp.o 
.libs/format-librep.o .libs/format-java.o .libs/format-csharp.o 
.libs/format-awk.o .libs/format-pascal.o .libs/format-ycp.o .libs/format-tcl.o 
.libs/format-perl.o .libs/format-perl-brace.o .libs/format-php.o 
.libs/format-gcc-internal.o .libs/format-qt.o  -Wl,--rpath -Wl,/usr/pkg/lib 
-L/usr/pkg/tmp/pkgsrc/wip/gettext-tools/work.rainier/gettext-0.14.1/gettext-tools/intl/.libs
 -L/usr/pkg/lib -lgettextlib -lintl -liconv -lc  -Wl,-R/usr/pkg/lib -Wl,-soname 
-Wl,libgettextsrc-0.14.1.so -o .libs/libgettextsrc-0.14.1.so
/usr/bin/ld: cannot find -lgettextlib
collect2: ld returned 1 exit status
libtool: install: error: relink `libgettextsrc.la' with the above command 
before installing it
*** Error code 1

Stop.
make: stopped in 
/usr/pkg/tmp/pkgsrc/wip/gettext-tools/work.rainier/gettext-0.14.1/gettext-tools/src
*** Error code 1


The above is caused because pkgsrc uses links to all headers and
libraries so all builds are consistent. But now it tries to use the just
installed libgettextlib which is not linked. I will have to look closer at
how I can get it to build.


   Jeremy C. Reed
   http://www.reedmedia.net/

p.s. Is there an archive for this list?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]