Re: ORBit2-2.3.102 compile problem



On Wed, 2002-01-16 at 02:18, Michael Meeks wrote:
> Hi Greg,
> 
> On Wed, 2002-01-16 at 07:46, Gregory Leblanc wrote:
> > /bin/sh ../../libtool  --mode=install /usr/bin/install -c Everything_module.la /home/builder/var/tmp/ORBit2-2.3.102-root-local/usr/lib/orbit-2.0/Everything_module.la
> > libtool: install: warning: relinking `Everything_module.la'
> > cd /home/builder/projects/rpm/BUILD/ORBit2-2.3.102/test/everything; /bin/sh ../../libtool --mode=relink gcc -O2 -march=i386 -mcpu=i686 -o Everything_module.la
> > -rpath /usr/lib/orbit-2.0 -export-dynamic -module everything-imodule.lo ../../src/orb/libORBit-2.la
> > gcc -shared  everything-imodule.lo  -L/usr/lib -lORBit-2   -Wl,-soname -Wl,Everything_module.so.0 -o .libs/Everything_module.so.0.0.0
> > /usr/bin/ld: cannot find -lORBit-2
> > collect2: ld returned 1 exit status
> > libtool: install: error: relink `Everything_module.la' with the above command before installing it
> > libtool: install: warning: remember to run `libtool --finish /usr/lib/orbit-2.0'make[1]: Leaving directory `/home/builder/projects/rpm/BUILD/ORBit2-2.3.102/test/everything'
> 
> 	Extraordinary; we simply do:
> 
> Everything_module_la_LIBADD = \
>         $(top_builddir)/src/orb/libORBit-2.la
> 
> 	Which presumably should work; where is ORBit-2 being installed to ?

In order to get working RPMs, lots of "nifty flags" get added to the
'make install' line, along the order of 'make prefix=$SOME_TEMP_DIR/usr
sysconfdir=$SOME_TEMP_DIR/etc install'

> possibly /usr/lib should be in the rpath, or somesuch.
> 
> 	I have no idea - very possibly a libtool misfeature we'll have to work
> around; what libtool / automake / autoconf do you have, and what system
> are you building on ?

I was initially using libtool-1.3.5, automake-1.4, and autoconf-2.13. 
Ideally I'll continue using these, though I do have libtool-1.4 and
automake-1.4p1 available.  

System is Red Hat 7.0, with all of the latest errata installed.
	Greg

-- 
Portland, Oregon, USA.




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