Hi,
You can see from the errors near the beginning of the file
that your version of install is unhappy with the -p flag, which
it considers an illegal option. Therefore it is not installing
any of the libraries, and hence the disastrous results.
So you need to edit the file
$FSLDIR/config/$FSLMACHTYPE/systemvars.mk
and find the line that defines the variable INSTALL.
You will then need to remove the -p option from this
and insert whatever the nearest equivalent option is
(if one exists). It is used, on most systems, to preserve
the modification time. This isn't essential if you
can't find an equivalent option in install (or ginstall
if you have that) but it is nicer if you can find something.
Let us know how you get on.
All the best,
Mark
On 21 Nov 2006, at 18:55, Christopher J Cieply wrote:
> Mark
> Thanks for the help. It no builds some successfully but still fails.
> Any other thoughts would be appreciated. Couldn't attach the whole
> build log because it said the file was too large but below is the
> beginning and end of the file. Thank you very much once again.
>
> Chis
>
>
>
>
> ./MAKE
> using FSLDIR as /home/local/fsl
>
>
> Making project zlib
>
> ar -r libz.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o
> trees.o zutil.o inflate.o infblock.o inftrees.o infcodes.o infutil.o
> inffast.o
> make[1]: Entering directory `/home/local/fsl/extras/src/zlib'
> make[2]: Entering directory `/home/local/fsl/extras/src/zlib'
> ar -r libz.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o
> trees.o zutil.o inflate.o infblock.o inftrees.o infcodes.o infutil.o
> inffast.o
> make[2]: Leaving directory `/home/local/fsl/extras/src/zlib'
> make[2]: Entering directory `/home/local/fsl/extras/src/zlib'
> make[3]: Entering directory `/home/local/fsl/extras/src/zlib'
>
> Installing stable binaries
> make[3]: Leaving directory `/home/local/fsl/extras/src/zlib'
> make[3]: Entering directory `/home/local/fsl/extras/src/zlib'
> make[4]: Entering directory `/home/local/fsl/extras/src/zlib'
>
> Installing stable header files
> install: illegal option -- p
> usage: install [-cs] [-g group] [-m mode] [-o owner] file ...
> destination
> install -d [-g group] [-m mode] [-o owner] dir
> install -p -m 0664 deflate.h /home/local/fsl/extras/include/zlib/
> install: illegal option -- p
> usage: install [-cs] [-g group] [-m mode] [-o owner] file ...
> destination
> install -d [-g group] [-m mode] [-o owner] dir
> install -p -m 0664 infblock.h /home/local/fsl/extras/include/zlib/
> install: illegal option -- p
> usage: install [-cs] [-g group] [-m mode] [-o owner] file ...
> destination
> install -d [-g group] [-m mode] [-o owner] dir
> install -p -m 0664 infcodes.h /home/local/fsl/extras/include/zlib/
> install: illegal option -- p
> usage: install [-cs] [-g group] [-m mode] [-o owner] file ...
> destination
> install -d [-g group] [-m mode] [-o owner] dir
> install -p -m 0664 inffast.h /home/local/fsl/extras/include/zlib/
> install: illegal option -- p
> usage: install [-cs] [-g group] [-m mode] [-o owner] file ...
> destination
> install -d [-g group] [-m mode] [-o owner] dir
> install -p -m 0664 inffixed.h /home/local/fsl/extras/include/zlib/
> install: illegal option -- p
> usage: install [-cs] [-g group] [-m mode] [-o owner] file ...
> destination
> install -d [-g group] [-m mode] [-o owner] dir
> install -p -m 0664 inftrees.h /home/local/fsl/extras/include/zlib/
> install: illegal option -- p
> usage: install [-cs] [-g group] [-m mode] [-o owner] file ...
> destination
> install -d [-g group] [-m mode] [-o owner] dir
> install -p -m 0664 infutil.h /home/local/fsl/extras/include/zlib/
> install: illegal option -- p
> usage: install [-cs] [-g group] [-m mode] [-o owner] file ...
> destination
> install -d [-g group] [-m mode] [-o owner] dir
> install -p -m 0664 trees.h /home/local/fsl/extras/include/zlib/
> install: illegal option -- p
> usage: install [-cs] [-g group] [-m mode] [-o owner] file ...
> destination
> install -d [-g group] [-m mode] [-o owner] dir
> install -p -m 0664 zconf.h /home/local/fsl/extras/include/zlib/
> install: illegal option -- p
> usage: install [-cs] [-g group] [-m mode] [-o owner] file ...
> destination
> install -d [-g group] [-m mode] [-o owner] dir
> install -p -m 0664 zlib.h /home/local/fsl/extras/include/zlib/
> install: illegal option -- p
> usage: install [-cs] [-g group] [-m mode] [-o owner] file ...
> destination
> install -d [-g group] [-m mode] [-o owner] dir
> install -p -m 0664 zutil.h /home/local/fsl/extras/include/zlib/
> make[4]: Leaving directory `/home/local/fsl/extras/src/zlib'
> make[4]: Entering directory `/home/local/fsl/extras/src/zlib'
>
> Installing stable library archives
> install: illegal option -- p
> usage: install [-cs] [-g group] [-m mode] [-o owner] file ...
> destination
> install -d [-g group] [-m mode] [-o owner] dir
> install -p -m 0664 libz.a /home/local/fsl/extras/lib
> make[4]: Leaving directory `/home/local/fsl/extras/src/zlib'
> make[4]: Entering directory `/home/local/fsl/extras/src/zlib'
>
> Installing tcl scripts
> make[4]: Leaving directory `/home/local/fsl/extras/src/zlib'
> make[4]: Entering directory `/home/local/fsl/extras/src/zlib'
>
> Installing (userguide) documents
> /bin/chmod -R ug+w /home/local/fsl/extras/doc/zlib/
> make[4]: Leaving directory `/home/local/fsl/extras/src/zlib'
> make[4]: Entering directory `/home/local/fsl/extras/src/zlib'
>
> Installing reference documents
> /bin/chmod -R ug+w /home/local/fsl/extras/refdoc/zlib/
> make[4]: Leaving directory `/home/local/fsl/extras/src/zlib'
> make[4]: Entering directory `/home/local/fsl/extras/src/zlib'
>
> make[4]: Leaving directory `/home/local/fsl/extras/src/zlib'
> make[3]: Leaving directory `/home/local/fsl/extras/src/zlib'
> make[2]: Leaving directory `/home/local/fsl/extras/src/zlib'
> make[1]: Leaving directory `/home/local/fsl/extras/src/zlib'
>
> -------------------------
> Successfully made zlib
>
>
> Making project libpng
>
> make: Nothing to be done for `all'.
> make[1]: Entering directory `/home/local/fsl/extras/src/libpng'
> make[2]: Entering directory `/home/local/fsl/extras/src/libpng'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/local/fsl/extras/src/libpng'
> make[2]: Entering directory `/home/local/fsl/extras/src/libpng'
> make[3]: Entering directory `/home/local/fsl/extras/src/libpng'
>
> Installing stable binaries
> make[3]: Leaving directory `/home/local/fsl/extras/src/libpng'
> make[3]: Entering directory `/home/local/fsl/extras/src/libpng'
> make[4]: Entering directory `/home/local/fsl/extras/src/libpng'
>
> Installing stable header files
> install: illegal option -- p
> usage: install [-cs] [-g group] [-m mode] [-o owner] file ...
> destination
> install -d [-g group] [-m mode] [-o owner] dir
> install -p -m 0664 png.h /home/local/fsl/extras/include/libpng/
> install: illegal option -- p
> usage: install [-cs] [-g group] [-m mode] [-o owner] file ...
> destination
> install -d [-g group] [-m mode] [-o owner] dir
> install -p -m 0664 pngasmrd.h /home/local/fsl/extras/include/libpng/
> install: illegal option -- p
> usage: install [-cs] [-g group] [-m mode] [-o owner] file ...
> destination
> install -d [-g group] [-m mode] [-o owner] dir
> install -p -m 0664 pngconf.h /home/local/fsl/extras/include/libpng/
> make[4]: Leaving directory `/home/local/fsl/extras/src/libpng'
> make[4]: Entering directory `/home/local/fsl/extras/src/libpng'
>
> Installing stable library archives
> install: illegal option -- p
> usage: install [-cs] [-g group] [-m mode] [-o owner] file ...
> destination
> install -d [-g group] [-m mode] [-o owner] dir
> install -p -m 0664 libpng.a /home/local/fsl/extras/lib
> make[4]: Leaving directory `/home/local/fsl/extras/src/libpng'
> make[4]: Entering directory `/home/local/fsl/extras/src/libpng'
>
> Installing tcl scripts
> make[4]: Leaving directory `/home/local/fsl/extras/src/libpng'
> make[4]: Entering directory `/home/local/fsl/extras/src/libpng'
>
> Installing (userguide) documents
> /bin/chmod -R ug+w /home/local/fsl/extras/doc/libpng/
> make[4]: Leaving directory `/home/local/fsl/extras/src/libpng'
> make[4]: Entering directory `/home/local/fsl/extras/src/libpng'
>
> Installing reference documents
> /bin/chmod -R ug+w /home/local/fsl/extras/refdoc/libpng/
> make[4]: Leaving directory `/home/local/fsl/extras/src/libpng'
> make[4]: Entering directory `/home/local/fsl/extras/src/libpng'
>
> make[4]: Leaving directory `/home/local/fsl/extras/src/libpng'
> make[3]: Leaving directory `/home/local/fsl/extras/src/libpng'
> make[2]: Leaving directory `/home/local/fsl/extras/src/libpng'
> make[1]: Leaving directory `/home/local/fsl/extras/src/libpng'
>
> -------------------------
> Successfully made libpng
>
>
>
>
>
> and ends
>
>
> ERROR::Could not make tbss successfully
>
> !!ERROR in BUILD!!
> Could not make the following projects successfully:
> utils niftiio fslio miscmaths newimage libss libvis meshclass
> bint avwutils bet bet2 cluster fdt feat5 film filmbabe flame flirt
> fugue mcflirt melodic2 misc_c miscvis mm randomise siena slicetimer
> susan tbss
>
>
>
>
>
> On Mon, 2006-11-13 at 18:19 +0000, Mark Jenkinson wrote:
>> Hi,
>>
>> The first part says that it is using a generic config which is
>> potentially very bad. This shouldn't happen if you did step 3
>> in the compiling instructions at:
>> http://www.fmrib.ox.ac.uk/fsl/fsl/compiling.html
>>
>> The errors at the end are pretty disastrous in that really
>> nothing was built OK. This is probably because it failed to
>> build, or even more likely - install - the extras packages.
>>
>> So go and check step 3 of the compiling instructions and
>> make a specific config directory, then check that the values
>> of the variables in systemvars.mk file (within your specific
>> config directory) have sensible settings - especially the
>> INSTALL variable. If it is set to "ginstall" check that your
>> system has ginstall. If not, set it to "install" (assuming
>> that you have this).
>>
>> All the best,
>> Mark
>>
>>
>>
>> On 13 Nov 2006, at 15:53, Christopher C wrote:
>>
>>> I am trying to compile FSL on a SunBlade1000 with Solaris 10. I
>>> went
>>> through the compiling instructions but when I attempt to build
>>> with ./bui
>>> ld
>>> I get errors. I tried to attact the build.log file but it is too
>>> large.
>>>
>>> The build.log file begins:
>>>
>>> WARNING: Did not find specific configuration for
>>> sparc-sun-solaris2.9-gcc3.1 - trying generic version instead
>>> ./MAKE
>>> using FSLDIR as /home/local/fsl
>>>
>>> and ends
>>>
>>> ERROR::Could not make tbss successfully
>>>
>>> !!ERROR in BUILD!!
>>> Could not make the following projects successfully:
>>> utils niftiio fslio miscmaths newimage libss libvis meshclass
>>> bint
>>> avwutils bet bet2 cluster fast fdt feat5 film filmbabe flame flirt
>>> fugue
>>> mcflirt melodic2 misc_c miscvis mm randomise siena slicetimer susan
>>> tbss
>>>
>>> Any help would be greatly appreciated.
>>> Thank you
>>> Chris
|