Problem z kompilacją - brak GLIB

Dzięki matiit , wszystko śmiga :).

Tylko teraz mam problem z kompilacją programów :/. Rzuca się, że nie ma zainstalowanego GLIB’a w wersji 1.2.2 lub wyższej, mimo że mu instalowałem z komendy

sudo aptitude install GLIB

komunikat wygląda tak:

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for gawk... no

checking for mawk... mawk

checking whether make sets $(MAKE)... yes

checking for prefix by checking for xmms... no

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 strerror in -lcposix... no

checking whether byte ordering is bigendian... no

checking for inline... inline

checking for an ANSI C-conforming const... yes

checking for a BSD-compatible install... /usr/bin/install -c

checking whether ln -s works... yes

checking whether make sets $(MAKE)... (cached) yes

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 for a sed that does not truncate output... /bin/sed

checking how to recognise dependent libraries... pass_all

checking command to parse /usr/bin/nm -B output... ok

checking how to run the C preprocessor... gcc -E

checking for egrep... grep -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... 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/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... no

checking whether -lc should be explicitly linked in... no

creating libtool

checking pthread.h usability... yes

checking pthread.h presence... yes

checking for pthread.h... yes

checking for glib-config... no

checking for GLIB - version >= 1.2.2... no

*** The glib-config script installed by GLIB could not be found

*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in

*** your path, or set the GLIB_CONFIG environment variable to the

*** full path to glib-config.

configure: error: ***GLIB >= 1.2.2 not installed - please install first***

Może glib-dev?

Btw co chcesz kompilować? Nie masz paczek?

niestety, nie zdążyłem sprawdzić :/. Zainstalowałem sterowniki do karty graficznej, zrestartowałem GNOME, ale tryb graficzny już nie wstał :(. Wie ktoś może jak przywrócić plik conf.xorg?

w konsoli wydajesz polecenie:

sudo dpkg-reconfigure -phigh xserver-xorg

Jako że ostatnie posty nie dotyczą już problemów z Kadu, a o tym mówi temat, część dotyczącą kompilacji wydzielam jako osobny temat.

Odświeżam swój starszy temat, żeby nie zakładać poraz kolejny nowego.

GLIB zainstalowany. Problem niestety kolejny - brak DTK+. Instalowałem kilka paczek, jednak żadna z nich nie była potrzebna.

Dziś powstał kolejny problem, mianowicie konflikt karty graficznej (lub jej sterowników) z monitorem.

Instalowałem je według tego poradnika:

[http://forum.ubuntu.pl/showthread.php?t=49716]forum.ubuntu.pl](http://forum.ubuntu.pl/showthread.php?t=49716]forum.ubuntu.pl). Jednak po restarcie komputera wyskoczył mi komunikat, że gnome uruchomi sie w awaryjnym trybie graficznym (nie pamiętam dokładnie co tam pisało) bo karta nie może wykryć ustawień monitora. W efekcie mam rozdzielczośc 800/600…

Ubuntu 7.10 nie instaluje samo sterowników? (przez restricted-managera?)

Pokaż plik /etc/X11/xorg.conf.