[SOLVED] aMule doesn't compile in Slackware 64 stable
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've tried to compile it this morning, using the SlackBuild results in:
Code:
.
.
.
aMule-2.3.1/aMule.app/Contents/Frameworks/libthreadutil.2.dylib
aMule-2.3.1/aMule.app/Contents/Frameworks/libixml.2.dylib
aMule-2.3.1/aMule.app/Contents/SharedSupport/
aMule-2.3.1/aMule.app/Contents/SharedSupport/locale/
patching file src/UPnPBase.cpp
Hunk #1 FAILED at 29.
Hunk #2 succeeded at 1161 (offset 34 lines).
Hunk #3 FAILED at 1149.
Hunk #4 succeeded at 1233 with fuzz 1 (offset 38 lines).
Hunk #5 FAILED at 1216.
Hunk #6 FAILED at 1252.
Hunk #7 FAILED at 1280.
Hunk #8 FAILED at 1321.
Hunk #9 FAILED at 1342.
7 out of 9 hunks FAILED -- saving rejects to file src/UPnPBase.cpp.rej
patching file src/UPnPBase.h
Hunk #1 FAILED at 490.
1 out of 1 hunk FAILED -- saving rejects to file src/UPnPBase.h.rej
aMule:
Would you like to continue processing the rest of the
queue or would you like to abort? If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.
(Y)es to continue, (N)o to abort, (R)etry the build?:
Which is strange, because I had previously built and installed required dependencies in my system:
7 out of 9 hunks FAILED -- saving rejects to file src/UPnPBase.cpp.rej
patching file src/UPnPBase.h
Hunk #1 FAILED at 490.
1 out of 1 hunk FAILED -- saving rejects to file src/UPnPBase.h.rej
Same build failure for me on Slack 14.2_x86 (with or without libupnp installed).
My guess is the patch was added and was somehow never tested or only tested against a different version of aMule. The md5sum still matches what is recorded in the .info file so I doubt the release was changed after the fact.
About why the code first needed to be patched to work and not now is beyond my knowledge...
it actually needs to be patched against libupnp-1.8.x (that is an optional dependency) but to be honest I forgot what I had done/why I had done it when I committed that (senility is hitting me prematurely!).
I'll just revert the commit.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.