This is the mail archive of the sid@sources.redhat.com mailing list for the SID project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: build error


Hi -


On Wed, Jan 03, 2001 at 12:52:51PM +0100, Johan Rydberg wrote:
: I get the following error:
: 
: /bin/sh ../../libtool --mode=link c++  -g -O2  -o libbusif.la  -rpath  -module -no-undefined busif.lo  -lm -lstdc++
: libtool: link: only absolute run-paths are allowed
: make[3]: *** [libbusif.la] Error 1
: make[3]: Leaving directory `/.automount/nfs1/export2/home/johryd/prj/sid/src/sid/component/mapper/testsuite'
: 
: It seems that VPATH is unset:
: 
: libbusif_la_LDFLAGS = -rpath $(VPATH) -module -no-undefined

Oops, I thought we got rid of all instances of that "-rpath $(VPATH)" thing.
Right -- a gentlecontributor committed the some changes to this effect, but
against Makefile.in and not Makefile.am, lcd/testsuite and mapper/testsuite.

Still, $(pkglibdir) doesn't look right -- these libraries are not meant to
be installed at all.  How could we express "-rpath `pwd`"?


: [....]
: It is configured to compile in the source directory!  

This part is something we usually avoid doing.  Even if you try it,
please use absolute paths throughout (i.e., "`pwd`/configure" rather
than "./configure".)


: I also get an error when trying to build the testsuite for the
: lcd component.  [...]
:  all-local:
: -       cp $(srcdir)/hd-one-line.conf .
: -       cp $(srcdir)/hd-two-line.conf .
: -       cp $(srcdir)/hd-5X10.conf .
: -       cp $(srcdir)/hd-europe.conf .
: -       cp $(srcdir)/t6963c-tcl.conf .
: -       cp $(srcdir)/t6963c-japan.conf .
: +       test -e ./hd-one-line.conf || cp $(srcdir)/hd-one-line.conf .
: +       test -e ./hd-two-line.conf || cp $(srcdir)/hd-two-line.conf .
: +       test -e ./hd-5X10.conf || cp $(srcdir)/hd-5X10.conf .
: +       test -e ./hd-europe.conf || cp $(srcdir)/hd-europe.conf .
: +       test -e ./t6963c-tcl.conf || cp $(srcdir)/t6963c-tcl.conf .
: +       test -e ./t6963c-japan.conf || cp $(srcdir)/t6963c-japan.conf .

With respect to this part, a quick grep shows that these files aren't
actually used at all.  How about removing the "all-local" target
altogether?


- FChE

PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]