Hi All,
Just thought I'd point out that there is an easier way to make FSL always
use the appropriate install program (or compiler etc..)
All the program and path definitions used by FSL for making and installing
are contained in the file $FSLDIR/config/systemvars.mk
So to use install instead of ginstall, change the line in $FSLDIR/config/systemvars.mk:
INSTALL = ginstall
to
INSTALL = install
Also, as the build script tries to automatically determine the best settings
but sometimes fails, it is worth doing the following:
cp $FSLDIR/etc/autoconfig $FSLDIR/etc/disabledautoconfig
This will stop it changing anything that is specified in the
$FSLDIR/config/systemvars.mk file
Hope this helps,
Mark
P.S. for FreeBSD you'll still need to do steps 2 and 3 below
Stephen Smith wrote:
> Hi - many thanks to Giuseppe Pagnoni <[log in to unmask]> for sending in
> these instructions for compiling FSL3 on FreeBSD.
>
> Steve.
>
> ------------------------------------
>
> 1) Create an alias named 'ginstall' pointing to 'install':
>
> cd /usr/bin
> ln -s install ginstall
>
> 2) Change the ELF type for the files in the
> $FSL_DIR/stable-src/freeware/Linux directory:
>
> cd $FSL_DIR/stable-src/freeware/Linux
> brandelf -t Linux *
>
> 3) change $FSL_DIR/stable-src/freeware/MAKE to the following:
>
> #!/bin/sh
>
> /bin/cp -rf common/* $FSLDIR
>
> /bin/cp -rf Linux/* $FSLDIR
>
> #if [ -d `uname` ] ; then
> # /bin/cp -rf `uname`/* $FSLDIR
> #else
> # /bin/cp -rf `uname`_`uname -r`/* $FSLDIR
> #fi
>
> ....... et voila'! (At least it worked over here...)
>
> Once the installation is done, ginstall can be removed:
> cd /usr/bin
> rm ginstall
>
> Good luck to the FreeBSDers!
|