PDA

View Full Version : 'make' doesn't work



Bongo5HH
Sep 29th 2008, 12:00 AM
When I try to follow these instructions to install a plasmoid it fails.


# tar -xvf plasmoid.tar.gz
# cd plasmoid
# mkdir build
# cd build
# cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
# make
# sudo make install

I get the following error every time I try to use 'make' (doesn't matter what plasmoid I'm trying to install).


make: *** No targets specified and no makefile found. Stop.

Everything appears to work right up to the make part.

Help?

Kev

Bongo5HH
Sep 29th 2008, 12:06 AM
Here's an error that I'm getting when I try to cmake


CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:72 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/kevin/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps

I've tried to reinstall cmake and that hasn't helped.

Kev

BearTard
Sep 29th 2008, 01:59 AM
You're running "make" inside the "build" directory you created. If you check it in a file manager, you'll probably find there are no files inside it. That's why make is telling you there's no Makefile.

Try doing everything from cmake onward in the originally extracted path. I've gotten decent results doing it this way. I installed the "panel spacer" plasmoid today using this approach.

Rog131
Sep 29th 2008, 06:58 AM
Earlier > ERROR: cmake/modules/FindKDE4Internal.cmake not found (http://kubuntuforums.net/forums/index.php?topic=3096596.msg143186#msg143186) >> CMake Compile Errors (http://ubuntuforums.org/showthread.php?t=718183)

Bongo5HH
Sep 29th 2008, 01:55 PM
chasing down the missing packages has brought me to the point of a "break install." Not so interested in these plasmoids to keep going.

I'll check back after a few more updates of II maybe it will "just work" then. :)

Kev