Hi, apologies for bringing this up. It was just a Cmake cache issue. deleting the build folder and running cmake again fixed the problem.
thank you fabrizio On Wed, Mar 22, 2017 at 10:19 AM, Bernhard Stegmaier < [email protected]> wrote: > See apt-get output: > <<< > ... > Package 'swig2.0' is not installed, so not removed > ... > >> >>>> > So, it didn't remove anything, but /usr/bin/swig2.0 seems still to be > there. > Manually installed? > Setup somehow screwed up? > > > Regards, > Bernhard > > > On 22.03.2017 09:49, Nick Østergaard wrote: > >> When did you successfully build on 14.04? IIRC we only support 16.04+ >> now. >> >> Den 22/03/2017 09.44 skrev "Fabrizio Tappero" <[email protected] >> >: >> >> 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/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". >> >> cheers >> Fabrizio >> >> On Tue, Mar 21, 2017 at 5:29 PM, jp charras <[email protected]> >> 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 : [email protected] >>> 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 : [email protected] >> Unsubscribe : https://launchpad.net/~kicad-developers >> More help : https://help.launchpad.net/ListHelp >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~kicad-developers >> Post to : [email protected] >> Unsubscribe : https://launchpad.net/~kicad-developers >> More help : https://help.launchpad.net/ListHelp >> > > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > Post to : [email protected] > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

