← Back to team overview

kicad-developers team mailing list archive

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

 

Hi Nick,

Currently kicad-install.sh script does not have "python-wxgtk3.0-dev" in
"prerequisite_list".
This packages is needed to be able to compile. Please find attached a
small to patch for that...

Regarding your question I don't know if kicad-install.sh should add the PPA.


Le 20/10/2014 16:56, Nick Østergaard a écrit :
> 2014-10-20 16:54 GMT+02:00 Jean-Samuel Reynaud <js.reynaud@xxxxxxxxx>:
>> Hi Adam,
>>
>> Of course I use your PPA you have created. Thank you a lot...
>>
>> About fighting it was just a joke to explain I'm currently doing some work
>> to have back the ppa with up to date kicad...
>>
>> Anyway, this dependency is missing in kicad-install.sh as I see on last
>> revision of this file.
> Do you mean that the kicad-install.sh script does not add the PPA if needed?
>
>> Regards
>> Le 20/10/2014 16:24, Adam Wolf a écrit :
>>
>> Hi Jean-Samuel,
>>
>> What do you mean "fighting to have the ppa come back".
>>
>> If you use the KiCad Trusty Backports PPA I created this weekend, it
>> contains python-wxgtk3.0-dev.
>>
>> Adam Wolf
>> Cofounder and Engineer
>> W&L, LLC
>>
>> On Mon, Oct 20, 2014 at 9:17 AM, Jean-Samuel Reynaud <js.reynaud@xxxxxxxxx>
>> wrote:
>>> Hi All,
>>>
>>> I'm currently fighting to have the ppa come back... As I see there is a
>>> dependence missing in the script kicad-install.sh:
>>> => python-wxgtk3.0-dev is needed too when I use ppa from Adam.
>>>
>>> Regards,
>>> Le 20/10/2014 14:35, Nick Østergaard a écrit :
>>>> Yeah, wxwidgets is available, but not wxpython.
>>>>
>>>> 2014-10-20 14:32 GMT+02:00 Benoît Roehr <benoit.roehr.ec@xxxxxxxxx>:
>>>>> Hi Adam,
>>>>>
>>>>> I'm now on a Ubuntu 14.04 daily. Just tell me what to test exactly and
>>>>> how... But there is chance I'll build Kicad today so dependencies may
>>>>> be
>>>>> installed on this machine today.
>>>>>
>>>>> Also: wx3.0 is available in the official repositories now (I use
>>>>> synaptic)
>>>>>
>>>>> 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
>>>>>>
>>>>> _______________________________________________
>>>>> 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
>>
>>
>>
>> _______________________________________________
>> 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
>>

=== modified file 'scripts/kicad-install.sh'
--- scripts/kicad-install.sh	2014-10-20 14:33:53 +0000
+++ scripts/kicad-install.sh	2014-10-20 15:00:13 +0000
@@ -104,6 +104,7 @@
             libssl-dev
             libwxgtk3.0-dev
             python-wxgtk3.0
+            python-wxgtk3.0-dev
        "
 
 	    for p in ${prerequisite_list}


Follow ups

References