public inbox for rhug-rhats@sourceware.org
 help / color / mirror / Atom feed
* install broken?
@ 2002-12-28  8:20 Jeff Sturm
  2002-12-28  9:06 ` Anthony Green
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Sturm @ 2002-12-28  8:20 UTC (permalink / raw)
  To: rhug-rhats

From the rhug source tree:

$ mkdir build; cd build; ../configure --prefix=/opt/rhug && make

...wait a LONG time...

$ make install
...
Making install in gnu.readline
make[1]: Entering directory `/home/jsturm/rhug/build/gnu.readline'
make[2]: Entering directory `/home/jsturm/rhug/build/gnu.readline'
/bin/sh ../../gnu.readline/mkinstalldirs /opt/rhug/lib
 /bin/sh ./libtool --mode=install /usr/bin/install -c
lib-org-gnu-readline.la /opt/rhug/lib/lib-org-gnu-readline.la
/usr/bin/install -c .libs/lib-org-gnu-readline.so.0.0.0
/opt/rhug/lib/lib-org-gnu-readline.so.0.0.0
(cd /opt/rhug/lib && rm -f lib-org-gnu-readline.so.0 && ln -s
lib-org-gnu-readline.so.0.0.0 lib-org-gnu-readline.so.0)
(cd /opt/rhug/lib && rm -f lib-org-gnu-readline.so && ln -s
lib-org-gnu-readline.so.0.0.0 lib-org-gnu-readline.so)
/usr/bin/install -c .libs/lib-org-gnu-readline.lai
/opt/rhug/lib/lib-org-gnu-readline.la
/usr/bin/install -c .libs/lib-org-gnu-readline.a
/opt/rhug/lib/lib-org-gnu-readline.a
/usr/bin/install: cannot stat `.libs/lib-org-gnu-readline.a': No such file
or directory

Indeed, the library archive is missing, though the DSO appeared to build
just fine.

Does anyone else see this?  What might I have done wrong?

Jeff

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: install broken?
  2002-12-28  8:20 install broken? Jeff Sturm
@ 2002-12-28  9:06 ` Anthony Green
  2002-12-30 15:54   ` Jeff Sturm
  0 siblings, 1 reply; 3+ messages in thread
From: Anthony Green @ 2002-12-28  9:06 UTC (permalink / raw)
  To: Jeff Sturm; +Cc: rhug-rhats

On Sat, 2002-12-28 at 08:20, Jeff Sturm wrote:
> Does anyone else see this?  What might I have done wrong?

For some reason libtool does not want to build static libraries.

We're all just configuring with --disable-static.

I realize this is lame, but every time I look at libtool I get so
discouraged I just give up.  I've been struggling with libtool on a
completely different project recently.  It's very frustrating.

AG


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: install broken?
  2002-12-28  9:06 ` Anthony Green
@ 2002-12-30 15:54   ` Jeff Sturm
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Sturm @ 2002-12-30 15:54 UTC (permalink / raw)
  To: Anthony Green; +Cc: rhug-rhats

On 28 Dec 2002, Anthony Green wrote:
> On Sat, 2002-12-28 at 08:20, Jeff Sturm wrote:
> > Does anyone else see this?  What might I have done wrong?
>
> For some reason libtool does not want to build static libraries.

This hack seems to work.  I think some things are simply missing in the
GCJ tag configuration.  Linking with --tag=CXX also works.

(The comments in aclocal.m4 suggest it is a generated file, but generated
from what?  I don't really get all this autoconf/libtool stuff.)

Index: aclocal.m4
===================================================================
RCS file: /cvs/rhug/rhug/aclocal.m4,v
retrieving revision 1.9
diff -u -p -r1.9 aclocal.m4
--- aclocal.m4  24 Dec 2002 16:29:31 -0000      1.9
+++ aclocal.m4  30 Dec 2002 23:47:14 -0000
@@ -3655,6 +3655,7 @@ _LT_AC_TAGVAR(compiler, $1)=$CC

 # GCJ did not exist at the time GCC didn't implicitly link libc in.
 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds

 _LT_AC_TAGVAR(GCC, $1)="$GXX"
 _LT_AC_TAGVAR(LD, $1)="$LD"

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-12-30 23:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-28  8:20 install broken? Jeff Sturm
2002-12-28  9:06 ` Anthony Green
2002-12-30 15:54   ` Jeff Sturm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).