bug-ncurses
[Top][All Lists]
Advanced

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

Re: [PATCH] cygwin sharedlib build fixes, terminfo


From: Charles Wilson
Subject: Re: [PATCH] cygwin sharedlib build fixes, terminfo
Date: Sat, 02 Aug 2003 22:58:08 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624

Thomas Dickey wrote:

(cd /usr/build/ncurses/ncurses-5.3-20030802/lib; /bin/sh 
/usr/local/TEST/libtool-1.5/bin/libtool --mode=relink /usr/bin/g++ -o 
libncurses++.la ../obj_lo/cursesf.lo ../obj_lo/cursesm.lo ../obj_lo/cursesw.lo 
../obj_lo/cursespad.lo ../obj_lo/cursesp.lo ../obj_lo/cursslk.lo 
../obj_lo/cursesapp.lo ../obj_lo/cursesmain.lo -rpath /usr/lib -version-info 
5:3 -no-undefined -L../lib -lform -lmenu -lpanel -lncurses -inst-prefix-dir 
/tmp/FOO)
libtool: link: unable to infer tagged configuration
libtool: link: specify a tag with `--tag'
libtool: install: error: relink `../lib/libncurses++.la' with the above command 
before installing it
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/build/ncurses/ncurses-5.3-20030802/c++'
make: *** [install] Error 2


Yes, this is the libtool bug I referred to. Libtool-1.5 *requires* that the --tag=XXX parameter be present, when using any language other than C. However, libtool-1.5 neglects to *record* that value in the uninstalled .la file, for use when relinking-to-install.

However, libtool-1.4.x doesn't really support ANY language other than C at all, so it doesn't work (or only works via luck; I haven't tried) in the c++ directory either.

So, it's a libtool-1.5 bug. I'll be reporting it to the libtool list when I take care of a few other things. I might even be able to come up with a patch...

--
Chuck






reply via email to

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