distributing my code : problems with "No rule to make target" re .la files
matthew studley
Matthew2.Studley at uwe.ac.uk
Tue Oct 4 14:54:32 BST 2005
I've used KDev etc to build some code, all of which compiles very nicely
on my machine. I'm trying to compile on a remote
machine with a compiler I don't have locally and running into problems.
The beagle
include/
lib/
directories are in /usr/local/apps/unsupported/beagle_v220/
(on my mahcine they are in /usr/local/)
================
My environment variables look like this:
export CC="icc"
export CPPFLAGS="-DHAVE_SSTREAM -I/m/frmatt/libs/
-I/m/etwitz/dev/libs/boost-1_32/ -I/m/etwitz/dev/libs/scdm-0_1/
-I/m/etwitz/dev/libs/tclap-1.0.5/include/
-I/sanopt/mpt/1.8/usr/include/
-L/sanopt/mpt/1.8/usr/lib32/
-I/usr/local/apps/unsupported/beagle_v220/include
-L/usr/local/apps/unsupported/beagle_v220/lib "
export CXX="icpc"
================
I have also set the following (admittedly this has been clutching at
straws ;) )
export LDADD="/usr/local/apps/unsupported/beagle_v220/lib/libbeagle.la
/usr/local/apps/unsupported/beagle_v220/lib/libbeagle-GA.la
/usr/local/apps/unsupported/beagle_v220/lib/libbeagle-GP.la -lz -lmpi++
-lmpi"
export LIBADD="/usr/local/apps/unsupported/beagle_v220/lib/libbeagle.la
/usr/local/apps/unsupported/beagle_v220/lib/libbeagle-GA.la
/usr/local/apps/unsupported/beagle_v220/lib/libbeagle-GP.la -lz -lmpi++
-lmpi"
export LDFLAGS="-L/usr/local/apps/unsupported/beagle_v220/lib/"
export LD_RUN_PATH="/usr/local/apps/unsupported/beagle_v220/lib"
================
Then I:
autoreconf -i -v
./configure
make
================
I see compilation taking place. Slowly. We see lots of warnings like
this:
/usr/local/apps/unsupported/beagle_v220/include/beagle/Container.hpp(197):
warning #186: pointless comparison of unsigned integer with zero
Beagle_BoundCheckAssertM(inN,0,size()-1);
and .o files are created. Hooray!
But then get the following error...
===================
make[1]: Entering directory
`/m/frmatt/testing/testTrees/testtreekdev.kdevelop'
Making all in src
make[2]: Entering directory
`/m/frmatt/testing/testTrees/testtreekdev.kdevelop/src'
make[2]: *** No rule to make target `/usr/local/lib/libbeagle.la',
needed by
`testtreekdev'. Stop.
===================
Anybody got any ideas? My knowledge of autotools is rudimentary!
Could this problem be connected with the fact that I don't see ltmain.sh
and install-sh in the tarball created by the distribution wizard? (Hence
my use of autoreconf)
regards
Matt
--
===========================================================
Artificial Intelligence Group,
Faculty of Computing, Engineering and Mathematical Sciences,
The University of the West of England,
Frenchay,
BRISTOL
BS16 1QY
U.K.
This email has been independently scanned for viruses and any virus software has been removed using McAfee anti-virus software
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list