dorsal team mailing list archive
-
dorsal team
-
Mailing list archive
-
Message #00520
Re: Bug report for dorsal/ubuntu natty
On 19 May 2011 08:26, Anders Logg <logg@xxxxxxxxx> wrote:
> On Thu, May 19, 2011 at 08:22:18AM +0200, Martin Sandve Alnæs wrote:
>> On 19 May 2011 08:10, Harish Narayanan <harish.mlists@xxxxxxxxx> wrote:
>> > On 5/18/11 11:47 PM, Martin Sandve Alnæs wrote:
>> >> When dorsal builds trilinos, I get the following message:
>> >>
>> >> CMake Error at packages/PyTrilinos/cmake/FindSWIG.cmake:68 (MESSAGE):
>> >> SWIG was not found. Please specify Swig executable location
>> >> Call Stack (most recent call first):
>> >> packages/PyTrilinos/CMakeLists.txt:151 (FIND_PACKAGE)
>> >>
>> >> I have swig2.0 installed from apt, but removed swig as requested by dorsal.
>> >> I can try just making a link swig -> swig2.0 and see if it works.
>> >
>> > Anders: Does this work on your machine? I think these instructions to
>> > replace swig with swig2.0 were added by you.
>> >
>> > Martin: Could you please sign up for the dorsal mailing list so I don't
>> > have to moderate your incoming e-mails?
>> >
>> > Harish
>>
>> I did this and reran dorsal (after deleting the half-built directory):
>> sudo ln -s /usr/bin/swig2.0 /usr/local/bin/swig
>>
>> And it worked. I now have a working FEniCS stable on Natty.
>
> It worked fine for me. I only have the swig2.0 binary on my machine
> (installed by swig2.0) and it gets picked up fine by DOLFIN (and the
> Dorsal build script).
It was trilinos that didn't pick it up.
Martin
Follow ups
References