Problem installing xmlrpc

4 views
Skip to first unread message

melat0nin

unread,
Mar 24, 2008, 3:11:39 PM3/24/08
to ntorrent
When installing xmlrpc I get the following message:

xbox:/usr/src/rtorrent-0.7.8# ./configure --with-xmlrpc-c
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 user-defined CXXFLAGS... default "-O2 -Wall"
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 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 cf77... 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 pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... 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 object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
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 static flag -static 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
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++ static flag -static 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
appending configuration tag "F77" to libtool
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for execinfo.h... yes
checking for proper overloaded template function disambiguation... yes
checking for library containing add_wch... no
checking for library containing wbkgdset... -lncurses
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking for statvfs... ok
checking for pkg-config... no
checking for STUFF... configure: error: The pkg-config script could
not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables STUFF_CFLAGS
and STUFF_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://www.freedesktop.org/software/
pkgconfig>.
See `config.log' for more details.



I tried it with the other command (PKG_CONFIG_PATH="/usr/local/lib/
pkgconfig" ./configure --with-xmlrpc-c) but that didn't make a
difference.

Any ideas? I'm installing it on Xebian (Debian on the Xbox).

Kim Eik

unread,
Mar 24, 2008, 3:20:26 PM3/24/08
to ntor...@googlegroups.com
you are missing pkg-config.
apt-get install pkg-config

melat0nin

unread,
Mar 24, 2008, 3:24:38 PM3/24/08
to ntorrent
Thanks for the very fast reply!

I got the no libtorrent error, so I added the variable, and still get
the following:

xbox:/usr/src/rtorrent-0.7.8# PKG_CONFIG_PATH="/usr/local/lib/
pkgconfig" ./configure --with-xmlrpc-c
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for STUFF... configure: error: Package requirements (sigc+
+-2.0 libcurl >= 7.12.0 libtorrent >= 0.11.8) were not met:

No package 'sigc++-2.0' found
No package 'libcurl' found
No package 'libtorrent' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables STUFF_CFLAGS
and STUFF_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


Any thoughts?

Kim Eik

unread,
Mar 24, 2008, 3:31:13 PM3/24/08
to ntor...@googlegroups.com
# ldconfig
# PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" ./configure

generally fixes those problems for me atleast.

try to find "libtorrent.pc" and give the path to the configure script.

melat0nin

unread,
Mar 24, 2008, 3:57:45 PM3/24/08
to ntorrent

melat0nin

unread,
Mar 24, 2008, 3:58:09 PM3/24/08
to ntorrent
I don't seem to have that file:

xbox:/# find / -iname '*libtorrent*'
find: /initrd/proc/755/fd: No such file or directory
find: /proc/755/fd: No such file or directory
/usr/lib/libtorrent.so.9
/usr/lib/libtorrent.so.9.0.0
/usr/share/doc/libtorrent9
/var/cache/apt/archives/libtorrent9_0.10.4-1_i386.deb
/var/lib/dpkg/info/libtorrent9.shlibs
/var/lib/dpkg/info/libtorrent9.list
/var/lib/dpkg/info/libtorrent9.postinst
/var/lib/dpkg/info/libtorrent9.postrm
/var/lib/dpkg/info/libtorrent9.md5sums

kei...@gmail.com

unread,
Mar 24, 2008, 3:59:49 PM3/24/08
to ntorrent
make sure libtorrent was compiled and installed correctly.
Reply all
Reply to author
Forward
0 new messages