Добро пожаловать! Это — архивная версия форумов на «Хакер.Ru». Она работает в режиме read-only.
 

Помогите поставить прогу

Пользователи, просматривающие топик: none

Зашли как: Guest
Все форумы >> [*nix/Linux] >> Помогите поставить прогу
Имя
Сообщение << Старые топики   Новые топики >>
Помогите поставить прогу - 2005-05-10 23:08:19   
KtuluNet

Сообщений: 33
Оценки: 0
Присоединился: 2005-01-09 20:53:51
Помогите чайнику в пингвинах!!!
У себя в сети пользуюсь StrongDC++ (в Винде) для использования p2p-сетей. Ту же самую прогу нашел в варианте для Linux (исходный код с библиотекой и собственно программой).
Есть две папки: dclib-0.3.5 и valknut-0.3.5. В папке dclib в readme написано, что для установки достаточно команд configure, make, make check и make install. Вот что произошло после выполнения команды configure:
linux:/mytemp/1/dclib-0.3.5 # ./configure
checking for a BSD-compatible install… /usr/bin/install -c
checking for -p flag to install… yes
checking whether build environment is sane… yes
checking for gawk… gawk
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… 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 оЬjесt 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 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 whether g++ supports -Wundef… yes
checking whether g++ supports -Wno-long-long… yes
checking whether g++ supports -Wnon-virtual-dtor… yes
checking whether g++ supports -fno-exceptions… yes
checking whether g++ supports -fno-check-new… yes
checking whether g++ supports -fno-common… yes
checking whether g++ supports -fexceptions… yes
checking how to run the C++ preprocessor… g++ -E
checking whether g++ supports -O0… yes
checking for egrep… grep -E
checking for ANSI C header files… yes
checking for ranlib… ranlib
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… /usr/bin/sed
checking for ld used by gcc… /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld… yes
checking for /usr/i586-suse-linux/bin/ld option to reload оЬjесt 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 for g77… no
checking for f77… no
checking for xlf… no
checking for frt… no
checking for pgf77… no
checking for fl32… no
checking for af77… no
checking for fort77… no
checking for f90… no
checking for xlf90… no
checking for pgf90… no
checking for epcf90… no
checking for f95… no
checking for fort… no
checking for xlf95… no
checking for lf95… no
checking for g95… no
checking whether we are using the GNU Fortran 77 compiler… no
checking whether accepts -g… no
checking the maximum length of command line arguments… 32768
checking command to parse /usr/bin/nm -B output from gcc оЬjесt… ok
checking for objdir… .libs
checking for ar… ar
checking for ranlib… (cached) 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/i586-suse-linux/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
appending configuration tag "CXX" to libtool
checking for ld used by g++… /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld… yes
checking whether the g++ linker (/usr/i586-suse-linux/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/i586-suse-linux/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
appending configuration tag "F77" to libtool
checking bzlib.h usability… yes
checking bzlib.h presence… yes
checking for bzlib.h… yes
checking for BZ2_bzlibVersion in -lbz2… yes
checking for bzDecompress in libbz2… no
checking whether g++ supports -shared… yes
checking whether g++ supports -fPIC… yes
checking for BZ2_bzDecompress in (shared) libbz2… -lbz2
checking for socklen_t… socklen_t
checking for xml2-config… no
checking for libxml - version >= 2.0.0… no
*** The xml2-config Sсгiрt installed by LIBXML could not be found
*** If libxml was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the XML2_CONFIG environment variable to the
*** full path to xml2-config.
configure: error: libxml2 must be installed.


Libxml>=2 должен быть установлен. Но вся фишка в том, что у меня уже стоит libxml.2.6.12-3. Пробовал его переустанавливать, искал файл xml2-config, нифига.
Система SuSE 9.2, ядро 2.6.8-24-default.
Знающие люди, ХЕЛП!
Post #: 1
Помогите поставить прогу - 2005-05-11 12:55:38   
Horrible

Сообщений: 100
Оценки: 0
Присоединился: 2005-02-06 08:05:37
Все просто: ты ставил libxml из rpm, а он ставится с нестандартным префиксом. Т.е. найди где у тебя libxml-config (наверно в /usr/loca/bin)
и пропиши переменную XML2_CONFIG примерно так:
export XML2_CONFIG=/usr/local/bin (подставиш сюда правильное значение).

Если неможеш найти libxml-config, то хз чем тебе помоч, собери эту либу из сорсов с –prefix=/usr.

А вобще выбрасывай привычку на rpm-based дистрибутиве собирать софт из исходников, ато постоянно такие проблемы будут. Если любиш компилировать то ставь к примеру Слаку.
Post #: 2
Помогите поставить прогу - 2005-05-12 17:58:01   
KtuluNet

Сообщений: 33
Оценки: 0
Присоединился: 2005-01-09 20:53:51
Спасибо за совет. Пока ничего не получается (а именно найти файл), но хоть есть за что зацепиться. Насчет сборки: я бы и рад не собирать из исходных текстов, но жизнь заставляет, нету такой проги в rpm-пакете.:-((( А поскольку я только начинающий пользователь никсов, то работать в Слаке мне очень тяжело…[sm=sm128.gif]
Post #: 3
Помогите поставить прогу - 2005-05-12 21:45:10   
Horrible

Сообщений: 100
Оценки: 0
Присоединился: 2005-02-06 08:05:37
просто собери libxml из исходников.
Post #: 4
Страниц:  [1]
Все форумы >> [*nix/Linux] >> Помогите поставить прогу







Связаться:
Вопросы по сайту / xakep@glc.ru

Предупреждение: использование полученных знаний в противозаконных целях преследуется по закону.