← Back to team overview

kicad-developers team mailing list archive

Re: kicad on linux fails to build with its script

 

On 9/30/2014 4:13 PM, Nick Østergaard wrote:
> 2014-09-30 10:39 GMT+02:00 Fabrizio Tappero <fabrizio.tappero@xxxxxxxxx>:
>> Hello guys,
>>  installing KiCad via the Linux script on Ubuntu 12.04.
>> When I run the script, I get the following error:
>>
>> $ ./kicad-install.sh --install-or-update
>> step 1) installing pre-requisites
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Note, selecting 'libglew1.6-dev' instead of 'libglew-dev'
>> E: Unable to locate package python-wxgtk3.0
>> E: Couldn't find any package by regex 'python-wxgtk3.0'
>>
>>
>> python-wxgtk3.0 seems not available for Linux Mint too.
>>
>> any solution? can we relax the python-wxgt version and use the 2.9?
>> cheers
>> Fabrizio
> 
> Is there even any distribution shipping 2.9? I have only seen 2.8 for
> python-wxgtk and the other wx stuff jumped to 3.0 not even ubuntu
> 14.04 trusty LTS ship 3.0 of python-wxgtk.
> 

Am I the only one using Debian testing which historically has not
exactly been bleeding edge?  This has to be the first time ever that
there is a package in Debian testing that is not in the current release
of Ubuntu or one of the other Debian derivatives.  The best way to get
wxPython 3 would be to add the appropriate entry to your apt
sources.list and build the package for your distro by running

apt-get update                    # Update the package list.
apt-get build-dep package-name    # Get the package build dependencies.
apt-get source package-name       # Get the package source.
cd package-name
fakeroot debian/rules binary      # Build the package.
sudo dpkg -i package-name.deb     # Install your shiny new package.

More on how to build packages from source for Debian based distros can
be found here: https://wiki.debian.org/BuildingTutorial




Follow ups

References