Re: Can't repeat build.

2009-01-26 Thread Dan Smithers
Ralf Wildenhues wrote: > * Dan Smithers wrote on Fri, Jan 23, 2009 at 03:22:18PM CET: >> bin_PROGRAM=exec >> exec_SOURCES=exec.c >> exec_LDADD=$(top_builddir)/../libname/src/.libs -lname > Please replace this line with > exec_LDADD=$(top_builddir)/../libname/src/libname.la >>>

Re: Can't repeat build.

2009-01-26 Thread Dan Smithers
>>> I think that it can be overridden in the call to >>> /configure BOOSTDIR= >> I'v just checked and it can't be done this way - presumably this needs >> to be done before autoreconf is run. I can't find a way to add an >> argument to autoreconf. > > Why add it to autoreconf? The simplest would

Re: Can't repeat build.

2009-01-24 Thread Ralf Wildenhues
* Dan Smithers wrote on Fri, Jan 23, 2009 at 03:22:18PM CET: > bin_PROGRAM=exec > exec_SOURCES=exec.c > exec_LDADD=$(top_builddir)/../libname/src/.libs -lname > >>> Please replace this line with > >>> exec_LDADD=$(top_builddir)/../libname/src/libname.la > >>> > >>> but I do wonder:

Re: Can't repeat build.

2009-01-23 Thread Dan Smithers
>>> BOOSTDIR=[/vol/build/boost_1_37_0] >> For eventual other users of your package, this should not be hard-coded >> but made configurable. > > I think that it can be overridden in the call to > /configure BOOSTDIR= I'v just checked and it can't be done this way - presumably this needs to be done

Re: Can't repeat build.

2009-01-23 Thread Dan Smithers
Hi Ralph, thanks for the help. > Also, I am a bit confused about when to use $(srcdir) and $(top_builddir). >>> Well, imagine instead of >>> cd build >>> ../configure >>> >>> I would do >>> >>> mkdir /dev/shm/build >>> cd /dev/shm/build >>> /path/to/configure >> I think that this

Re: Can't repeat build.

2009-01-22 Thread Ralf Wildenhues
Hello Dan, * Dan Smithers wrote on Thu, Jan 22, 2009 at 11:35:32AM CET: > >> Sometime this works fine. On other occasions I get an error > >> > >> automake-1.10: no Automake input file found for > >> `activation_analyser/src/Makefile.in' > >> automake-1.10: no input file among supplied arguments.

Re: Can't repeat build.

2009-01-22 Thread Dan Smithers
Thanks for the reply Ralph, >> I have configure.ac in the top directories and Makefile.am in all source >> directories and top directories. >> >> I use a sequence >> >> autoreconf --install >> cd build >> ../configure >> make >> >> Sometime this works fine. On other occasions I get an error >> >>

Re: Can't repeat build.

2009-01-21 Thread Ralf Wildenhues
Hello Dan, * Dan Smithers wrote on Wed, Jan 21, 2009 at 03:19:06PM CET: > I have configure.ac in the top directories and Makefile.am in all source > directories and top directories. > > I use a sequence > > autoreconf --install > cd build > ../configure > make > > Sometime this works fine. On

Can't repeat build.

2009-01-21 Thread Dan Smithers
Hi, I have a strange problem with my autotools setup. I have configure.ac in the top directories and Makefile.am in all source directories and top directories. I use a sequence autoreconf --install cd build ../configure make Sometime this works fine. On other occasions I get an error automak