Opened 15 years ago
Last modified 15 years ago
#51 new defect
Libtorrent make fails in Cygwin/XP
Reported by: | anonymous | Owned by: | Gabor Hudiczius |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | rTorrent on Windows | Version: | |
Severity: | major | Keywords: | |
Cc: |
Description
When attempting to compile and install as per instructions (http://projects.cyla.homeip.net/rtwi/wiki/rTorrentOnWindows), compilation of libtorrent fails. I have had to change the PKG_CONFIG_PATH ($ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/) so that sigc++ would be found. The results of ./configure and make follow:
$ ./configure --prefix=/usr --disable-mincore (Completes without incident)
$ make make all-recursive make[1]: Entering directory `/usr/local/src/libtorrent-svn' Making all in src make[2]: Entering directory `/usr/local/src/libtorrent-svn/src' Making all in torrent make[3]: Entering directory `/usr/local/src/libtorrent-svn/src/torrent' Making all in data make[4]: Entering directory `/usr/local/src/libtorrent-svn/src/torrent/data' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. /../.. -I. -I./.. -I./../.. -I../../.. -g -O2 -g -DDEBUG -I/usr/local/incl de/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -MT block.lo -MD -MP -MF .d ps/block.Tpo -c -o block.lo block.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I.. ../.. -g -O2 -g -DDEBUG -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++ 2.0/include -MT block.lo -MD -MP -MF .deps/block.Tpo -c block.cc -DDLL_EXPORT DPIC -o .libs/block.o In file included from ./../../download/download_info.h:44,
from ./../../protocol/extensions.h:46, from ./../../protocol/peer_connection_base.h:47, from block.cc:44:
../../../rak/socket_address.h:67: error: `AF_INET6' was not declared in this scpe ../../../rak/socket_address.h:68: error: `PF_INET6' was not declared in this scpe make[4]: * [block.lo] Error 1 make[4]: Leaving directory `/usr/local/src/libtorrent-svn/src/torrent/data' make[3]: * [all-recursive] Error 1 make[3]: Leaving directory `/usr/local/src/libtorrent-svn/src/torrent' make[2]: * [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/libtorrent-svn/src' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/libtorrent-svn' make: * [all] Error 2
Change History (4)
comment:1 by , 15 years ago
Component: | rTWi → rTorrent on Windows |
---|
comment:3 by , 15 years ago
Ignore my previous comment.
When installing libtorrent, I get an error when doing "./configure --disable-mincore". The error says "No package 'sig++-2.0' found".
Oh, and I'm on Xp sp3:)
comment:4 by , 15 years ago
When installing libtorrent, I get an error when doing "./configure --disable-mincore". The error says "No package 'sig++-2.0' found".
try
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
(see Compilation Help at libTottent page, there's a similar error about libTorrent) also check, if pgk-config is properly installed (last time Cygwin forgot half the packages i selected to install)
altough I can't reproduce the error (tried a clean install on windows vista), it looks like an ipv6 problem (which is not supported by Cygwin atm)
what OS are you running Cygwin on? what are your network settings?