LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-30-2011, 12:31 AM   #1
adanedhel728
Member
 
Registered: Sep 2007
Distribution: Ubuntu Lucid
Posts: 122

Rep: Reputation: 21
Freewins Compiz plugin-- "no makefile found"


I'm trying to install the Freewins Compiz plugin (because I often use my computer while I'm horizontal on the couch; and I realize that's lazy), and I'm trying to use the instructions from this page, which says

Quote:
What you have cloned is the source code for the plugin, which needs to be compiled. This can be done by entering the newly created directory and running make, then make install. Do not use sudo for these commands. They install the plugins to ~/.compiz/plugins and therefore do not require root privileges.
but when I do that, bash returns

Quote:
~/compiz/freewins$ make
make: *** No targets specified and no makefile found. Stop.
~/compiz/freewins$ make install
make: *** No rule to make target `install'. Stop.
I've googled this and found one guy that has the same problem but no solution, and other pages that talk about Freewins have the exact same instructions for installing.

Does anybody have any idea how to get this working correctly?

Thanks.
 
Old 03-30-2011, 10:37 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Quote:
Originally Posted by adanedhel728 View Post
I'm trying to install the Freewins Compiz plugin (because I often use my computer while I'm horizontal on the couch; and I realize that's lazy), and I'm trying to use the instructions from this page, which says



but when I do that, bash returns



I've googled this and found one guy that has the same problem but no solution, and other pages that talk about Freewins have the exact same instructions for installing.

Does anybody have any idea how to get this working correctly?

Thanks.
Is there a CMakeLists.txt file in the top-level directory?
Have you tried using CMake?

Last edited by andrewthomas; 03-30-2011 at 10:39 PM.
 
Old 03-30-2011, 11:14 PM   #3
adanedhel728
Member
 
Registered: Sep 2007
Distribution: Ubuntu Lucid
Posts: 122

Original Poster
Rep: Reputation: 21
Well, that's definitely gotten me somewhere. I had never heard of cmake before. So, I installed it and ran "cmake CMakeLists.txt" Then it returned this:

Quote:
~/compiz/freewins$ cmake CMakeLists.txt
-- The C compiler identification is GNU
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error at CMakeLists.txt:1 (find_package):
Could not find module FindCompiz.cmake or a configuration file for package
Compiz.

Adjust CMAKE_MODULE_PATH to find FindCompiz.cmake or set Compiz_DIR to the
directory containing a CMake configuration file for Compiz. The file will
have one of the following names:

CompizConfig.cmake
compiz-config.cmake



CMake Error at CMakeLists.txt:3 (include):
include could not find load file:

CompizPlugin


CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.8)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!

I'm guessing that's probably crystal clear to someone, but not to me.

Update: So, yes, there is a CMakeLists.txt file.

Last edited by adanedhel728; 03-30-2011 at 11:23 PM.
 
Old 03-31-2011, 08:32 AM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Try running

Code:
cmake .
In the top-level directory.
 
Old 03-31-2011, 11:40 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Better : mkdir -p build && cd build/ && 'cmake ..'


Quote:
CMake Error at CMakeLists.txt:3 (include):
include could not find load file:

CompizPlugin
I think you will need a complete new compiz development environment.
Installing compiz-dev and other compiz*****-dev packages :
The "mising CompizPlugin" error will still appear.

May be this http://wiki.compiz.org/Installation/Stable will supply the missing file(s) ?

.
 
  


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
How can I convert makefile argument "toupper" (and "tolower")? daat99 Programming 4 12-04-2010 10:49 AM
"The package 'compiz-kde' could not be found" Beanz239 Linux - Newbie 1 02-19-2009 02:25 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
Makefile issue: "Makefile.src: File not found" m3rkury Linux - Software 1 02-22-2007 10:15 PM
"no targets specified and no makefile found" liljhand Linux - Software 9 01-01-2005 12:54 PM

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

All times are GMT -5. The time now is 01:50 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