[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool: invalid tag name: CC
From: |
Ralf Wildenhues |
Subject: |
Re: libtool: invalid tag name: CC |
Date: |
Sun, 21 May 2006 19:13:22 +0200 |
User-agent: |
Mutt/1.5.11+cvs20060403 |
[ Cc:ing bug-libtool as ltmain.sh belongs to Libtool ]
Hi Leonard,
* Leonard den Ottolander wrote on Sun, May 21, 2006 at 01:29:25PM CEST:
>
> Building gettext-0.14.5 on Minix-3.1.2 aborts with a "libtool: invalid
> tag name: CC" when building gettext-runtime. I would think 'CC' is a
> valid tag name. Causing this is the regular expression at (around?) line
> 750 in (gettext-runtime/)libtool which comes from build-aux/ltmain.sh
> (line 400).
This is weird. What kind of shell does Minix have? Maybe it doesn't
understand the `!' as negation in patterns? Hmm,
http://www.minix3.org/manpages/man1/ash.1.html lists it as documented.
Could you show the trace of such a failing command? Either with
.../libtool --debug [ARGS]
or with
$SHELL -x .../libtool [ARGS]
(be sure to ask the package-specific libtool script rather than the
globally installed one, if any). Which libtool version is this by the
way?
> Attached patch fixes the build on Minix (and probably other systems
> where gcc is not the default compiler). It should be checked for
> correctness as I do not know the definition for correct tag names
The pattern
*[!-_A-Za-z0-9,/]*
should match anything containing a character not alphanumeric, nor
comma, slash, underscore, minus. If that is not the case for your
shell, I'm inclined to say that this is a shell bug. (Note this is
valid in the C locale only, generally)
In any case, Libtool has not been ported explicitly to Minix AFAIK.
This means, that the building of static libraries should work, but
if Minix has a form of shared libraries (which I don't know if it
does), then Libtool would need to be added explicit support for it.
If you intend to port Libtool, or would like help in doing so, you're
welcome to write to bug-libtool at gnu.org.
Cheers,
Ralf
- Re: libtool: invalid tag name: CC,
Ralf Wildenhues <=