Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: Problem pri kompilacii RTorrent+rtGui  (Přečteno 3604 krát)

gmann1

  • Návštěvník
  • Příspěvků: 83
Problem pri kompilacii RTorrent+rtGui
« kdy: 25 Března 2009, 12:24:50 »
Caute,

nasiel som starucky NB (Compaq 1500c -> 233Mhz,160RAM,8GB), ktory som sa rozhodol pouzit na stahovanie torrentov a pripadne aj nieco z HTTP (podla toho ako sa zadari v mojej komfiguracii neho ::) ).
Podarilo sa mi na nom rozchodit Xubuntu 7.10, ktore mi bezi v text mode a vyzera to celkom fajn.
Kedze rtorrent pouzity z balickov nefunguje(asp mne nie  :-[) tak som sa rozhodol, ze to skusim pomocou navodu http://www.zimbio.com/Ubuntu+Linux/articles/195/Install+rtGui+on+Ubuntu?Success=Your+account+was+created+and+your+comment+was+saved.+To+customize+your+account+%3Ca+href%3D%27%2Fregister%27%3Eclick+here%3C%2Fa%3E.&NewUser=1. Som ponastavoval co sa dalo a zastavil sa na bode 6, tj kompilacii rtorrentu, aby bol podporovany www rozhranim.

Kód: [Vybrat]
milos@download:/usr/local/rtorrent-0.7.4$ sudo make install
[sudo] password for milos:
Making install in doc
make[1]: Entering directory `/usr/local/rtorrent-0.7.4/doc'
make[2]: Entering directory `/usr/local/rtorrent-0.7.4/doc'
make[2]: Nothing to be done for `install-exec-am'.
/bin/bash ../mkinstalldirs /usr/local/man/man1
 /usr/bin/install -c -m 644 ./rtorrent.1 /usr/local/man/man1/rtorrent.1
make[2]: Leaving directory `/usr/local/rtorrent-0.7.4/doc'
make[1]: Leaving directory `/usr/local/rtorrent-0.7.4/doc'
Making install in src
make[1]: Entering directory `/usr/local/rtorrent-0.7.4/src'
Making install in core
make[2]: Entering directory `/usr/local/rtorrent-0.7.4/src/core'
make[3]: Entering directory `/usr/local/rtorrent-0.7.4/src/core'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/usr/local/rtorrent-0.7.4/src/core'
make[2]: Leaving directory `/usr/local/rtorrent-0.7.4/src/core'
Making install in display
make[2]: Entering directory `/usr/local/rtorrent-0.7.4/src/display'
make[3]: Entering directory `/usr/local/rtorrent-0.7.4/src/display'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/usr/local/rtorrent-0.7.4/src/display'
make[2]: Leaving directory `/usr/local/rtorrent-0.7.4/src/display'
Making install in input
make[2]: Entering directory `/usr/local/rtorrent-0.7.4/src/input'
make[3]: Entering directory `/usr/local/rtorrent-0.7.4/src/input'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/usr/local/rtorrent-0.7.4/src/input'
make[2]: Leaving directory `/usr/local/rtorrent-0.7.4/src/input'
Making install in ui
make[2]: Entering directory `/usr/local/rtorrent-0.7.4/src/ui'
make[3]: Entering directory `/usr/local/rtorrent-0.7.4/src/ui'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/usr/local/rtorrent-0.7.4/src/ui'
make[2]: Leaving directory `/usr/local/rtorrent-0.7.4/src/ui'
Making install in utils
make[2]: Entering directory `/usr/local/rtorrent-0.7.4/src/utils'
make[3]: Entering directory `/usr/local/rtorrent-0.7.4/src/utils'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/usr/local/rtorrent-0.7.4/src/utils'
make[2]: Leaving directory `/usr/local/rtorrent-0.7.4/src/utils'
make[2]: Entering directory `/usr/local/rtorrent-0.7.4/src'
/bin/bash ../libtool --mode=link g++  -O2 -Wall -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include     -o rtorrent  command_scheduler.o command_scheduler_item.o control.o globals.o main.o option_handler_rules.o option_parser.o signal_handler.o ../src/ui/libsub_ui.a ../src/core/libsub_core.a ../src/display/libsub_display.a ../src/input/libsub_input.a ../src/utils/libsub_utils.a -lncurses  -lsigc-2.0 -lcurl -lgssapi_krb5 -ltorrent
g++ -O2 -Wall -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -o rtorrent command_scheduler.o command_scheduler_item.o control.o globals.o main.o option_handler_rules.o option_parser.o signal_handler.o  ../src/ui/libsub_ui.a ../src/core/libsub_core.a ../src/display/libsub_display.a ../src/input/libsub_input.a ../src/utils/libsub_utils.a -lncurses /usr/lib/libcurl-gnutls.so /usr/lib/libidn.so -ldl /usr/lib/libgnutls.so -L/usr/lib /usr/lib/libtasn1.so -lz /usr/lib/libgcrypt.so /usr/lib/libgpg-error.so -lgssapi_krb5 /usr/lib/libtorrent.so -lcrypto /usr/lib/libsigc-2.0.so
[b]/usr/bin/ld: cannot find -lcrypto
collect2: ld returned 1 exit status
make[2]: *** [rtorrent] Chyba 1
make[2]: Leaving directory `/usr/local/rtorrent-0.7.4/src'
make[1]: *** [install-recursive] Chyba 1
make[1]: Leaving directory `/usr/local/rtorrent-0.7.4/src'
make: *** [install-recursive] Chyba 1[/b]
¨Pytal¨ som sa uz aj uja Googla a zial neviem sa dostat cez tuto chybu, ohladom nenajdenia lcrypt-u.

Vie mi niekto poradit ako dalej, pripadne iny postup/navod na riesenie mojho cielu ???  ???

Thx
« Poslední změna: 25 Března 2009, 16:24:26 od gmann1 »

premet

  • Host
Re: Problem pri kompilacii RTorrent+rtGui
« Odpověď #1 kdy: 25 Března 2009, 14:43:43 »
Protože to kompiluješ nejspíš špatně, nejdřív se většinou pouští
Kód: [Vybrat]
./configurepak
Kód: [Vybrat]
makea nakonec
Kód: [Vybrat]
sudo make installprotože to vyžaduje superuživatelský oprávnění

gmann1

  • Návštěvník
  • Příspěvků: 83
Re: Problem pri kompilacii RTorrent+rtGui
« Odpověď #2 kdy: 25 Března 2009, 16:31:55 »
opravil som moj postup  :-[ - je jasne, ze som to robil vsetko ako roo a cely postup ako si napisal

premet

  • Host
Re: Problem pri kompilacii RTorrent+rtGui
« Odpověď #3 kdy: 25 Března 2009, 16:37:08 »
A configure a make ti projelo bez chyby ?

gmann1

  • Návštěvník
  • Příspěvků: 83
Re: Problem pri kompilacii RTorrent+rtGui
« Odpověď #4 kdy: 25 Března 2009, 16:53:12 »
ano.
Teda boli tam nejake chyby, ze chybaju nejake kniznice ...ale to som tiez s pomocou googla zvladol-teda aspon myslim  :-\

Ale pre istotu skusim este raz postu dla navodu :

sudo ./configure --with-xmlrpc-c
sudo make
sudo make install
« Poslední změna: 25 Března 2009, 16:56:05 od gmann1 »

gmann1

  • Návštěvník
  • Příspěvků: 83
Re: Problem pri kompilacii RTorrent+rtGui
« Odpověď #5 kdy: 25 Března 2009, 17:01:55 »
Kód: [Vybrat]
milos@download:/usr/local/rtorrent-0.7.4$ sudo ./configure --with-xmlrpc-c
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for user-defined CXXFLAGS... default "-O2 -Wall"
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for execinfo.h... yes
checking for proper overloaded template function disambiguation... yes
checking for library containing add_wch... no
checking for library containing wbkgdset... -lncurses
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking for statvfs... ok
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for STUFF... yes
checking if compiler supports __attribute__((unused))... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/core/Makefile
config.status: creating src/display/Makefile
config.status: creating src/input/Makefile
config.status: creating src/ui/Makefile
config.status: creating src/utils/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
milos@download:/usr/local/rtorrent-0.7.4$

tak toto je teda 1.cast
« Poslední změna: 25 Března 2009, 17:11:57 od Premet »

gmann1

  • Návštěvník
  • Příspěvků: 83
Re: Problem pri kompilacii RTorrent+rtGui
« Odpověď #6 kdy: 25 Března 2009, 17:04:53 »
2-ha cast sudo make a mame tu nas problem s chybajucim lcryptom

Kód: [Vybrat]
milos@download:/usr/local/rtorrent-0.7.4$ sudo make
make  all-recursive
make[1]: Entering directory `/usr/local/rtorrent-0.7.4'
Making all in doc
make[2]: Entering directory `/usr/local/rtorrent-0.7.4/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/rtorrent-0.7.4/doc'
Making all in src
make[2]: Entering directory `/usr/local/rtorrent-0.7.4/src'
Making all in core
make[3]: Entering directory `/usr/local/rtorrent-0.7.4/src/core'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/rtorrent-0.7.4/src/core'
Making all in display
make[3]: Entering directory `/usr/local/rtorrent-0.7.4/src/display'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/rtorrent-0.7.4/src/display'
Making all in input
make[3]: Entering directory `/usr/local/rtorrent-0.7.4/src/input'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/rtorrent-0.7.4/src/input'
Making all in ui
make[3]: Entering directory `/usr/local/rtorrent-0.7.4/src/ui'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/rtorrent-0.7.4/src/ui'
Making all in utils
make[3]: Entering directory `/usr/local/rtorrent-0.7.4/src/utils'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/rtorrent-0.7.4/src/utils'
make[3]: Entering directory `/usr/local/rtorrent-0.7.4/src'
/bin/bash ../libtool --mode=link g++  -O2 -Wall -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include     -o rtorrent  command_scheduler.o command_scheduler_item.o control.o globals.o main.o option_handler_rules.o option_parser.o signal_handler.o ../src/ui/libsub_ui.a ../src/core/libsub_core.a ../src/display/libsub_display.a ../src/input/libsub_input.a ../src/utils/libsub_utils.a -lncurses  -lsigc-2.0 -lcurl -lgssapi_krb5 -ltorrent
g+a+ -O2 -Wall -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -o rtorrent command_scheduler.o command_scheduler_item.o control.o globals.o main.o option_handler_rules.o option_parser.o signal_handler.o  ../src/ui/libsub_ui.a ../src/core/libsub_core.a ../src/display/libsub_display.a ../src/input/libsub_input.a ../src/utils/libsub_utils.a -lncurses /usr/lib/libcurl-gnutls.so /usr/lib/libidn.so -ldl /usr/lib/libgnutls.so -L/usr/lib /usr/lib/libtasn1.so -lz /usr/lib/libgcrypt.so /usr/lib/libgpg-error.so -lgssapi_krb5 /usr/lib/libtorrent.so -lcrypto /usr/lib/libsigc-2.0.so

[b]/usr/bin/ld: cannot find -lcrypto [/b]
collect2: ld returned 1 exit status
make[3]: *** [rtorrent] Chyba 1
make[3]: Leaving directory `/usr/local/rtorrent-0.7.4/src'
make[2]: *** [all-recursive] Chyba 1
make[2]: Leaving directory `/usr/local/rtorrent-0.7.4/src'
make[1]: *** [all-recursive] Chyba 1
make[1]: Leaving directory `/usr/local/rtorrent-0.7.4'
make: *** [all] Chyba 2
milos@download:/usr/local/rtorrent-0.7.4$
« Poslední změna: 25 Března 2009, 17:12:24 od Premet »

Milhouse

  • Moderátor
  • Závislák
  • ***
  • Příspěvků: 5726
Re: Problem pri kompilacii RTorrent+rtGui
« Odpověď #7 kdy: 25 Března 2009, 17:46:24 »
configure a make bez práv admina. Až make install se sudo.

N. Á. V. O. D. Y.
 "...naše práce není vidět, ale je důležitá!"

gmann1

  • Návštěvník
  • Příspěvků: 83
Re: Problem pri kompilacii RTorrent+rtGui
« Odpověď #8 kdy: 25 Března 2009, 17:58:00 »
to Milhouse:
-configure  - prebehlo v pohode

make - ta ista chyba :

¨...
 -lcrypto /usr/lib/libsigc-2.0.so
/usr/bin/ld: cannot find -lcrypto
collect2: ld returned 1 exit status
make[3]: *** [rtorrent] Chyba 1
make[3]: Leaving directory `/usr/local ....¨



otazka - neexistuje nejaka ina moznost/alternativa na taketo stahovanie s tym, ze je to cez web rozhranie a ten moj crepnicek to aj potiahne ???  ;D
« Poslední změna: 25 Března 2009, 18:02:55 od gmann1 »

Martin - ViPEr*CZ*

Re: Problem pri kompilacii RTorrent+rtGui
« Odpověď #9 kdy: 25 Března 2009, 18:07:14 »
to Milhouse:
-configure  - prebehlo v pohode

make - ta ista chyba :

¨...
 -lcrypto /usr/lib/libsigc-2.0.so
/usr/bin/ld: cannot find -lcrypto
collect2: ld returned 1 exit status
make[3]: *** [rtorrent] Chyba 1
make[3]: Leaving directory `/usr/local ....¨



otazka - neexistuje nejaka ina moznost/alternativa na taketo stahovanie s tym, ze je to cez web rozhranie a ten moj crepnicek to aj potiahne ???  ;D

Zkuste to celý smazat a znova rozbalit... poté configure a make bez sudo... pokud to bude psát chybu s -lcrypto znamená to že je chyba s nějakou crypto knihovnou... zkusil bych instalaci libcrypto-dev nebo crypto-dev a podobně... i když se divím, že to neodhalí configure.
Open source is gold way... Mint 17.2, Debian 8.1 Jessie| Ubuntu Wiki (návody) | Google vyhledávač | Qt4 návody

gmann1

  • Návštěvník
  • Příspěvků: 83
Re: Problem pri kompilacii RTorrent+rtGui
« Odpověď #10 kdy: 25 Března 2009, 18:43:24 »
stiahol som znova, rozpakoval ...doinstaloval LIBCRYPTO++-dev ....a zial nic, stale ta ista chyba.
Asi hodim flintu do zita  :-\ a kaslem nato.

Martin - ViPEr*CZ*

Re: Problem pri kompilacii RTorrent+rtGui
« Odpověď #11 kdy: 25 Března 2009, 18:51:50 »
A jinou crypto knihovnu to nenabízí k instalaci (nejsem ted na linuxu)?

Ten přepínač -l značí, že se má přilinkovat právě nějaká crypto knihovna ;) Jde editovat Makefile soubor a vyhodit ten přepínač, ale asi se to bez tý knihovny neskompiluje... každopádně za zkoušku nic nedáme.... ale furt je mě divný, že to projde přes configure. To by mělo kontrolovat dosažitelnost knihoven.
Open source is gold way... Mint 17.2, Debian 8.1 Jessie| Ubuntu Wiki (návody) | Google vyhledávač | Qt4 návody

gmann1

  • Návštěvník
  • Příspěvků: 83
Re: Problem pri kompilacii RTorrent+rtGui
« Odpověď #12 kdy: 25 Března 2009, 19:09:42 »
nuz su tam :
libcrypto++dev (mam nainstalovane)
...utils (mam nainstalovane)
...crypto6 (mam nainstalovane)
libcryptokit-ocaml

Martin - ViPEr*CZ*

Re: Problem pri kompilacii RTorrent+rtGui
« Odpověď #13 kdy: 25 Března 2009, 19:22:53 »
nuz su tam? to znamená že se to povedlo?
Open source is gold way... Mint 17.2, Debian 8.1 Jessie| Ubuntu Wiki (návody) | Google vyhledávač | Qt4 návody

gmann1

  • Návštěvník
  • Příspěvků: 83
Re: Problem pri kompilacii RTorrent+rtGui
« Odpověď #14 kdy: 25 Března 2009, 19:25:24 »
zial nie. Uz predtym som cez Synaptic doinstaloval skoro vsetko na libcrypto a crypto ...ale nestaci to, stale tomu daco chyba.

Nenapada niekoho pripadne ine riesenie, ved ja sa predsa nemusim urputne drzat rtorrentu ...?

Martin - ViPEr*CZ*

Re: Problem pri kompilacii RTorrent+rtGui
« Odpověď #15 kdy: 25 Března 2009, 19:34:01 »
No a co píšou v README nebo INSTALL souboru? Nebo na stránkách projektu? Tam většinou píšou co je potřeba za knihovny.

Na torrenty lze třeba použít Azureus. ;)
Open source is gold way... Mint 17.2, Debian 8.1 Jessie| Ubuntu Wiki (návody) | Google vyhledávač | Qt4 návody

gmann1

  • Návštěvník
  • Příspěvků: 83
Re: Problem pri kompilacii RTorrent+rtGui
« Odpověď #16 kdy: 25 Března 2009, 19:39:27 »
to hej, ale kedze to mam len 266MHz a 160RAM na Xubuntu, tak neviem si predstavit ako by to na Azureusi chodilo.
Web som chcel aj preto, ze by som vedel aj mimo domu dohadzovat abs jednoducho torenty.

Milhouse

  • Moderátor
  • Závislák
  • ***
  • Příspěvků: 5726
Re: Problem pri kompilacii RTorrent+rtGui
« Odpověď #17 kdy: 26 Března 2009, 11:02:47 »
Používám rTorren bez GUI a pracuje se s tím výborně! V kombinaci se Screen to je balada!

N. Á. V. O. D. Y.
 "...naše práce není vidět, ale je důležitá!"

gmann1

  • Návštěvník
  • Příspěvků: 83
Re: Problem pri kompilacii RTorrent+rtGui
« Odpověď #18 kdy: 26 Března 2009, 12:36:06 »
nad tym som rozmyslal tiez, ale zial pre mna je niekedy vyhodnejsie prave web rozhranie ako ssl+screen atd ...
Ale nejako som nainstaloval a ako tak vecer rozchodil mlGui , tak sa skusim pohrat s tym asnad rozchodim asp to.

 

Provoz zaštiťuje spolek OpenAlt.