aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2 3

Author Topic: amuled kompilieren  (Read 12180 times)

Zappa

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 38
amuled kompilieren
« on: May 15, 2005, 01:56:27 PM »

Hi,

was mache ich beim kompilieren falsch?

Code: [Select]
amule-cvs$ ./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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 whether to enable maintainer-specific portions of Makefiles... no
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 how to run the C++ preprocessor... g++ -E
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 how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for bison... bison -y
checking whether ln -s works... yes
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for ar... ar
checking for ld... ld
checking for egrep... grep -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 for zlib >= 1.1.4... yes (version 1.2.2)
checking for libpng-config... /usr/bin/libpng-config
checking for libpng version >= 1.2.0... yes (version 1.2.8)
checking gd.h usability... no
checking gd.h presence... no
checking for gd.h... no
configure:
        WARNING: libpng-devel >= 1.2.0 is needed for amuleweb

checking whether we need the GUI... no
checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.4.2... yes (version 2.6.0)
configure: WARNING: wxWidgets >=2.5.0: Using wx-config --libs base,net
configure: WARNING: Disabling taskbar icon support as we have no GUI.
checking whether to use embedded Crypto... yes
checking for bfd headers... no
configure: WARNING: bfd.h not found, please install binutils development package if you are a developer or want to help testing aMule
checking for autopoint... ./configure: line 1: autopoint: command not found
no ()
configure: error: You need to install GNU gettext/gettext-tools to compile aMule

WXbase hab ich schon installiert. gettext und binutils waren schon von anfang an installiert. Trotzdem funktioniert wie man oben sieht, das kompilieren des amuled net wirklich. wer kann mir weiter helfen?
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: amuled kompilieren
« Reply #1 on: May 16, 2005, 11:02:38 AM »

tjo.. gettext magst du zwar da haben, aber vielleicht nicht das -devel package? k.a wie das bei debian heisst.
ausserdem fehlt dir noch gd bzw. libgd und ebenfalls die dazugehörigen -devels

gruss

Zappa

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 38
Re: amuled kompilieren
« Reply #2 on: May 16, 2005, 12:09:07 PM »

könntet ihr mir mal die sachen auflisten, die ich fürs kompilieren benötige?
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: amuled kompilieren
« Reply #3 on: May 16, 2005, 12:11:40 PM »

was für wx hast du denn jetzt genau compiliert? wxgtk mit wxbase oder nur wxgtk oder nur wxbase? und welche version

Zappa

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 38
Re: amuled kompilieren
« Reply #4 on: May 16, 2005, 02:08:03 PM »

hab nur wxbase 2.6.0
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amuled kompilieren
« Reply #5 on: May 16, 2005, 03:04:53 PM »

passt ;)
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Zappa

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 38
Re: amuled kompilieren
« Reply #6 on: May 16, 2005, 07:17:07 PM »

Ich hab als erstes das wxbase Paket entpackt. Dann hab ich die wxbase mit dem Befehl "./configure --prefix=/usr && make " kompiliert. Als root hab ich dann "make install
ln -sf /usr/bin/wxgtk-2.4-config /usr/bin/wx-config
ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config
ldconfig" eingetippt. Soweit läuft ja alles ganz gut. Dann geh ich ins amule CVS Verzeichnis und kompiliere es mit "./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon" den Deamon. So und da sagt er mir das etwas fehlt. Welche sachen brauch ich denn um amule zu kompilieren. Nur wxbase?!?!?!
« Last Edit: May 16, 2005, 07:24:22 PM by Zappa »
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: amuled kompilieren
« Reply #7 on: May 16, 2005, 07:20:04 PM »

die musst du dir dann zusammensuchen und installieren..

Zappa

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 38
Re: amuled kompilieren
« Reply #8 on: May 16, 2005, 07:26:55 PM »

So wie es aussieht werd ich wohl auch wxwidgets brauchen
Code: [Select]
configure:
        WARNING: libpng-devel >= 1.2.0 is needed for amuleweb

checking whether we need the GUI... no
checking for wx-config... no
configure: error:
        You need wxWidgets ([URL]http://www.wxwidgets.org/[/URL]) to compile aMule. If you
        have wxWidgets installed, please check that wx-config is in path, and
        the directory where wxWidgets libraries are installed is in
        LD_LIBRARY_PATH or equivalent variable. If you have wx-config in a
        non-standard location please use the --with-wx-config=/path/to/wx-config
        configure option.
oder?
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amuled kompilieren
« Reply #9 on: May 16, 2005, 07:36:12 PM »

ln -sf /usr/bin/wxgtk-2.4-config /usr/bin/wx-config
ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config

huh???

nix nix nix :))

das is ja für 2.4.2 nicht wx-2.6

wenn du daemon willst einfach nur das confiugre  und make && make install bei wxbase und fertig...
so steht auch auf
http://wiki.amule.org

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Zappa

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 38
Re: amuled kompilieren
« Reply #10 on: May 16, 2005, 07:44:49 PM »

Ja ok aber was ist hiermit?
Code: [Select]
configure: error:
        You need wxWidgets ([URL]http://www.wxwidgets.org/[/URL]) to compile aMule. If you
        have wxWidgets installed, please check that wx-config is in path, and
        the directory where wxWidgets libraries are installed is in
        LD_LIBRARY_PATH or equivalent variable. If you have wx-config in a
        non-standard location please use the --with-wx-config=/path/to/wx-config
        configure option.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amuled kompilieren
« Reply #11 on: May 16, 2005, 07:45:42 PM »

yo, da deine links FALSCH sind, findet er wxWidgets nicht..
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Zappa

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 38
Re: amuled kompilieren
« Reply #12 on: May 16, 2005, 07:46:35 PM »

mmh ja aber ich hab doch nur wxBase installiert und net WxWidgets
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amuled kompilieren
« Reply #13 on: May 16, 2005, 07:48:28 PM »

wxWidgets ist wxBase UND wxGTK, es sind nur unterschiedliche versionen der gleichen sache...

wxBase is für console apps, wie amuled und amuleweb
und
wxGTk is für amule-gui

alle BEIDE kommen aber von wxWidgets...

stefanero

PS. zum fixen der links, lösche beide als root, und mache in deinem wxBase ordner einfach nochmal "make install"
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Zappa

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 38
Re: amuled kompilieren
« Reply #14 on: May 17, 2005, 02:34:32 PM »

alles klar hat geklappt. Hab aber noch eine Frage. Wie kann ich amule per cronjob bei reboot automatisch starten lassen?
Logged
Pages: [1] 2 3