[Hamlib-developer] Re: mac os x libtool problem
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: <f4...@fr...> - 2001-10-31 11:21:48
|
[message Cc: on hamlib-developer mailing list]
Hi Jim!
> I think we have a problem with libtool:
yep, I know. You were waiting for the new version of mac os x to stabilize.
Let's see what we can do.
> lapdog(beast)/Users/beast %cd CVS/hamlib/hamlib
> [/Users/beast]
I guess this is the latest CVS version.
> lapdog(beast)/Users/beast/CVS/hamlib/hamlib %make
[snip]
> /bin/sh ../libtool --mode=link cc -g -O2 -Wall -o libhamlib.la -rpath
^^^^^^^^^^
All right, so this is indeed the hamlib libtool version which is used,
and not the old system one. good.
> /usr/local/lib -no-undefined -release 1.1.2 rig.lo serial.lo misc.lo
> register.lo event.lo cal.lo conf.lo ../libltdl/libltdlc.la
> rm -fr .libs/libhamlib.la .libs/libhamlib.* .libs/libhamlib-1.1.2.*
> ../libtool: parse error: condition expected: xno = [3183]
^^^^^^^^^^^^
arrg! here it is. I saw couple of weeks ago on the libtool mailing list,
that this is a known bug, related to zsh. Are you running zsh as your
system shell? IOW, is /bin/sh a link to zsh ?
The workaround would be to have bash installed (or some other bourne shell),
and rebuild hamlib with it.
I'll try to browse the libtool mailing list in the hope of finding a fix
for mac os x, until next version of libtool releases.
>
> Is there something in the makefile that is not available with the
> version of libtool I have?
Everything should be there. Actualy, libtool is generated by ./configure.
The "old" libtool on your system is not used.
Disabling dynamic loading won't help much. You may try it by passing
"--disable-shared" to configure, and then "make clean all".
But I think the problem is in the libtool script.
Hmm, if neither tricks work, perhaps you could try to replace, once the
configure
is ran, the hamlib libtool by the "old" libtool script of your system
(copy the script over, or use a link). It may resolve the parse error
problem, but may broke other stuff since it's not the latest version.
Anyway, let me know how it goes. I'd love to see Hamlib running on Mac OS X,
and also with a Kenwood rig (never tested!).
73,
Stephane
|