← Back to team overview

kicad-developers team mailing list archive

Re: First time compile on Ubuntu 9.04-Build failed

 

--- In kicad-devel@xxxxxxxxxxxxxxx, "David" <david@...> wrote:
>
> Hi,
> As this is my first efford to build Kicad from source on Ubuntu please bekind.
> I have used the following instructions
> 
> http://basicubuntu.blogspot.com/2009/02/installing-kicad-on-ubuntu.html
> 
> Everything went well until this line was entered
> 
> fakeroot debian/rules binary
> 
> The build fails with the following message
> 
> ----------------------------------------------------------:
> 
> david@ubuntu:~/Desktop/KICAD_SVN$ fakeroot debian/rules binary
> test -d debian/patched || install -d debian/patched
> dpatch apply-all  
> dpatch cat-all >>patch-stampT
> mv -f patch-stampT patch-stamp
> mkdir -p /home/david/Desktop/KICAD_SVN/build/kicad
> mkdir -p /home/david/Desktop/KICAD_SVN/build/bitmaps
> cd /home/david/Desktop/KICAD_SVN/build/kicad && cmake -DKICAD_MINIZIP=0\
> -DKICAD_DEMOS=/home/david/Desktop/KICAD_SVN/debian/kicad-common/usr/share/doc/kicad/demos ../../kicad \
> -DXPM_CPP_PATH=/home/david/Desktop/KICAD_SVN/build/bitmaps
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
> -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
> -- Looking for gethostbyname
> -- Looking for gethostbyname - found
> -- Looking for connect
> -- Looking for connect - found
> -- Looking for remove
> -- Looking for remove - found
> -- Looking for shmat
> -- Looking for shmat - found
> -- Looking for IceConnectionNumber in ICE
> -- Looking for IceConnectionNumber in ICE - found
> -- Found X11: /usr/lib/libX11.so
> -- Check for installed OpenGL -- found
> -- Check for installed Boost -- not found
> CMake Error at CMakeModules/CheckFindPackageResult.cmake:6 (message):
> Boost was not found - it is required to build Kicad
> Call Stack (most recent call first):
> CMakeLists.txt:111 (check_find_package_result)
> 
> 
> -- Configuring incomplete, errors occurred!
> make: *** [configure-stamp] Error 1
> david@ubuntu:~/Desktop/KICAD_SVN$
> 
> -----------------------------------------------------------------:
> 
> Can anyone give any clues on how to get Kicad to build? Could this problem be related to the previous posts about Boost?
> Thanks for your help.
> 
> David.
>
Hi,
I have managed to get kicad to compile after installing the boost 1.37 libraries using this command

sudo apt-get install libboost1.37-dev

As vesa said earlier this pulls down all the required files as dependencies.

I now end up with a load of compiled debian package files as well as the binaries in one directory and the libraries in another directory.
I've installed from the debian package files and all seems to work OK.

If I come across any compiler warnings or errors where are these recorded? I'd like to help with error reporting if I can.

David.






References