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

Re: next error doing global build




Hi Guys,

Mark M. Ito wrote:
> ...
> g++: /usr/lib/cernlib/2006/lib/liblapack3.a: No such file or directory
> g++: /usr/lib/cernlib/2006/lib/libblas.a: No such file or directory
> make[4]: *** [bcal2nt] Error 1
> ...
> Help!

These are cernlib libraries. Whatever system you are on, you should make 
sure the "cernlib" script is in your path and correctly pointing to 
where the libraries are. The script usually relies on the environment 
variables CERN and CERN_LEVEL being set. As a reminder, this is 
described on the wiki at Offline Software->HOWTO get started with Hall-D 
Software in the "cernlib" section under "Getting and compiling the 
source code".


ben Zihlmann wrote:
> ...
> I get the following error during compilation:
> make -C HDDM
> make[2]: Entering directory `/u/home/zihlmann/HallD/src/libraries/HDDM'
> make -f Makefile.static
> make[3]: Entering directory `/u/home/zihlmann/HallD/src/libraries/HDDM'
> make[3]: *** No rule to make target `.depends/Linux-i686/hddm_s.d', 
> needed by `all'.  Stop.
> ...
H-mmmm... Have you tried doing a "make clean"? The makefile system has a 
known bug in that it does not always do the correct thing when new files 
are added and the dependency files are already existing from an earlier 
invocation of "make". I've seen this before on occasion, but it was 
always fixable with a "make clean" followed by "make" so it never seemed 
worth the time investment to find out exactly where the bug was. Try 
that and let me know if it doesn't work.

Regards,
-David

-- 

------------------------------------------------------------------------
  David Lawrence Ph.D.
  Staff Scientist                 Office: (757)269-5567   [[[  [   [ [       
  Jefferson Lab                   Pager:  (757)584-5567   [  [ [ [ [ [   
  http://www.jlab.org/~davidl     davidl@jlab.org         [[[  [[ [[ [[[
------------------------------------------------------------------------