← Back to team overview

kicad-developers team mailing list archive

Re: swig v3.0 not detected during cmake process under linux

 

When did you successfully build on 14.04?  IIRC we only support 16.04+ now.

Den 22/03/2017 09.44 skrev "Fabrizio Tappero" <fabrizio.tappero@xxxxxxxxx>:

> Hi JP,
> ah OK thanks for the reply.
>
> Removing swig2 does not really solve the problem.
>
>
>
> fabrizio@ln1 /opt/kicad-source-mirror/build/release $ sudo apt-get remove
> swig2.0
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Package 'swig2.0' is not installed, so not removed
> 0 upgraded, 0 newly installed, 0 to remove and 31 not upgraded.
> fabrizio@ln1 /opt/kicad-source-mirror/build/release $ cmake
> -DCMAKE_BUILD_TYPE=Release       -DKICAD_SCRIPTING=ON
> -DKICAD_SCRIPTING_MODULES=ON       -DKICAD_SCRIPTING_WXPYTHON=ON
> ../../
> -- Kicad install dir: </usr/local>
> -- Found Glew: /usr/lib/x86_64-linux-gnu/libGLEW.so
> -- Check for installed GLEW -- found
> -- Boost version: 1.54.0
> -- Found the following Boost libraries:
> --   system
> CMake Error at CMakeModules/FindSWIG.cmake:68 (message):
>   Command "/usr/bin/swig2.0 -swiglib" failed with output:
>
> Call Stack (most recent call first):
>   CMakeLists.txt:612 (find_package)
>
>
> CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108
> (message):
>   Could NOT find SWIG: Found unsuitable version "2.0.11", but required is
> at
>   least "3.0" (found /usr/bin/swig2.0)
> Call Stack (most recent call first):
>   /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:313
> (_FPHSA_FAILURE_MESSAGE)
>   CMakeModules/FindSWIG.cmake:93 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
>   CMakeLists.txt:612 (find_package)
>
>
> -- Configuring incomplete, errors occurred!
> See also "/opt/kicad-source-mirror/build/release/CMakeFiles/
> CMakeOutput.log".
> See also "/opt/kicad-source-mirror/build/release/CMakeFiles/
> CMakeError.log".
>
> cheers
> Fabrizio
>
>
> On Tue, Mar 21, 2017 at 5:29 PM, jp charras <jp.charras@xxxxxxxxxx> wrote:
>
>> Le 21/03/2017 à 16:55, Fabrizio Tappero a écrit :
>> > Hello,
>> > in refernece to this bug report
>> > https://bugs.launchpad.net/kicad/+bug/1592027
>> >
>> > I still experience the same problem.
>> >
>> > Regards
>> > Fabrzio
>> >
>> >
>>
>> bug 1592027 has nothing to do with you issue.
>>
>> Your issue looks like you have both swig2.0 and swig (swig3) installed.
>> Perhaps you should try to remove swig2.0
>>
>> >
>> >
>> >
>> > fabrizio@ln1 /opt/kicad-source-mirror/build/release $ swig -version
>> >
>> > SWIG Version 3.0.12
>> >
>> > Compiled with g++ [x86_64-pc-linux-gnu]
>> >
>> > Configured options: +pcre
>> >
>> > Please see http://www.swig.org for reporting bugs and further
>> information
>> > fabrizio@ln1 /opt/kicad-source-mirror/build/release $ cmake
>> -DCMAKE_BUILD_TYPE=Release
>> > -DKICAD_SCRIPTING=ON       -DKICAD_SCRIPTING_MODULES=OFF
>>  -DKICAD_SCRIPTING_WXPYTHON=OFF
>> > ../../
>> > -- Kicad install dir: </usr/local>
>> > -- Found Glew: /usr/lib/x86_64-linux-gnu/libGLEW.so
>> > -- Check for installed GLEW -- found
>> > -- Boost version: 1.54.0
>> > -- Found the following Boost libraries:
>> > --   system
>> > CMake Error at CMakeModules/FindSWIG.cmake:68 (message):
>> >   Command "/usr/bin/swig2.0 -swiglib" failed with output:
>> >
>> > Call Stack (most recent call first):
>> >   CMakeLists.txt:612 (find_package)
>> >
>> >
>> > CMake Error at /usr/share/cmake-2.8/Modules/F
>> indPackageHandleStandardArgs.cmake:108 (message):
>> >   Could NOT find SWIG: Found unsuitable version "2.0.11", but required
>> is at
>> >   least "3.0" (found /usr/bin/swig2.0)
>> > Call Stack (most recent call first):
>> >   /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:313
>> (_FPHSA_FAILURE_MESSAGE)
>> >   CMakeModules/FindSWIG.cmake:93 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
>> >   CMakeLists.txt:612 (find_package)
>> >
>> >
>> > -- Configuring incomplete, errors occurred!
>> > See also "/opt/kicad-source-mirror/build/release/CMakeFiles/CMakeOutp
>> ut.log".
>> > See also "/opt/kicad-source-mirror/build/release/CMakeFiles/CMakeErro
>> r.log".
>> > fabrizio@ln1 /opt/kicad-source-mirror/build/release $ uname -a
>> > Linux ln1 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40
>> UTC 2015 x86_64 x86_64 x86_64
>> > GNU/Linux
>> >
>> >
>> >
>> > _______________________________________________
>> > Mailing list: https://launchpad.net/~kicad-developers
>> > Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> > Unsubscribe : https://launchpad.net/~kicad-developers
>> > More help   : https://help.launchpad.net/ListHelp
>> >
>>
>>
>> --
>> Jean-Pierre CHARRAS
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References