/ Forside / Teknologi / Operativsystemer / Linux / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Linux
#NavnPoint
o.v.n. 11177
peque 7911
dk 4814
e.c 2359
Uranus 1334
emesen 1334
stone47 1307
linuxrules 1214
Octon 1100
10  BjarneD 875
fluxbox/installation/knas
Fra : claus christian lars~


Dato : 19-05-02 20:35

Jeg forsøger at installere fluxbox. Jeg har downloaded at tar-pakke.



The simplest way to compile this package is:

1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.

Running `configure' takes awhile. While running, it prints some
messages telling which features it is checking for.

2. Type `make' to compile the package.

3. Type `make install' to install the programs and any data files and
documentation.

4. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'.


Compilers and Options:
----------------------
Some systems require unusual options for compilation or linking that
the `configure' script does not know about. You can give `configure'
initial values for variables by setting them in the environment. Using
a Bourne-compatible shell, you can do that on the command line like
this:
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure

Or on systems that have the `env' program, you can do it like this:
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure

Når jeg kører mit bash ser det således ud:

clalar@linux> cd /tmp/fluxbox/fluxbox-0.1.8
clalar@linux:/tmp/fluxbox/fluxbox-0.1.8> ./configure
../configure: config.log: Adgang nægtet
clalar@linux:/tmp/fluxbox/fluxbox-0.1.8> su
Password:
linux:/tmp/fluxbox/fluxbox-0.1.8 # ./configure
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... no
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable cc found in $PATH
linux:/tmp/fluxbox/fluxbox-0.1.8 # sh ./configure
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... no
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable cc found in $PATH
linux:/tmp/fluxbox/fluxbox-0.1.8 #


Jeg har forsøgt en hel del varianter men den svarer altid igen på samme
måde som ovenstående.

Hvad gør jeg ved det?

Hilsen Claus Larsen


 
 
Martin Schultz (19-05-2002)
Kommentar
Fra : Martin Schultz


Dato : 19-05-02 19:37

claus christian larsen <tip@tophygiejne.dk> writes:

> clalar@linux:/tmp/fluxbox/fluxbox-0.1.8> su
> Password:

Prøv su - root i stedet.

Martin

Adam Sjøgren (19-05-2002)
Kommentar
Fra : Adam Sjøgren


Dato : 19-05-02 19:40

On Sun, 19 May 2002 21:35:28 +0200, claus christian larsen wrote:

> checking for working aclocal... missing
> checking for working autoconf... missing
> checking for working automake... missing
> checking for working autoheader... missing
> checking for working makeinfo... missing
> checking for gcc... no

Har du installeret en c-compiler (gcc) og automake?


Mvh.

--
"Alla sammanträffande med verkligheten är helt Adam Sjøgren
slumpmässiga, alla melodier är påhittade." asjo@koldfront.dk

claus christian lars~ (19-05-2002)
Kommentar
Fra : claus christian lars~


Dato : 19-05-02 21:00

Adam Sjøgren wrote:



> Har du installeret en c-compiler (gcc) og automake?

Nej, jeg havde ingen af dem. Det har jeg nu og prøver igen.

Hilsen Claus


claus christian lars~ (19-05-2002)
Kommentar
Fra : claus christian lars~


Dato : 19-05-02 22:00

Adam Sjøgren wrote:



> Har du installeret en c-compiler (gcc) og automake?

Nu ser ser det således ud:

clalar@linux> cd /tmp/fluxbox/fluxbox-0.1.8
clalar@linux:/tmp/fluxbox/fluxbox-0.1.8> su -root
su: ugyldigt flag -- r
Try `su --help' for more information.
clalar@linux:/tmp/fluxbox/fluxbox-0.1.8> su - root
Password:
linux # cd /tmp/fluxbox/fluxbox-0.1.8
linux:/tmp/fluxbox/fluxbox-0.1.8 # ./configure
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... no
checking for working aclocal... found
checking for working autoconf... missing
checking for working automake... found
checking for working autoheader... missing
checking for working makeinfo... missing
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 executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
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 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/i486-suse-linux/bin/ld
checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i486-suse-linux/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... gcc -E
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... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i486-suse-linux/bin/ld) supports
shared librar
ies... 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... yes
checking for errno.h... yes
checking for ctype.h... yes
checking for dirent.h... yes
checking for fcntl.h... yes
checking for libgen.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for process.h... no
checking for signal.h... yes
checking for stdarg.h... yes
checking for stdio.h... yes
checking for time.h... yes
checking for unistd.h... yes
checking for sys/param.h... yes
checking for sys/select.h... yes
checking for sys/signal.h... yes
checking for sys/stat.h... yes
checking for sys/time.h... yes
checking for sys/types.h... 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... yes
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... no
configure: error: Fluxbox requires the X Window System libraries and
headers.
linux:/tmp/fluxbox/fluxbox-0.1.8 # make
bash: make: command not found
linux:/tmp/fluxbox/fluxbox-0.1.8 # make install
bash: make: command not found
linux:/tmp/fluxbox/fluxbox-0.1.8 # sh. install
bash: sh.: command not found
linux:/tmp/fluxbox/fluxbox-0.1.8 # ./install
bash: ./install: No such file or directory
linux:/tmp/fluxbox/fluxbox-0.1.8 #

Hilsen Claus

Jeg har prøvet at kikke efter disse x window system ect. men er usikker
på hvad det er for noget.


Adam Sjøgren (19-05-2002)
Kommentar
Fra : Adam Sjøgren


Dato : 19-05-02 21:06

On Sun, 19 May 2002 23:00:01 +0200, claus christian larsen wrote:

> checking for X... no
> configure: error: Fluxbox requires the X Window System libraries and
> headers.

Det lyder meget rimeligt at en Window-manager har brug for X libraries
og headers, ikke?

> linux:/tmp/fluxbox/fluxbox-0.1.8 # make
> bash: make: command not found

Du mangler også at installere make.

> Jeg har prøvet at kikke efter disse x window system ect. men er
> usikker på hvad det er for noget.

De hedder muligvis noget med -dev eller -devel - men når du ikke
skriver noget om hvilket system du bruger er det svært for folk at
svare specifikt.


Mvh.

--
"Alla sammanträffande med verkligheten är helt Adam Sjøgren
slumpmässiga, alla melodier är påhittade." asjo@koldfront.dk

claus christian lars~ (19-05-2002)
Kommentar
Fra : claus christian lars~


Dato : 19-05-02 23:03

Adam Sjøgren wrote:
> On Sun, 19 May 2002 23:00:01 +0200, claus christian larsen wrote:
>
>
>>checking for X... no
>>configure: error: Fluxbox requires the X Window System libraries and
>>headers.
>>
>
> Det lyder meget rimeligt at en Window-manager har brug for X libraries
> og headers, ikke?

joo]

>
>
>>linux:/tmp/fluxbox/fluxbox-0.1.8 # make
>>bash: make: command not found
>>
>
> Du mangler også at installere make.

Den er nu instaleret. Det er autoconf også.

jeg kører suse 8.0

Nu ser det således ud:

linux:/tmp/fluxbox/fluxbox-0.1.8 # ./configure
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
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 executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
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 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/i486-suse-linux/bin/ld
checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i486-suse-linux/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... gcc -E
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... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i486-suse-linux/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... yes
checking for errno.h... yes
checking for ctype.h... yes
checking for dirent.h... yes
checking for fcntl.h... yes
checking for libgen.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for process.h... no
checking for signal.h... yes
checking for stdarg.h... yes
checking for stdio.h... yes
checking for time.h... yes
checking for unistd.h... yes
checking for sys/param.h... yes
checking for sys/select.h... yes
checking for sys/signal.h... yes
checking for sys/stat.h... yes
checking for sys/time.h... yes
checking for sys/types.h... 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... yes
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... no
configure: error: Fluxbox requires the X Window System libraries and
headers.
linux:/tmp/fluxbox/fluxbox-0.1.8 #


Hilsen Claus.


Adam Sjøgren (19-05-2002)
Kommentar
Fra : Adam Sjøgren


Dato : 19-05-02 22:19

On Mon, 20 May 2002 00:03:10 +0200, claus christian larsen wrote:

>> Det lyder meget rimeligt at en Window-manager har brug for X
>> libraries og headers, ikke?

> joo]

>>> linux:/tmp/fluxbox/fluxbox-0.1.8 # make bash: make: command not
>>> found

>> Du mangler også at installere make.

> Den er nu instaleret. Det er autoconf også.

Har du også installeret dev-pakker til X?

Det ser ikke sådan ud:

> checking for X... no
> configure: error: Fluxbox requires the X Window
> System libraries and headers.


Mvh.

--
"Alla sammanträffande med verkligheten är helt Adam Sjøgren
slumpmässiga, alla melodier är påhittade." asjo@koldfront.dk

claus christian lars~ (20-05-2002)
Kommentar
Fra : claus christian lars~


Dato : 20-05-02 00:01

Adam Sjøgren wrote:
> On Mon, 20 May 2002 00:03:10 +0200, claus christian larsen wrote:



> Har du også installeret dev-pakker til X?
>
> Det ser ikke sådan ud:

Det er nu forsøgt og lykkedes. Fluxbox er blevet configureret
succesfyldt

Men: Næste fase knaser stadigvæk:

Jeg skriver make ....

linux:/tmp/fluxbox/fluxbox-0.1.8 # make
make all-recursive
make[1]: Entering directory `/tmp/fluxbox/fluxbox-0.1.8'
Making all in data
make[2]: Entering directory `/tmp/fluxbox/fluxbox-0.1.8/data'
Making all in styles
make[3]: Entering directory `/tmp/fluxbox/fluxbox-0.1.8/data/style
s'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/fluxbox/fluxbox-0.1.8/data/styles
'
make[3]: Entering directory `/tmp/fluxbox/fluxbox-0.1.8/data'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/fluxbox/fluxbox-0.1.8/data'
make[2]: Leaving directory `/tmp/fluxbox/fluxbox-0.1.8/data'
Making all in doc
make[2]: Entering directory `/tmp/fluxbox/fluxbox-0.1.8/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/fluxbox/fluxbox-0.1.8/doc'
Making all in nls
make[2]: Entering directory `/tmp/fluxbox/fluxbox-0.1.8/nls'
Making all in C
make[3]: Entering directory `/tmp/fluxbox/fluxbox-0.1.8/nls/C'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/fluxbox/fluxbox-0.1.8/nls/C'
Making all in da_DK
make[3]: Entering directory `/tmp/fluxbox/fluxbox-0.1.8/nls/da_DK'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/fluxbox/fluxbox-0.1.8/nls/da_DK'
Making all in es_ES
make[3]: Entering directory `/tmp/fluxbox/fluxbox-0.1.8/nls/es_ES'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/fluxbox/fluxbox-0.1.8/nls/es_ES'
Making all in et_EE
make[3]: Entering directory `/tmp/fluxbox/fluxbox-0.1.8/nls/et_EE'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/fluxbox/fluxbox-0.1.8/nls/et_EE'
Making all in fr_FR
make[3]: Entering directory `/tmp/fluxbox/fluxbox-0.1.8/nls/fr_FR'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/fluxbox/fluxbox-0.1.8/nls/fr_FR'
Making all in pt_BR
make[3]: Entering directory `/tmp/fluxbox/fluxbox-0.1.8/nls/pt_BR'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/fluxbox/fluxbox-0.1.8/nls/pt_BR'
Making all in ru_RU
make[3]: Entering directory `/tmp/fluxbox/fluxbox-0.1.8/nls/ru_RU'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/fluxbox/fluxbox-0.1.8/nls/ru_RU'
Making all in sv_SE
make[3]: Entering directory `/tmp/fluxbox/fluxbox-0.1.8/nls/sv_SE'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/fluxbox/fluxbox-0.1.8/nls/sv_SE'
Making all in tr_TR
make[3]: Entering directory `/tmp/fluxbox/fluxbox-0.1.8/nls/tr_TR'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/fluxbox/fluxbox-0.1.8/nls/tr_TR'
Making all in it_IT
make[3]: Entering directory `/tmp/fluxbox/fluxbox-0.1.8/nls/it_IT'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/fluxbox/fluxbox-0.1.8/nls/it_IT'
Making all in pt_PT
make[3]: Entering directory `/tmp/fluxbox/fluxbox-0.1.8/nls/pt_PT'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/fluxbox/fluxbox-0.1.8/nls/pt_PT'
Making all in bg_BG
make[3]: Entering directory `/tmp/fluxbox/fluxbox-0.1.8/nls/bg_BG'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/fluxbox/fluxbox-0.1.8/nls/bg_BG'
Making all in ja_JP
make[3]: Entering directory `/tmp/fluxbox/fluxbox-0.1.8/nls/ja_JP'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/fluxbox/fluxbox-0.1.8/nls/ja_JP'
make[3]: Entering directory `/tmp/fluxbox/fluxbox-0.1.8/nls'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/fluxbox/fluxbox-0.1.8/nls'
make[2]: Leaving directory `/tmp/fluxbox/fluxbox-0.1.8/nls'
Making all in src
make[2]: Entering directory `/tmp/fluxbox/fluxbox-0.1.8/src'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -DSHAPE -DSLIT -DINTERLA

CE -DNLS -DTIMEDCACHE -DKDE -DLOCALEPATH=\"/usr/local/share/f

luxbox/nls\" -DDEFAULTMENU=\"/usr/local/share/fluxbox/menu\" -DDEF

AULTSTYLE=\"/usr/local/share/fluxbox/styles/Clean\" -DDEFAULTTITLE

BAR=\"/usr/local/share/fluxbox/titlebar\" -DDEFAULTKEYSFILE=\"/usr

/local/share/fluxbox/keys\" -DDEFAULT_INITFILE=\"/usr/local/share/

fluxbox/init\" -I/usr/X11R6/include -c BaseDisplay.cc
make[2]: g++: Command not found
make[2]: *** [BaseDisplay.o] Error 127
make[2]: Leaving directory `/tmp/fluxbox/fluxbox-0.1.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/fluxbox/fluxbox-0.1.8'
make: *** [all-recursive-am] Error 2
linux:/tmp/fluxbox/fluxbox-0.1.8 #

Hilsen Claus




Adam Sjøgren (19-05-2002)
Kommentar
Fra : Adam Sjøgren


Dato : 19-05-02 23:08

On Mon, 20 May 2002 01:01:09 +0200, claus christian larsen wrote:

> make[2]: g++: Command not found

Da den skrev "make: Command not found" skulle du installere "make" for
at komme videre. Hvad tror du, du mangler nu?


Mvh.

--
"Alla sammanträffande med verkligheten är helt Adam Sjøgren
slumpmässiga, alla melodier är påhittade." asjo@koldfront.dk

claus christian lars~ (20-05-2002)
Kommentar
Fra : claus christian lars~


Dato : 20-05-02 23:34

Adam Sjøgren wrote:
> On Mon, 20 May 2002 01:01:09 +0200, claus christian larsen wrote:
>
>
>>make[2]: g++: Command not found
>>
>
> Da den skrev "make: Command not found" skulle du installere "make" for
> at komme videre. Hvad tror du, du mangler nu?

Mon ikke.....g++ o)

Den er nu downloaded og ... næsten.. instaleret. Den knaser en lille
smule, meen ikke mere end at jeg selv finder ud af det. Det forventer
jeg i det mindste. Øvelse gør, ...forhåbentligt....en dag mester

Nu vil jeg sove på det , jeg går videre med det imorgen.

Hilsen Claus Larsen.


Søg
Reklame
Statistik
Spørgsmål : 177558
Tips : 31968
Nyheder : 719565
Indlæg : 6408892
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste