On Friday 24 November 2006 23:10, Steven T. Hatton wrote:
> With a spankin' new cvs checkout of Producer I get this error:
>
> $ make help
> Make/makedefs:146: /usr/local/DWMake//Platforms//makedefs.linux: No such
> file or directory
> make: *** No rule to make target
> `/usr/local/DWMake//Platforms//makedefs.linux'.  Stop.
I fetched cvs -d :pserver:[EMAIL PROTECTED]:/cvs/DWMake co DWMake
Changed the firsts line of DWMake.install.sh to this
#!/bin/sh

INST_DIR=$OSG/DWMake/
######################################################################
# changed my build script to the following, and so far so good.
# NB: export DWMAKE=$OSG/DWMake
#######################################################################

#!/bin/bash
. ~/bin/functions.sh 

# set the environment variable OSG to the taget installation directory, e.g.
# export OSG ~/opt/org/osg
# ~/bin/functions.sh defines the following:
#
# function goodsound(){
#     play $SOUNDCONS/spacey.wav;
# }
#
# function badsound(){
#     play $SOUNDCONS/rolling-thunder.wav;
# }
# you'll need to supply your own .wav files

# modify OSG_ROOT to suit your taste. Be sure you have write permission.

OSG_ROOT="/download/org/openscenegraph/"
OTS_CVS="$OSG_ROOT/OpenThreads"
PRO_CVS="$OSG_ROOT/Producer"
OSG_CVS="$OSG_ROOT/OpenSceneGraph"

export DWMAKE=$OSG/DWMake

function fail
{
    echo "build failed $PWD"
    badsound
    popd 
    exit 1
}


MAKE=" debug "
JOBS=" -j4 "

function build_dir
{
    pushd $1
    cvs update -dP &&\
        make clobber &&\
        make $MAKE $JOBS &&\
        make INST_LOCATION=$OSG install &&\
        goodsound ||\
        fail
    popd
}

build_dir $OTS_CVS
build_dir $PRO_CVS
JOBS=" -j12 " # I'm runnint distcc on 4 boxes
build_dir $OSG_CVS

# A reminder of what to get, and where to get it:
#
# cat OpenThreads/CVS/Root 
# :pserver:[EMAIL PROTECTED]:/cvs/openthreads
# cat OpenThreads/CVS/Repository
# OpenThreads
#
# cat Producer/CVS/Root
# :pserver:[EMAIL PROTECTED]:/cvs/Producer
# cat OpenThreads/CVS/Repository
# Producer
#
# cat OpenSceneGraph/CVS/Root
# :pserver:[EMAIL PROTECTED]:/cvs/osg
# cat OpenSceneGraph/CVS/Repository 
# OpenSceneGraph
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to