Re: [kicad] Linux build and install - but not as root (broken)

2023-01-23 Thread William Douglas
Andrew is correct. Many thanks. On Monday, January 23, 2023 at 10:44:45 AM UTC-8 anlut...@gmail.com wrote: > Hello, > > I don't think there is a bug. Some paths are calculated based on install > prefix and cached. If you change the install prefix you should clean cmake > cache before build. >

Re: [kicad] Linux build and install - but not as root (broken)

2023-01-23 Thread Andrew Lutsenko
Hello, I don't think there is a bug. Some paths are calculated based on install prefix and cached. If you change the install prefix you should clean cmake cache before build. See https://gitlab.com/kicad/code/kicad/-/blob/509b39e9e4523d053f7473bd8f755bc006e104ba/CMakeLists.txt#L556 Best, Andrew

Re: [kicad] Linux build and install - but not as root (broken)

2023-01-23 Thread Johannes Maibaum
Hi William, Am Montag, dem 23.01.2023 um 09:58 -0800 schrieb William Douglas: > That being said, it is a very minor issue which will not impact many > people.  And if there is a workaround then it is even less important.  > Perhaps if I have some free time. While the devlist is great for quic

Re: [kicad] Linux build and install - but not as root (broken)

2023-01-23 Thread William Douglas
Thanks, I will give it a try. I still believe the '-DCMAKE_INSTALL_PREFIX=' setting should behave as expected. When I executed the compiled kicad, the GUI opened but then failed because it was searching for images in the /usr/local/... directory. This is just wrong. That being said, it is a v

Re: [kicad] Linux build and install - but not as root (broken)

2023-01-23 Thread Steven A. Falco
Another thing that might help is the attached script. I use it to make test builds of KiCad, and it doesn't require any special privileges. Just do a git clone, then make a build subdirectory, and run the script like so: git clone https://gitlab.com/kicad/code/kicad.git cd kicad mkdir build-m

Re: [kicad] Linux build and install - but not as root (broken)

2023-01-23 Thread Steven A. Falco
On 1/22/23 07:42 PM, William Douglas wrote: Just tried compiling the latest version of KiCad direct from source.  For the "INSTALL_PREFIX" I specified a directory within my home directory.  This was to prevent the new build from impacting my system. After building I attempted to install as the

[kicad] Linux build and install - but not as root (broken)

2023-01-22 Thread William Douglas
Just tried compiling the latest version of KiCad direct from source. For the "INSTALL_PREFIX" I specified a directory within my home directory. This was to prevent the new build from impacting my system. After building I attempted to install as the current user. This should be fine but it tu