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 am trying to build Deluge on my Slackware64-current system. I installed all the dependencies and tried to run the Slackbuild from SBo. I got this error:
Code:
copying deluge/ui/web/themes/images/gray/slider/slider-v-thumb.png -> build/lib.linux-x86_64-2.7/deluge/ui/web/themes/images/gray/slider
copying deluge/ui/web/themes/images/gray/slider/slider-thumb.png -> build/lib.linux-x86_64-2.7/deluge/ui/web/themes/images/gray/slider
copying deluge/ui/web/themes/images/gray/window/right-corners.png -> build/lib.linux-x86_64-2.7/deluge/ui/web/themes/images/gray/window
copying deluge/ui/web/themes/images/gray/window/left-corners.png -> build/lib.linux-x86_64-2.7/deluge/ui/web/themes/images/gray/window
copying deluge/ui/web/themes/images/gray/window/top-bottom.png -> build/lib.linux-x86_64-2.7/deluge/ui/web/themes/images/gray/window
copying deluge/ui/web/themes/images/gray/window/left-right.png -> build/lib.linux-x86_64-2.7/deluge/ui/web/themes/images/gray/window
copying deluge/ui/web/themes/images/gray/panel/top-bottom.png -> build/lib.linux-x86_64-2.7/deluge/ui/web/themes/images/gray/panel
copying deluge/ui/web/themes/images/access/grid/hmenu-unlock.png -> build/lib.linux-x86_64-2.7/deluge/ui/web/themes/images/access/grid
copying deluge/ui/web/themes/images/access/grid/hmenu-lock.png -> build/lib.linux-x86_64-2.7/deluge/ui/web/themes/images/access/grid
creating build/lib.linux-x86_64-2.7/deluge/ui/web/themes/images/access/slider
copying deluge/ui/web/themes/images/access/slider/slider-v-thumb.png -> build/lib.linux-x86_64-2.7/deluge/ui/web/themes/images/access/slider
copying deluge/ui/web/themes/images/access/slider/slider-thumb.png -> build/lib.linux-x86_64-2.7/deluge/ui/web/themes/images/access/slider
copying deluge/ui/web/themes/images/access/slider/slider-bg.png -> build/lib.linux-x86_64-2.7/deluge/ui/web/themes/images/access/slider
copying deluge/ui/web/themes/images/access/slider/slider-v-bg.png -> build/lib.linux-x86_64-2.7/deluge/ui/web/themes/images/access/slider
copying deluge/ui/web/themes/images/access/window/right-corners.png -> build/lib.linux-x86_64-2.7/deluge/ui/web/themes/images/access/window
copying deluge/ui/web/themes/images/access/window/left-corners.png -> build/lib.linux-x86_64-2.7/deluge/ui/web/themes/images/access/window
copying deluge/ui/web/themes/images/access/window/top-bottom.png -> build/lib.linux-x86_64-2.7/deluge/ui/web/themes/images/access/window
copying deluge/ui/web/themes/images/access/window/left-right.png -> build/lib.linux-x86_64-2.7/deluge/ui/web/themes/images/access/window
running build_ext
building 'libtorrent' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/libtorrent
creating build/temp.linux-x86_64-2.7/libtorrent/src
creating build/temp.linux-x86_64-2.7/libtorrent/src/kademlia
creating build/temp.linux-x86_64-2.7/libtorrent/bindings
creating build/temp.linux-x86_64-2.7/libtorrent/bindings/python
creating build/temp.linux-x86_64-2.7/libtorrent/bindings/python/src
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.7 -I/usr/include -I -I/usr/include/python2.7 -c ./libtorrent/src/alert.cpp -o build/temp.linux-x86_64-2.7/./libtorrent/src/alert.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -DBOOST_FILESYSTEM_VERSION=2 -O2 -Wno-missing-braces
In file included from /usr/include/pthread.h:24:0,
from /usr/include/c++/4.8.1/x86_64-slackware-linux/bits/gthr-default.h:35,
from /usr/include/c++/4.8.1/x86_64-slackware-linux/bits/gthr.h:148,
from /usr/include/c++/4.8.1/ext/atomicity.h:33,
from /usr/include/c++/4.8.1/bits/basic_string.h:39,
from /usr/include/c++/4.8.1/string:52,
from ./libtorrent/include/libtorrent/alert.hpp:38,
from ./libtorrent/src/alert.cpp:35:
./libtorrent/src/alert.cpp: In member function 'const libtorrent::alert* libtorrent::alert_manager::wait_for_alert(libtorrent::time_duration)':
./libtorrent/src/alert.cpp:67:32: error: expected unqualified-id before numeric constant
boost::xtime_get(&xt, boost::TIME_UTC);
^
error: command 'gcc' failed with exit status 1
deluge:
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?:
I searched for the error on Google and found no results. I do not know what to do and would appreciate any information or guidance. Thanks.
really dunno about the OP problem, but just FYI deluge from SBo (using those versions, 1.3.5 and r7459) builds and runs fine on my slackware64-current (with multilib).
Thank you, bartgymnast! That did let me build it. Someday I will have to ask you to explain to me how you knew about these "known issues" so that I can figure this stuff out for myself next time.
However, now that I have it installed, I am getting an error when I open it that says:
Code:
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/deluge/ui/gtkui/gtkui.py", line 329, in _on_reactor_start
client.start_classic_mode()
File "/usr/lib64/python2.7/site-packages/deluge/ui/client.py", line 559, in start_classic_mode
self._daemon_proxy = DaemonClassicProxy(self.__event_handlers)
File "/usr/lib64/python2.7/site-packages/deluge/ui/client.py", line 432, in __init__
self.__daemon = deluge.core.daemon.Daemon(classic=True)
File "/usr/lib64/python2.7/site-packages/deluge/core/daemon.py", line 136, in __init__
from deluge.core.core import Core
File "/usr/lib64/python2.7/site-packages/deluge/core/core.py", line 36, in <module>
from deluge._libtorrent import lt
File "/usr/lib64/python2.7/site-packages/deluge/_libtorrent.py", line 59, in <module>
import libtorrent as lt
ImportError: dynamic module does not define init function (initlibtorrent)
Someday I am going to be able to read this, but right now I am not sure what it is telling me. This doesn't have anything to do with the difference between using libtorrent (as in libtorrent-r7459, which was in the Slackbuild originally) and libtorrent-rasterbar (which I replaced it with), does it?
I am very grateful for the help, guys.
Edit: I am not having any luck using Deluge in thin-client mode, so until I can get this error resolved and make it work in classic mode, I cannot use it.
I tried building with both of those changes you gave, and it would not work. Then I tried with each of them separately (to see which change was the culprit), and neither change would allow a successful build. The only way I could make the package was to take both of them out.
So still at the same place it seems. :|
Edit: I will do it again and attach terminal output of the failures.
Thank you very much for doing that. It did build, and I installed it again. However, I am still getting the same error I pasted in post 4. So I am still not able to use Deluge.
I found some bug reports about that error (post 4) so I think it is a separate issue. I will post another thread, and link it from here when I do. Marking thread as solved. Thanks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.