← Back to team overview

dolfin team mailing list archive

Re: Could NOT find SWIG

 

On Fri, Jul 1, 2011 at 1:56 PM, Anders Logg <logg@xxxxxxxxx> wrote:
> On Fri, Jul 01, 2011 at 01:22:32PM +0200, Marie E. Rognes wrote:
>>
>> After clearing my local DOLFIN build directory, DOLFIN is unable to
>> find SWIG:
>>
>> CMake Error at
>> /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91
>> (MESSAGE):
>>   Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR)
>> Call Stack (most recent call first):
>>   /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252
>> (_FPHSA_FAILURE_MESSAGE)
>>   /usr/share/cmake-2.8/Modules/FindSWIG.cmake:66
>> (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
>>   CMakeLists.txt:216 (find_package)
>>
>> Anyone else having this problem?
>
> Me too. This has worked before so something must have changed. Is the
> test not checking for swig2.0 anymore?

This was changed yesterday for some reason. I have reverted it now.

> It works if I do
>
>  sudo ln -s /usr/bin/swig2.0 /usr/bin/swig

I wouldn't do that. It will probably brake the packaging system when
upgrading to Oneiric.

Johannes


Follow ups

References