LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-10-2004, 09:20 AM   #1
SoliTear
Member
 
Registered: Jan 2004
Location: Ohio
Distribution: Debian Wheezy with updated kernel
Posts: 41

Rep: Reputation: 15
Question Simple Tutorial for compiling source code?


I am now a converted Linux user. I am starting to be familiar with operating Linux and I am doing some programming with SDL. I want to start compiling source code to update my Mandrake 9.2. I want to do this in order to facilitate moving to debian in the next few months. I want to lean what is involved and how to compile source code for my computer namely gcc, kernel, fluxbox etc.
I realize I'll need to learn make, but I need to know so much....

Where do I start?
 
Old 03-10-2004, 09:54 AM   #2
rootyard
Member
 
Registered: Aug 2003
Posts: 167

Rep: Reputation: 30
Check out the tar tutorial on http://linuxhelp.homeunix.com.
 
Old 03-11-2004, 07:06 AM   #3
SoliTear
Member
 
Registered: Jan 2004
Location: Ohio
Distribution: Debian Wheezy with updated kernel
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks. Now to try and compile FluxBox to run on my install of Mandrake 9.2.
 
Old 03-11-2004, 06:38 PM   #4
rootyard
Member
 
Registered: Aug 2003
Posts: 167

Rep: Reputation: 30
What error messages are you getting when you try to compile Fluxbox?
 
Old 03-12-2004, 07:08 AM   #5
SoliTear
Member
 
Registered: Jan 2004
Location: Ohio
Distribution: Debian Wheezy with updated kernel
Posts: 41

Original Poster
Rep: Reputation: 15
well, i'd have to save the output to a file. i get the configure to work, but it appears that the make doesn't. let me check and i'll get back to you. i'll post the very long output.
 
Old 03-12-2004, 02:31 PM   #6
dslboy
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Slackware -current
Posts: 157

Rep: Reputation: 30
Try to see if there is a makefile in your dir, if not, you have to try ./configure again,
cuz that will generate thoose files you need, to run make...
 
Old 03-12-2004, 02:48 PM   #7
SoliTear
Member
 
Registered: Jan 2004
Location: Ohio
Distribution: Debian Wheezy with updated kernel
Posts: 41

Original Poster
Rep: Reputation: 15
that's what i figure i'd do. i know there is a make clean and will sort of clean things up, but is there an equivalent with ./configure? also, *warning* stupid question coming, is there a way that configure would have an error, but still say system configured correctly?
 
Old 03-12-2004, 03:45 PM   #8
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
Often
Code:
make distclean
will do what you want with ./configure. I suppose it's possible for ./configure to finish properly yet have make fail if the configure script didn't check for everything possible, but then you'd expect the program author to have been informed about that by other people having problems.
 
Old 03-13-2004, 08:32 PM   #9
SoliTear
Member
 
Registered: Jan 2004
Location: Ohio
Distribution: Debian Wheezy with updated kernel
Posts: 41

Original Poster
Rep: Reputation: 15
ok. the configure seems to work. here is the long.... output from configure.


[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/solitear/fluxbox-0.1.14/missing: Unknown `--run' option
Try `/home/solitear/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++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-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... ok
checking how to run the C++ preprocessor... g++ -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for sed... sed
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for basename... yes
checking for getpid... yes
checking for setlocale... yes
checking for sigaction... yes
checking for strftime... no
checking for strcasestr... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for catopen... yes
checking for catgets... yes
checking for catclose... yes
checking for t_open in -lnsl... no
checking for socket in -lsocket... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDisplay in -lX11... yes
checking whether to build support for the XShape extension... yes
checking for XShapeCombineShape in -lXext... yes
checking for X11/extensions/shape.h... yes
checking whether to include the Slit... yes
checking whether to include the new WM Spec... yes
checking whether to include Pseudocolor ordered dithering code... no
checking whether to include verbose debugging code... no
checking whether to include NLS support... yes
checking for setlocale in -lxpg4... no
checking for gencat... gencat
checking whether to use the new timed pixmap cache... yes
checking whether to have KDE slit support... no
checking whether to have GNOME support... yes
checking whether to have Xft support... yes
checking for xft-config... /usr/X11R6/bin/xft-config
checking Xft UTF-8 support... yes
checking whether to have Xmb (multibyte font, utf-8) support... yes
checking whether to build support for the Xinerama extension... no
checking return type of signal handlers... void

fluxbox version 0.1.14 configured successfully.

Using '/usr/local' for installation.
Using 'g++' for C++ compiler.
Building with '-g -O2 -I/usr/X11R6/include -DSHAPE -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include ' for C++ compiler flags.
Building with ' -L/usr/X11R6/lib -lX11 -lXext -L/usr/X11R6/lib -lXft -lX11 -L/usr/lib -lfreetype -lfontconfig -L/usr/X11R6/lib -lXrender ' for linker flags.

configure: creating ./config.status
config.status: creating Makefile
config.status: creating version.h
config.status: creating src/Makefile
config.status: creating src/FbTk/Makefile
config.status: creating util/Makefile
config.status: creating util/fbrun/Makefile
config.status: creating data/Makefile
config.status: creating data/styles/Makefile
config.status: creating doc/Makefile
config.status: creating nls/Makefile
config.status: creating nls/C/Makefile
config.status: creating nls/da_DK/Makefile
config.status: creating nls/es_ES/Makefile
config.status: creating nls/et_EE/Makefile
config.status: creating nls/fr_FR/Makefile
config.status: creating nls/pt_BR/Makefile
config.status: creating nls/ru_RU/Makefile
config.status: creating nls/sv_SE/Makefile
config.status: creating nls/tr_TR/Makefile
config.status: creating nls/pt_PT/Makefile
config.status: creating nls/bg_BG/Makefile
config.status: creating nls/ja_JP/Makefile
config.status: creating nls/lv_LV/Makefile
config.status: creating nls/it_IT/Makefile
config.status: creating config.h
config.status: executing default-1 commands
 
Old 03-13-2004, 08:35 PM   #10
SoliTear
Member
 
Registered: Jan 2004
Location: Ohio
Distribution: Debian Wheezy with updated kernel
Posts: 41

Original Poster
Rep: Reputation: 15
here is the make output......

the last few lines have the erros..... i posted it all just so you could see.


[root@localhost fluxbox-0.1.14]# make
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
make all-recursive
make[1]: Entering directory `/home/solitear/fluxbox-0.1.14'
Making all in data
make[2]: Entering directory `/home/solitear/fluxbox-0.1.14/data'
Making all in styles
make[3]: Entering directory `/home/solitear/fluxbox-0.1.14/data/styles'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/solitear/fluxbox-0.1.14/data/styles'
make[3]: Entering directory `/home/solitear/fluxbox-0.1.14/data'
../util/fluxbox-generate_menu -o menu -p /usr/local/share -m "Fluxbox-0.1.14"
sed -e "s,@pkgdatadir@,/usr/local/share/fluxbox,g" init.in > init
make[3]: Leaving directory `/home/solitear/fluxbox-0.1.14/data'
make[2]: Leaving directory `/home/solitear/fluxbox-0.1.14/data'
Making all in doc
make[2]: Entering directory `/home/solitear/fluxbox-0.1.14/doc'
sed -e "s,@pkgdatadir@,/usr/local/share/fluxbox," fluxbox.1.in > fluxbox.1
make[2]: Leaving directory `/home/solitear/fluxbox-0.1.14/doc'
Making all in nls
make[2]: Entering directory `/home/solitear/fluxbox-0.1.14/nls'
Making all in C
make[3]: Entering directory `/home/solitear/fluxbox-0.1.14/nls/C'
make[3]: Leaving directory `/home/solitear/fluxbox-0.1.14/nls/C'
Making all in da_DK
make[3]: Entering directory `/home/solitear/fluxbox-0.1.14/nls/da_DK'
make[3]: Leaving directory `/home/solitear/fluxbox-0.1.14/nls/da_DK'
Making all in es_ES
make[3]: Entering directory `/home/solitear/fluxbox-0.1.14/nls/es_ES'
make[3]: Leaving directory `/home/solitear/fluxbox-0.1.14/nls/es_ES'
Making all in et_EE
make[3]: Entering directory `/home/solitear/fluxbox-0.1.14/nls/et_EE'
make[3]: Leaving directory `/home/solitear/fluxbox-0.1.14/nls/et_EE'
Making all in fr_FR
make[3]: Entering directory `/home/solitear/fluxbox-0.1.14/nls/fr_FR'
make[3]: Leaving directory `/home/solitear/fluxbox-0.1.14/nls/fr_FR'
Making all in pt_BR
make[3]: Entering directory `/home/solitear/fluxbox-0.1.14/nls/pt_BR'
make[3]: Leaving directory `/home/solitear/fluxbox-0.1.14/nls/pt_BR'
Making all in ru_RU
make[3]: Entering directory `/home/solitear/fluxbox-0.1.14/nls/ru_RU'
make[3]: Leaving directory `/home/solitear/fluxbox-0.1.14/nls/ru_RU'
Making all in sv_SE
make[3]: Entering directory `/home/solitear/fluxbox-0.1.14/nls/sv_SE'
make[3]: Leaving directory `/home/solitear/fluxbox-0.1.14/nls/sv_SE'
Making all in tr_TR
make[3]: Entering directory `/home/solitear/fluxbox-0.1.14/nls/tr_TR'
make[3]: Leaving directory `/home/solitear/fluxbox-0.1.14/nls/tr_TR'
Making all in it_IT
make[3]: Entering directory `/home/solitear/fluxbox-0.1.14/nls/it_IT'
make[3]: Leaving directory `/home/solitear/fluxbox-0.1.14/nls/it_IT'
Making all in pt_PT
make[3]: Entering directory `/home/solitear/fluxbox-0.1.14/nls/pt_PT'
make[3]: Leaving directory `/home/solitear/fluxbox-0.1.14/nls/pt_PT'
Making all in bg_BG
make[3]: Entering directory `/home/solitear/fluxbox-0.1.14/nls/bg_BG'
make[3]: Leaving directory `/home/solitear/fluxbox-0.1.14/nls/bg_BG'
Making all in ja_JP
make[3]: Entering directory `/home/solitear/fluxbox-0.1.14/nls/ja_JP'
make[3]: Leaving directory `/home/solitear/fluxbox-0.1.14/nls/ja_JP'
Making all in lv_LV
make[3]: Entering directory `/home/solitear/fluxbox-0.1.14/nls/lv_LV'
make[3]: Leaving directory `/home/solitear/fluxbox-0.1.14/nls/lv_LV'
make[3]: Entering directory `/home/solitear/fluxbox-0.1.14/nls'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/solitear/fluxbox-0.1.14/nls'
make[2]: Leaving directory `/home/solitear/fluxbox-0.1.14/nls'
Making all in src
make[2]: Entering directory `/home/solitear/fluxbox-0.1.14/src'
Making all in FbTk
make[3]: Entering directory `/home/solitear/fluxbox-0.1.14/src/FbTk'
source='App.cc' object='App.o' libtool=no \
depfile='.deps/App.Po' tmpdepfile='.deps/App.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2 -I/usr/X11R6/include -DSHAPE -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -c -o App.o `test -f App.cc || echo './'`App.cc
source='Color.cc' object='Color.o' libtool=no \
depfile='.deps/Color.Po' tmpdepfile='.deps/Color.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2 -I/usr/X11R6/include -DSHAPE -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -c -o Color.o `test -f Color.cc || echo './'`Color.cc
source='EventManager.cc' object='EventManager.o' libtool=no \
depfile='.deps/EventManager.Po' tmpdepfile='.deps/EventManager.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2 -I/usr/X11R6/include -DSHAPE -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -c -o EventManager.o `test -f EventManager.cc || echo './'`EventManager.cc
source='Font.cc' object='Font.o' libtool=no \
depfile='.deps/Font.Po' tmpdepfile='.deps/Font.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2 -I/usr/X11R6/include -DSHAPE -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -c -o Font.o `test -f Font.cc || echo './'`Font.cc
source='SignalHandler.cc' object='SignalHandler.o' libtool=no \
depfile='.deps/SignalHandler.Po' tmpdepfile='.deps/SignalHandler.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2 -I/usr/X11R6/include -DSHAPE -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -c -o SignalHandler.o `test -f SignalHandler.cc || echo './'`SignalHandler.cc
source='Texture.cc' object='Texture.o' libtool=no \
depfile='.deps/Texture.Po' tmpdepfile='.deps/Texture.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2 -I/usr/X11R6/include -DSHAPE -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -c -o Texture.o `test -f Texture.cc || echo './'`Texture.cc
source='XFontImp.cc' object='XFontImp.o' libtool=no \
depfile='.deps/XFontImp.Po' tmpdepfile='.deps/XFontImp.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2 -I/usr/X11R6/include -DSHAPE -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -c -o XFontImp.o `test -f XFontImp.cc || echo './'`XFontImp.cc
source='XftFontImp.cc' object='XftFontImp.o' libtool=no \
depfile='.deps/XftFontImp.Po' tmpdepfile='.deps/XftFontImp.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2 -I/usr/X11R6/include -DSHAPE -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -c -o XftFontImp.o `test -f XftFontImp.cc || echo './'`XftFontImp.cc
source='XmbFontImp.cc' object='XmbFontImp.o' libtool=no \
depfile='.deps/XmbFontImp.Po' tmpdepfile='.deps/XmbFontImp.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2 -I/usr/X11R6/include -DSHAPE -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -c -o XmbFontImp.o `test -f XmbFontImp.cc || echo './'`XmbFontImp.cc
rm -f libFbTk.a
ar cru libFbTk.a App.o Color.o EventManager.o Font.o SignalHandler.o Texture.o XFontImp.o XftFontImp.o XmbFontImp.o
ranlib libFbTk.a
make[3]: Leaving directory `/home/solitear/fluxbox-0.1.14/src/FbTk'
make[3]: Entering directory `/home/solitear/fluxbox-0.1.14/src'
source='BaseDisplay.cc' object='BaseDisplay.o' libtool=no \
depfile='.deps/BaseDisplay.Po' tmpdepfile='.deps/BaseDisplay.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/X11R6/include -c -o BaseDisplay.o `test -f BaseDisplay.cc || echo './'`BaseDisplay.cc
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/X11R6/include -c -o Basemenu.o `test -f Basemenu.cc || echo './'`Basemenu.cc
source='Clientmenu.cc' object='Clientmenu.o' libtool=no \
depfile='.deps/Clientmenu.Po' tmpdepfile='.deps/Clientmenu.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/X11R6/include -c -o Clientmenu.o `test -f Clientmenu.cc || echo './'`Clientmenu.cc
source='Configmenu.cc' object='Configmenu.o' libtool=no \
depfile='.deps/Configmenu.Po' tmpdepfile='.deps/Configmenu.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/X11R6/include -c -o Configmenu.o `test -f Configmenu.cc || echo './'`Configmenu.cc
source='DirHelper.cc' object='DirHelper.o' libtool=no \
depfile='.deps/DirHelper.Po' tmpdepfile='.deps/DirHelper.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/X11R6/include -c -o DirHelper.o `test -f DirHelper.cc || echo './'`DirHelper.cc
source='DrawUtil.cc' object='DrawUtil.o' libtool=no \
depfile='.deps/DrawUtil.Po' tmpdepfile='.deps/DrawUtil.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/X11R6/include -c -o DrawUtil.o `test -f DrawUtil.cc || echo './'`DrawUtil.cc
source='Ewmh.cc' object='Ewmh.o' libtool=no \
depfile='.deps/Ewmh.Po' tmpdepfile='.deps/Ewmh.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/X11R6/include -c -o Ewmh.o `test -f Ewmh.cc || echo './'`Ewmh.cc
source='FbAtoms.cc' object='FbAtoms.o' libtool=no \
depfile='.deps/FbAtoms.Po' tmpdepfile='.deps/FbAtoms.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/X11R6/include -c -o FbAtoms.o `test -f FbAtoms.cc || echo './'`FbAtoms.cc
source='fluxbox.cc' object='fluxbox.o' libtool=no \
depfile='.deps/fluxbox.Po' tmpdepfile='.deps/fluxbox.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/X11R6/include -c -o fluxbox.o `test -f fluxbox.cc || echo './'`fluxbox.cc
fluxbox.cc: In member function `void Fluxbox::save_rc()':
fluxbox.cc:1976: error: `B_EuropeanDate' undeclared (first use this function)
fluxbox.cc:1976: error: (Each undeclared identifier is reported only once for each function it appears in.)
fluxbox.cc: In member function `void Fluxbox::load_rc(BScreen*)':
fluxbox.cc:2324: error: `B_AmericanDate' undeclared (first use this function)
make[3]: *** [fluxbox.o] Error 1
make[3]: Leaving directory `/home/solitear/fluxbox-0.1.14/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/solitear/fluxbox-0.1.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/solitear/fluxbox-0.1.14'
make: *** [all] Error 2
 
Old 03-13-2004, 10:53 PM   #11
atnan
LQ Newbie
 
Registered: Jan 2004
Location: sydney.au
Distribution: Gentoo
Posts: 23

Rep: Reputation: 15
I hate to say it but you are going to have to install from CVS. That's a known issue in the latest "stable" source, but CVS works fine.

Here's what you need to do...

To install:
Code:
cd /usr/src/
cvs -qz3 -d:pserver:anonymous@cvs.fluxbox.sourceforge.net:/cvsroot/fluxbox co fluxbox && cd fluxbox && ./autogen.sh   
./configure
make
make install
That will change you into /usr/src, download the source code from the Fluxbox CVS, change into the /usr/src/fluxbox directory and run the autogen.sh script. Then you just do your normal ./configure, make and make install stuff as you would with the source you downloaded before.

To update:
Code:
 
cd /usr/src/
cd fluxbox && cvs -qz3 update -PAd
This just updates all the changed files from CVS, and puts them in the /usr/src/fluxbox directory, after which you just do another configure / make / make install again.

Hope that helps. If you have any more issues, perhaps you should check out #fluxbox on Freenode.net...there are plently of people to help you there with specific fluxbox compile questions.
 
Old 03-14-2004, 12:56 PM   #12
SoliTear
Member
 
Registered: Jan 2004
Location: Ohio
Distribution: Debian Wheezy with updated kernel
Posts: 41

Original Poster
Rep: Reputation: 15
ok.... i'll try that. *crosses fingers*
 
Old 03-14-2004, 01:27 PM   #13
SoliTear
Member
 
Registered: Jan 2004
Location: Ohio
Distribution: Debian Wheezy with updated kernel
Posts: 41

Original Poster
Rep: Reputation: 15
ok. i've upgraded autoconf. then i realize i need to login and signup and learn about CVS. right now i am extremely frustrated. now i see why linux will only be a geek plaything. yea, i know that MDK 10.0 has an rpm for Fluxbox, but the trouble is that i wanted to learn how to compile. i didn't realize i'd have to upgrade or install 3-4 packages and learn a development tool as ..................

forget it. it just ain't worth it..... Fluxbox that is...........

time to read a novel and forget about computers for a good long time.....
 
Old 03-14-2004, 10:00 PM   #14
rootyard
Member
 
Registered: Aug 2003
Posts: 167

Rep: Reputation: 30
also, just post the part where the error messages start... kinda helps if you dont flood
 
Old 03-15-2004, 06:02 AM   #15
atnan
LQ Newbie
 
Registered: Jan 2004
Location: sydney.au
Distribution: Gentoo
Posts: 23

Rep: Reputation: 15
You should be able to type EXACTLY what I have in my first code quote, and that will work. Let us know if you have any issues. I started (and still have) the same problems as you...it's ok to struggle. You will learn.
 
  


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
Source Code for a simple ftp server and client koodoo Programming 17 07-05-2013 11:48 AM
RPM vs compiling from Source Code ceci2 Linux - Enterprise 4 03-15-2005 03:58 PM
Compiling Kernel and other source code davegermiquet Conectiva 2 01-26-2005 06:01 PM
error in compiling simple code Tinku Programming 6 09-17-2004 01:38 AM
G++ - why am i getting errors compiling this simple code leroy27336 Programming 4 11-18-2003 08:32 PM


All times are GMT -5. The time now is 04:03 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration