[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
install problem gettext-0.14.1 on AIX 4.3.3, gcc-2.95.3
From: |
Kouichi Hashikawa |
Subject: |
install problem gettext-0.14.1 on AIX 4.3.3, gcc-2.95.3 |
Date: |
Thu, 11 Mar 2004 17:48:00 +0900 |
On AIX, we create libraries,
gcc -c foo.c
gcc -c bar.c
ar cr libbaz.a foo.o bar.o # non-shared library
nm ... foo.o bar.o | awk ... > libbaz.exp
# create export list
gcc -o shared -o libbaz.so foo.o bar.o -Wl,-bE:libbaz.exp
# create shared object
ar cru libbaz.a libbaz.so
# create non-shared, shared library.
and install libbaz.a to /usr/local/lib.
libbaz.a has no version number on filename.
but, in
gettext-0.14.1/gettext-tools/lib/Makefile.am
gettext-0.14.1/gettext-tools/src/Makefile.am,
> # No need to install libgettextlib.a.
> install-exec-local: install-libLTLIBRARIES install-exec-clean
> install-exec-clean:
> $(RM) $(DESTDIR)$(libdir)/libgettextlib.a
remove /usr/local/lib/libXXX.a.
please remove install-exec-clean: rule on AIX.
install log:
--------------------------------------------------------------------------
# libtool: install: warning: relinking `libgettextlib.la'
(cd /work1/hashikaw/gettext-0.14.1/gettext-tools/lib; /bin/sh ../libtool
--mode=relink gcc -g -O2 -o libgettextlib.la -rpath /usr/local/lib -release
0.14.1 ../intl/libintl.la -liconv -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 vasprintf.lo getline.lo
getndelim2.lo mkdtemp.lo unsetenv.lo canonicalize.lo )
generating symbol list for `libgettextlib.la'
/usr/bin/nm -B -BCpg .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/vasprintf.o .libs/getline.o .libs/getndelim2.o .libs/mkdtemp.o
.libs/unsetenv.o .libs/canonicalize.o | awk '{ if ((($2 == "T") || ($2 == "D")
|| ($2 == "B")) && (substr($3,1,1) != ".")) { print $3 } }' | sort -u >
.libs/libgettextlib.exp
gcc -shared -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/vasprintf.o .libs/getline.o .libs/getndelim2.o
.libs/mkdtemp.o .libs/unsetenv.o .libs/canonicalize.o -Wl,-blibpa!
th:/usr/local/lib:/usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.1.0/2.95.2:/usr/local/lib:/usr/lib:/lib
/usr/local/lib/libintl.a -liconv -lc -lc -Wl,-bE:.libs/libgettextlib.exp
-Wl,-bnoentry ${wl}-bernotok
ar cru .libs/libgettextlib-0.14.1.a .libs/libgettextlib-0.14.1.so
../../config/install-sh -c .libs/libgettextlib-0.14.1.aT
/usr/local/lib/libgettextlib-0.14.1.a
(cd /usr/local/lib && { ln -s -f libgettextlib-0.14.1.a libgettextlib.a || { rm
-f libgettextlib.a && ln -s libgettextlib-0.14.1.a libgettextlib.a; }; })
../../config/install-sh -c .libs/libgettextlib.lai
/usr/local/lib/libgettextlib.la
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LIBPATH' environment variable
during execution
- use the
`-Wl,-blibpath:LIBDIR:/usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.1.0/2.95.2:/usr/local/lib:/usr/lib:/lib
' linker flag
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
rm -f /usr/local/lib/libgettextlib.a <==========
...
libtool: install: warning: relinking `libgettextsrc.la'
(cd /work1/hashikaw/gettext-0.14.1/gettext-tools/src; /bin/sh ../libtool
--mode=relink gcc -g -O2 -o libgettextsrc.la -rpath /usr/local/lib -release
0.14.1 ../lib/libgettextlib.la ../intl/libintl.la -liconv -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 )
generating symbol list for `libgettextsrc.la'
/usr/bin/nm -B -BCpg .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 | awk '{ if ((($2 == "T") || ($2
== "D") || ($2 == "B")) && (substr($3,1,1) != ".")) { print $3 } }' | sort -u >
.l!
ibs/libgettextsrc.exp
mv: cannot rename libgettextsrc-0.14.1.a to libgettextsrc-0.14.1.aU:
No such file or directory
libtool: install: error: relink `libgettextsrc.la' with the above command
before installing it
--------------------------------------------------------------------------
- install problem gettext-0.14.1 on AIX 4.3.3, gcc-2.95.3,
Kouichi Hashikawa <=