← Back to team overview

kicad-developers team mailing list archive

Re: kicad-install.sh requiring python-wxgtk3.0

 

2014-10-19 9:20 GMT+02:00 Jake <jake@xxxxxxxx>:
> As i said i would, i edited kicad-install.sh to remove wxgtk3.0 and instead
> I installed wxgtk2.8 and then ran kicad-install.sh --install-or-update
>
> it seems to have worked.  I have not tried to make anything yet, but
> eeschema and pcbnew open just fine... then i went looking for cvpcb...

wx2.8 is not oficially supported anymore, it can indeed work still,
the quirks for getting it to work with wx2.8 has not yet been removed.

> cvpcb is gone?!?!  i think i am happy about that!  stuff looks really good
> right now.

Sorry to dissapoint you, cvpcb is still existing. You just can't
access it from the kicad app, but from eeschema. I am not quite sure
why it is as such, but there is a bug noting this.

https://bugs.launchpad.net/kicad/+bug/1360898

> Are there any tests i should run to see if kicad actually works without
> wxgtk3.0??

Well, you can search the bugtracker for bugs related to wx2.8 and see
if you still have those, but that would be useless for everyone
anyway. I suggest not spending time on that.

> thanks
> -jake
>
> On Sat, 18 Oct 2014, Adam Wolf wrote:
>
>> Hi folks,
>> I threw together a PPA today, with the source packages of wxpython3 and
>> wxwidgets3 from 14.10, rebuilt for 14.04.  It was relatively painless, after
>> I modified the backport
>> package script I was using to let me make arbitrary changes :)  I added
>> mesa-common-dev as a build-dependency for wxpython3.  (It looks like the
>> Ubuntu folks added this
>> dependency for wxpython3 in August, and then in the next update,
>> accidentally removed it.)
>>
>> I have to stop working on this today, but if someone wants to play around
>> with it from here before I write more instructions...
>>
>> https://launchpad.net/~adamwolf/+archive/ubuntu/kicad-trusty-backports
>>
>> Don't let the Launchpad page fool you--there are 37 binary packages in the
>> PPA
>> (https://launchpad.net/~adamwolf/+archive/ubuntu/kicad-trusty-backports/+packages).
>>
>> Nick made some progress while I was on a walk this afternoon--I didn't
>> quite follow everything he did, so I continued this work.
>>
>> Adam Wolf
>> Cofounder and Engineer
>> W&L
>>  *
>> On Sat, Oct 18, 2014 at 6:24 PM, Adam Wolf <adamwolf@xxxxxxxxxxxxxxxxxxxx>
>> wrote:
>>
>>       The plan is that most users will not compile KiCad.
>>
>>       This PPA will, at first, only contain the back ports of any packages
>> needed to build KiCad on 14.04.
>>
>>       In terms of new regular binary release, OS X is the first on my
>> list, but it is very close, thanks to the help of everyone on this list.
>>
>>       Adam Wolf
>>       Cofounder and Engineer
>>       W&L
>>
>>       On Oct 18, 2014 5:28 PM, "Jake" <jake@xxxxxxxx> wrote:
>>             Thank you Adam for your work on this.
>>
>>             I haven't been back at sudoroom (where I am trying to install
>> kicad) to test the fixes that were mentioned below, but I think that
>> anything that makes
>>             it easier to install kicad is good.  Ideally it will be
>> possible for ubuntu 12.04 to install kicad by following instructions - keep
>> in mind that 12.04
>>             is LONG TERM SUPPORT and is still run by many people around
>> the world, for good reasons.
>>
>>             Will this PPA also include KiCAD itself? :) :) :)
>>
>>             -jake (dreaming of the good old wxgtk2.8 days)
>>
>>             On Sat, 18 Oct 2014, Adam Wolf wrote:
>>
>>                   I spent quite a few hours on this today.  I set up a
>> PPA, did a backport of wxpython3 (which provides most of these packages),
>> and uploaded
>>                   it.  The build on the Ubuntu servers
>>                   fails, due to the package not specifying mesa-common-dev
>> as a build-depends.  (This issue is fixed in Debian, for what it's worth.)
>>                   I pinged the folks on the #ubuntu-packaging IRC in order
>> to figure out what my next step is, but I haven't gotten a reply yet.
>>
>>                   Harrumph.
>>
>>                   Adam Wolf
>>                   Cofounder and Engineer
>>                   W&L
>>
>>                   On Sat, Oct 18, 2014 at 8:56 AM, Carl Poirier
>> <carl.poirier.2@xxxxxxxxx> wrote:
>>                         > i did try this and it said it couldn't satisfy
>> the dependancies..
>>                   Hi Jake, you can still install the package this way,
>> inserting the dependencies that need to be ignored. I built recent KiCads
>> this way.
>>
>>                   sudo dpkg --install --ignore-depends=_______
>> python-wxgtk3.0.deb
>>                   > If I can find a few savvy volunteers here who use
>> their 14.04 machines regularly and also want to test this for me, I can
>> propose it be
>>                   included in official backports.
>>
>>                   Hi Adam,
>>                   My main machine is running Xubuntu 14.04. I can test
>> this for you during a few weeks. After that, I plan tu update to 14.10
>> myself.
>>
>>                   Do I have to compile with KICAD_SCRIPTING_WXPYTHON, or
>> only KICAD_SCRIPTING?
>>
>>                   Let me know when the backports are ready.
>>
>>                   Regards,
>>
>>                   Carl
>>
>>                   On Sat, Oct 18, 2014 at 9:40 AM, Nick Østergaard
>> <oe.nick@xxxxxxxxx> wrote:
>>                         Hi Adam
>>
>>                         I have an ubuntu 14.04 (trusty) available, but I
>> don't use it daily
>>                         though. I can still test the packages for you.
>>
>>                         Nick
>>
>>                         2014-10-18 15:20 GMT+02:00 Adam Wolf
>> <adamwolf@xxxxxxxxxxxxxxxxxxxx>:
>>                         > *sigh*
>>                         >
>>                         > I have begun the backports process.
>> https://wiki.ubuntu.com/UbuntuBackports
>>                         >
>>                         > What this means is that I am creating a PPA of
>> packages that are needed for
>>                         > KiCad and are already in 14.10 (utopic), but
>> rejiggering the packages so
>>                         > they're meant for 14.04 (trusty).
>>                         >
>>                         > If I can find a few savvy volunteers here who
>> use their 14.04 machines
>>                         > regularly and also want to test this for me, I
>> can propose it be included in
>>                         > official backports.
>>                         >
>>                         > Hopefully this goes as smoothly as getting
>> wxWidgets 3.0 working on this
>>                         > week's OS X release.  (Sometimes I feel we spend
>> more time working on our
>>                         > dependencies than on KiCad!)
>>                         >
>>                         > Adam Wolf
>>                         > Cofounder and Engineer
>>                         > Wayne and Layne, LLC
>>                         >
>>                         > On Sat, Oct 18, 2014 at 5:21 AM, Jake
>> <jake@xxxxxxxx> wrote:
>>                         >>
>>                         >> i did try this and it said it couldn't satisfy
>> the dependancies..
>>                         >>
>>                         >>
>>                         >> On Sat, 18 Oct 2014, Nick Østergaard wrote:
>>                         >>
>>                         >>> So did you ever try what Moses suggested?
>>                         >>>
>>                         >>>
>> https://lists.launchpad.net/kicad-developers/msg15067.html
>>                         >>>
>>                         >>> 2014-10-18 10:30 GMT+02:00 Jake
>> <jake@xxxxxxxx>:
>>                         >>>>
>>                         >>>> so i'm trying to install kicad on a fresh
>> install of Ubuntu 14.04, which
>>                         >>>> is
>>                         >>>> this years' long-term support version of
>> Ubuntu.
>>                         >>>>
>>                         >>>> it should be easy right?
>>                         >>>>
>>                         >>>> but immediately, the kicad-install.sh script
>> says
>>                         >>>> E: Unable to locate package python-wxgtk3.0
>>                         >>>> E: Couldn't find any package by regex
>> 'python-wxgtk3.0'
>>                         >>>>
>>                         >>>> i looked into it and i see that
>> python-wxgtk3.0 is only available for
>>                         >>>> bleeding-edge installs of Ubuntu 14.10 which
>> only just now came out.
>>                         >>>>
>>                         >>>> this is very frustrating and basically means
>> that anyone not running
>>                         >>>> literally the latest system software can't
>> install kicad.  Is this
>>                         >>>> really
>>                         >>>> necessary?  I have python-wxgtk2.8 available
>> to me, is that not
>>                         >>>> sufficient?
>>                         >>>>
>>                         >>>> I am not an expert with aptitude and sources,
>> and i have no idea how to
>>                         >>>> get
>>                         >>>> python-wxgtk3.0 onto my system, so i just
>> installed python-wxgtk2.8
>>                         >>>> and i took out that line from
>> kicad-install.sh and i'm trying again.
>>                         >>>>
>>                         >>>> but if possible, i think it would be ideal if
>> this requirement were
>>                         >>>> taken
>>                         >>>> out.  I can't in good conscience keep telling
>> people that they should
>>                         >>>> switch
>>                         >>>> to kicad if i can't even figure out how to
>> install it myself.
>>                         >>>>
>>                         >>>> apologies if i'm missing something basic, or
>> if my tone is frustrated.
>>                         >>>>
>>                         >>>> thank you,
>>                         >>>> -jake
>>                         >>>>
>>                         >>>>
>> _______________________________________________
>>                         >>>> 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
>>                         >>
>>                         >
>>
>>                         _______________________________________________
>>                         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