On Fri, Mar 24, 2006 at 05:21:35PM -0700, Whyzzi wrote: > === BitTorrent > # cd /usr/ports/net/BitTorrent > # make install > ===> Checking files for BitTorrent-4.2.2 > `/usr/ports/distfiles/BitTorrent-4.2.2.tar.gz' is up to date. > >> Checksum OK for BitTorrent-4.2.2.tar.gz. (sha1) > ===> BitTorrent-4.2.2 depends on: python-2.3* - not found > ===> Verifying install for python-2.3* in lang/python/2.3 > ===> Checking files for python-2.3.5p3 > `/usr/ports/distfiles/Python-2.3.5.tgz' is up to date. > >> Checksum OK for Python-2.3.5.tgz. (sha1) > ===> python-2.3.5p3 depends on: tk-8.4.7 - not found > ===> Verifying install for tk-8.4.7 in x11/tk/8.4 > ===> tk-8.4.7 uses X11, but /usr/X11R6 not found. > ===> Returning to build of python-2.3.5p3 > ===> python-2.3.5p3 depends on: tk-8.4.7 - not found > ===> Verifying install for tk-8.4.7 in x11/tk/8.4 > ===> tk-8.4.7 uses X11, but /usr/X11R6 not found. > ===> Returning to build of python-2.3.5p3 > Dependency check failed > *** Error code 1 > > Stop in /usr/ports/lang/python/2.3 (line 1422 of > /usr/ports/infrastructure/mk/bsd.port.mk). > *** Error code 1 > > Stop in /usr/ports/lang/python/2.3 (line 1750 of > /usr/ports/infrastructure/mk/bsd.port.mk). > *** Error code 1 > > Stop in /usr/ports/net/BitTorrent (line 1422 of > /usr/ports/infrastructure/mk/bsd.port.mk). > *** Error code 1 > > Stop in /usr/ports/net/BitTorrent (line 1750 of > /usr/ports/infrastructure/mk/bsd.port.mk). > === > > ok, so it is looking for X-11. Hoping there was going to be a non-x11 > version, but > === > # export FLAVOR="no_x11" > # make install > Fatal: no flavors for this port. (in net/BitTorrent) > *** Error code 1 > > Stop. > # > ===
Ports can be tricky, you really have to pay attention to output and interpret it to fix issues. Look above again at the dependency chain. BitTorrent depends on python which depends on tk which depends on x11. So you need to build a version of python which doesn't depend on tk: $ cd /usr/ports/lang/python/2.3; make show=FLAVORS no_expat no_gdbm no_idle no_mpz no_tkinter no_bsddb no_tests no_tools So you need to specify the no_tkinter FLAVOR: # env FLAVOR="no_tkinter" make install You should be using env and not export because export sets the variable permanently in the environment so if there are dependencies, the ports system will try to find a no_tkinter FLAVOR when building dependencies too which will blow up. After installing python, then you should be all set to install BitTorrent. > No big deal. make search key=torrent showed me there's this ncurses > torrent client I could try: > > > make build for rTorrent runs fine. I ran it for the first time from > the command line it worked; for a little while then it puked on on me. > Ok, maybe I've done something wrong. So now when I try and re-run it: > > === rTorrent > # rtorrent stupid.torrent > Caught exception from libtorrent: "System call mincore failed for MemoryChunk" > # I had problems with rtorrent fragmenting the memory on my server so badly that it would start using swap even though it "should" have memory free. There was an update sent to ports a little while ago, maybe you would have better success with a newer version.
