LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-30-2005, 02:17 PM   #1
bloodfulldesire
LQ Newbie
 
Registered: Feb 2005
Location: usa
Distribution: suse linux 9.2 pro
Posts: 29

Rep: Reputation: 15
bittornado ./configure will not work


im currently trying to install bittornado i unzipped it and extracted it into a new directory but when i go to the new directory and type in ./configure it says bash: ./configure: No such file or directory
 
Old 06-30-2005, 02:35 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
So it doesn't have a configure script. Does it have a README file? Does it shed any light on the situation?
 
Old 06-30-2005, 03:45 PM   #3
bloodfulldesire
LQ Newbie
 
Registered: Feb 2005
Location: usa
Distribution: suse linux 9.2 pro
Posts: 29

Original Poster
Rep: Reputation: 15
itTorrent is a tool for distributing files. It's extremely
easy to use - downloads are started by clicking on hyperlinks.
Whenever more than one person is downloading at once
they send pieces of the file(s) to each other, thus relieving
the central server's bandwidth burden. Even with many
simultaneous downloads, the upload burden on the central server
remains quite small, since each new downloader introduces new
upload capacity.

Windows web browser support is added by running an installer.
A prebuilt one is available, but instructions for building it
yourself are in BUILD.windows.txt

Instructions for Unix installation are in INSTALL.unix.txt

To start hosting -

1) start running a tracker

First, you need a tracker. If you're on a dynamic IP or otherwise
unreliable connection, you should find someone else's tracker and
use that. Otherwise, follow the rest of this step.

Trackers refer downloaders to each other. The load on the tracker
is very small, so you only need one for all your files.

To run a tracker, execute the command bttrack.py Here is an example -

./bttrack.py --port 6969 --dfile dstate

--dfile is where persistent information is kept on the tracker across
invocations. It makes everything start working again immediately if
you restart the tracker. A new one will be created if it doesn't exist
already.

The tracker must be on a net-addressible box, and you must know the
ip number or dns name of it.

The tracker outputs web logs to standard out. You can get information
about the files it's currently serving by getting its index page.

2) create a metainfo file using btmakemetafile.py

To generate a metainfo file, run the publish btmakemetafile and give
it the file you want metainfo for and the url of the tracker

./btmakemetafile.py http://my.tracker:6969/announce myfile.ext

This will generate a file called myfile.ext.torrent

Make sure to include the port number in the tracker url if it isn't 80.

This command may take a while to scan over the whole file hashing it.

The /announce path is special and hard-coded into the tracker.
Make sure to give the domain or ip your tracker is on instead of
my.tracker.

You can use either a dns name or an IP address in the tracker url.

3) associate .torrent with application/x-bittorrent on your web server

The way you do this is dependent on the particular web server you're using.

You must have a web server which can serve ordinary static files and is
addressable from the internet at large.

4) put the newly made .torrent file on your web server

Note that the file name you choose on the server must end in .torrent, so
it gets associated with the right mimetype.

5) put up a static page which links to the location you uploaded to in step 4

The file you uploaded in step 4 is linked to using an ordinary url.

6) start a downloader as a resume on the complete file

You have to run a downloader which already has the complete file,
so new downloaders have a place to get it from. Here's an example -

./btdownloadheadless.py --url http://my.server/myfile.torrent --saveas myfile.ext

Make sure the saveas argument points to the already complete file.

If you're running the complete downloader on the same machine or LAN as
the tracker, give a --ip parameter to the complete downloader. The --ip
parameter can be either an IP address or DNS name.

BitTorrent defaults to port 6881. If it can't use 6881, (probably because
another download is happening) it tries 6882, then 6883, etc. It gives up
after 6889.

7) you're done!

Now you just have to get people downloading! Refer them to the page you
created in step 5.

BitTorrent can also publish whole directories - simply point
btmakemetafile.py at the directory with files in it, they'll be published
as one unit. All files in subdirectories will be included, although files
and directories named 'CVS' and 'core' are ignored.

If you have any questions, try the web site or mailing list -

http://bitconjurer.org/BitTorrent/

http://groups.yahoo.com/group/BitTorrent

You can also often find me, Bram, in #bittorrent of irc.freenode.net

thats the readme file and this is the install unix file

install Python, version 2.0 or later - http://python.org/

install wxPython - http://wxpython.org/

(under debian, you can currently get the above using
apt-get install libwxgtk2.2-python
from testing and use python 2.1)

untar and put a line in /etc/mailcap which is similar to the
following, only replace the path to
/usr/bin/btdownloadgui.py with the one it's actually in.

application/x-bittorrent; /usr/bin/btdownloadgui.py %s; test=test -n "$DISPLAY"

You may have to restart your web browser for it to start
using BitTorrent.

If you're using a web browser which doesn't respect
/etc/mailcap you can go into the mimetype configuration for
your web browser and manually associate application/x-bittorrent
with btdownloadgui.py (with the appropriate path, of course.)
 
Old 06-30-2005, 03:47 PM   #4
bloodfulldesire
LQ Newbie
 
Registered: Feb 2005
Location: usa
Distribution: suse linux 9.2 pro
Posts: 29

Original Poster
Rep: Reputation: 15
i installed the python stuff i needed from the site it listed but if it doesnt need ./configure or make then make install to get the program to run then i have no idea how to get it to run
 
Old 06-30-2005, 03:57 PM   #5
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Did you actually read the README or just paste it?

Quote:
itTorrent is a tool for distributing files. It's extremely
<snip>

Instructions for Unix installation are in INSTALL.unix.txt

<snip>
The developers use the README file to either tell you how to install it, or reference another file that has directions.
 
Old 06-30-2005, 04:09 PM   #6
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Quote:
Originally posted by bloodfulldesire
i installed the python stuff i needed from the site it listed but if it doesnt need ./configure or make then make install to get the program to run then i have no idea how to get it to run
Give you a clue...try READING the readme file.
 
Old 07-01-2005, 09:57 AM   #7
bloodfulldesire
LQ Newbie
 
Registered: Feb 2005
Location: usa
Distribution: suse linux 9.2 pro
Posts: 29

Original Poster
Rep: Reputation: 15
yes i did read the install unix file and the read me file but i dont know what this means "untar and put a line in /etc/mailcap which is similar to the
following, only replace the path to
/usr/bin/btdownloadgui.py with the one it's actually in." i untared it and put it in the directory but do i just put the btdownloadgui.py in the usr/bin directory or is their soemhting more to it
 
Old 07-01-2005, 01:27 PM   #8
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
command:
whereis bitdownloadgui.py

now you can tell it where it is. please post the contents of the install for unix file.

titanium_geek
 
Old 07-02-2005, 01:05 PM   #9
bloodfulldesire
LQ Newbie
 
Registered: Feb 2005
Location: usa
Distribution: suse linux 9.2 pro
Posts: 29

Original Poster
Rep: Reputation: 15
install Python, version 2.0 or later - http://python.org/

install wxPython - http://wxpython.org/

(under debian, you can currently get the above using
apt-get install libwxgtk2.2-python
from testing and use python 2.1)

untar and put a line in /etc/mailcap which is similar to the
following, only replace the path to
/usr/bin/btdownloadgui.py with the one it's actually in.

application/x-bittorrent; /usr/bin/btdownloadgui.py %s; test=test -n "$DISPLAY"

You may have to restart your web browser for it to start
using BitTorrent.

If you're using a web browser which doesn't respect
/etc/mailcap you can go into the mimetype configuration for
your web browser and manually associate application/x-bittorrent
with btdownloadgui.py (with the appropriate path, of course.)

unix install file
 
Old 07-02-2005, 01:07 PM   #10
bloodfulldesire
LQ Newbie
 
Registered: Feb 2005
Location: usa
Distribution: suse linux 9.2 pro
Posts: 29

Original Poster
Rep: Reputation: 15
death@linux:~> whereis bitdownloadgui.py
bitdownloadgui:
death@linux:~>

that is what i get when i type the command
 
Old 07-03-2005, 04:22 PM   #11
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
have you got bitdownloadgui?

I know you might feel hurt etc, but to us, it seems like you AREN'T reading the files. follow the instructions.

titanium_geek
 
Old 07-06-2005, 12:37 PM   #12
bloodfulldesire
LQ Newbie
 
Registered: Feb 2005
Location: usa
Distribution: suse linux 9.2 pro
Posts: 29

Original Poster
Rep: Reputation: 15
i did read the files i just dont understand what to do and yes i have bitdownloadgui.py
 
Old 07-06-2005, 12:39 PM   #13
bloodfulldesire
LQ Newbie
 
Registered: Feb 2005
Location: usa
Distribution: suse linux 9.2 pro
Posts: 29

Original Poster
Rep: Reputation: 15
and how could i follow the instructions when i dont understand them that just makes so much sence because if i did understand them then why would i be here in the first place
 
Old 07-06-2005, 01:11 PM   #14
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
ok, calm down. Take a deep breath, and, step by step, starting from the beginning, tell us exactly what you have done and what you don't understand.

first step:
heard about bittorrent.

titanium_geek

EDIT: and it's against the rules to double post (which you have done- in linux-software.) that has been reported to the moderator.

Look, I know we seem harsh, but we really do want to help. Help us help you by restating your problem with as much detail as possible. In the other thread you said that:
Quote:
originally posted by bloodfuldesire
i just recently downloaded the bit torrent program bittornado but haveing problems installing it i have it a directory but dont understand the instructions and every thing i read online tells me to use the ./configure command but that dosnt work

this is the part of the installation i dont understand:"put a line in /etc/mailcap which is similar to the
following, only replace the path to
/usr/bin/btdownloadgui.py with the one it's actually in."
ok, so, please post the file /etc/mailcap

don't worry, we can work it out.

titanium_geek

Last edited by titanium_geek; 07-06-2005 at 01:17 PM.
 
Old 07-06-2005, 01:23 PM   #15
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
ok- here's an idea:
please go to your new directory and type ls. Now post the output. I'm really sorry you're feeling frustrated with this. What I'm looking for is a python program- waiting for your post. I'm leaving the forum for a while- I'll be back in about 6 hours.

titanium_geek

Last edited by titanium_geek; 07-06-2005 at 01:24 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation of BitTornado adrian_mx Linux - Software 1 12-05-2005 10:34 AM
bittornado problem bloodfulldesire Linux - Software 2 07-07-2005 10:00 AM
bittornado doralsoral Linux - Software 5 05-21-2005 09:19 PM
BitTornado on FreeBSD Dreamcatcher *BSD 2 02-02-2005 07:24 AM
bittornado-gui help please. Lleb_KCir Linux - Software 2 11-22-2004 04:14 AM


All times are GMT -5. The time now is 06:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration