LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   INSTALLATION INSTRUCTIONS for giFT giFTcurs (https://www.linuxquestions.org/questions/linux-software-2/installation-instructions-for-gift-giftcurs-99597/)

mossy 10-02-2003 07:07 PM

INSTALLATION INSTRUCTIONS for giFT giFTcurs
 
I am posting this quick guide in installing giFT filesharing / p2p program for newbies to search for.

======
for search strings:
INSTALL INSTALLING INSTALLATION INSTRUCTIONS giFT giFTcurs
======

yeah I just installed gift and giFTcurs - went well - downloads music great.

I got 577 hits for Moby so Im getting some great results.

speeds are normal for p2p.

*NB: Im running RH9 [distro may not matter] with linux kernel -2.4.20-20.9

BASIC INSTRUCTIONS

This is what you do - get these packages [or more recent ones depending on date as @ Oct 2 2003:
1)
a) gift-0.11.4.tar.gz [client]
b) giFTcurs-0.6.1.tar.gz [front end]
c) gift-openft-0.2.1.1.tar.gz [openFT protocol/plugin]
d) gift-gnutella-0.0.7.tar.gz [gnutella protocol/plugin]
2)
gunzip 'em individually:
gunzip gift_name_of_package.tar.gz
3)
untar 'em individually:
tar -xvf gift_name_of_package.tar
4)
now you'll have a folder for each package
I recommend now reading the README's and INSTALL's [all the text files] for each one so you know what to expect.
now
Start with the client then frontend then protocols~
go into the folder
run the
./configure
make
make install

~Do this for each for each package.

5)
~if all went well installing each package~
run the:
gift-setup
~follow it's instructions thru setting up everything - press 1 to take it out of default mode [as it explains if you dont it will consider you as not having run the gift-setup] hit enter to accept default values if desired - remember to share [this is what it's all about] - be SURE to type in OpenFT:Gnutella [spelling???] to avail of both networks. I went with the defaults on the protocols for the most part.
~Basically READ IT properly.
6)
type in a console:
giftd
~ it should now be running [nb: give it a few seconds to startup properly].
7)
start another console and type:
giFTcurs
~ it should now be running
8)
a) learn to use it!!!
b) DOWNLOAD!!!
c) SHARE!!!

~COMPLETE~

NB if you make any choices in setup that dont work you can re-run the gift-setup again and NOT SAVE the previous values.

Cerbere 10-02-2003 09:24 PM

Remarkably good timing, mossy. I've been trying to install giFT all day long and came here to search for some help. I'm running Slackware 9, so I started by going to linuxpackages.net and downloading and installing these three packages:

gift-0.11.3burn-i686-1.tgz
gift-plugins-0.0.1burn-i686-1.tgz
giFTcurs-0.6.0burn-i686-1.tgz

These are basically the same tarballs you compiled, except that the plugins packages has FastTrack in addition to OpenFT and Gnutella.

Everthing seemed fine 'til I started giFTcurs, which keeps giving me the message 'Can't connect to the daemon at 127.0.0.1:1213, is giFT running?' Well, I checked the output of 'netstat -tap' and it shows:

tcp 0 0 *:1213 *:* LISTEN 27570/giftd

So I know giftd is running and listening on port 1213.

I figured there may be a problem with the packages, so I uninstalled, got the same source tarballs you've listed (plus giFT-FastTrack-0.8.4), and compiled them using the same steps you've given. The only change I made was in configuring gift-0.11.4, I used the option '--disable-imagemagick' because Slack doesn't include the devel package. Now when I try running giftd and giFTcurs, I get the exact same problem!

Can't connect to the daemon at 127.0.0.1:1213, is giFT running?

Any suggestions?

Enjoy!
--- Cerbere

mossy 10-02-2003 11:17 PM

yeah I got a similiar error when I had no protocols running. I just ran thru the gift-setup again after installing the protocols - specified them properly and they came up as past of the setup to be configured.

my question -
Did it ask you to configure each of the three protocols???

Cerbere 10-03-2003 12:15 AM

Yes, it asked, I answered. I've even edited ~/.giFT/gift.conf to try different combinations and orderings. It seems to have a hard time connecting to Gnutella and FastTrack, so I've tried running with OpenFT only.

I've been running 'giftd -v' in a seperate terminal so I can try to see what's going on. When I check with netstat, I can see that it has several connections established, but still no luck with giFTcurs. I've also tried compiling giFToxic, but it's a mess (still expects the command 'giFT' to start the daemon) that I don't want to try to correct until I know that giFT is working correctly.

Enjoy!
--- Cerbere

mossy 10-03-2003 02:08 AM

yeah funnily enough my roomie was having the same problem...I will let you know when we crack it.

Cerbere 10-03-2003 02:55 AM

Is your roomie using Slackware?

Enjoy!
--- Cerbere

mossy 10-03-2003 04:38 PM

no RH9.
I will update you when/if he gets that resolved.

whe you type in gifd what happens?

Theoutdoorsman 10-19-2003 11:02 AM

Hey guys..........I've followed the instructions but can't seem to "./configure" giftcurs-0.6.1

Here's the error I keep getting:

*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: You need glib-2.0 to compile giFTcurs

I have installed (compiled) glib-2.0.0 and glib-2.0.7 simply because I couldn't find glib-2.0. But still keep getting the same error. Any Ideas what I should do to get past this? Thanks a heap !!!!!

Regards,
ALAN

P.S......I'm running Red Hat 9

shycalais 11-10-2003 10:06 PM

*bump* i'm getting the same error, and nobody else has answered it anywhere else on the forum (searched for a while)

Cerbere 11-11-2003 12:20 AM

Which error are you getting, shycalais? The one about 'Can't connect to the daemon at 127.0.0.1:1213, is giFT running?' or the GLIB problem?

I finally got my giFT install sorted out. It was a problem with my IPtables firewall script. Now I'm using Jay's firewall with no problems. I really should have posted back sooner. Sorry.

If you're having the GLIB problem, then I don't have any advice to offer. So, again, sorry.

Enjoy!
--- Cerbere

shycalais 11-11-2003 12:35 AM

i'm actually not using giftus. i'm using apollom, when it connects, it says it can't connect to daemon

Cerbere 11-11-2003 04:18 AM

Don't know anything about Apollon. That KDE stuff gives me the willies.

But did you start the giFT daemon before starting apollon? Use this command:

giftd &

Enjoy!
--- Cerbere

JIV 11-11-2003 11:16 AM

i installed the programs correctly and
tried gift-setup ( many times ) now ...but when i'm trying to run giftd the following error is occuring


*** ERROR: Your setup is incomplete ***

You will need to run gift-setup and be sure that you read absolutely
every configuration option (no, really). Some default configuration
values are considered illegal, and will raise this error message. If you
suspect that you have configured giFT properly, consult the conf files in
/home/jerrish/.giFT/ for diagnostic purposes.

If you are still having problems you should consult the QUICKSTART guide
available from the standard giFT distribution.


i left all settings to default .
please help

Cerbere 11-11-2003 08:20 PM

There's one setting (the first one, if I recall correctly) that MUST be changed. It's just to test that you actually did run the setup, and read at least that far ;-)

Enjoy!
--- Cerbere

Luddite 11-23-2003 03:34 AM

Cheers Mossy, this could be exactly the kind of noob guide I need to install something successfully (please God) - i.e. nice easy steps!

I've followed your advice and have downloaded the four packages, unzipped and untarred them - so far, so good. Problems arise when I cd into the client's directory and try to ./configure - the console flashes a load of gubbins at me and then stops with the following error:

checking for _snprintf... no
checking for vsnprintf... yes
checking for _vsnprintf... no
checking for lt_dlopen in -lltdl... no
checking ltdl.h usability... no
checking ltdl.h presence... no
hecking for ltdl.h... no
configure: error:
libltdl support is temporarily required. Please install the appropriate
library and header files (which includes the -dev package). See config.log
for more details.

I did look at the config.log but it's a 41-page document and it is unfathomable to me at the moment. I am guessing from the error message above that I'm missing some necessary files (is this what you call dependencies?) but I haven't a clue where to get these from or worse, how to install them once I've got them!

I have gone through the Mandrake Control Centre and made sure I've got everything I can see under the "Development" section installed.

If I know where to get these dependencies I should be able to sort out any similar issues I get when I come to do the ./configure on the other three directories I've got - at the moment this is giving me The Fear!

Any advice greatly appreciated.

Cheers,
The Luddite.

Cerbere 11-23-2003 07:34 AM

I don't know about Mandrake, but in Slackware there's a file on the install disk called MANIFEST.gz which lists every file in every package on the disk. So whenever I get a message that such and such file can't be found, I search for it there first. For Slack, the file ltdl.h is in a package called libtool-1.4.3-i386-1.tgz, hopefully there is a similar rpm for Mandrake.

BTW there's another file on the install disk called FILE_LIST which only lists all the packages, so it's not nearly as useful.

Enjoy!
--- Cerbere

today53 11-24-2003 10:01 AM

good timing
i was tryign to run it, and it saids something like " Can't connect to the daemon at 127.0.0.1:1213, is giFT running?"

by the way, i reckon the 'gift-setup' is quite confusing.

mossy 11-24-2003 09:45 PM

checking for _snprintf... no
checking for vsnprintf... yes
checking for _vsnprintf... no
checking for lt_dlopen in -lltdl... no
checking ltdl.h usability... no
checking ltdl.h presence... no
hecking for ltdl.h... no

Luddite - yes you are missing dependancies. you can also try tracking each one down here:

rpmfind.net and freshmeat.org

dufferin 12-19-2003 11:58 AM

AnyBody know where gift-setup writes/stores the config file to?
I need to make some changes in there . .

Thanks,
John.

Cerbere 12-20-2003 02:01 AM

The config files for giFT are in ~/.giFT/

You gotta start reading the documentation, duff ;-)

Enjoy!
--- Cerbere

majeztik 07-19-2004 06:05 AM

i keep getting:

*** GIFT-FATAL: couldn't load protocol in file /usr/lib/giFT/libOpenFT.la: file not found
*** Often times more information can be found in the log file or with the -v command line switch.

iv installed this about 10,000 times & tried sooooo many different daemons.

any ideas?

Cerbere 07-20-2004 03:35 AM

You have to install the OpenFT plugin.

The following is from the giFT QUICKSTART file (really helps to read files like README, INSTALL, etc.):
Quote:

First you should download and install the plugins you wish to load through
giftd. No plugins come default (this is changed behaviour from pre-0.11.2),
so you will need to be sure to download at least one independent of this
distribution.
Go back to the giFT website and find the plugins (OpenFT, Gnutella). And while you're reading the documentation, pay attention to this bit:
Quote:

If you are wondering where the FastTrack plugin is, it is not a part of our
standard distribution and is in fact a separately maintained project that
works with giFT. See http://developer.berlios.de/projects/gift-fasttrack for
more information on how to obtain the plugin. Be sure to submit any bugs
specific to the FastTrack plugin to the appropriate developers.
The FastTrack plugin connects you to the network that is used by Kazaa, so you don't want to leave that one out.

If you've already installed the OpenFT plugin and you're getting this message, try running /sbin/ldconfig (as root).

Enjoy!
--- Cerbere

Bebo 07-20-2004 03:53 AM

For Slack users, there are a nice bunch of giFT packages for Slack 10 at slackcare.com. Work like a charm.

Someone asked about Apollon. Apollon will run giftd for you, so you don't have to start it manually.

To use giFT, you have to read what gift-setup prompts for - there is a trick question in it - and remember what you have in your firewalls and /etc/hosts.(deny|allow) ;)

majeztik 07-20-2004 06:01 PM

awesome thanx Cerbere.

ill try it when i get home.

spchehe 08-16-2004 03:36 AM

Oh My God! This is my first thrid party software(except Java, Flash etc) that I have actually installed successfully :cry: ! Thank you very much! :D :D :D :D :D :D :D

mossy 08-16-2004 08:51 AM

heh heh - keep up the good work.
Thanks for the affero!

syme 08-19-2004 05:57 AM

I followed your instructions, and everything seems to have installed well, but when I run giftd I get this:

giftd: error while loading shared libraries: libgift.so.0: cannot open shared object file: No such file or directory

mossy 11-02-2004 01:04 AM

syme

sorry for the very extended delay.
try installing the libgift [it's the gift library]
If running Mandrake and you have your urpmi package manager sorted out [google for "easy urpmi"] then just try
Code:

urpmi exact_package_name
or
urpmi libgift

that will install dependancies too.
Debian has the apt-get manager with similair features.


All times are GMT -5. The time now is 05:02 PM.