LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Fluxbox "make" problem. (https://www.linuxquestions.org/questions/linux-software-2/fluxbox-make-problem-342769/)

Borgschulze 07-13-2005 08:00 AM

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.

Half_Elf 07-13-2005 08:28 AM

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.

Borgschulze 07-13-2005 08:37 AM

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.

Half_Elf 07-13-2005 10:45 AM

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.

Borgschulze 07-13-2005 04:22 PM

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.

Borgschulze 07-13-2005 05:57 PM

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


Half_Elf 07-13-2005 08:27 PM

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 :)

Borgschulze 07-13-2005 08:48 PM

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


Borgschulze 07-14-2005 09:29 PM

Nobody?


All times are GMT -5. The time now is 06:28 PM.