Transmission Slackbuild fails to compile on Slackware64 13.1
I installed libevent, and that went ok, but following installation of the libevent-1.4.13-x86_64-1_SBo.tgz package I got the following error when running transmission.SlackBuild:
Code:
checking for a BSD-compatible install... /usr/bin/ginstall -c Aren't the SlackBuilds x86_64 capable unless stated otherwise? i.e., when I installed others, they went fine, and when there were two different versions the 32 and 64 bit source had separate links. Is there an easy way to tell (other than when, for example, NetBeans said there is no 64 bit SlackBuild available) if a SlackBuild is 64 bit capable? Finally, if I go "multi-lib", and then start installing packages built w/SlackBuilds (or compiling/installing directly from source), will the 64 bit version be built for my platform automatically, or is there some way to choose 64 as opposed to 32 when there's a 64 bit version? |
Transmission compiles fine on 64bit.
The Slackbuilds.org Slackbuild appears correct, and functions as expected here. Did you by chance alter the CFLAGS? That's a common error that happens with misspellings in the CLFAGS line. Check what your uname -m returns as well. Quote:
|
Are you using 13.1 or -current? If you are using -current, did you insalled libelf? If I remember correctly, I had the same problem compiling anything until I installed libelf.
|
Quote:
How would I check to see if the CFLAGS was somehow altered? I don't know how I would go about doing that, and as far as I know, I haven't done anything to alter it. and uname -a returns: Code:
$ uname -a |
Did you download the SlackBuild from here - http://slackbuilds.org/repository/13.../transmission/
What happens if you execute the SlackBuild this way - Code:
ARCH=x86_64 sh transmission.SlackBuild |
Quote:
Quote:
There is a case statement dealing with uname -m, but if the ARCH is hardwired otherwise before that then the case statement nested in the if statement is never tested. If that's correct, then would one just merely remove the reference in the third line of the code below, and if so, to what? Code:
|
Quote:
I'll fire off an email to the Script maintainer so they can fix it. |
Fixed this in my branch, so it'll get pushed out on mext update.
|
Another part that could be also 'improved' is to substitute 'VERSION=2.03' by new standard 'VERSION=${VERSION:-2.03}'. I personally don't like the idea of having to edit the SlackBuild to make it works when compiling another version. Actually I reported this to the maintainer and he said he will do that in next update.
|
Cool!
I stepped on a bug ;) Thanks for all the help! And glad I had something to contribute as well. |
All times are GMT -5. The time now is 10:08 AM. |