← Back to team overview

dolfin team mailing list archive

Re: Installing on OS X

 

Stig Larsson wrote:
> I tried to install on a MacBook With OS X 10.5  today using the recently
> updated instructions.   But I failed anyway.    The dorsal.sh stopped
> with the following.  What went wrong?  I think I have followed the steps
> and installed all required packages via Fink but I have to admit I don't
> really know what I am doing here.  /stig 
> 
> ...
> Fetching mtl4
> At revision 6668.
> Building mtl4
> Fetching trilinos-9.0.2
> Unpacking trilinos-9.0.2
> Building trilinos-9.0.2
> make  all-recursive
> Making all in packages
> Making all in teuchos
> make[3]: *** No rule to make target `all'.  Stop.
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> Failure with exit status: 2
> Exit message: There was a problem building trilinos-9.0.2.
> stig-larssons-macbook:dorsal-e10c5b914710 stig$ ls
> AUTHORS ChangeLog TODO dorsal.sh platforms
> COPYING README dorsal.cfg packages
> stig-larssons-macbook:dorsal-e10c5b914710 stig$ 

You need to do a 'make clean' in the trilinos folder between subsequent
builds. This will be in the ${DOWNLOAD_PATH}/trilinos-9.0.2/ . (Or
better yet, just delete the folder.)

Or even better, as a first step, if trilinos support is not important to
you, edit platforms/leopard.platform and remove the word 'trilinos' from
the list of packages.

Then try running ./dorsal.sh again.

Harish


References