LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-28-2024, 11:56 AM   #1
K.H.Braun
LQ Newbie
 
Registered: Dec 2019
Distribution: Slackware
Posts: 15

Rep: Reputation: Disabled
KiCad-7.x.y AND KiCad-8.0 fail to run without error.


Hi Folks

I have been trying to build and install KiCad-7.0.9 and/or KiCad-8.0 from slackbuilds.org.

While I was working on KiCad-7.0.9, with a great deal of help from Luan,
all of the KiCad-7.0.9 stuff on slackbuilds disappeared.

SO

I fetched KiCad-8.0 and the entire dependency tree including nanosvg.

The attached file shows the entire build tree that I used.

Has anybody been able to actualy build, install, and run KiCad-8.0 without the following error message? If so,how did you do it?

Error message follows:
"Could not determine wxPython version. python plugins will not be available"
Attached Files
File Type: txt KiCad-8.0_Build-Notes.txt (2.6 KB, 7 views)
 
Old 04-28-2024, 04:13 PM   #2
slack-uke
Member
 
Registered: Nov 2013
Location: Toronto, Ontario, Canada
Distribution: Slackware 15.0 64-bit & Current 64-bit
Posts: 85

Rep: Reputation: 88
The links for KiCAD 6.0.11 & 7.0.11 for slackware64 15.0 are here:

http://www.infoukes.com/test-gwk/slackware64_15.0/kicad_6.0.11/

http://www.infoukes.com/test-gwk/slackware64_15.0/kicad_7.0.11/

It includes every dependency, slackbuilds, source code, and built binaries that were used to build at the particular time.

Last edited by slack-uke; 05-05-2024 at 09:15 AM. Reason: I had the correct link for 7.0.11 but not the correct label
 
Old 04-28-2024, 04:33 PM   #3
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,183

Rep: Reputation: 237Reputation: 237Reputation: 237
Attached is my latest slackbuild script for kicad. I've no time to update it since then for both personal reasons and difficulties communicating with the kicad people. They are basically the kind "I know it's wrong and I see the fix but I don't fix because Ubuntu works".

The fix related to this specific error reported by the OP is
Code:
SLKLDFLAGS=${SLKLDFLAGS:-}
# Crazy hack to workaround wxPython4 not finding itself according to
# <https://github.com/wxWidgets/Phoenix/blob/e13273c5d939d993abf2a2649e90b3ea0d39382c/packaging/README-bdist.txt#L38-L57>
for dir in `python3 -c "import site; print(' '.join([dir+'/wx' for dir in site.getsitepackages()]))"`; do
  test -d $dir || continue
  SLKLDFLAGS="${SLKLDFLAGS:+$SLKLDFLAGS }-Wl,-rpath,$dir"
done
Attached Files
File Type: txt kicad.SlackBuild.txt (4.8 KB, 13 views)
 
Old 04-28-2024, 09:33 PM   #4
arfon
Member
 
Registered: Apr 2004
Distribution: Slackware & RHEL
Posts: 376

Rep: Reputation: Disabled
I JUST went through this...

First off, the "Could not determine wxPython version. python plugins will not be available" error is a nothing error. You can ignore it.

As for how to get KiCAD 8 to build, I had to 'clean out' all of the wx stuff and reinstall from SBo. #1, if you're running AlienBob's wxGTK3 package, get rid of it. It interferes with the latest wxWidgets package.


After that, remove the wx stuff and reinstall from the lastest slackbuild.

Here's what's on my box that FINALLY let KiCAD 8 to build (ignoring the python-* packages)


Code:
python2-2.7.18-x86_64-8
python2-module-collection-2.7.18-x86_64-6
python2-pycairo-1.18.2-x86_64-1
python3-3.11.9-x86_64-1
python3-attrdict-2.0.1-x86_64-1_SBo
python3-build-0.10.0-x86_64-1_SBo
python3-flit_core-3.9.0-x86_64-1_SBo
python3-installer-0.7.0-x86_64-1_SBo
python3-pathlib2-2.3.6-x86_64-1_SBo
python3-pyproject-hooks-1.0.0-x86_64-1_SBo
python3-webencodings-0.5.1-x86_64-2_SBo
python3-wheel-0.40.0-x86_64-1_SBo
wxPython4-4.2.1-x86_64-2_SBo
wxWidgets-3.2.4-x86_64-1_SBo
Do a
Code:
ls /var/log/packages/ | egrep "wx|python"
...and compare to my list.
 
Old 04-29-2024, 03:46 PM   #5
Dunc.
Member
 
Registered: Jul 2012
Location: Cumbria UK
Distribution: Slackware
Posts: 62

Rep: Reputation: 30
Hi, I have installed kicad 8.0.1 on both aarch64 and x86_64 both on slackware current. I saw your post and Luan's comments and followed his lead. I built nanosvg using slackbuilds though. wxWidgets will pick it up. I changed the slackbuild to get wxPython to use system version of wxWidgets. There was also a problem with ffmpeg and something which I can look up but I can't remember right now. I found a patch for that too. All good. I even got kicad docs to build but only on x86_64.

It was a clean install of slackware with no other versions of wx stuff on it.
Kind regard

Dunc.
 
Old 04-29-2024, 04:25 PM   #6
david63025
Member
 
Registered: Apr 2009
Location: Missouri USA
Distribution: Slackware64-15.0
Posts: 34

Rep: Reputation: 24
Hi,
I was able to get kicad-8.0 to compile. I didn't install wxPython4 and changed one of the compile options in the Slackbuild to: -DKICAD_SCRIPTING_WXPYTHON=OFF. Mine is an Slackware64-15.0 system.
 
Old 04-29-2024, 07:37 PM   #7
K.H.Braun
LQ Newbie
 
Registered: Dec 2019
Distribution: Slackware
Posts: 15

Original Poster
Rep: Reputation: Disabled
Hi Slak-uke and quanx

Thank you both for your help!!!

I am a wanabe pedal steel musician and have designed using KiCad-4.0.7 and built a dual channel amplifier,
the design of which, I would like to release as an open hardware design.

I will be on the road for the next 2 or 3 weeks but when i get back I will try again to get KiCad runing.

I am first going to try to again to build KiCad-8.0 using the modification to the kicad-slackbuild.
If that does not work I will fall back to KiCad-7.o.11 using the stuff that Slak-uke provided.

You folks are amazing!

-- Ken --
 
Old 05-03-2024, 06:30 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,380

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
I'm on slackware-current and last built Kicad 2012/2013? FTR, I installed Devuan on a spare slice to have all these dependencies sorted out with others having the migraines . But Devuan only offers version 6.0.1 .

Have any of you guys with successful builds put the package(s) online anywhere?
 
Old 05-03-2024, 04:15 PM   #9
Dunc.
Member
 
Registered: Jul 2012
Location: Cumbria UK
Distribution: Slackware
Posts: 62

Rep: Reputation: 30
@business_kid I can do that for you, and anyone else. I have a GitHub account which is currently unused. It will be a few days hence as I am enjoying some family time right now. I will post back when it is ready.

Dunc.
 
Old 05-05-2024, 06:43 AM   #10
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,380

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
Quote:
Originally Posted by Dunc. View Post
@business_kid I can do that for you, and anyone else. I have a GitHub account which is currently unused. It will be a few days hence as I am enjoying some family time right now. I will post back when it is ready.

Dunc.
That would be great.

In 2013, I built a project using a HEMT & (then tiny) 74AUC logic because the Academic year didn't allow me time to go the FPGA route. I had to waste so much time looking good, there was no time to do the project! Kicad was the only thing I could configure the stuff on. There was no simulator back then, but it was the best pcb drafting package about.
 
Old 05-06-2024, 04:19 AM   #11
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,789

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
I have the opposite problem since these days I only work with tube/valve era circuitry. I'm still using Kicad 5.0.9 that I simply migrated over from 14.2. I doubt there is any advantage in newer versions of Kicad for my workflow and really I'd rather be able to setup a profile that would only load valve related items and leave out all the digital and PCB stuff. I prefer turret boards and point-to-point. Yes, I'm very old
 
Old 05-08-2024, 04:07 PM   #12
Dunc.
Member
 
Registered: Jul 2012
Location: Cumbria UK
Distribution: Slackware
Posts: 62

Rep: Reputation: 30
Phew finally managed to do the upload. Please feel free try it out here. The 3D models is missing because it is +800M and github has a file size limit of 100M. Turns out git is not the perfect fit for file uploads. It is not so great if you just want one file to download either. @enorbet I too have spent a lot of time working on thermionic devices. I haven't done any with them for a hobby in a long while.

Kind regards

Dunc.
 
Old 05-09-2024, 10:25 AM   #13
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,380

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
Quote:
Originally Posted by Dunc. View Post
Phew finally managed to do the upload. Please feel free try it out here. The 3D models is missing because it is +800M and github has a file size limit of 100M. Turns out git is not the perfect fit for file uploads. It is not so great if you just want one file to download either. @enorbet I too have spent a lot of time working on thermionic devices. I haven't done any with them for a hobby in a long while.

Kind regards

Dunc.
Thanks for taking the trouble. I found a way to clone the lot, because when I grabbed them individually, they all came the same size . I presume I can grab the 3D models from the Kicad site?

BTW, the last thing I want is thermionic valve profiles. I had them in tvs, the occasional audio thing. Then I took over someone's work in RF generators, used for plastic welding & wood glue curing. Lastly, I picked up a secondhand Heathkit Signal Generator going from a couple of khz to over 110Mhz in w sinewave with switchable AM. It dated back to the early 1950s. It got put up for sale. We should have auctioned it, because it was a collector's piece. It fetched the asking price within a few hours - a guy drove over to collect it! It was like I was selling a Ming Vase!
 
Old 05-09-2024, 04:26 PM   #14
Dunc.
Member
 
Registered: Jul 2012
Location: Cumbria UK
Distribution: Slackware
Posts: 62

Rep: Reputation: 30
The 3D models build just fine. I think it just a puts them in the share directory and sets permissions and packages it. It is a hefty download. The latest versions can be found here. I see 8.0.2 is out. I will look at the changelog but I will probably pass.

Dunc.
 
Old 05-10-2024, 04:18 AM   #15
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,380

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
Thanks for that. I ended up going round in circles last time I did this
  1. What do I want?
  2. What can I actually buy? Lead time?
  3. Ok, what can I actually use? & return to Q2, etc.

I did very well, except I discovered there were two 1202 sizes for capacitors. One was metric, one imperial. I made the PC for one, and bought the other . The capacitors were larger. I was able to solder a single strand of multicore wire, and bring it under the capacitor body and attach it there, or extend the pad with it. I forget which I did.

Next time, who knows?

Last edited by business_kid; 05-10-2024 at 04:20 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KiCad-7.0.2 error message after apparently successful build and install in Slackware64-15.0 K.H.Braun Slackware 27 04-15-2024 05:13 PM
[SOLVED] Kicad 4.0 on current compiling error brodo Slackware 3 01-02-2016 02:32 AM
[SOLVED] if [[ -n "$1" ]]; then FAIL FAIL FAIL rbees Programming 7 03-25-2015 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration