aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: Slackware 12.0/12.1  (Read 29642 times)

jman

  • Guest
Slackware 12.0/12.1
« on: June 15, 2008, 01:50:33 AM »

Hello,

this is my first try with a Slackware package, so there may be issues, namely concerning the file "install/slack-
require" which I copied and pasted from another (recent) slack amule package and changed the gcc/gcc-g++
requirements

Here it is for you brave:

ed2k://|file|aMule-2.2.1.tgz|44197878|28256176B0345D2F8DC7E69286D58B24|/

Please reply with comments &| usage reports.

jman

UPDATE: retired from sharing to some weirdnesses (sorry)

UPDATE2: stripped down bin/*, now the package shrinked from 42Mb to ~6mb ;-)
NEW LINK; ed2k://|file|aMule-2.2.1.tgz|6664842|A00F94B0EEAD97BE589D4AA66D633140|/

UPDATE3: webserver compiled-in
ed2k://|file|aMule-2.2.1.tgz|7704468|445399B7ED800DFDAD699C9D7C036948|/
« Last Edit: June 15, 2008, 03:08:20 PM by jman »
Logged

hruotland

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: Slackware 12.0/12.1
« Reply #1 on: June 15, 2008, 10:18:38 AM »

I can't get anything at your new link, and I can't (by searching) find a file named amule-2.2.1.tgz.  ???

UPDATE: It's now downloading. Thanks!
« Last Edit: June 15, 2008, 01:10:20 PM by hruotland »
Logged

jman

  • Guest
Re: Slackware 12.0/12.1
« Reply #2 on: June 15, 2008, 12:58:15 PM »

Hello,

My client went off the server and didn't reconnect to any other while I was away, probably that was the reason.
Now I reconnected and performed a global search:  the file (with correct hash) is found.

You can try from now on.

Sorry for the problem, let me know if it works.

jman
Logged

hruotland

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: Slackware 12.0/12.1
« Reply #3 on: June 15, 2008, 01:51:06 PM »

I downloaded and installed it, and it works.  :)  Thanks!

Comments:

1. You have to install GeoIP. There's a script to build GeoIP at slackbuilds.org.

2. The compilation doesn't include the webserver.
Logged

jman

  • Guest
Re: Slackware 12.0/12.1
« Reply #4 on: June 15, 2008, 03:07:40 PM »

Hi,

thanks for your feedback!

I've built a new package based on your suggestions:
   ed2k://|file|aMule-2.2.1.tgz|7704468|445399B7ED800DFDAD699C9D7C036948|/

* web server included (that was my fault...)
* built against a prepackaged version of GeoIP 1.4.4 (I had installed it from src in the first place). The package I used can be found here:
    http://www.slacky.eu/index.php?option=com_content&task=view&id=7255&Itemid=65

bye,
jman
Logged

hruotland

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: Slackware 12.0/12.1
« Reply #5 on: June 15, 2008, 11:10:02 PM »

I downloaded and installed the latest version, and the webserver indeed works properly.

Remaining issues:

1. UPnP doesn't work, apparently because my Slackware 12.1 installation (which is generally complete, except for KDE) is missing some libraries. From the aMule log:

2008-06-15 15:18:05: UPnP.cpp(87): Universal Plug and Play: error(CDynamicLibHandle): Unable to dlopen libixml.so.2. Check PATH and LD_LIBRARY_PATH.
2008-06-15 15:18:05: UPnP.cpp(87): Universal Plug and Play: error(CDynamicLibHandle): Unable to dlopen libupnp.so.2. Check PATH and LD_LIBRARY_PATH.
2008-06-15 15:18:05: UPnP.cpp(87): Universal Plug and Play: error(CDynamicLibHandle): Unable to dlopen libupnp.so.3. Check PATH and LD_LIBRARY_PATH.
2008-06-15 15:18:05: UPnP.cpp(228): Universal Plug and Play: error(CDynamicLibHandle): Unable to dlopen one or more UPnP component libraries. Check PATH and LD_LIBRARY_PATH.
2008-06-15 15:18:05: amule.cpp(1018): CUPnPException: error(CDynamicLibHandle): Unable to dlopen one or more UPnP component libraries. Check PATH and LD_LIBRARY_PATH.

2. For some reason ED2K won't connect. That's not such a catastrophe for me because I normally just use Kad, which connects OK. I think it connected the first time I ran the previous package you put up, but not thereafter. Maybe it's a transitory thing caused by who knows what. FWIW the log says:

2008-06-15 15:18:05: ServerList.cpp(83): Loading server.met file: /home/jbk/.aMule/server.met
2008-06-15 15:18:06: ServerList.cpp(168): 25 servers in server.met found
2008-06-15 15:18:06: ServerList.cpp(830): Start downloading server list from http://www.gruk.org/server.met.gz
2008-06-15 15:18:06: DownloadQueue.cpp(174): No part files found
2008-06-15 15:18:06: SharedFileList.cpp(352): Found 236 known shared files
2008-06-15 15:18:06: amule.cpp(801): Connecting
2008-06-15 15:18:06: ServerConnect.cpp(111): No valid servers to which to connect found in server list

Dunno why all the servers have suddenly decided to be invalid. That's if I'm right it connected last time.
Logged

jman

  • Guest
Re: Slackware 12.0/12.1
« Reply #6 on: June 16, 2008, 12:43:50 AM »

Hi!

Those seems to be not related to the aMule build, I'll try to give you some hint:

1) libxml2 not found, check if you have a description file in "/var/log/packages" named libxml2-something. If (my guess) you're missing the library, download it from:

http://packages.slackware.it/package.php?q=current/libxml2-2.6.31-i486-2

install it, run (as root) "ldconfig -v | grep -i xml" and see if now it's correctly available to your apps (restart the aMule client).

2) Probably the file server.met is fsck'd up. Shut down aMule, delete the file (it is located in ~/.aMule/), restart the client and let it fetch the list. The link that is provided by default works indeed.

hth,
jman
Logged

hruotland

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: Slackware 12.0/12.1
« Reply #7 on: June 16, 2008, 01:31:06 AM »

Thanks for all the help! (I hope it's helpful to other Slackware users.)

ED2K is connecting again. And I do have libxml2-2.6.31. The oddity is that the aMule log says "Unable to dlopen libixml.so.2" and what I have on my Slack installation is libxml2.so.2, which is a different filename. From Google it appears that libxml and libixml are different, and libixml isn't part of any package normally used with Slackware.
« Last Edit: June 16, 2008, 01:53:26 AM by hruotland »
Logged

jman

  • Guest
Re: Slackware 12.0/12.1
« Reply #8 on: June 16, 2008, 08:45:53 AM »

Hi!

You're right, I didn't notice that 'i' in the middle of the name :-)
And again, I noticed I had installed libupnp (providing the libixml!) from srcs in past.

You can download the official Slack pkg from here:
http://repository.slacky.eu/slackware-12.1/libraries/libupnp/1.6.6/

good luck, you're almost there :-)

jman
Logged

hruotland

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: Slackware 12.0/12.1
« Reply #9 on: June 16, 2008, 03:33:50 PM »

It's getting very close. I also had to run sudo  ln -s /usr/lib/libupnp.so.3.0.5 /usr/lib/libupnp.so.2, because aMule was looking for the latter file and it wasn't in the package you mention. The final problem is that I get

UPnP Error: CUPnPControlPoint::AddPortMapping: Wan Service not detected.

I'd imagine that's a router configuration issue but am busy and will worry about it later.

Thanks again for all the help!
Logged

jman

  • Guest
Re: Slackware 12.0/12.1
« Reply #10 on: June 16, 2008, 09:20:14 PM »

Hello,

Glad to help, I'm learning too a lot of interesting things :)

I'd probably encounter the same error if I used the uPnP feature.
Right or wrong, it is disabled in my config because I use a static TCP/UDP forwarding setup in the router. I'm not very much into the client configuration, but I think that's a feature to be used instead of the static forwarding (in case one cannot get a High ID the "usual" way).
Googling around (with links to this forum too) I see that different versions of libupnp have different (erratic) behaviours, so YMMV...

jman
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
Re: Slackware 12.0/12.1
« Reply #11 on: June 24, 2008, 01:36:53 PM »

Someone could update the wiki information about the compilation of aMule (and if you want rpm packaging) in the latest versions of Slackware? With that information is the latest version would be a great contribution

Here wiki page:

http://www.amule.org/wiki/index.php/HowTo_Compile_In_Slackware

You can get help of these old pages:

http://www.amule.org/wiki/index.php/HowTo_Compile_In_Slackware

jman

  • Guest
Re: Slackware 12.0/12.1
« Reply #12 on: June 25, 2008, 09:45:29 PM »

Someone could update the wiki information about the compilation of aMule (and if you want rpm packaging) in the latest versions of Slackware? With that information is the latest version would be a great contribution

Hello, I checked that page a few days ago, those details are still valid, more or less.
Probably it should be slightly updated to eliminate that "more or less" ;)

I'll check that out, maybe I'll just add a section, instead of modifying the existing content.

jman
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
Re: Slackware 12.0/12.1
« Reply #13 on: June 25, 2008, 09:54:03 PM »

jman, feel free to change/update article on the wiki

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Slackware 12.0/12.1
« Reply #14 on: June 26, 2008, 12:34:54 AM »

You can savely remove all info about <2.2.1. It was just the old version why I've set this marker. I you update it to 2.2.1 and svn, and maybe a recent version of the distro, I can start the translation.
Logged
Homefucking is killing prostitution
Pages: [1] 2