SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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:
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
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
building 'libtorrent' extension
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,
./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
error: command 'gcc' failed with exit status 1
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.
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:
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/deluge/ui/gtkui/gtkui.py", line 329, in _on_reactor_start
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.