[XForms] One more piece of rpm magic needed

Angus Leeming angus.leeming at btopenworld.com
Fri May 7 07:04:59 EDT 2004


This is just a heads up before I disappear for the w/e.

Linking LyX against the XForms libraries installed from an rpm with:

rpm -Uvh --prefix /usr/local xforms-1.0.90-1.i386.rpm

I get the following warnings:

libtool: link: warning: library `/usr/local/lib/libflimage.la' was 
moved.
libtool: link: warning: library `/usr/local/lib/libforms.la' was 
moved.

All because libflimage.la etc end with
# Directory that this library needs to be installed in:
libdir='/usr/lib'

So I guess one more piece of post install magic is needed.

I guess it's as simple as
	sed "/^libdir=/s@/usr@${RPM_INSTALL_PREFIX}@"

Angus



More information about the Xforms mailing list