LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-13-2005, 08:00 AM   #1
Borgschulze
LQ Newbie
 
Registered: Dec 2004
Distribution: Debian
Posts: 16

Rep: Reputation: 0
Unhappy Fluxbox "make" problem.


Ok so I have searched for hours and haven't found a solution yet...

I want to install Fluxbox on FC4 but it won't "make"...

Code:
[Borgschulze@localhost fluxbox-0.1.14]$ make
make: *** No targets specified and no makefile found.  Stop.
Now... there is Makefile.in and Makefile.am in the fluxbox-0.1.14 directory but it won't read them.

What am I doing wrong?

EDIT: make -d gives me a REALLY LONG loop of "Trying, Avoiding, Rejecting" it's wierd.

Last edited by Borgschulze; 07-13-2005 at 08:05 AM.
 
Old 07-13-2005, 08:28 AM   #2
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
the command "make" is searching for a file named "Makefile" and nothing else. Make sure you are in the correct directory and that you really have to use "make".
Where have you found this fluxbox source (and how was it named in the first time?)
Weren't you suppose to call "./configure" before? Often, a configure script have to be used to "create" the Makefile. Refer to the fluxbox configuration if you aren't sure.
 
Old 07-13-2005, 08:37 AM   #3
Borgschulze
LQ Newbie
 
Registered: Dec 2004
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Yes, I did ./configure, will that give me error messages? I'm pretty tired right now, I just want to have sexy Fluxbox themes

EDIT: Yes, ./configure gave me an error..

Code:
[root@localhost fluxbox-0.1.14]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/Borgschulze/fluxbox-0.1.14/missing: Unknown `--run' option
Try `/home/Borgschulze/fluxbox-0.1.14/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i586-pc-linux-gnu
checking host system type... i586-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... failed
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
missing script is in the folder.

Last edited by Borgschulze; 07-13-2005 at 09:19 AM.
 
Old 07-13-2005, 10:45 AM   #4
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
Quote:
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
Error there... the configure script failed, so it hasn't created the makefile.

Make sure you have gcc-c++ installed. Configure need this and it looks like it isn't installed on your box yet.
 
Old 07-13-2005, 04:22 PM   #5
Borgschulze
LQ Newbie
 
Registered: Dec 2004
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Half_Elf
Error there... the configure script failed, so it hasn't created the makefile.

Make sure you have gcc-c++ installed. Configure need this and it looks like it isn't installed on your box yet.
Thank you, I'm a big noob
Now I just have to find gcc-c++ heh.... hope I can manage.
 
Old 07-13-2005, 05:57 PM   #6
Borgschulze
LQ Newbie
 
Registered: Dec 2004
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Ok, ./configure went fine.

Now "make" actually got an error.

Code:
Timer.hh:43: warning: ‘class TimeoutHandler’ has virtual functions but non-virtual destructor
BaseDisplay.cc: In function ‘void bexec(const char*, char*)’:
BaseDisplay.cc:126: warning: missing sentinel in function call
source='Basemenu.cc' object='Basemenu.o' libtool=no \
depfile='.deps/Basemenu.Po' tmpdepfile='.deps/Basemenu.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I..  -Wall -DLOCALEPATH=\"/usr/local/share/fluxbox/nls\" -DDEFAULTMENU=\"/usr/local/share/fluxbox/menu\" -DDEFAULTSTYLE=\"/usr/local/share/fluxbox/styles/Clean\" -DDEFAULTKEYSFILE=\"/usr/local/share/fluxbox/keys\" -DDEFAULT_INITFILE=\"/usr/local/share/fluxbox/init\" -IFbTk   -g -O2  -I/usr/X11R6/include -DSHAPE  -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/X11R6/include  -c -o Basemenu.o `test -f Basemenu.cc || echo './'`Basemenu.cc
Resource.hh: In constructor ‘Resource<T>::Resource(ResourceManager&, T, const std::string&, const std::string&)’:
Resource.hh:74: error: invalid use of undefined type ‘struct ResourceManager’
Resource.hh:59: error: forward declaration of ‘struct ResourceManager’
Resource.hh: In destructor ‘virtual Resource<T>::~Resource()’:
Resource.hh:77: error: invalid use of undefined type ‘struct ResourceManager’
Resource.hh:59: error: forward declaration of ‘struct ResourceManager’
Timer.hh: At global scope:
Timer.hh:43: warning: ‘class TimeoutHandler’ has virtual functions but non-virtual destructor
Toolbar.hh:173: warning: ‘class Toolbar::HideHandler’ has virtual functions but non-virtual destructor
FbTk/SignalHandler.hh:32: warning: ‘class FbTk::SignalEventHandler’ has virtual functions but non-virtual destructor
make[3]: *** [Basemenu.o] Error 1
make[3]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14'
make: *** [all] Error 2
 
Old 07-13-2005, 08:27 PM   #7
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
herm you are not lucky.
Can you give me a bit more info (more lines about this error)? Also, read carefully Fluxbox documentation and make sure you have EVERYTHING it need to compile properly. Configure should take a look at it, but obliviously it failed to do so... it happens sometime, dont worry, you will get used to bug finding
 
Old 07-13-2005, 08:48 PM   #8
Borgschulze
LQ Newbie
 
Registered: Dec 2004
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Can't find anything on what it needs to compile properly...
Here is the entire make command.

Code:
[Borgschulze@localhost fluxbox-0.1.14]$ make
make  all-recursive
make[1]: Entering directory `/home/Borgschulze/fluxbox-0.1.14'
Making all in data
make[2]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/data'
Making all in styles
make[3]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/data/styles'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/data/styles'
make[3]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/data'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/data'
make[2]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/data'
Making all in doc
make[2]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/doc'
Making all in nls
make[2]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/nls'
Making all in C
make[3]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/nls/C'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/nls/C'
Making all in da_DK
make[3]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/nls/da_DK'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/nls/da_DK'
Making all in es_ES
make[3]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/nls/es_ES'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/nls/es_ES'
Making all in et_EE
make[3]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/nls/et_EE'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/nls/et_EE'
Making all in fr_FR
make[3]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/nls/fr_FR'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/nls/fr_FR'
Making all in pt_BR
make[3]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/nls/pt_BR'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/nls/pt_BR'
Making all in ru_RU
make[3]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/nls/ru_RU'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/nls/ru_RU'
Making all in sv_SE
make[3]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/nls/sv_SE'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/nls/sv_SE'
Making all in tr_TR
make[3]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/nls/tr_TR'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/nls/tr_TR'
Making all in it_IT
make[3]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/nls/it_IT'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/nls/it_IT'
Making all in pt_PT
make[3]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/nls/pt_PT'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/nls/pt_PT'
Making all in bg_BG
make[3]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/nls/bg_BG'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/nls/bg_BG'
Making all in ja_JP
make[3]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/nls/ja_JP'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/nls/ja_JP'
Making all in lv_LV
make[3]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/nls/lv_LV'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/nls/lv_LV'
make[3]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/nls'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/nls'
make[2]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/nls'
Making all in src
make[2]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/src'
Making all in FbTk
make[3]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/src/FbTk'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/src/FbTk'
make[3]: Entering directory `/home/Borgschulze/fluxbox-0.1.14/src'
source='Basemenu.cc' object='Basemenu.o' libtool=no \
depfile='.deps/Basemenu.Po' tmpdepfile='.deps/Basemenu.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I..  -Wall -DLOCALEPATH=\"/usr/local/share/fluxbox/nls\" -DDEFAULTMENU=\"/usr/local/share/fluxbox/menu\" -DDEFAULTSTYLE=\"/usr/local/share/fluxbox/styles/Clean\" -DDEFAULTKEYSFILE=\"/usr/local/share/fluxbox/keys\" -DDEFAULT_INITFILE=\"/usr/local/share/fluxbox/init\" -IFbTk   -g -O2  -I/usr/X11R6/include -DSHAPE  -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/X11R6/include  -c -o Basemenu.o `test -f Basemenu.cc || echo './'`Basemenu.cc
Resource.hh: In constructor ‘Resource<T>::Resource(ResourceManager&, T, const std::string&, const std::string&)’:
Resource.hh:74: error: invalid use of undefined type ‘struct ResourceManager’
Resource.hh:59: error: forward declaration of ‘struct ResourceManager’
Resource.hh: In destructor ‘virtual Resource<T>::~Resource()’:
Resource.hh:77: error: invalid use of undefined type ‘struct ResourceManager’
Resource.hh:59: error: forward declaration of ‘struct ResourceManager’
Timer.hh: At global scope:
Timer.hh:43: warning: ‘class TimeoutHandler’ has virtual functions but non-virtual destructor
Toolbar.hh:173: warning: ‘class Toolbar::HideHandler’ has virtual functions but non-virtual destructor
FbTk/SignalHandler.hh:32: warning: ‘class FbTk::SignalEventHandler’ has virtual functions but non-virtual destructor
Basemenu.cc:1088: fatal error: opening dependency file .deps/Basemenu.TPo: Permission denied
compilation terminated.
make[3]: *** [Basemenu.o] Error 1
make[3]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Borgschulze/fluxbox-0.1.14'
make: *** [all] Error 2
 
Old 07-14-2005, 09:29 PM   #9
Borgschulze
LQ Newbie
 
Registered: Dec 2004
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Nobody?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
So many errors when I typed the "make" and "make install" command Niceman2005 Linux - Software 23 07-22-2009 02:33 PM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 04:51 AM
Fluxbox-0.1.14 "make" error 2 Borgschulze Linux - Software 4 07-25-2005 04:37 AM
Problem with "make" for rt8180" driver tdopko Linux - Wireless Networking 5 09-20-2004 01:17 AM
Error why "make" in Fluxbox 0.1.8, plz help Rampage2884 Linux - General 1 05-21-2002 05:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:43 AM.

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