Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 24/03/2014, à 18:24

marouano

OpenSSL

Bonjour,
j'essaye à compiler un makefile de ctorrent , mais le fait que je tape ce code "./configure" j'aurais ce message sachant que j'ai installé openssl avec succes.
SVP aidez moi et merci.
  Voilà ce que j'obtient:
"
g507565@sst-g507565fl:~/Downloads/ctorrent$ sudo apt-get install libssl-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libssl-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
g507565@sst-g507565fl:~/Downloads/ctorrent$ cd Downloads/ctorrent
bash: cd: Downloads/ctorrent: No such file or directory
g507565@sst-g507565fl:~/Downloads/ctorrent$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output... 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 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 SHA1_Init in -lssl... no
checking for SHA1_Init in -lcrypt... no
checking for SHA1_Init in -lmd... no
configure: error: error, Please install OpenSSL first!
"

Hors ligne

#2 Le 24/03/2014, à 23:52

Kooothor

Re : OpenSSL

Salut,

Le bug est là : http://sourceforge.net/p/ctorrent/support-requests/1/
Ça se termine par : ctorrent est mort. Utilise ectorrent.
Sauf que y'a pas eu d'updates depuis 2008.

Donc mon conseil : utilise rtorrent.

@+
~ktr

Hors ligne

#3 Le 25/03/2014, à 09:52

marouano

Re : OpenSSL

Bonjour,
merci Kooothor pour votre aide, j'utilise enhanced ctorrent et j'ai le même problème j'arrive pas à le compiler sur ubuntu.
(je veux le compiler sur dropbear) comment faire SVP.

Hors ligne

#4 Le 25/03/2014, à 11:13

Kooothor

Re : OpenSSL

Kooothor a écrit :

Donc mon conseil : utilise rtorrent.

Hors ligne

#5 Le 25/03/2014, à 11:18

marouano

Re : OpenSSL

le probléme c que je dois utiliser ctorrent pour mon PFE c pourquoi je cherche une solution, Voyez?

Hors ligne

#6 Le 25/03/2014, à 13:53

Kooothor

Re : OpenSSL

C'est quoi un PFE ?

Hors ligne

#7 Le 25/03/2014, à 14:42

marouano

Re : OpenSSL

PFE= Projet de fin d'études ,je vais inmplémenter enhanced ctorrent dans une gateway pour gérer le download des torrents.
Pouvez vous m'aider à le compiler sur le pc maintenant?
Merci

Hors ligne

#8 Le 25/03/2014, à 19:02

Kooothor

Re : OpenSSL

Le bug que tu rencontres est là : http://sourceforge.net/p/ctorrent/support-requests/1/
Si tu veux rester accroché à ctorrent comme une moule à son rocher, libre à toi.

Hors ligne

#9 Le 26/03/2014, à 10:08

marouano

Re : OpenSSL

Bonjour,
En fait ce n'est pas mon propre choix c'est pourquoi je dois continuer avec ctorrent.

Hors ligne

#10 Le 26/03/2014, à 10:52

Kooothor

Re : OpenSSL

On a toujours le choix.
Si c'est le choix du prof, tu peux lui dire : «Écoute machin, ton truc là il est tellement vieux et buggé qu'on ne peut même pas le compiler. Alors t'es gentil mais moi j'vais utiliser autre chose hein.» tongue

Hors ligne

#11 Le 26/03/2014, à 10:55

marouano

Re : OpenSSL

Merci pour tout,
maintenant je vais compiler ctorrent sous l'environnement de travail tout va bien mais quand je tape "make ctorrent-dnh3.3.2.tar.gz" ou "make install ctorrent V=99" j'obtient ce message "make: *** [ctorrent-dnh3.3.2.tar.gz] Error 1"
SVP comment faire?
Merci beaucoup!!!

Dernière modification par marouano (Le 26/03/2014, à 16:24)

Hors ligne

#12 Le 27/03/2014, à 18:33

marouano

Re : OpenSSL

Bonjour Kooothor,
est ce que t'as le fichier makefile de ctorrent? toute fois que je compile le shell m'indique que le makefile est erroné.
voilà ce que je tape et ce que obtient:
g507565@sst-g507565fl:~/workspace/BO_fw-scos_TRUNK/openwrt$ make package/feeds/sagemcom/ctorrent/compile V=99
ERROR: please fix package/feeds/sagemcom/ctorrent/Makefile
Collecting package info: done
make[1]: Entering directory `/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt'
make[1]: *** No rule to make target `package/feeds/sagemcom/ctorrent/compile'.  Stop.
make[1]: Leaving directory `/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt'
make: *** [package/feeds/sagemcom/ctorrent/compile] Error 2

Hors ligne

#13 Le 27/03/2014, à 18:42

Kooothor

Re : OpenSSL

Je ne sais pas ce que tu fais comme études, mais si tu tapes des trucs comme :

marouano a écrit :

je tape "make ctorrent-dnh3.3.2.tar.gz"

on a pas dû t'apprendre grand chose... oO

Je pense que tu devrais commencer par la base : http://doc.ubuntu-fr.org/tutoriel/compilation

Hors ligne

#14 Le 31/03/2014, à 15:06

marouano

Re : OpenSSL

Bonjour Kooothor,
la compilation de ctorrent commence mais vite il y aura un problème, je sais pas comment faire.
voilà ce que j'obtient, SVP j'ai besoin de votre aide et merci infiniment.
"
g507565@sst-g507565fl:~/workspace/BO_fw-scos_TRUNK/openwrt$ make package/feeds/sagemcom/ctorrent/compile V=99
make[1]: Entering directory `/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt'
make[2]: Entering directory `/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/package/ocf-crypto-headers'
make[2]: Leaving directory `/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/package/ocf-crypto-headers'
make[2]: Entering directory `/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/package/zlib'
make[2]: Leaving directory `/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/package/zlib'
make[2]: Entering directory `/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/package/openssl'
WARNING: skipping openssl-util -- package not selected
make[2]: Leaving directory `/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/package/openssl'
make[2]: Entering directory `/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/package/libtool'
WARNING: skipping libltdl -- package not selected
make[2]: Leaving directory `/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/package/libtool'
make[2]: Entering directory `/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/feeds/sagemcom/net/ctorrent'
(cd /home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/build_dir/target-mips_uClibc-0.9.30.1/ctorrent-dnh3.3.2; rm -f aclocal.m4; if [ -f ./configure.ac ] || [ -f ./configure.in ]; then [ -d ./autom4te.cache ] && rm -rf autom4te.cache; touch NEWS AUTHORS COPYING ChangeLog; AUTOM4TE=/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/host/bin/autom4te AUTOCONF=/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/host/bin/autoconf AUTOMAKE=/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/host/bin/automake ACLOCAL=/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/host/bin/aclocal AUTOHEADER=/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/host/bin/autoheader LIBTOOLIZE=/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/host/bin/libtoolize LIBTOOL=/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/host/bin/libtool M4=/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/host/bin/m4 AUTOPOINT=true /home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/host/bin/autoreconf -v -f -i -s -B /home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/host/share/aclocal -B /home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/target-mips_uClibc-0.9.30.1/host/share/aclocal -B /home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/target-mips_uClibc-0.9.30.1/usr/share/aclocal -B m4 -I . . || true; fi; );
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: /home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/host/bin/aclocal -I . --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/host/bin/autoconf --include=. --prepend-include=/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/host/share/aclocal --prepend-include=/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/target-mips_uClibc-0.9.30.1/host/share/aclocal --prepend-include=/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/target-mips_uClibc-0.9.30.1/usr/share/aclocal --prepend-include=m4 --force
autoreconf: running: /home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/host/bin/autoheader --include=. --prepend-include=/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/host/share/aclocal --prepend-include=/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/target-mips_uClibc-0.9.30.1/host/share/aclocal --prepend-include=/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/target-mips_uClibc-0.9.30.1/usr/share/aclocal --prepend-include=m4 --force
autoreconf: running: /home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/host/bin/automake --add-missing --force-missing
autoreconf: Leaving directory `.'
(cd /home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/build_dir/target-mips_uClibc-0.9.30.1/ctorrent-dnh3.3.2/./; if [ -x ./configure ]; then /home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/host/bin/find /home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/build_dir/target-mips_uClibc-0.9.30.1/ctorrent-dnh3.3.2/ -name config.guess | xargs -r chmod u+w; /home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/host/bin/find /home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/build_dir/target-mips_uClibc-0.9.30.1/ctorrent-dnh3.3.2/ -name config.guess | xargs -r -n1 cp /home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/scripts/config.guess; /home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/host/bin/find /home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/build_dir/target-mips_uClibc-0.9.30.1/ctorrent-dnh3.3.2/ -name config.sub | xargs -r chmod u+w; /home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/host/bin/find /home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/build_dir/target-mips_uClibc-0.9.30.1/ctorrent-dnh3.3.2/ -name config.sub | xargs -r -n1 cp /home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/scripts/config.sub; AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mabi=32 -mtune=mips32 -fno-strict-aliasing -g3 -fhonour-copts -msoft-float" LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size CFLAGS="-Os -pipe -mabi=32 -mtune=mips32 -fno-strict-aliasing -g3 -fhonour-copts -msoft-float " CXXFLAGS="-Os -pipe -mabi=32 -mtune=mips32 -fno-strict-aliasing -g3 -fhonour-copts -msoft-float " CPPFLAGS="-I/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/target-mips_uClibc-0.9.30.1/usr/include -I/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/target-mips_uClibc-0.9.30.1/include -I/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/toolchain-mips_gcc-4.4.2_uClibc-0.9.30.1/usr/include -I/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/toolchain-mips_gcc-4.4.2_uClibc-0.9.30.1/include " LDFLAGS="-L/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/target-mips_uClibc-0.9.30.1/usr/lib -L/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/target-mips_uClibc-0.9.30.1/lib -L/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/toolchain-mips_gcc-4.4.2_uClibc-0.9.30.1/usr/lib -L/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/staging_dir/toolchain-mips_gcc-4.4.2_uClibc-0.9.30.1/lib "  CXX="g++-uc" CXXFLAGS="$CXXFLAGS -fno-rtti"   ./configure --target=mips-openwrt-linux --host=mips-openwrt-linux --build=i686-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls    --cache-file=/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/tmp/target.configure.cache ; fi; )
configure: WARNING: unrecognized options: --disable-nls
configure: loading site script /home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/include/site/mips-openwrt-linux-uclibc
configure: loading cache /home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/tmp/target.configure.cache
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mips-openwrt-linux-strip... (cached) mips-openwrt-linux-uclibc-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... (cached) yes
checking whether the C++ compiler works... no
configure: error: in `/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/build_dir/target-mips_uClibc-0.9.30.1/ctorrent-dnh3.3.2':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
make[2]: *** [/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/build_dir/target-mips_uClibc-0.9.30.1/ctorrent-dnh3.3.2/.configured_] Error 77
make[2]: Leaving directory `/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt/feeds/sagemcom/net/ctorrent'
make[1]: *** [package/feeds/sagemcom/ctorrent/compile] Error 2
make[1]: Leaving directory `/home/g507565/workspace/BO_fw-scos_TRUNK/openwrt'
make: *** [package/feeds/sagemcom/ctorrent/compile] Error 2
"

Hors ligne

#15 Le 31/03/2014, à 17:08

Kooothor

Re : OpenSSL

Je pense que si tu installais un compileur c++ ça fonctionnerai mieux.

Hors ligne

#16 Le 31/03/2014, à 17:50

marouano

Re : OpenSSL

Bonjour,
j'ai un compilateur c++ (gcc) installé et pourtant je peux pas compiler, comment faire SVP je suis bloqué?
Il parait que mon Makefile est erroné!

Dernière modification par marouano (Le 31/03/2014, à 18:07)

Hors ligne

#18 Le 01/04/2014, à 11:36

marouano

Re : OpenSSL

C'est très gentil Kooothor sad

Hors ligne