[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool wants to install LIBRARY.lai, but it doesn't exist
From: |
Ralf Wildenhues |
Subject: |
Re: libtool wants to install LIBRARY.lai, but it doesn't exist |
Date: |
Thu, 31 Mar 2005 08:29:23 +0200 |
User-agent: |
Mutt/1.4.1i |
Hi Marc,
* Marc Singer wrote on Thu, Mar 31, 2005 at 12:38:53AM CEST:
> In the ltmain.m4 script, there is this code
You mean ltmain.sh, right?
>
> # Install the pseudo-library for information purposes.
> name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
> instname="$dir/$name"i
> $show "$install_prog $instname $destdir/$name"
> $run eval "$install_prog $instname $destdir/$name" || exit $?
>
> The instname points refer to a '.lai' file. But that file isn't being
> built. Any ideas as to why this would be the case? I'm cross
> compiling and the configure invocation looks like this:
>
> export CC=$(CROSS_COMPILE)gcc ; \
> export AR=$(CROSS_COMPILE)ar ; \
> export RANLIB=$(CROSS_COMPILE)ranlib ; \
> export STRIP=$(CROSS_COMPILE)strip ; \
> export LIBS=-Wl,-rpath,$(TOP)/tools/lib ; \
> ./autogen.sh --build=`$(TOP)/scripts/config.guess` \
> --host=arm-linux\
> --disable-static\
> --prefix=/usr )
* Marc Singer wrote on Thu, Mar 31, 2005 at 02:26:27AM CEST:
> I've found another part of the puzzle. The output file isn't
> generated because install_libdir is blank. It's hard to tell what it
> should be because the declaration looks like this:
>
> install_libdir="$2"
>
> Still digging...
It'd be nice to know
- the exact libtool version used
- a small test case to reproduce the behavior (esp. Makefile.am snippet)
- which of the details above trigger the behavior
(does the fact that you are cross-compiling do this?)
- a `--debug' output of the `--mode=link' step of the library
- `$(TOP)/scripts/config.guess`
- contents of autogen.sh if that does fancy stuff other than a
autoreconf.
I need to remark that cross-compile support in Libtool is suboptimal
ATM. We want to change that, but it will take quite a bit of work.
Regards,
Ralf
- libtool wants to install LIBRARY.lai, but it doesn't exist, Marc Singer, 2005/03/30
- Re: libtool wants to install LIBRARY.lai, but it doesn't exist, Marc Singer, 2005/03/30
- Re: libtool wants to install LIBRARY.lai, but it doesn't exist,
Ralf Wildenhues <=
- Re: libtool wants to install LIBRARY.lai, but it doesn't exist, Marc Singer, 2005/03/31
- Re: libtool wants to install LIBRARY.lai, but it doesn't exist, Ralf Wildenhues, 2005/03/31
- Re: libtool wants to install LIBRARY.lai, but it doesn't exist, Marc Singer, 2005/03/31
- Re: libtool wants to install LIBRARY.lai, but it doesn't exist, Ralf Wildenhues, 2005/03/31
- Re: libtool wants to install LIBRARY.lai, but it doesn't exist, Marc Singer, 2005/03/31
- Re: libtool wants to install LIBRARY.lai, but it doesn't exist, Ralf Wildenhues, 2005/03/31
- Re: libtool wants to install LIBRARY.lai, but it doesn't exist, Marc Singer, 2005/03/31
- Re: libtool wants to install LIBRARY.lai, but it doesn't exist, Ralf Wildenhues, 2005/03/31
- Re: libtool wants to install LIBRARY.lai, but it doesn't exist, Marc Singer, 2005/03/31
- Re: libtool wants to install LIBRARY.lai, but it doesn't exist, Roger Leigh, 2005/03/31