[EMAIL PROTECTED] wrote: > I have installed bison from source with --prefix=/opt, but "make" gives > another error this time: > > ../ylwrap: line 82: 9435 Broken Pipe $prog ${1+"$@"} > "$input" > make[2]: *** [cfparse.c] Error 1
My experience when installing cfengine on solaris versions 8, 9 and 10 you should first apply the following packages from sunfreeware: db-4 flex m4 I have attached these two solaris related functions from my installscript for cfengine which has worked in all our installations. Compiling from source works just fine for all cfengine versions tested. # # SunOS DB dependencies # dep_db4_port_sunos () { echo " * Installing dependancy db4... wait" scp source/db-4.2.52.NC-sol${SUNVERSION}-sparc-local.gz \ source/flex-2.5.31-sol${SUNVERSION}-sparc-local.gz \ source/m4-1.4.2-sol${SUNVERSION}-sparc-local.gz $HOST:. # Install Flex ssh -t $HOST "gunzip flex-2.5.31-sol${SUNVERSION}-sparc-local.gz \ && $SUDODIR pkgadd -d flex-2.5.31-sol${SUNVERSION}-sparc-local" # Install DB4 ssh -t $HOST "gunzip db-4.2.52.NC-sol${SUNVERSION}-sparc-local.gz \ && $SUDODIR pkgadd -d db-4.2.52.NC-sol${SUNVERSION}-sparc-local" || error "Older versions of Solaris may also require Flex til be installed" # Install m4 ssh -t $HOST "gunzip m4-1.4.2-sol${SUNVERSION}-sparc-local.gz \ && $SUDODIR pkgadd -d m4-1.4.2-sol${SUNVERSION}-sparc-local" || error "Could not install new version of m4" } # # Compile on SunOS # compile_cfengine_sunos () { echo " * Compiling Cfengine $CURRENT_VERSION" scp source/cfengine-${CURRENT_VERSION}.tar.gz $HOST:. ssh -t $HOST "$SUDODIR cp cfengine-${CURRENT_VERSION}.tar.gz /tmp/" ssh -t $HOST "$SUDODIR gunzip /tmp/cfengine-${CURRENT_VERSION}.tar.gz \ && cd /tmp \ && tar -xvf /tmp/cfengine-${CURRENT_VERSION}.tar \ && cd /tmp/cfengine-${CURRENT_VERSION} \ && $SUDODIR /tmp/cfengine-${CURRENT_VERSION}/configure --with-openssl=/usr/local/ssl" || error "Could not configure! Have you installed Berkeley DB?" ssh -t $HOST "cd /tmp/cfengine-${CURRENT_VERSION} \ && $SUDODIR /usr/ccs/bin/make \ && $SUDODIR /usr/ccs/bin/make install" || error "Could not compile!" } -- Jon-Finngard Moe Email: [EMAIL PROTECTED] mnemonic AS, Wergelandsveien 25 Mob : +47 98 64 58 62 N-0167 Oslo, Norway Tlf : +47 23 20 47 45 Fax : +47 23 20 47 01 PGP key EEAADBBA available from pgp.mit.edu
pgpbXU6ytSbxx.pgp
Description: PGP signature
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org http://cfengine.org/mailman/listinfo/help-cfengine