Re: "$to_tool_file_cmd" is empty

2012-10-25 Thread Bruce Korb
On 10/24/12 07:21, Gary V. Vaughan wrote:
>> There is no assignment to to_tool_file_cmd anywhere.
> 
> It should have been injected into the libtool script, by config.status,
> which in turn is supposed to contain the expansion of 
> _LT_PATH_CONVERSION_FUNCTIONS.
...
> If you can do that, then I think it confirms my hypothesis that your
> configure.ac is malformed and thus

I'm going to presume you are probably correct.

I took your advice about homebrew over fink and everything just worked.
Therefore, no need to figure out why someone else's project was scrogged.
Thank you for showing me how to diagnose the issue, just in case I
stub my toe in the future.  Thank you even more for pointing me at "brew". :)

Cheers - Bruce

___
https://lists.gnu.org/mailman/listinfo/libtool


Re: no .pc file

2012-10-25 Thread Yaroslav Bulatov
I see. I needed it because a package management system was using
pkg-config to check if libtool was available, and refusing to proceed
because .pc file was missing.

I got around it by supplying my own pc file.it . In case someone else
runs into this problem -- here's the file I used

# Copyright 2012 Google Inc. All Rights Reserved.
#
# pkgconfig data file generated by googlify.sh (http://go/googlify).

prefix=/usr/local/google/home/yaroslavvb/third_party/15_2/x86_64/libtool
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: libtool
Description: libtool
Version: 2.4
Libs: -L${libdir}
Cflags: -I${includedir}


On Sat, Oct 20, 2012 at 12:11 PM, Eric Blake  wrote:
> On 10/20/2012 12:45 AM, Yaroslav Bulatov wrote:
>> Hi, I'm trying to build libtool, and the standard procedure does not
>> generate any pkg-config files, any idea how to fix it?
>
> What's there to fix?  It is intentional that current libtool doesn't use
> pkg-config, and therefore does not produce .pc files.  If you think it
> should use pkg-config, then please provide patches and rationale for
> those patches.
>
> --
> Eric Blake   ebl...@redhat.com+1-919-301-3266
> Libvirt virtualization library http://libvirt.org
>

___
https://lists.gnu.org/mailman/listinfo/libtool


Building libltdlc.la?

2012-10-25 Thread Yaroslav Bulatov
I'm trying to figure out how to build libltdlc.la which is needed for
a particular configuration of fontforge I'm building
Googling for "libltdlc" shows many results about libltdlc missing, but
not how to build it.

Getting latest taball and building it only gives libltdl.la, and not
libltdlc. Same with --enable-ltdl-install=yes
Any ideas how to build libltdlc.la?

cd $l
export site=http://ftp.gnu.org/gnu/libtool
export fn=libtool-2.4.tar.gz
wget -O $fn $site/$fn
tar -xvf $fn
cd libtool-2.4
./configure
make

find -type f -name "*.la"
  ./libltdl/libltdl.la
  ./libltdl/dlopen.la

___
https://lists.gnu.org/mailman/listinfo/libtool


Re: Building libltdlc.la?

2012-10-25 Thread Gary V. Vaughan
On Oct 26, 2012, at 12:10 PM, Yaroslav Bulatov  wrote:
> Any ideas how to build libltdlc.la?

'make check' inside the libtool distribution builds libltdlc.la et al. for the 
test suite.

Read the Makefile's (or the manual) for full instructions :-)

Cheers,
-- 
Gary V. Vaughan (gary AT gnu DOT org)
___
https://lists.gnu.org/mailman/listinfo/libtool