Здравейте,
реших да пробвам и разуча възможностите на apt-build. В началото непрекъснато грешки ми даваше apt-get update заради това, че имал проблем с index файла. Чудех се защо, а то причината била в това, че макар и да ми дава възможност да променя мястото, където да се build-ват пакети, не е препоръчителна. Сложих си по подразбиране, т.е. /var/cache/apt-build/repository и проблема изчезна. Реших да го пробвам като иснталирам rtorrent по следният начин:
Примерен код |
#apt-build install rtorrent
|
, като следвах тази статия. Но както се и очакваше .... греда. Грешката, която намерих, не ми говореше нищо, а и нищо не можах да намеря за нея. Ето я и нея
Примерен код |
download.cc: In constructor 'core::Download::Download(torrent::Download)': download.cc:97: error: 'max_chunks_queued' is not a member of 'torrent::Download' download.cc:97: error: 'set_max_chunks_queued' is not a member of 'torrent::Download' download.cc:99: error: 'timeout_sync' is not a member of 'torrent::Download' download.cc:99: error: 'set_timeout_sync' is not a member of 'torrent::Download' download.cc:100: error: 'timeout_safe_sync' is not a member of 'torrent::Download' download.cc:100: error: 'set_timeout_safe_sync' is not a member of 'torrent::Download' make[4]: *** [download.o] Error 1 make[4]: Leaving directory `/var/cache/apt-build/build/rtorrent-0.6.0/src/core' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/cache/apt-build/build/rtorrent-0.6.0/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/cache/apt-build/build/rtorrent-0.6.0' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/cache/apt-build/build/rtorrent-0.6.0' make: *** [build-stamp] Error 2 .................................................................................. Error while building rtorrent! Sorry, no package to install.
|
Просто не знам, какво трябва да прочета за да мога да се справя с този проблем.
Съдържанието на sources.list е
Примерен код |
#deb http://ftp.bg.debian.org/debian/ stable main #deb-src http://ftp.bg.debian.org/debian/ stable main deb http://ftp.bg.debian.org/debian/ testing main deb ftp://ftp.bg.debian.org/debian stable main contrib non-free deb ftp://ftp.bg.debian.org/debian unstable main contrib non-free deb http://security.debian.org/ stable/updates main deb http://security.debian.org/ testing/updates main deb-src http://security.debian.org/ stable/updates main deb-src http://security.debian.org/ testing/updates main deb-src ftp://ftp.bg.debian.org/debian stable main contrib non-free deb-src ftp://ftp.bg.debian.org/debian unstable main contrib non-free deb file:/var/cache/apt-build/repository apt-build main
# deb-src ftp://ftp.uni-sofia.bg/debian/ testing main
# deb http://security.debian.org/ testing/updates main
#unstable # deb ftp://ftp.bg.debian.org/debian/ unstable main contrib non-free # deb-src ftp://ftp.bg.debian.org/debian/ unstable main contrib non-free # deb ftp://ftp.uni-sofia.bg/debian-addons-bg/ ./ # deb ftp://ftp.nerim.net/debian-marillat/ sarge main # deb ftp://ftp.nerim.net/debian-marillat/ etch main # deb ftp://ftp.nerim.net/debian-marillat/ sid main
# deb http://gefechtsdienst.de/uman/files/ unstable main
|
Съдържанието на /etc/apt/apt-build.conf е
Примерен код |
build-dir = /var/cache/apt-build/build repository-dir = /var/cache/apt-build/repository Olevel = -O2 mtune = -mtune=athlon options = " " make_options = " "
|
Информацията за процесора е
Примерен код |
cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 4 model name : AMD Athlon(TM) stepping : 2 cpu MHz : 1000.224 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow bogomips : 2003.27
|
Ще се радвам на всякакви идея.
Благодаря и всичко най-свежо от мен.