Skocz do zawartości

Kompilacja Gg2


Patt

Rekomendowane odpowiedzi

Chce zkompilowac GG2, lecz zdaje sie, ze nie mam GTK, zainstalowalem iiimf-gtk-12.2-4.fc4, lecz to nie pomoglo, :unsure: oto caly 'wykaz':

[patt@localhost gg2-2.2.7]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... 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 dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gmake... /usr/bin/gmake
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
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 how to recognise dependent libraries... pass_all
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 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 how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... f95
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f95 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for f95 option to produce PIC... -fPIC
checking if f95 PIC flag -fPIC works... yes
checking if f95 supports -c -o file.o... yes
checking whether the f95 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking whether /usr/bin/gmake sets $(MAKE)... yes
checking for awk... (cached) awk
checking for ANSI C header files... (cached) yes
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether byte ordering is bigendian... no
checking for long long... yes
checking for va_copy... yes
checking for __va_copy... yes
checking for C99-compatible vsnprintf()... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking return type of signal handlers... void
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for memset... yes
checking for mkdir... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strlen... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking whether we are using the GNU C Library 2 or newer... yes
checking for ranlib... (cached) ranlib
checking for library containing strerror... none required
checking for signed... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for long long... yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for stdint.h... (cached) yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for ptrdiff_t... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.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 malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) 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 for asprintf... yes
checking for fwprintf... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for snprintf... yes
checking for stpcpy... yes
checking for strcasecmp... (cached) yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for wcslen... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for __fsetlocking... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... no
checking whether getc_unlocked is declared... yes
checking for iconv... yes
checking for iconv declaration...
        extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 2.0, ok
checking for CFPreferencesCopyAppValue... (cached) no
checking for CFLocaleCopyCurrent... (cached) no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.2.0... yes
checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GLIB_LIBS... -lglib-2.0
checking for gthread-2.0 >= 2.2.0... yes
checking GTHREAD_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GTHREAD_LIBS... -pthread -lgthread-2.0 -lglib-2.0
checking for gtk+-2.0 >= 2.2.0... Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
configure: error:

Pozdrawiam... :)

Patt

Odnośnik do komentarza
Udostępnij na innych stronach

gtk2 mam w systemie, ale znalazlem tego czego nie mam :)

brakowalo mi:

  • gtkspell-devel
  • gtkspell
  • aspell-devel
  • GNUTLS library
  • libtlen
  • loudmouth
i tu sie zatrzymuje...

teraz wywala mi blad:

...
**********************************************************

Jabber plugin need loudmouth!
You don't have loudmouth installed (or you have wrong version)
Please download loudmouth: http://www.imendio.com/projects/loudmouth/

**********************************************************

...ale ja mam zainstalowane... najpierw zainstalowalem wersje 1.0.1, ale jak wywalal blad to zainstalowalem starsza 1.0, z mysla, ze moze teraz ruszy... ale nie... nie wiem co robic... :blink:

 

P.S

Wiekszosc z tego trzeba bylo kompilowac i szukac po necie... juz powoli wysiadam :P

Odnośnik do komentarza
Udostępnij na innych stronach

Lepiej zainstaluj gg2 z rpm-a, lub poszukaj yum'em, czy apt-get'em. Fedora nie jest dystrybucją do kompliacji.

 

Pod gentoo sprawa jest prosta i jasna:

 emerge gnugadu 

i po sprawie. Na fc powinno być

yum install gnugadu

lub yum install gg2.

Odnośnik do komentarza
Udostępnij na innych stronach

http://apt.bzium.net/packages/ tu masz wszystkie niezbyt popularne zalezności; co prawda są pod FC3, więc najlepiej by było, jakbyś pościągał pakiety źródłowe (*.src.rpm) i przebudował; czyli

 

rpmbuild --rebuild pakiet.src.rpm

 

i będziesz miał pakiety dla FC4 - co ważne będa to pakiety g2, gg2-devel, gg2-gagugadu, gg2-tlen itd... więc zainstalujesz tylko te, które chcesz i to bez wczytywania się w opcje ./configure

 

osobiście jeśli pakiet mi z jakiegoś powodu nie chce się zainstalować (bo na przykład jest do inej wersji Fedory niż mam) to ściągam pakiet źródłowy i po kłopocie; ta sama sytuacja jest z wykorzystywaniem pakietów rpm ogólnych (niedystrybucyjnych), lub pochodzących z innej dystrybucji (na przykład susłowych, czy mandriwowych), bo czasem nawet z tymi się to udaje

Odnośnik do komentarza
Udostępnij na innych stronach

@kamillys/ niestety, tu sprawa nie jest taka prosta... :unsure: gg2 z rpm`a zrodlowego jest dostepna tylko w wersji 2.2.4, a najnowsza to 2.2.7 wiec jest rownica spora... w szczegolnosci, ze jestem o krok od ukonczenia... przynajmniej mam nadzieje :)

@SeeM/

http://apt.bzium.net/packages/ tu masz wszystkie niezbyt popularne zalezności;

taak... znam ta strone, ale udalo mi sie poznajdywac kody zrodlowe i wszystko kompilowalem i instalowalem... i zainstalowal sie rowniez ten loudmouth ale podczas konfiguracji go nie widzi... i w tym jest problem (on jest zainstalowany bez bledow)... nie wiem co robic dalej... :blink:

 

Pozdrawiam...

Patt

Odnośnik do komentarza
Udostępnij na innych stronach

z rpm`a zrodlowego jest dostepna tylko w wersji 2.2.4, a najnowsza to 2.2.7

A jaki problem przerobić gotową paczkę src.rpm? Uaktualnić źródła i wyedytować plik spec.

w szczegolnosci, ze jestem o krok od ukonczenia...

...ukończenia śmiecenia systemu?

zainstalowal sie rowniez ten loudmouth ale podczas konfiguracji go nie widzi

Jak to zrobiłeś?

yum install loudmouth-devel

??

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...