Registered Member
|
When trying to install 2.9 on Ubuntu 17.10 as a regular user I get the following error(s)
I used cmake as follows
No errors were reported during cmake or make My environment variables are as follows
|
Registered Member
|
You have to run make install with sudo as it needs to be able to write to system directories.
claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
|
KDE Developer
|
You won't need sudo if you want to install it in your $HOME, but you need to use the right prefix:
-DCMAKE_INSTALL_PREFIX=$KDEDIR
--
Mark Kretschmann - Amarok Developer |
Registered Member
|
Awesome,
Thanks |
Registered Member
|
Almost there.
|
Manager
|
ah, to write in a /usr/lib/ folder you do need sudo rights, and that is what is requested in the line highlighted by the error.
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
So there is no switch/flag to use $HOME/kdedev/lib as the lib folder?
|
Manager
|
not a switch or flag, but define your environment variables pointing to use $HOME and reload
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
My env variables are set as per my post above
|
Manager
|
You have some strange parameters in your Cmake line, try removing this part:
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
KDE Developer
|
Setting LIB_INSTALL_DIR should do the trick, although that should already be set to something suitable relative to CMAKE_INSTALL_PREFIX.
|
Registered Member
|
Running cmake as follows now
and getting a different error for 'make install'
|
Manager
|
could it be you are in the wrong subdirectory when building?
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
Possible, but I don't think so.
|
KDE Developer
|
I've just tested this here, still works for me.
What does "echo $KDEDIR" return? What does "grep -F CMakeCache.txt" executed from the build dir return? |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]