aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule 2.0.3 Problem z instalacja wxGTK  (Read 10989 times)

Pioruniec

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
aMule 2.0.3 Problem z instalacja wxGTK
« on: August 30, 2005, 07:56:37 PM »

Witam!
Chce zainstalowac aMule. Zaczalem od instalacji wxGTK-2.6.1. I tu zaczely sie schodki. Wypakowalem wxGTK i chcialem skonfigurowac:

./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise && make

Wszystko konfigurowalo sie do momentu:

checking mspack.h usability... no
checking mspack.h presence... no
checking for mspack.h... no
checking for GTK+ version...
checking for pkg-config... /usr//bin/pkg-config
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error:
The development files for GTK+ were not found. For GTK+ 2, please
ensure that pkg-config is in the path and that gtk+-2.0.pc is
installed. For GTK+ 1.2 please check that gtk-config is in the path,
and that the version is 1.2.3 or above. Also check that the
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
--libs' are in the LD_LIBRARY_PATH or equivalent.

Nadmienie tylko ze pkg-config znajduje sie na swoim miejscu tzn. /usr/bin/pkg-config
Aha. Prosze o wytlumaczenie w miare prosto poniewaz Linuxa (Mandrake 9.2) mam od wczoraj
 :P
Ratunku.
« Last Edit: August 30, 2005, 07:58:07 PM by Pioruniec »
Logged

KeRn

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 32
Re: aMule 2.0.3 Problem z instalacja wxGTK
« Reply #1 on: August 31, 2005, 12:46:54 PM »

po instalacji (o ile masz zainstalowane) gtk2 uruchomiles /sbin/ldconfig ? Nie to sprobuj i wykonaj ponownie ./configure ...

Alternatywa
przy konfigure opusc --enable-gtk
Logged

Pioruniec

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: aMule 2.0.3 Problem z instalacja wxGTK
« Reply #2 on: August 31, 2005, 07:56:32 PM »

zeby zainstalowac gtk+-2.8.3 musze wpierw zainstalowac - tak gdzies wyczytalem (te wersje mam)
glib-2.8.1
pango-1.10.0
atk-1.10.1

glib instaluje sie bez klopotow - ./configure, make, make install
Przy konfiguracji pango natomiast mam takie cos:

checking for freetype-config... /usr/bin/freetype-config
checking for FT_Get_Next_Char in -lfreetype... yes
checking for xft >= 2.0.0... yes
checking XFT_CFLAGS... -I/usr/X11R6/include -I/usr/include/freetype2
checking XFT_LIBS... -L/usr/X11R6/lib -lXft -lX11 -lfreetype -lXrender -lfontconfig
checking for cairo >= 0.5.2-head... Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
checking for glib-2.0 >= 2.5.7 gobject-2.0 gmodule-no-export-2.0... Requested 'glib-2.0 >= 2.5.7' but version of GLib is 2.2.3
configure: error:
*** Glib 2.5.7 or better is required. The latest version of
*** Glib is always available from http://ftp://ftp.gtk.org/.

Ale instalowalem tego cholernego gliba - w wersji 2.8.1! Wiec nie wiem o co chodzi...
« Last Edit: August 31, 2005, 07:58:06 PM by Pioruniec »
Logged

KeRn

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 32
Re: aMule 2.0.3 Problem z instalacja wxGTK
« Reply #3 on: September 01, 2005, 07:02:46 PM »

Z tego co widze to siedzi u ciebie gdzies glib-2.2.3 - /sbin/ldconfig nie pomoglo?
« Last Edit: September 01, 2005, 07:04:54 PM by KeRn »
Logged

Pioruniec

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: aMule 2.0.3 Problem z instalacja wxGTK
« Reply #4 on: September 01, 2005, 09:08:17 PM »

Nie, dalej jest to samo przy instalacji pango.
zrobiBem
/sbin/ldconfig
zainstalowalem jeszcze raz glib 2.8.1
i nic.
Logged

pinky

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
  • Slackware 10.0 (Raczej current :D) GG: 6867427 ------------------------------------------ Zaprawde powiadam Ci stary: jesli chcesz przejsc przez ucho igielne, nie bierz ze soba spluczki od kibla!!
Re: aMule 2.0.3 Problem z instalacja wxGTK
« Reply #5 on: September 02, 2005, 12:12:30 AM »

Po pierwsze wywal stare glib i zostaw tylko nowe. Podczas konfiguracji pango musisz wskazac mu sciezke do gliba. Odpal ./configure --help i poszukaj odpowiedniej opcji, bo ja nie pamietam jak to szlo :P Swoja droga podejzewam u ciebie blad podczas instalacji gliba. Otóz jesli odpaliles samo "./configure" bez zadnych opcji, to najprawdopodobniej zainstalowales go do /usr/local, a nie do /usr jak jest w systemie instalowany domyslnie. Tak wiec musisz sprawdzic dokladnie gdzie masz gliba (mysle, ze bedzie gdzies w /usr/local/lib) i w pliku /sbin/ldconfig podaj taka sciezke, w jakiej siedzi glib. W tedy moze nie bedziesz musial podawac sciezki do niego podczas konfiguracji pango.

P.S. Z logow ktore podales wynika, ze do przekompilowania pango brakuje Ci paczki cairo. Sprawdz to.

POZDRAWIAM.
« Last Edit: September 02, 2005, 12:14:57 AM by pinky »
Logged

Pioruniec

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: aMule 2.0.3 Problem z instalacja wxGTK
« Reply #6 on: September 02, 2005, 03:06:53 PM »

Zainstalowalem ponownie wszystkie biblioteki (udalo sie) z
./configure --prefix=/usr
Zostalo mi tylko gtk+-2.8.3
I....
przy konfiguracji
./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-gtk --enable-optimise && make

wychodzi:

checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES_CFLAGS...
checking for BASE_DEPENDENCIES_LIBS...
configure: error: Package requirements (glib-2.0 >= 2.7.1    atk >= 1.0.1    pa go >= 1.9.0    cairo >= 0.9.2) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the BASE_DEPENDENCIES_CFLAGS and BASE_DEPENDENCIES_LI S environment variables
to avoid the need to call pkg-config.  See the pkg-config man page for
more details.

A wszystkie te biblioteki zapisalem z prefixem /usr cairo tez instalowalem
Juz nie wiem o co chodzi...

Odnosnie sprawdzania lokalizacji, podawania sciezek, etc to nie wiem jak to zrobic. Wazne ze jest ju| jakis postep... Error sie zmienil :P
« Last Edit: September 02, 2005, 03:09:03 PM by Pioruniec »
Logged

Pioruniec

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: aMule 2.0.3 Problem z instalacja wxGTK
« Reply #7 on: September 04, 2005, 02:19:13 PM »

Przeinstalowalem system i poinstalowalem wszystkie biblioteki od poczatku z prefixami itd. Po instalacji kazdej robilem /sbin/ldconfig
Dobra, juz wiem od czego to moze byc. Wszystkie biblioteki sa prawdopodobnie zainstalowane poprawnie, oprocz chyba pango.
Przy make pango zwrocilo mi nastepujacy blad:

In file included from /usr/X11R6/include/X11/Xft/Xft.h:35,
                 from pangoxft-render.h:32,
                 from pangoxft-render.c:24:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error "  #include "
/usr/include/freetype2/freetype/freetype.h:24:2: #error "  #include FT_FREETYPE_H"
make[4]: *** [pangoxft-render.lo] BBd 1
make[4]: Leaving directory `/home/pioruniec/Programs/pango-1.10.0/pango'
make[3]: *** [all-recursive] BBd 1
make[3]: Leaving directory `/home/pioruniec/Programs/pango-1.10.0/pango'
make[2]: *** [all] BBd 2
make[2]: Leaving directory `/home/pioruniec/Programs/pango-1.10.0/pango'
make[1]: *** [all-recursive] BBd 1
make[1]: Leaving directory `/home/pioruniec/Programs/pango-1.10.0'
make: *** [all] BBd 2

Instalowalem freetype i nie zwracalo mi bledow. Przy konfiguracji pango tez sie nie posypalo. Dopiero przy make.
Wie ktos o co chodzi?
GTK+ dalej zwraca ten sam blad co podalem ostatnio. Wiec niewiele sie zmienilo.
« Last Edit: September 04, 2005, 02:19:57 PM by Pioruniec »
Logged

Pioruniec

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: aMule 2.0.3 Problem z instalacja wxGTK
« Reply #8 on: September 08, 2005, 09:15:07 PM »

Czy kto[ mógBby mi pomóc?  ;(
Logged

Ogon

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 66
Re: aMule 2.0.3 Problem z instalacja wxGTK
« Reply #9 on: September 09, 2005, 09:54:42 AM »

Oj widze, ze bedzie to niezly mlyn - stary mandrake

Odezwij sie na moj e-mail - moze cos razem zdzialamy.

Sprawdz tez PM
« Last Edit: September 09, 2005, 09:56:19 AM by Ogon »
Logged