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? |
Check out the tar tutorial on http://linuxhelp.homeunix.com.
|
Thanks. Now to try and compile FluxBox to run on my install of Mandrake 9.2.
|
What error messages are you getting when you try to compile Fluxbox?
|
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.
|
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... |
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?
|
Often
Code:
make distclean |
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 |
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 |
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/ To update: Code:
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. |
ok.... i'll try that. *crosses fingers* :D
|
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..... :mad: Fluxbox that is........... time to read a novel and forget about computers for a good long time..... :study: |
also, just post the part where the error messages start... kinda helps if you dont flood :D
|
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.
|
rootyard: you've forgotten what it is to be a complete beginner and not know what is important and what is not important.
i haven't got it to work, as far as i know. i plan to take a step back and try and understand more about the linux environment. i am going to update the other parts that i can from the www.gnu.org site. like autoconf, make, binutils and such. i am wondering if Mandrake has stuff configured in a funny way that is alittle out of the norm and maybe that is what is going wrong. i also tried the latest development build. My next step is to study X86Free environment and see if that needs some updating or change in its configuration. on my system the .desktop file seems to be the one that determins which desktop startx uses. i don't have the .xinitrc in my home. i am going to see if that is one of the base reasons the think won't compile. i just don't understand why the errors are in the following functions: fluxbox.cc: In member function `void Fluxbox::save_rc()': fluxbox.cc:1976: error: `B_EuropeanDate' undeclared fluxbox.cc: In member function `void Fluxbox::load_rc(BScreen*)': fluxbox.cc:2324: error: `B_AmericanDate' undeclared 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 i updated my autoconf to the latest version and i plan to update my make utility as well and the binary utilities. then i'll try to delete all the directories that fluxbox config and make made and start again, one i look at XF86Free. i even tried the 1.12 version that someone else got working. so that is why i wonder if maybe some files are missing or the system is configured funny, at least for Fluxbox install. |
Did you even read my post? I said to compile from CVS for a reason. B_EuropeanDate and B_AmericanDate can't be used, because no libs have been included that declare those variables. It's a KNOWN problem with that version of the source. If you don't believe me, ask on #fluxbox (which I also recommended).
|
atnan,
Yes. I did. I got some sort of error when I did that. I do appreciate the help. I've just reached a frustration point is all. I need to step back. When I did the commands, (I copied and pasted them) my computer was looking for a .cvspass file in my home directory which wasn't there and honestly i'd have to read a bunch of stuff to figure out what that file does and how to get it created. i really appreciate your response and i tried it 3-5 times and in different ways and couldn't get it to work. i guess i am almost hopeless. once again, sorry if i offended, but i tried with my meager skills to accomplish your instructions, but i failed. also, i had to update to autoconf 2.59 because at first it stopped because it needed 2.52 at a minimum. and yes, i do believe you. |
All times are GMT -5. The time now is 07:42 AM. |