/ 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
Hvad er der galt med GTK+
Fra : Maqqx


Dato : 05-07-01 00:14

når jeg kører

# ./configure

klager scriptet over manglende X... JEG KØRER ENDDA SCRIPTET I EN XTerm

Hvad kan der være galt

- Maqqx



 
 
Maqqx (05-07-2001)
Kommentar
Fra : Maqqx


Dato : 05-07-01 00:16

her er config.log


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:661: checking for a BSD compatible install
configure:714: checking whether build environment is sane
configure:771: checking whether make sets ${MAKE}
configure:810: checking for working aclocal
configure:823: checking for working autoconf
configure:836: checking for working automake
configure:849: checking for working autoheader
configure:862: checking for working makeinfo
configure:957: checking host system type
configure:978: checking build system type
configure:998: checking for ranlib
configure:1028: checking for gcc
configure:1141: checking whether the C compiler (gcc ) works
configure:1157: gcc -o conftest conftest.c 1>&5
configure:1183: checking whether the C compiler (gcc ) is a cross-compiler
configure:1188: checking whether we are using GNU C
configure:1216: checking whether gcc accepts -g
configure:1259: checking for ld used by GCC
configure:1321: checking if the linker (/usr/i386-slackware-linux/bin/ld) is
GNU ld
configure:1337: checking for BSD-compatible nm
configure:1373: checking whether ln -s works
ltconfig:603: checking for object suffix
ltconfig:604: gcc -c -g -O2 conftest.c 1>&5
ltconfig:776: checking if gcc PIC flag -fPIC works
ltconfig:777: gcc -c -g -O2 -fPIC -DPIC conftest.c 1>&5
ltconfig:829: checking if gcc supports -c -o file.o
ltconfig:830: gcc -c -g -O2 -o out/conftest2.o conftest.c 1>&5
ltconfig:862: checking if gcc supports -c -o file.lo
ltconfig:863: gcc -c -g -O2 -c -o conftest.lo conftest.c 1>&5
ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:915: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c
conftest.c 1>&5
ltconfig:958: checking if gcc static flag -static works
ltconfig:959: gcc -o conftest -g -O2 -static conftest.c 1>&5
GNU ld version 2.11.90.0.19 (with BFD 2.11.90.0.19)
ltconfig:1635: checking if global_symbol_pipe works
ltconfig:1636: gcc -c -g -O2 conftest.c 1>&5
ltconfig:1639: eval "/usr/bin/nm -B conftest.o | sed -n -e
/^.*[ ]\([ABCDGISTW]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3
\3/p' > conftest.nm"
ltconfig:1691: gcc -o conftest -g -O2 -fno-builtin -fno-rtti -fno-exceptions
conftest.c conftstm.o 1>&5
configure:1559: checking whether to enable maintainer-specific portions of
Makefiles
configure:1589: checking host system type
configure:1705: checking whether build environment is sane
configure:1747: checking for gcc
configure:1860: checking whether the C compiler (gcc -g -O2 ) works
configure:1876: gcc -o conftest -g -O2 conftest.c 1>&5
configure:1902: checking whether the C compiler (gcc -g -O2 ) is a
cross-compiler
configure:1907: checking whether we are using GNU C
configure:1935: checking whether gcc accepts -g
configure:1967: checking for POSIXized ISC
configure:1991: checking for gcc option to accept ANSI C
configure:2044: gcc -c -g -O2 conftest.c 1>&5
configure:2079: checking for a BSD compatible install
configure:2132: checking whether make sets ${MAKE}
configure:2189: checking for gawk
configure:2223: checking for perl5
configure:2223: checking for perl
configure:2257: checking for indent
configure:2294: checking whether make is GNU Make
configure:2312: checking how to run the C preprocessor
configure:2333: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2392: checking for ANSI C header files
configure:2405: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2472: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:2496: checking for working const
configure:2550: gcc -c -g -O2 -Wall conftest.c 1>&5
configure: In function `main':
configure:2524: warning: unused variable `s'
configure:2544: warning: unused variable `foo'
configure:2512: warning: unused variable `zero'
configure:2506: warning: unused variable `x'
configure:2523: warning: `t' might be used uninitialized in this function
configure:2541: warning: `b' might be used uninitialized in this function
configure:2571: checking for inline
configure:2585: gcc -c -g -O2 -Wall conftest.c 1>&5
configure: In function `main':
configure:2581: warning: control reaches end of non-void function
configure: At top level:
configure:2581: warning: return-type defaults to `int'
configure:2611: checking for off_t
configure:2644: checking for size_t
configure:2679: checking for working alloca.h
configure:2691: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure: In function `main':
configure:2687: warning: unused variable `p'
configure:2712: checking for alloca
configure:2745: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure: In function `main':
configure:2741: warning: unused variable `p'
configure:2914: checking for unistd.h
configure:2924: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2953: checking for getpagesize
configure:2981: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3006: checking for working mmap
configure:3154: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure: In function `main':
configure:3095: warning: implicit declaration of function `getpagesize'
configure:3104: warning: implicit declaration of function `rand'
configure:3105: warning: implicit declaration of function `umask'
configure:3109: warning: implicit declaration of function `write'
configure:3111: warning: implicit declaration of function `close'
configure:3142: warning: implicit declaration of function `read'
configure:3148: warning: implicit declaration of function `unlink'
configure:3182: checking for argz.h
configure:3192: gcc -E conftest.c >/dev/null 2>conftest.out
configure:3182: checking for limits.h
configure:3192: gcc -E conftest.c >/dev/null 2>conftest.out
configure:3182: checking for locale.h
configure:3192: gcc -E conftest.c >/dev/null 2>conftest.out
configure:3182: checking for nl_types.h
configure:3192: gcc -E conftest.c >/dev/null 2>conftest.out
configure:3182: checking for malloc.h
configure:3192: gcc -E conftest.c >/dev/null 2>conftest.out
configure:3182: checking for string.h
configure:3192: gcc -E conftest.c >/dev/null 2>conftest.out
configure:3182: checking for unistd.h
configure:3182: checking for sys/param.h
configure:3192: gcc -E conftest.c >/dev/null 2>conftest.out
configure:3222: checking for getcwd
configure:3250: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3222: checking for munmap
configure:3250: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3222: checking for putenv
configure:3250: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3222: checking for setenv
configure:3250: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3222: checking for setlocale
configure:3250: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3222: checking for strchr
configure:3250: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3222: checking for strcasecmp
configure:3250: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3222: checking for strdup
configure:3250: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3222: checking for __argz_count
configure:3250: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3222: checking for __argz_stringify
configure:3250: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3222: checking for __argz_next
configure:3250: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3279: checking for stpcpy
configure:3307: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3341: checking for LC_MESSAGES
configure:3353: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3374: checking whether NLS is requested
configure:3406: checking for libintl.h
configure:3416: gcc -E conftest.c >/dev/null 2>conftest.out
configure:3433: checking for dgettext in libc
configure:3445: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3563: checking for msgfmt
configure:3597: checking for dcgettext
configure:3625: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:3652: checking for gmsgfmt
configure:3688: checking for xgettext
configure:3728: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
configure:4004: checking for catalogs to be installed
configure:4114: checking for extra flags to get ANSI library prototypes
configure:4128: gcc -o conftest -g -O2 -Wall conftest.c -lm 1>&5
configure:4168: checking for extra flags for POSIX compliance
configure:4177: gcc -c -g -O2 -Wall conftest.c 1>&5
configure: In function `main':
configure:4173: warning: unused variable `dir'
configure:4270: checking for glib-config
configure:4305: checking for GLIB - version >= 1.2.8
configure:4404: gcc -o
conftest -g -O2 -Wall -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/in
clude -D_REENTRANT


conftest.c -L/usr/local/lib -rdynamic -lgmodule -lgthread -lglib -lpthread -
ldl 1>&5
configure:4544: checking for X
configure:4611: gcc -E conftest.c >/dev/null 2>conftest.out
configure:4607: X11/Intrinsic.h: No such file or directory
configure: failed program was:
#line 4606 "configure"
#include "confdefs.h"
#include <X11/Intrinsic.h>
configure:4687: gcc -o conftest -g -O2 -Wall conftest.c -lXt 1>&5
configure: In function `main':
configure:4683: warning: implicit declaration of function `XtMalloc'
/usr/i386-slackware-linux/bin/ld: cannot find -lXt
collect2: ld returned 1 exit status
configure: failed program was:
#line 4680 "configure"
#include "confdefs.h"

int main() {
XtMalloc()
; return 0; }




Claus Rasmussen (05-07-2001)
Kommentar
Fra : Claus Rasmussen


Dato : 05-07-01 00:34

Maqqx wrote:

> her er config.log

[...]

> conftest.c -L/usr/local/lib -rdynamic -lgmodule -lgthread -lglib -lpthread
> -
> ldl 1>&5
> configure:4544: checking for X
> configure:4611: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:4607: X11/Intrinsic.h: No such file or directory
^^^^^^^^^^^^^^^

Den kan ikke finde dine X headers


> configure: failed program was:
> #line 4606 "configure"
> #include "confdefs.h"
> #include <X11/Intrinsic.h>
> configure:4687: gcc -o conftest -g -O2 -Wall conftest.c -lXt 1>&5
> configure: In function `main':
> configure:4683: warning: implicit declaration of function `XtMalloc'
> /usr/i386-slackware-linux/bin/ld: cannot find -lXt
^^^^^^^^^^^^^^^^

Den kan heller ikke finde dine X libraries.

Du har sikkert installeret X et ikke-standard sted. På RedHat ligger X
headers i /usr/include/X11 og X libraries i /usr/lib/X11.

Du kan umiddelbart klare problemet med et par environment variable (slå
dem selv op - eller løse problemet ordenligt og installere X normalt.

-Claus




Peter Makholm (05-07-2001)
Kommentar
Fra : Peter Makholm


Dato : 05-07-01 00:35

"Maqqx" <wave@post11.tele.dk> writes:

> Hvad kan der være galt

Mit bud er at du ikke har en xlibs-dev pakke installeret.

--
Jeg svarede ikke på dit spørgsmål, vel?

Rasmus Bøg Hansen (05-07-2001)
Kommentar
Fra : Rasmus Bøg Hansen


Dato : 05-07-01 07:57



Maqqx (05-07-2001)
Kommentar
Fra : Maqqx


Dato : 05-07-01 22:37

jeg har fundet fejlen.. jeg havde ikke downloadet Xprog.tgz før jeg
kombilerede XFree86



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

Månedens bedste
Årets bedste
Sidste års bedste