Автор Тема: Dc++  (Прочетена 821 пъти)

MarineForce

  • Напреднали
  • *****
  • Публикации: 367
    • Профил
Dc++
« -: Mar 12, 2006, 10:19 »
Здр. Значи рових се из форума и намерих теми за ДЦ++ и линк, който показва как мога да си инсталирам ДЦ++. До тук добре. Изпълнявам всичките стъпки, които трябва да направя, но като стигна до ./configure
ми дава следната грешка

Цитат
root@NY:/src/libglade-2.4.0# sudo ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking if debuging support was requested... yes
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
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 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 whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 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 if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.4.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.
checking for gtk_plug_get_type... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for   libxml-2.0 >= 2.4.10   atk >= 1.0.0   gtk+-2.0 >= 2.4.0   glib-2.0 >= 2.4.0... Package atk was not found in the pkg-config search path. Perhaps you should add the directory containing `atk.pc' to the PKG_CONFIG_PATH environment variable No package 'atk' found
configure: error: Library requirements (  libxml-2.0 >= 2.4.10   atk >= 1.0.0   gtk+-2.0 >= 2.4.0   glib-2.0 >= 2.4.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them



Ако може малко да ми помогнете.(ползвамУбунту 5.10)

Благодаря '<img'> !
Активен

'If your reality begins with your dreams, your dreams will become your reality!'

  • Гост
Dc++
« Отговор #1 -: Mar 12, 2006, 10:38 »
За Ubuntu има DC++ клиент, потърси в Синаптика, там има но не се сещам сега за името.
Иначе май тука е проблема :
checking for GTK+ - version >= 2.4.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.
checking for gtk_plug_get_type... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for   libxml-2.0 >= 2.4.10   atk >= 1.0.0   gtk+-2.0 >= 2.4.0   glib-2.0 >= 2.4.0... Package atk was not found in the pkg-config search path. Perhaps you should add the directory containing `atk.pc' to the PKG_CONFIG_PATH environment variable No package 'atk' found
Просто някои нещица ги нямаш инсталирани, а си ги иска.
ако не се оправиш пиши ми ЛС.
Активен

MarineForce

  • Напреднали
  • *****
  • Публикации: 367
    • Профил
Dc++
« Отговор #2 -: Mar 12, 2006, 10:48 »
Хмм.. Имам инсталирано gtk, но незнам защо ги търси отново. А относто

 [checking for   libxml-2.0 >= 2.4.10   atk >= 1.0.0   gtk+-2.0 >= 2.4.0   glib-2.0 >= 2.4.0... Package atk was not found in the pkg-config search path. Perhaps you should add the directory containing `atk.pc' to the PKG_CONFIG_PATH environment variable No package 'atk' found
configure: error: Library requirements (  libxml-2.0 >= 2.4.10   atk >= 1.0.0   gtk+-2.0 >= 2.4.0   glib-2.0 >= 2.4.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
]

си нямам и представа за "atk".

Aко може малко по подробно да обясниш пич, 'щото не съм на ти с Линукс (нали оправям се горе-долу ама ... '<img'> )

Благодаря !
Активен

'If your reality begins with your dreams, your dreams will become your reality!'

v_badev

  • Напреднали
  • *****
  • Публикации: 1355
    • Профил
Dc++
« Отговор #3 -: Mar 12, 2006, 11:10 »
Трябва да инсталираш dev пакетите. В Debian Unstable те са libgtk2.0-dev и libatk1.0-dev.
Активен

MarineForce

  • Напреднали
  • *****
  • Публикации: 367
    • Профил
Dc++
« Отговор #4 -: Mar 12, 2006, 11:35 »
v_badev, инсталирах libibgtk2.0-dev и libatk1.0-dev., но се появи друг проблем (не питам само бадев '<img'>) )



[CODE]root@NY:/home/iceboy/linuxdcpp# sudo scons
scons: Reading SConscript files ...
Checking for None >= 3.4...ValueError: invalid literal for int(): s:
  File "SConstruct", line 77:
    if not conf.CheckCXXVersion(cxx, 3, 4):
  File "/usr/lib/scons/SCons/SConf.py", line 354:
    ret = apply(self.test, (context,) +  args, kw)
  File "SConstruct", line 58:
    if ((string.atoi(ret[0]) == major and string.atoi(ret[2]) >= minor)
  File "/usr/lib/python2.4/string.py", line 403:
    return _int(s, base)


ето ви линка да видите за какво става дума и да помогнете да разбера къде греша'<img'>.

Благодаря '<img'>!

link
Активен

'If your reality begins with your dreams, your dreams will become your reality!'

MarineForce

  • Напреднали
  • *****
  • Публикации: 367
    • Профил
Dc++
« Отговор #5 -: Mar 12, 2006, 12:54 »
Хора ае помогнете плс. Искам да го инсталирам тва ДЦ++ (знам, че има Valknut, но вече се захванах с ДЦ-то и искам да го инсталлна)

'<img'>
Активен

'If your reality begins with your dreams, your dreams will become your reality!'

Georgy

  • Напреднали
  • *****
  • Публикации: 208
    • Профил
Dc++
« Отговор #6 -: Mar 12, 2006, 13:07 »
При мен като го бях инсталирал това преди време си имах доста проблеми. Не ми излизаха разни глупости... Абе по-добре си инсталирай valknut  ':p'
Активен

Помагам с каквото мога :)
<^><^><^><^><^><^><^><^><^>
Моята занимавка е Gentoooo :)

nifelheim

  • Напреднали
  • *****
  • Публикации: 328
  • Distribution: Kubuntu
  • Window Manager: KDE
    • Профил
    • WWW
Dc++
« Отговор #7 -: Mar 12, 2006, 13:39 »
linuxdcpp се компилира с някаква по-нова версия на GCC. Например с 3.4.x ще стане.
Активен

Оптимистът изучава английски език. Песимистът - китайски. А реалистът - автомат Калашников.