Re: distcheck problem

Ralf Wildenhues <[email protected]>
Newsgroups gmane.comp.gnu.utils
Organization Department of Numerical Simulation, University of Bonn
Message-ID <[email protected]>
Hello,

* [email protected] wrote on Fri, Dec 08, 2006 at 11:04:11PM CET:
> I am having a problem building my project with distcheck. Here is the
> structure of my project:

> Similarly the util/Makefile had LDFLAGS to point to $(top_builddir)/lib
> folder which gets created along with include when the library is
> installed. The distcheck stops with following errors:
> ../libtool: line 1657: cd: ../lib: No such file or directory
> libtool: link: cannot determine absolute directory name of `../lib'
> make[3]: *** [util] Error 1

If you use libtool, then you should reference uninstalled libraries like
this:
  foo_LDADD = ../lib/libbar.la
  libbaz_la_LIBADDD = ../another/dir/libork.la

Libtool will then do the right thing with these libraries.

Hope that helps.

Cheers,
Ralf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.