bug-libtool
[Top][All Lists]
Advanced

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

Re: $max_cmd_len unset in libtool-1.5


From: Sam Steingold
Subject: Re: $max_cmd_len unset in libtool-1.5
Date: Thu, 02 Dec 2004 21:28:06 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt)

> * Peter O'Gorman <address@hidden> [2004-12-03 10:30:43 +0900]:
>
> Sam Steingold wrote:
>
>>>Where is the value of $max_cmd_len being set? When I set manually
>>>max_cmd_len to some number(255), I don't get this message. But what should
>>>be the size?
>> I observe an identical problem with
>> $ ./libtool --version
>> ltmain.sh (GNU libtool) 1.5.6 (1.1220.2.94 2004/04/10 16:27:27)
>> on
>> $ uname -a
>> Darwin ppc-osx2.cf.sourceforge.net 6.8 Darwin Kernel Version 6.8: Wed Sep 10 
>> 15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC  Power Macintosh 
>> powerpc
>
> Please use a libtool.m4 that matches the ltmain.sh.

I am not sure I quite understand this phrase.
clisp/src/m4/libtool.m4:
        # serial 47 AC_PROG_LIBTOOL
clisp/ffcall/autoconf/ltmain.sh:
        VERSION=1.5.6
        TIMESTAMP=" (1.1220.2.94 2004/04/10 16:27:27)"
do these "match"?

> The easiest way to do this is to install automake, autoconf and
> libtool in the same prefix and put that prefix at the head of your
> path. If your path, for example, contains /usr/local/bin:/bin:/usr/bin
> and you have libtool-1.5.10 in /usr/local and automake, autoconf and
> libtool-1.4 in /usr you will most probably end up with an ltmain.sh
> from libtool-1.5.10 and configure containing libtool-1.4's
> libtool.m4. This will fail.

Sorry, this is also far too confusing.
Specifically, the version of autoconf and automake should be irrelevant
since the build process does not use them (the configure scripts are
generated on a different host).  or maybe you are talking about the host
where I generate configure?

build host (osx, as above):

18:13:20 ~ [1]$ wh libtool
libtool is /usr/bin/libtool
18:13:27 ~ [2]$ which automake
/sw/bin/automake
18:13:36 ~ [3]$ which autoconf
/sw/bin/autoconf
18:13:46 ~ [4]$ echo $PATH
/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin
18:13:54 ~ [5]$ libtool --version
libtool: unknown option character `-' in: --version
Usage: libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only
 arch] [-sac]
Usage: libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_onl
y arch] [-o output] [-install_name name] [-compatibility_version #] [-current_ve
rsion #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#]
[-seg_addr_table <filename>] [-all_load] [-noall_load]
18:14:09 ~ [6]$ libtool -version
libtool: unknown option character `e' in: -version
Usage: libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only
 arch] [-sac]
Usage: libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_onl
y arch] [-o output] [-install_name name] [-compatibility_version #] [-current_ve
rsion #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#]
[-seg_addr_table <filename>] [-all_load] [-noall_load]
18:14:16 ~ [7]$ autoconf --version
autoconf (GNU Autoconf) 2.52
Written by David J. MacKenzie.

Copyright 1992, 1993, 1994, 1996, 1999, 2000, 2001
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18:14:45 ~ [8]$ automake --version
automake (GNU automake) 1.5
Written by Tom Tromey <address@hidden>.

Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

18:21:20 ~ [20]$ file /usr/bin/libtool
/usr/bin/libtool: Mach-O executable ppc

cygwin (where I generated the configure scripts):

$ autoconf --version
autoconf (GNU Autoconf) 2.59
$ automake --version
automake (GNU automake) 1.9.2
$ libtool --version
ltmain.sh (GNU libtool) 1.5.10 (1.1220.2.131 2004/09/19 12:46:56)



thanks a lot for your kind help!

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
Winners never quit; quitters never win; idiots neither win nor quit.




reply via email to

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