ubuntuusers.de

DC++ Installation mit configure und make; Problem mit gcc, g++ und PATH$

Status: Gelöst | Ubuntu-Version: Ubuntu 13.10 (Saucy Salamander)
Antworten |

doenis

Anmeldungsdatum:
22. November 2013

Beiträge: Zähle...

Hey Community,

versuche einen DC++ client auf Ubuntu 13.10 zu installieren, leider schlägt

1
./configure

immer wieder fehl. Es handelt sich um dclib-0.3.10, was vom Netzwerkbetreiber (Wohnheim) zur Verfügung gestellt bzw. empfohlen wird.

Ich wechsle mit cd in den Ordner des entpackten .tar.bz-Archivs und führe ./configure durch:

Erster Fehler: Irgendwie ist der passende Kompiler nicht vorinstalliert daher lade ich ihn mit

1
 apt-get install build-essential 

Zweiter Fehler:

1
configure: error: bzlib headers not found. install bzlib devel package

Denke das hängt damit zusammen das das .bz Format nicht Standard ist (ähnlich wie .rar, was ich auch neulich nachinstallieren musste) per Internet Recherche finde ich zwar nur wenig dazu, entscheide mich dann aber für

1
apt-get install lib32z1-dev

was nichts änder. Ach stimmt, is'n 64-Bit Linux, versuchen wir's doch mal mit

1
apt-get install lib64z1-dev

und siehe da: Fehler beseitigt. (muss ich lib32z1-dev wieder löschen weil ich mir sonst das System zumülle?)

Nun der letzte Fehler:

1
configure: error: no acceptable C compiler found in $PATH

Was für mich zwar Sinn macht (muss ich halt den PATH ändern) aber da steht noch mehr:

1
2
3
build-essential : Hängt ab von: gcc (>= 4:4.4.3) soll aber nicht installiert werden
                   Hängt ab von: g++ (>= 4:4.4.3) soll aber nicht installiert werden
lib64z1-dev:i386 : Hängt ab von: lib64c-dev:i386

Wieso steht da denn jetzt bitt "SOLL ABER NICHT INSTALLIERT WERDEN" ... NATÜRLICH SOLL DAS INSTALLIERT WERDEN xD Ich probiere es mit

1
2
apt-get -f install und
apt-get install -f build-essential

Aber nichts ändert sich... HILFE?

doenis

(Themenstarter)

Anmeldungsdatum:
22. November 2013

Beiträge: 11

Problem trat bereits gestern abend auf... Jetzt meckert auch noch VirtualBox es können den LinuxKernelDriver nicht finden, und das Software-Center meldet, dass ich nichts installieren kann weil noch Probleme mit besthehenden Paketen bestehen ... Wenn ich den Fehler "BEHEBEN" möchte klappt das auch nicht: installArchives() failed: (Reading database ...

(Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 303874 files and directories currently installed.) Unpacking libc6-dev-amd64 (from .../libc6-dev-amd64_2.17-93ubuntu4_i386.deb) ... dpkg: error processing /var/cache/apt/archives/libc6-dev-amd64_2.17-93ubuntu4_i386.deb (--unpack): trying to overwrite '/usr/include/fpu_control.h', which is also in package libc6-dev-i386 2.17-93ubuntu4 Errors were encountered while processing: /var/cache/apt/archives/libc6-dev-amd64_2.17-93ubuntu4_i386.deb dpkg: dependency problems prevent configuration of lib64z1-dev: lib64z1-dev depends on lib64c-dev.

dpkg: error processing lib64z1-dev (--configure): dependency problems - leaving unconfigured

lubux

Anmeldungsdatum:
21. November 2012

Beiträge: 14393

doenis schrieb:

versuche einen DC++ client auf Ubuntu 13.10 zu installieren, leider schlägt

1
./configure

immer wieder fehl.

Kannst Du nicht den EiskaltDC++-Client, den Du mit apt-get installieren könntest verwenden, weil Du einen DC++-Client aus dem source code kompilieren willst?

Wie ist bei deinem 13.10, im Terminal, die Ausgabe für:

apt-get -s install eiskaltdc++

, nach dem Du dein System wieder in Ordnung gebracht hast?

doenis

(Themenstarter)

Anmeldungsdatum:
22. November 2013

Beiträge: 11

Hehe ja danke ... eine Alternative war für mich keine Alternative, weil ich ja aus den Fehlern lernen will. Apropos System wieder in Ordnung bringen: HILFE?

lubux

Anmeldungsdatum:
21. November 2012

Beiträge: 14393

doenis schrieb:

... eine Alternative war für mich keine Alternative, weil ich ja aus den Fehlern lernen will.

OK, ... aber um welchen DC++ client geht es bei dir? Evtl. muss das configure-Script, wegen der Version von gcc/g++, angepasst werden.

doenis

(Themenstarter)

Anmeldungsdatum:
22. November 2013

Beiträge: 11

Hey Danke für die vielen Antworte!

Über den Client weiß ich nur das es sich um "dclib-0.3.10" handelt ... hoffe so heißt der Client und das ist nicht nur eine Bibliothek mit der man vllt einzeln gar nichts anfangen kann...

Konnte es zwischenzeitig nicht abwarten und habe die Initiative ergriffen - Mein grundsätzliches Problem ist gelöst, wers nicht wissen will diesen Abschnitt überspringen: apt-get remove dkms, apt-get remove virtualbox apt-get install dkms, apt-get install virtualbox

Im Anschluss liefen configure und make des dclib-0.3.10 einwandfrei... allerdings weiß ich jetzt nicht wies weitergeht make install und checkintall führen nicht zum Ziel ... ☹

doenis

(Themenstarter)

Anmeldungsdatum:
22. November 2013

Beiträge: 11

Anscheinend funktioniert make install sogar ... aber wie starte ich das fuckin' Programm denn jetzt endlich?

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
Making install in dclib
make[1]: Betrete Verzeichnis '/home/dns/Downloads/DC++/dclib-0.3.10/dclib'
Making install in core
make[2]: Betrete Verzeichnis '/home/dns/Downloads/DC++/dclib-0.3.10/dclib/core'
make[3]: Betrete Verzeichnis '/home/dns/Downloads/DC++/dclib-0.3.10/dclib/core'
make[3]: Für das Ziel »install-exec-am« ist nichts zu tun.
/bin/bash ../../admin/mkinstalldirs /usr/local/include/dclib/core
 /usr/bin/install -c -p -m 644 casyncdns.h /usr/local/include/dclib/core/casyncdns.h
 /usr/bin/install -c -p -m 644 cbase32.h /usr/local/include/dclib/core/cbase32.h
 /usr/bin/install -c -p -m 644 cbase64.h /usr/local/include/dclib/core/cbase64.h
 /usr/bin/install -c -p -m 644 cbytearray.h /usr/local/include/dclib/core/cbytearray.h
 /usr/bin/install -c -p -m 644 cbz.h /usr/local/include/dclib/core/cbz.h
 /usr/bin/install -c -p -m 644 ccallback.h /usr/local/include/dclib/core/ccallback.h
 /usr/bin/install -c -p -m 644 cconnection.h /usr/local/include/dclib/core/cconnection.h
 /usr/bin/install -c -p -m 644 cdir.h /usr/local/include/dclib/core/cdir.h
 /usr/bin/install -c -p -m 644 cfile.h /usr/local/include/dclib/core/cfile.h
 /usr/bin/install -c -p -m 644 che3.h /usr/local/include/dclib/core/che3.h
 /usr/bin/install -c -p -m 644 clist.h /usr/local/include/dclib/core/clist.h
 /usr/bin/install -c -p -m 644 clisten.h /usr/local/include/dclib/core/clisten.h
 /usr/bin/install -c -p -m 644 clogfile.h /usr/local/include/dclib/core/clogfile.h
 /usr/bin/install -c -p -m 644 cmanager.h /usr/local/include/dclib/core/cmanager.h
 /usr/bin/install -c -p -m 644 cmd4.h /usr/local/include/dclib/core/cmd4.h
 /usr/bin/install -c -p -m 644 cmd5.h /usr/local/include/dclib/core/cmd5.h
 /usr/bin/install -c -p -m 644 cobject.h /usr/local/include/dclib/core/cobject.h
 /usr/bin/install -c -p -m 644 cplugin.h /usr/local/include/dclib/core/cplugin.h
 /usr/bin/install -c -p -m 644 csingleton.h /usr/local/include/dclib/core/csingleton.h
 /usr/bin/install -c -p -m 644 csocket.h /usr/local/include/dclib/core/csocket.h
 /usr/bin/install -c -p -m 644 cssl.h /usr/local/include/dclib/core/cssl.h
 /usr/bin/install -c -p -m 644 cstring.h /usr/local/include/dclib/core/cstring.h
 /usr/bin/install -c -p -m 644 cstringlist.h /usr/local/include/dclib/core/cstringlist.h
 /usr/bin/install -c -p -m 644 cthread.h /usr/local/include/dclib/core/cthread.h
 /usr/bin/install -c -p -m 644 cxml.h /usr/local/include/dclib/core/cxml.h
 /usr/bin/install -c -p -m 644 filecopy.h /usr/local/include/dclib/core/filecopy.h
 /usr/bin/install -c -p -m 644 types.h /usr/local/include/dclib/core/types.h
 /usr/bin/install -c -p -m 644 platform.h /usr/local/include/dclib/core/platform.h
 /usr/bin/install -c -p -m 644 czlib.h /usr/local/include/dclib/core/czlib.h
make[3]: Verlasse Verzeichnis '/home/dns/Downloads/DC++/dclib-0.3.10/dclib/core'
make[2]: Verlasse Verzeichnis '/home/dns/Downloads/DC++/dclib-0.3.10/dclib/core'
Making install in hash
make[2]: Betrete Verzeichnis '/home/dns/Downloads/DC++/dclib-0.3.10/dclib/hash'
make[3]: Betrete Verzeichnis '/home/dns/Downloads/DC++/dclib-0.3.10/dclib/hash'
make[3]: Für das Ziel »install-exec-am« ist nichts zu tun.
/bin/bash ../../admin/mkinstalldirs /usr/local/include/dclib/hash
 /usr/bin/install -c -p -m 644 Encoder.h /usr/local/include/dclib/hash/Encoder.h
 /usr/bin/install -c -p -m 644 HashValue.h /usr/local/include/dclib/hash/HashValue.h
 /usr/bin/install -c -p -m 644 MerkleTree.h /usr/local/include/dclib/hash/MerkleTree.h
 /usr/bin/install -c -p -m 644 TigerHash.h /usr/local/include/dclib/hash/TigerHash.h
 /usr/bin/install -c -p -m 644 compat.h /usr/local/include/dclib/hash/compat.h
make[3]: Verlasse Verzeichnis '/home/dns/Downloads/DC++/dclib-0.3.10/dclib/hash'
make[2]: Verlasse Verzeichnis '/home/dns/Downloads/DC++/dclib-0.3.10/dclib/hash'
make[2]: Betrete Verzeichnis '/home/dns/Downloads/DC++/dclib-0.3.10/dclib'
make[3]: Betrete Verzeichnis '/home/dns/Downloads/DC++/dclib-0.3.10/dclib'
/bin/bash ../admin/mkinstalldirs /usr/local/lib
 /bin/bash ../libtool --mode=install /usr/bin/install -c -p  libdc.la /usr/local/lib/libdc.la
/usr/bin/install -c -p .libs/libdc.so.0.0.1 /usr/local/lib/libdc.so.0.0.1
(cd /usr/local/lib && { ln -s -f libdc.so.0.0.1 libdc.so.0 || { rm -f libdc.so.0 && ln -s libdc.so.0.0.1 libdc.so.0; }; })
(cd /usr/local/lib && { ln -s -f libdc.so.0.0.1 libdc.so || { rm -f libdc.so && ln -s libdc.so.0.0.1 libdc.so; }; })
/usr/bin/install -c -p .libs/libdc.lai /usr/local/lib/libdc.la
/usr/bin/install -c -p .libs/libdc.a /usr/local/lib/libdc.a
chmod 644 /usr/local/lib/libdc.a
ranlib /usr/local/lib/libdc.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/bash ../admin/mkinstalldirs /usr/local/share/dclib
/bin/bash ../admin/mkinstalldirs /usr/local/share/dclib/plugin
/bin/bash ../admin/mkinstalldirs /usr/local/include/dclib
 /usr/bin/install -c -p -m 644 cclient.h /usr/local/include/dclib/cclient.h
 /usr/bin/install -c -p -m 644 cconfig.h /usr/local/include/dclib/cconfig.h
 /usr/bin/install -c -p -m 644 cdcproto.h /usr/local/include/dclib/cdcproto.h
 /usr/bin/install -c -p -m 644 cdownloadmanager.h /usr/local/include/dclib/cdownloadmanager.h
 /usr/bin/install -c -p -m 644 cdownloadqueue.h /usr/local/include/dclib/cdownloadqueue.h
 /usr/bin/install -c -p -m 644 cencrypt.h /usr/local/include/dclib/cencrypt.h
 /usr/bin/install -c -p -m 644 cfilemanager.h /usr/local/include/dclib/cfilemanager.h
 /usr/bin/install -c -p -m 644 cmessagehandler.h /usr/local/include/dclib/cmessagehandler.h
 /usr/bin/install -c -p -m 644 cpluginmanager.h /usr/local/include/dclib/cpluginmanager.h
 /usr/bin/install -c -p -m 644 cquerymanager.h /usr/local/include/dclib/cquerymanager.h
 /usr/bin/install -c -p -m 644 cconnectionmanager.h /usr/local/include/dclib/cconnectionmanager.h
 /usr/bin/install -c -p -m 644 ctransfer.h /usr/local/include/dclib/ctransfer.h
 /usr/bin/install -c -p -m 644 dclib.h /usr/local/include/dclib/dclib.h
 /usr/bin/install -c -p -m 644 dcos.h /usr/local/include/dclib/dcos.h
 /usr/bin/install -c -p -m 644 cclientssl.h /usr/local/include/dclib/cclientssl.h
 /usr/bin/install -c -p -m 644 chttp.h /usr/local/include/dclib/chttp.h
 /usr/bin/install -c -p -m 644 dcobject.h /usr/local/include/dclib/dcobject.h
 /usr/bin/install -c -p -m 644 csearchindex.h /usr/local/include/dclib/csearchindex.h
 /usr/bin/install -c -p -m 644 csharelist.h /usr/local/include/dclib/csharelist.h
 /usr/bin/install -c -p -m 644 cutils.h /usr/local/include/dclib/cutils.h
 /usr/bin/install -c -p -m 644 clistenmanager.h /usr/local/include/dclib/clistenmanager.h
 /usr/bin/install -c -p -m 644 cuserlist.h /usr/local/include/dclib/cuserlist.h
 /usr/bin/install -c -p -m 644 chublistmanager.h /usr/local/include/dclib/chublistmanager.h
 /usr/bin/install -c -p -m 644 csearchmanager.h /usr/local/include/dclib/csearchmanager.h
 /usr/bin/install -c -p -m 644 csearchsocket.h /usr/local/include/dclib/csearchsocket.h
make[3]: Verlasse Verzeichnis '/home/dns/Downloads/DC++/dclib-0.3.10/dclib'
make[2]: Verlasse Verzeichnis '/home/dns/Downloads/DC++/dclib-0.3.10/dclib'
make[1]: Verlasse Verzeichnis '/home/dns/Downloads/DC++/dclib-0.3.10/dclib'
make[1]: Betrete Verzeichnis '/home/dns/Downloads/DC++/dclib-0.3.10'
make[2]: Betrete Verzeichnis '/home/dns/Downloads/DC++/dclib-0.3.10'
make[2]: Für das Ziel »install-exec-am« ist nichts zu tun.
/bin/bash ./admin/mkinstalldirs /usr/local/lib/pkgconfig
/usr/bin/install -c -p -m 644 dclib.pc /usr/local/lib/pkgconfig
make[2]: Verlasse Verzeichnis '/home/dns/Downloads/DC++/dclib-0.3.10'
make[1]: Verlasse Verzeichnis '/home/dns/Downloads/DC++/dclib-0.3.10'

lubux

Anmeldungsdatum:
21. November 2012

Beiträge: 14393

doenis schrieb:

Über den Client weiß ich nur das es sich um "dclib-0.3.10" handelt ... hoffe so heißt der Client und das ist nicht nur eine Bibliothek mit der man vllt einzeln gar nichts anfangen kann...

Im Anschluss liefen configure und make des dclib-0.3.10 einwandfrei... allerdings weiß ich jetzt nicht wies weitergeht make install und checkintall führen nicht zum Ziel ... ☹

Naja, dclib-0.3.10 wird schon eine library sein. Von wem hast Du den Vorschlag/Hinweis, dass Du dclib kompilieren und installieren sollst?

This is a library for the Direct Connect system. It is used by
valknut.

WWW: http://wxdcgui.sourceforge.net/
Valknut is an open source cross platform client for the Direct Connect network.
Valknut only supports the old (but common) Direct Connect "protocol".
Unfortunately it has no support for the new ADC protocol from the DC++ team. If you need an ADC client, try something based on the DC++ core like LinuxDC++.
Unfortunately, due to changes in recent versions of DC++ (>= 0.696), valknut 0.3.7 is no longer usable, because DC++ will be unable to download from valknut. TTHL support is also required these days, so valknut 0.3.8 is out too.
The source code used in this project started from the 0.3.7 release from the no longer present dcgui.berlios.de site.
Dclib and Valknut are distributed under the terms of the GNU General Public License, either version 2 of the License, or (at your option) any later version. With additional permission for using the OpenSSL library.

EDIT:

The Valknut Project

synapsen.stau

Avatar von synapsen.stau

Anmeldungsdatum:
27. Mai 2007

Beiträge: 266

Wohnort: Südharz

Nur als Hinweis: da Eiskaltdc++ leider ein bischen buggy ist nutze ich teilweise auch StrondDC unter Wine. Leider wird der Client schon länger nicht mehr weiterentwickelt aber er kann wenigestens das adcs Protokoll.

Antworten |