libtool
[Top][All Lists]
Advanced

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

gettext-0.14.1 buildproblems with libtool-1.5.2 on OpenBSD


From: Han Boetes
Subject: gettext-0.14.1 buildproblems with libtool-1.5.2 on OpenBSD
Date: Tue, 3 Feb 2004 17:02:23 +0100
User-agent: Mutt/1.5.5.1i

Hello,

I am having problems getting gettext-0.1.14.1 to build on OpenBSD using
libtool-1.5.2. See included message to the gettext maintainer.

After this message Bruno Haible, the gettext maintainer, suggested there
could be a problem with libtool support on OpenBSD and to workaround he
suggested me to add the options:

  --disable-shared --enable-static.

Indeed, gettext succesfully build, but the resulting package doesn't
include libintl.h so I am afraid that that's not really usefull. Could
someone please take a look at my problem?



----- Forwarded message from Han Boetes <address@hidden> -----

Date: Tue, 3 Feb 2004 05:23:21 +0100
To: Bruno Haible <address@hidden>
From: Han Boetes <address@hidden>
Subject: Re: aditional information for the gettext-0.14 compile problems on 
OpenBSD

Bruno Haible wrote:
>  After more investigations, it seems like a rule meant to be
>  executed only on glibc2 systems also fired in your build because of
>  the appended patch.

Without --disable-dns and with your patch I now get:

Making install in lib
mkdir -p -- . /usr/pkgmk/work/gettext/pkg/usr/local/lib
 /bin/sh ../libtool --mode=install /usr/bin/install -c  libgettextlib.la 
/usr/pkgmk/work/gettext/pkg/usr/local/lib/libgettextlib.la
libtool: install: warning: relinking `libgettextlib.la'
(cd /usr/pkgmk/work/gettext/src/gettext-0.14.1/gettext-tools/lib; /bin/sh 
../libtool --mode=relink egcc -O2 -march=i686 -pipe -o libgettextlib.la -rpath 
/usr/local/lib -release 0.14.1 ../intl/libintl.la -L/usr/local/lib -liconv 
-L/usr/local/lib -liconv -lc -no-undefined allocsa.lo argmatch.lo backupfile.lo 
addext.lo basename.lo c-ctype.lo classpath.lo closeout.lo copy-file.lo 
csharpcomp.lo csharpexec.lo error.lo error-progname.lo execute.lo 
fatal-signal.lo findprog.lo fstrcmp.lo full-write.lo fwriteerror.lo gcd.lo 
getopt.lo getopt1.lo hash.lo javacomp.lo javaexec.lo linebreak.lo mbswidth.lo 
obstack.lo concatpath.lo pipe-bidi.lo pipe-in.lo pipe-out.lo progname.lo 
progreloc.lo safe-read.lo safe-write.lo sh-quote.lo stpncpy.lo strtoul.lo 
tmpdir.lo wait-process.lo xmalloc.lo xstrdup.lo xallocsa.lo xerror.lo 
xreadlink.lo xsetenv.lo localcharset.lo stpcpy.lo getline.lo getndelim2.lo 
canonicalize.lo -inst-prefix-dir /usr/pkgmk/work/gettext/pkg)
egcc -shared  -fPIC -DPIC -o .libs/libgettextlib-0.14.1.so  .libs/allocsa.o 
.libs/argmatch.o .libs/backupfile.o .libs/addext.o .libs/basename.o 
.libs/c-ctype.o .libs/classpath.o .libs/closeout.o .libs/copy-file.o 
.libs/csharpcomp.o .libs/csharpexec.o .libs/error.o .libs/error-progname.o 
.libs/execute.o .libs/fatal-signal.o .libs/findprog.o .libs/fstrcmp.o 
.libs/full-write.o .libs/fwriteerror.o .libs/gcd.o .libs/getopt.o 
.libs/getopt1.o .libs/hash.o .libs/javacomp.o .libs/javaexec.o 
.libs/linebreak.o .libs/mbswidth.o .libs/obstack.o .libs/concatpath.o 
.libs/pipe-bidi.o .libs/pipe-in.o .libs/pipe-out.o .libs/progname.o 
.libs/progreloc.o .libs/safe-read.o .libs/safe-write.o .libs/sh-quote.o 
.libs/stpncpy.o .libs/strtoul.o .libs/tmpdir.o .libs/wait-process.o 
.libs/xmalloc.o .libs/xstrdup.o .libs/xallocsa.o .libs/xerror.o 
.libs/xreadlink.o .libs/xsetenv.o .libs/localcharset.o .libs/stpcpy.o 
.libs/getline.o .libs/getndelim2.o .libs/canonicalize.o  -L/usr/local/lib 
/usr/local/lib/libintl.so.7.0 /usr/local/lib/libiconv.so.4.0  -march=i686
egcc: /usr/local/lib/libintl.so.7.0: No such file or directory
libtool: install: error: relink `libgettextlib.la' with the above command 
before installing it
*** Error code 1

Stop in /usr/pkgmk/work/gettext/src/gettext-0.14.1/gettext-tools/lib (line 513 
of Makefile).
*** Error code 1

Stop in /usr/pkgmk/work/gettext/src/gettext-0.14.1/gettext-tools/lib (line 685 
of Makefile).
*** Error code 1

Stop in /usr/pkgmk/work/gettext/src/gettext-0.14.1/gettext-tools (line 448 of 
Makefile).
*** Error code 1

Stop in /usr/pkgmk/work/gettext/src/gettext-0.14.1 (line 238 of Makefile).




This is what I got without the patch and without --disable-nl

Making install in lib
mkdir -p -- . /usr/pkgmk/work/gettext/pkg/usr/local/lib
 /bin/sh ../libtool --mode=install /usr/bin/install -c  libgettextlib.la 
/usr/pkgmk/work/gettext/pkg/usr/local/lib/libgettextlib.la
libtool: install: warning: relinking `libgettextlib.la'
(cd /usr/pkgmk/work/gettext/src/gettext-0.14.1/gettext-tools/lib; /bin/sh 
../libtool --mode=relink egcc -O2 -march=i686 -pipe -o libgettextlib.la -rpath 
/usr/local/lib -release 0.14.1 ../intl/libintl.la -L/usr/local/lib -liconv 
-L/usr/local/lib -liconv -lc -no-undefined allocsa.lo argmatch.lo backupfile.lo 
addext.lo basename.lo c-ctype.lo classpath.lo closeout.lo copy-file.lo 
csharpcomp.lo csharpexec.lo error.lo error-progname.lo execute.lo 
fatal-signal.lo findprog.lo fstrcmp.lo full-write.lo fwriteerror.lo gcd.lo 
getopt.lo getopt1.lo hash.lo javacomp.lo javaexec.lo linebreak.lo mbswidth.lo 
obstack.lo concatpath.lo pipe-bidi.lo pipe-in.lo pipe-out.lo progname.lo 
progreloc.lo safe-read.lo safe-write.lo sh-quote.lo stpncpy.lo strtoul.lo 
tmpdir.lo wait-process.lo xmalloc.lo xstrdup.lo xallocsa.lo xerror.lo 
xreadlink.lo xsetenv.lo localcharset.lo stpcpy.lo getline.lo getndelim2.lo 
canonicalize.lo -inst-prefix-dir /usr/pkgmk/work/gettext/pkg)
egcc -shared  -fPIC -DPIC -o .libs/libgettextlib-0.14.1.so  .libs/allocsa.o 
.libs/argmatch.o .libs/backupfile.o .libs/addext.o .libs/basename.o 
.libs/c-ctype.o .libs/classpath.o .libs/closeout.o .libs/copy-file.o 
.libs/csharpcomp.o .libs/csharpexec.o .libs/error.o .libs/error-progname.o 
.libs/execute.o .libs/fatal-signal.o .libs/findprog.o .libs/fstrcmp.o 
.libs/full-write.o .libs/fwriteerror.o .libs/gcd.o .libs/getopt.o 
.libs/getopt1.o .libs/hash.o .libs/javacomp.o .libs/javaexec.o 
.libs/linebreak.o .libs/mbswidth.o .libs/obstack.o .libs/concatpath.o 
.libs/pipe-bidi.o .libs/pipe-in.o .libs/pipe-out.o .libs/progname.o 
.libs/progreloc.o .libs/safe-read.o .libs/safe-write.o .libs/sh-quote.o 
.libs/stpncpy.o .libs/strtoul.o .libs/tmpdir.o .libs/wait-process.o 
.libs/xmalloc.o .libs/xstrdup.o .libs/xallocsa.o .libs/xerror.o 
.libs/xreadlink.o .libs/xsetenv.o .libs/localcharset.o .libs/stpcpy.o 
.libs/getline.o .libs/getndelim2.o .libs/canonicalize.o  -L/usr/local/lib 
/usr/local/lib/libintl.so.7.0 /usr/local/lib/libiconv.so.4.0  -march=i686
egcc: /usr/local/lib/libintl.so.7.0: No such file or directory
libtool: install: error: relink `libgettextlib.la' with the above command 
before installing it
*** Error code 1

Stop in /usr/pkgmk/work/gettext/src/gettext-0.14.1/gettext-tools/lib (line 513 
of Makefile).
*** Error code 1

Stop in /usr/pkgmk/work/gettext/src/gettext-0.14.1/gettext-tools/lib (line 685 
of Makefile).
*** Error code 1

Stop in /usr/pkgmk/work/gettext/src/gettext-0.14.1/gettext-tools (line 448 of 
Makefile).
*** Error code 1





Stop in /usr/pkgmk/work/gettext/src/gettext-0.14.1 (line 238 of Makefile).

And with your patch and with --disable-nls I get:


Making install in src
make  install-am
mkdir -p -- . /usr/pkgmk/work/gettext/pkg/usr/local/lib
 /bin/sh ../libtool --mode=install /usr/bin/install -c  libgettextsrc.la 
/usr/pkgmk/work/gettext/pkg/usr/local/lib/libgettextsrc.la
libtool: install: warning: relinking `libgettextsrc.la'
(cd /usr/pkgmk/work/gettext/src/gettext-0.14.1/gettext-tools/src; /bin/sh 
../libtool --mode=relink egcc -O2 -march=i686 -pipe -o libgettextsrc.la -rpath 
/usr/local/lib -release 0.14.1 ../lib/libgettextlib.la -L/usr/local/lib -liconv 
-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 
-inst-prefix-dir /usr/pkgmk/work/gettext/pkg)
egcc -shared  -fPIC -DPIC -o .libs/libgettextsrc-0.14.1.so  .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  -L/usr/local/lib /usr/local/lib/libgettextlib.so 
/usr/local/lib/libiconv.so.4.0  -march=i686
egcc: /usr/local/lib/libgettextlib.so: No such file or directory
libtool: install: error: relink `libgettextsrc.la' with the above command 
before installing it
*** Error code 1

Stop in /usr/pkgmk/work/gettext/src/gettext-0.14.1/gettext-tools/src (line 681 
of Makefile).
*** Error code 1

Stop in /usr/pkgmk/work/gettext/src/gettext-0.14.1/gettext-tools/src (line 1379 
of Makefile).
*** Error code 1

Stop in /usr/pkgmk/work/gettext/src/gettext-0.14.1/gettext-tools/src (line 1373 
of Makefile).
*** Error code 1

Stop in /usr/pkgmk/work/gettext/src/gettext-0.14.1/gettext-tools (line 448 of 
Makefile).
*** Error code 1

Stop in /usr/pkgmk/work/gettext/src/gettext-0.14.1 (line 238 of Makefile).




----- End forwarded message -----



# Han
-- 
 (_)    I have no doubt that it is a part of the destiny of the human
  "===' race, in its gradual improvement, to leave off eating animals.
   " "  -- Thoreau




reply via email to

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