DownloadDaemon 1.1

Make a PKGBUILD? Submit it here for user review and possible placement into the repository.

Re: DownloadDaemon 1.1

Postby dan64 » Wed Feb 16, 2011 4:16 pm

Boost libraries should not be necessary, but anyway run: pacman -S gcc boost boost-libs
dan64
 
Posts: 75
Joined: Mon Jan 31, 2011 8:52 pm

Re: DownloadDaemon 1.1

Postby farsheedj » Wed Feb 16, 2011 4:40 pm

$this->bbcode_second_pass_quote('dan64', 'B')oost libraries should not be necessary, but anyway run: pacman -S gcc boost boost-libs

What is this cmakecache.txt error.How do I change or edit this CMakeCache.txt. See error message below.

CMake Error: The current CMakeCache.txt directory /var/abs/local/yaourtbuild/downloaddaemon/src/dd/src/ddconsole/CMakeCache.txt is different than the directory /tmp/yaourt-tmp-root/aur-downloaddaemon/src/dd/src/ddconsole where CMackeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
farsheedj
 
Posts: 49
Joined: Wed Feb 09, 2011 6:07 pm

Re: DownloadDaemon 1.1

Postby dan64 » Wed Feb 16, 2011 4:51 pm

It's better remove any middle layer at the moment, so as test it's better to use the second method (using makepkg).
dan64
 
Posts: 75
Joined: Mon Jan 31, 2011 8:52 pm

Re: DownloadDaemon 1.1

Postby farsheedj » Wed Feb 16, 2011 5:12 pm

$this->bbcode_second_pass_quote('dan64', 'I')t's better remove any middle layer at the moment, so as test it's better to use the second method (using makepkg).

No luck with second method. Get this error. I guess I will stick to the version I have currently installed. Thanks for your time.

Starting package()...
==> Build: ddconsole...
[ 33%] [ 66%] Building CXX object CMakeFiles/ddconsole.dir/ddconsole.cpp.o
Building CXX object CMakeFiles/ddconsole.dir/tmp/dd/src/dd/src/include/netpptk/netpptk.cpp.o
In file included from /usr/include/sys/socket.h:40,
from /tmp/dd/src/dd/src/include/netpptk/netpptk.cpp:26:
/usr/include/bits/socket.h:366:24: error: asm/socket.h: No such file or directory
In file included from /usr/include/sys/socket.h:40,
from /tmp/dd/src/dd/src/ddconsole/../include/netpptk/netpptk.h:22,
from /tmp/dd/src/dd/src/ddconsole/ddconsole.cpp:19:
/usr/include/bits/socket.h:366:24: error: asm/socket.h: No such file or directory
/tmp/dd/src/dd/src/ddconsole/ddconsole.cpp:22:25: error: linux/fcntl.h: No such file or directory
/tmp/dd/src/dd/src/include/netpptk/netpptk.cpp: In constructor âtkSock::tkSock()â:
/tmp/dd/src/dd/src/include/netpptk/netpptk.cpp:86: error: âSOL_SOCKETâ was not declared in this scope
/tmp/dd/src/dd/src/include/netpptk/netpptk.cpp:86: error: âSO_REUSEADDRâ was not declared in this scope
/tmp/dd/src/dd/src/include/netpptk/netpptk.cpp: In constructor âtkSock::tkSock(unsigned int, unsigned int)â:
/tmp/dd/src/dd/src/include/netpptk/netpptk.cpp:114: error: âSOL_SOCKETâ was not declared in this scope
/tmp/dd/src/dd/src/include/netpptk/netpptk.cpp:114: error: âSO_REUSEADDRâ was not declared in this scope
/tmp/dd/src/dd/src/include/netpptk/netpptk.cpp: In member function âvoid tkSock::disconnect()â:
/tmp/dd/src/dd/src/include/netpptk/netpptk.cpp:235: error: âSOL_SOCKETâ was not declared in this scope
/tmp/dd/src/dd/src/include/netpptk/netpptk.cpp:235: error: âSO_REUSEADDRâ was not declared in this scope
/tmp/dd/src/dd/src/include/netpptk/netpptk.cpp: In member function âint tkSock::recv(std::string&, int)â:
/tmp/dd/src/dd/src/include/netpptk/netpptk.cpp:284: error: âSOL_SOCKETâ was not declared in this scope
/tmp/dd/src/dd/src/include/netpptk/netpptk.cpp:284: error: âSO_RCVTIMEOâ was not declared in this scope
/tmp/dd/src/dd/src/include/netpptk/netpptk.cpp:308: error: âSOL_SOCKETâ was not declared in this scope
/tmp/dd/src/dd/src/include/netpptk/netpptk.cpp:308: error: âSO_RCVTIMEOâ was not declared in this scope
/tmp/dd/src/dd/src/include/netpptk/netpptk.cpp:316: error: âSOL_SOCKETâ was not declared in this scope
/tmp/dd/src/dd/src/include/netpptk/netpptk.cpp:316: error: âSO_RCVTIMEOâ was not declared in this scope
make[2]: *** [CMakeFiles/ddconsole.dir/tmp/dd/src/dd/src/include/netpptk/netpptk.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/ddconsole.dir/ddconsole.cpp.o] Error 1
make[1]: *** [CMakeFiles/ddconsole.dir/all] Error 2
make: *** [all] Error 2
Aborting...
farsheedj
 
Posts: 49
Joined: Wed Feb 09, 2011 6:07 pm

Re: DownloadDaemon 1.1

Postby dan64 » Wed Feb 16, 2011 6:06 pm

here there is the last build that I have compiled:

File name: downloaddaemon-1047-1-arm.pkg.tar.xz File size: 426.88 KB

P.S.
If you gives to me the hardware details and send the output of pacman -Q . I will check what is missing.
dan64
 
Posts: 75
Joined: Mon Jan 31, 2011 8:52 pm

Re: DownloadDaemon 1.1

Postby farsheedj » Wed Feb 16, 2011 6:32 pm

$this->bbcode_second_pass_quote('dan64', 'h')ere there is the last build that I have compiled:

File name: downloaddaemon-1047-1-arm.pkg.tar.xz File size: 426.88 KB

P.S.
If you gives to me the hardware details and send the output of pacman -Q . I will check what is missing.


The link to this file appears to be broken. Do you have another link.
I have seagate dockstar and here is pacman -Q output. The list is long so all the program all not showing up in terminal screen before jack and did not come in copy and past . It is starting at jack.


ack 0.118.0-3
jack 0.118.0-3
jfsutils 1.1.14-1
judy 1.0.5-2
kbd 1.15.2-1
kbproto 1.0.5-1
kernel26 2.6.36.2-1
kernel26-headers 2.6.36.2-1
lame 3.98.4-1
lcms 1.19-1
less 436-1
libarchive 2.8.3-3
libcap 2.19-1
libcups 1.4.3-2
libdaemon 0.14-1
libdatrie 0.2.4-1
libdrm 2.4.21-2
libevent 1.4.14b-1
libexif 0.6.19-1
libfetch 2.32-1
libgcrypt 1.4.6-1
libgl 7.7.1-3
libgpg-error 1.7-3
libgssglue 0.1-2
libice 1.0.7-1
libid3tag 0.15.1b-6
libidn 1.19-1
libjpeg 8.0.2-1
libldap 2.4.22-1
libmcrypt 2.5.8-2
libmng 1.0.10-3
libmp4v2 1.9.1-1
libmysqlclient 5.1.50-1
libmythes 1.2.1-1
libnl 1.1-3
libogg 1.2.0-1
liboil 0.3.17-1
libpcap 1.1.1-2
libpng 1.4.4-1
libsamplerate 0.1.7-1
libsasl 2.1.23-4
libsigsegv 2.6-1
libsm 1.2.0-1
libsndfile 1.0.23-1
libtasn1 2.6-1
libthai 0.1.14-1
libtheora 1.1.1-1
libtiff 3.9.4-1
libtirpc 0.2.1-1
libtool 2.2.10-1
libusb 0.1.12-4
libva 1.0.6-1
libvdpau 0.4-1
libvorbis 1.3.1-1
libvpx 0.9.1-1
libx11 1.3.5-2
libxau 1.0.6-1
libxaw 1.0.8-1
libxcb 1.7-1
libxcomposite 0.4.3-1
libxcursor 1.1.11-1
libxdamage 1.1.3-1
libxdmcp 1.1.0-1
libxext 1.2.0-1
libxfixes 4.0.5-1
libxft 2.2.0-1
libxi 1.4.0-1
libxinerama 1.1.1-1
libxml2 2.7.7-2
libxmu 1.1.0-1
libxp 1.0.0-3
libxpm 3.5.9-1
libxrandr 1.3.1-1
libxrender 0.9.6-1
libxslt 1.1.26-2
libxt 1.0.9-1
libxv 1.0.6-1
libxxf86vm 1.1.1-1
libzip 0.9.3-1
licenses 2.6-1
linux-atm 2.5.1-1
logrotate 3.7.8-1
lua 5.1.4-6
lvm2 2.02.70-1
lynx 2.8.7-3
lzo2 2.03-1
m4 1.4.15-1
mailx 8.1.1-7
make 3.81-5
man-db 2.5.7-1
man-pages 3.25-1
mdadm 3.1.2-2
mediatomb 0.12.1-2
mesa 7.7.1-3
minidlna 1.0.18-2
miredo 1.2.3-1
mod_fcgid 2.3.5-1
module-init-tools 3.11.1-2
mpfr 3.0.0-1
multiget 1.2.0-3
mysql 5.1.50-1
mysql-clients 5.1.50-1
namcap 2.7-1
nano 2.2.6-1
ncurses 5.7-3
neon 0.29.3-2
net-snmp 5.5-6
net-tools 1.60-14
netpbm 10.47.18-1
networkmanager 0.8.1-1
networkmanager-openvpn 0.8-1
nginx 0.7.67-3
nspr 4.8.6-1
nss 3.12.6-3
nss-mdns 0.10-2
ntfs-3g 2010.10.2-1
opencore-amr 0.1.2-1
openjdk6-debian 6.b18_1.8.3-1
openjpeg 1.3-3
openntpd 3.9p1-13
openssh 5.5p1-1
openssl 1.0.0.a-3
openvpn 2.1.1-2
orc 0.4.11-1
package-query 0.5-3
pacman 3.4.1-1
pacman-mirrorlist 20100608-1
pam 1.1.1-1
pango 1.28.0-1
patch 2.6.1-1
pciutils 3.1.7-1
pcmciautils 017-1
pcre 8.10-1
perl 5.10.1-5
php 5.3.3-4
pixman 0.18.4-1
pkg-config 0.25-2
plowshare SVN_r1340_snapshot-1
polkit 0.96-1
popt 1.16-2
postfix 2.7.1-2
postgresql-libs 9.0.1-2.1
ppl 0.10.2-3
ppp 2.4.5-1
printproto 1.0.4-2
procps 3.2.8-1
psmisc 22.11-1
pycrypto 2.3-1
pyqt3 3.18.1-4
python 3.1.2-2
python-distribute 0.6.14-5
python-imaging 1.1.7-2
python-pycurl 7.19.0-5
python2 2.7-3
qscintilla-qt3 1.7.1-3
qt 4.6.3-1
qt3 3.3.8-15
randrproto 1.3.2-1
readline 6.1.002-1
recode 3.6-5
reiserfsprogs 3.6.21-2
renderproto 0.11.1-1
rp-pppoe 3.10-5
rpcbind 0.2.0-1
rrdtool 1.4.4-2
rsync 3.0.7-1
run-parts 3.2.2-1
samba 3.5.4-2
schroedinger 1.0.9-1
screen 4.0.3-8
sdl 1.2.14-5
sed 4.2.1-2
shadow 4.1.4.2-3
shared-mime-info 0.80-1
sip 4.11.2-1
smbclient 3.5.4-2
spidermonkey 1.7.0-3
sqlite3 3.6.23.1-1
sqlitemanager 1.2.0-4
subversion 1.6.9-6
sysfsutils 2.1.0-7
syslog-ng 3.2.1-1
sysvinit 2.86-5
taglib 1.6.3-1
talloc 2.0.1-1
tar 1.23-3
tcp_wrappers 7.6-13
tdb 1.2.1-1
tesseract 3.00-2
texinfo 4.13a-4
tidyhtml 1.46-1
tightvnc 1.3.10-5
transmission-cli 2.12-1
tzdata 2010j-1
udev 157-2
unixodbc 2.3.0-1
unrar 3.9.10-1
unzip 6.0-5
usbutils 0.87-1
util-linux-ng 2.18-2
vi 050325-3
videoproto 2.3.1-1
vim 7.3.3-2
vim-runtime 7.3.3-2
wget 1.12-3
which 2.20-4
wireless_tools 29-5
wpa_supplicant 0.6.10-2
wxgtk 2.8.11-1
x264 20100607-1
xcb-proto 1.6-2
xdg-utils 1.0.2.20100618-1
xextproto 7.1.2-1
xf86vidmodeproto 2.3-1
xfsprogs 3.1.1-1
xineramaproto 1.2-1
xorg-xauth 1.0.4-1
xorg-xconsole 1.0.4-1
xproto 7.0.18-1
xvidcore 1.2.2-1
xz 4.999.9beta-5
yajl 1.0.11-2
yaourt 0.9.5.1-1
zlib 1.2.5-2
farsheedj
 
Posts: 49
Joined: Wed Feb 09, 2011 6:07 pm
Top

Re: DownloadDaemon 1.1

Postby dan64 » Wed Feb 16, 2011 8:04 pm

run this: pacman -Q > /<your_share_dir>/pacman.list.txt

And then copy and past the content of "pacman.list.txt"

P.S.
www.fileserve.com appear to be down, try later...
dan64
 
Posts: 75
Joined: Mon Jan 31, 2011 8:52 pm

Re: DownloadDaemon 1.1

Postby pepedog » Wed Feb 16, 2011 9:06 pm

$this->bbcode_second_pass_quote('', '/')usr/include/bits/socket.h:366:24: error: asm/socket.h: No such file or directory

Do you have kernel26-headers installed?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK
Top

Re: DownloadDaemon 1.1

Postby farsheedj » Wed Feb 16, 2011 9:36 pm

$this->bbcode_second_pass_quote('pepedog', '')$this->bbcode_second_pass_quote('', '/')usr/include/bits/socket.h:366:24: error: asm/socket.h: No such file or directory

Do you have kernel26-headers installed?

Pacaman -Ss command shows that kernel26 headers is installed on Arch Linux ARM install
farsheedj
 
Posts: 49
Joined: Wed Feb 09, 2011 6:07 pm
Top

Re: DownloadDaemon 1.1

Postby dan64 » Wed Feb 16, 2011 9:47 pm

could you post the output of: cat /etc/pacman.d/mirrorlist

P.S.
Using makepkg you should see something like this:
$this->bbcode_second_pass_code('', '
[root@Arch86 dd]# makepkg --asroot
==> Determining latest svn revision...
-> Version found: 1047
==> Making package: downloaddaemon 1047-1 (Wed Feb 16 22:02:58 UTC 2011)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Starting build()...
A dd/INSTALLING
A dd/AUTHORS
A dd/TODO
A dd/doc
A dd/src/CMakeLists.txt
A dd/CHANGES
A dd/etc
A dd/etc/init.d
A dd/etc/init.d/downloadd
A dd/etc/downloaddaemon
A dd/etc/downloaddaemon/downloaddaemon.conf
A dd/etc/downloaddaemon/routerinfo.conf
A dd/etc/downloaddaemon/premium_accounts.conf
A dd/DEVELOPING
A dd/CMakeLists.txt
U dd
Checked out revision 1049.
==> SVN checkout done or server timeout
==> Starting make: ddconsole...
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /root/develop/dd/src/dd/src/ddconsole
==> Starting make: daemon...
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Performing Test HAVE_STD_CXX0X
-- Performing Test HAVE_STD_CXX0X - Success
-- Looking for C++ include thread
-- Looking for C++ include thread - found
-- Performing Test HAVE_UINT64_T
-- Performing Test HAVE_UINT64_T - Success
-- Looking for popen
-- Looking for popen - found
-- Found CURL: /usr/lib/libcurl.so
-- Looking for C++ include syslog.h
-- Looking for C++ include syslog.h - found
-- Found Subversion: /usr/bin/svn (found version "1.6.15")
-- Looking for initgroups
-- Looking for initgroups - found
-- Looking for C++ include execinfo.h
-- Looking for C++ include execinfo.h - found
-- Looking for stat64
-- Looking for stat64 - found
-- Configuring done
-- Generating done
-- Build files have been written to: /root/develop/dd/src/dd/src/daemon
==> Starting package()...
==> Build: ddconsole...
Scanning dependencies of target ddconsole
[ 33%] Building CXX object CMakeFiles/ddconsole.dir/ddconsole.cpp.o
[ 66%] Building CXX object CMakeFiles/ddconsole.dir/root/develop/dd/src/dd/src/include/netpptk/netpptk.cpp.o
[100%] Building CXX object CMakeFiles/ddconsole.dir/root/develop/dd/src/dd/src/include/crypt/md5.cpp.o
Linking CXX executable ddconsole
[100%] Built target ddconsole
Install the project...
-- Install configuration: ""
-- Installing: /root/develop/dd/pkg/usr/bin/ddconsole
==> Build: daemon...
Scanning dependencies of target DownloadDaemon
[ 3%] Building CXX object CMakeFiles/DownloadDaemon.dir/downloaddaemon.cpp.o
[ 6%] Building CXX object CMakeFiles/DownloadDaemon.dir/tools/helperfunctions.cpp.o
[ 9%] Building CXX object CMakeFiles/DownloadDaemon.dir/tools/curl_callbacks.cpp.o
[ 12%] Building CXX object CMakeFiles/DownloadDaemon.dir/mgmt/global_management.cpp.o
[ 15%] Building CXX object CMakeFiles/DownloadDaemon.dir/mgmt/mgmt_thread.cpp.o
[ 18%] Building CXX object CMakeFiles/DownloadDaemon.dir/mgmt/connection_manager.cpp.o
[ 21%] Building CXX object CMakeFiles/DownloadDaemon.dir/dl/download.cpp.o
[ 24%] Building CXX object CMakeFiles/DownloadDaemon.dir/dl/recursive_parser.cpp.o
[ 27%] Building CXX object CMakeFiles/DownloadDaemon.dir/root/develop/dd/src/dd/src/include/netpptk/netpptk.cpp.o
[ 30%] Building CXX object CMakeFiles/DownloadDaemon.dir/root/develop/dd/src/dd/src/include/cfgfile/cfgfile.cpp.o
[ 33%] Building CXX object CMakeFiles/DownloadDaemon.dir/dl/download_container.cpp.o
[ 36%] Building CXX object CMakeFiles/DownloadDaemon.dir/dl/package_container.cpp.o
[100%] Building CXX object plugins/CMakeFiles/youtube.com.dir/youtube_com.cpp.o
Linking CXX shared module libyoutube.com.so
[100%] Built target youtube.com
Install the project...
==> Tidying install...
-> Purging other files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Compressing package...
==> Finished making: downloaddaemon 1047-1 (Wed Feb 16 22:16:41 UTC 2011)
')
dan64
 
Posts: 75
Joined: Mon Jan 31, 2011 8:52 pm

PreviousNext

Return to User-Submitted Packages

Who is online

Users browsing this forum: No registered users and 7 guests