help-cfengine
[Top][All Lists]
Advanced

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

Building in an alternate directory


From: Bob Van Cleef
Subject: Building in an alternate directory
Date: Fri, 6 Apr 2001 10:42:36 -0700 (PDT)

Well, the configuration still needs tweaking for building in
subdirectories... my build proceedure (which works 90% of the
time) is:

Starting in [snip]/cfengine/cfengine-1.6.3

mkdir `uname`-`uname -m`        ; mkdir Linux-i686 SunOS-sun4u etc...
cd `uname`-`uname -m`           ; cd Linux-i686 SunOS-sun4u etc...
../configure --datadir=/usr/local/etc --src=..

[snip]
chmod: bin/cfmail: No such file or directory
chmod: bin/cfwrap: No such file or directory
chmod: contrib/cfdoc: No such file or directory
[snip]

make[1]: Entering directory
`[snip]/cfengine/cfengine-1.6.3/Linux-i686/doc'
/usr/bin/makeinfo --html ../../doc/cfengine-Reference.texinfo
../../doc/cfengine-Reference.texinfo:21: @include version1.texi: No such
file or directory.
makeinfo: Removing output file
`[snip]/cfengine/cfengine-1.6.3/Linux-i686/doc/cfengine-Reference.html'
due to errors; use --force to preserve.
make[1]: *** [cfengine-Reference.html] Error 2
make[1]: Leaving directory
`[snip]/cfengine/cfengine-1.6.3/Linux-i686/doc'
make: *** [all-recursive] Error 1


I removed "doc" from the SUBDIRS entry in the Makefile and
everything seems to build correctly.  One thing I noticed
is that the bin directory remains basically empty.

vancleef [562] > ls ../bin              ; original source directory
Makefile.am  cf-install  cfmail*        cfwrap*        start-cfd*
Makefile.in  cfdaily.in  cfmailfilter*  changelog.sh*

vancleef [563] > ls bin                 ; build directory
Makefile  cfdaily*

vancleef [564] >

I am now testing compatibility between 1.5.1 and 1.6.3.  So far
no problems noted.

Bob
-- 
><>  ><>  ><>  ><>  ><>  ><>  ><>  ><>  ><>  ><>  ><>  ><>  ><>
Bob Van Cleef, Member of Technical Staff         (408) 734-8100
MicroUnity Systems Engineering, Inc.         FAX (408) 734-8136
376 Martin Ave., Santa Clara, CA 95050  vancleef@microunity.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]