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: I can't compile amule  (Read 15076 times)

pfrancav

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
I can't compile amule
« on: March 10, 2004, 05:01:33 AM »

I 've installed wxGTK, wxGTK-devel and wxBase
but I can't compile the amule

This is the output of get-info.sh, really thanks !

[root@linuxPapaBoca aMule-1.2.6]# ./get-info.sh
I.   Development Environment

     A. Compiler Info
        Leyendo especificaciones de /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs Configurado con: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i386-redhat-linux --with-system-zlib --enable-__cxa_atexit Modelo de hilos: posix gcc versión 3.2 20020903 (Red Hat Linux 8.0 3.2-7)

     B. wxWindows Info
        Version: 2.4.2
        -pthread -lwx_base-2.4

     C. GTK Info
./get-info.sh: line 1: gtk-config: command not found
        GTK 1:
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
        GTK 2:

II.  System Environment

     A. CPU Info
        Type:  GenuineIntel
        Model: Pentium III (Katmai)
        Speed: 451.010
        BMips: 896.66
        Flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse

     B. Memory Info
        Total:   255388 kB
        Unused:

     C. Kernel Info
        Version: 2.4.18-14

     D. Library Info
        wxWindows library: libwx_base-2.4.so (libc6) => /usr/lib/libwx_base-2.4.so
Logged

thepolish

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 896
Re: I can't compile amule
« Reply #1 on: March 10, 2004, 03:17:50 PM »

hi,

what is the error msg ?

the polish
Logged
Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only then you will find out that money cannot be eaten
(Cree Prophecy)

nowlin

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 14
Re: I can't compile amule
« Reply #2 on: March 10, 2004, 03:34:13 PM »

i have also problems with compiling amule..

i got this under my make command:

/usr/include/wx/window.h: In function `wxSizer* GetSizer()':
/usr/include/wx/window.h:816: error: `m_windowSizer' undeclared (first use this
   function)
/usr/include/wx/window.h: In function `void SetContainingSizer(wxSizer*)':
/usr/include/wx/window.h:819: error: `m_containingSizer' undeclared (first use
   this function)
/usr/include/wx/window.h:820: error: non-member function `wxSizer*
   GetContainingSizer()' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `wxSizer* GetContainingSizer()':
/usr/include/wx/window.h:837: error: `wxSysColourChangedEvent' undeclared
   (first use this function)
/usr/include/wx/window.h:837: error: `event' undeclared (first use this
   function)
/usr/include/wx/window.h:837: error: variable or field `OnSysColourChanged'
   declared void
/usr/include/wx/window.h:837: confused by earlier errors, bailing out
make[2]: *** [amulecmdDLG-TextClient.o] Error 1
make[2]: Leaving directory `/home/alex/aMule-1.2.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alex/aMule-1.2.6'
make: *** [all] Error 2
[root@simba aMule-1.2.6]#
Logged

Citroklar

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 148
Re: I can't compile amule
« Reply #3 on: March 10, 2004, 05:11:56 PM »

pfrancav: looks like you are missing GTK (try installing gtk-1.2 and gtk-1.2-devel from your cd's)

nowlin: looks like you do not have wxGTK and wxGTK-devel installed. download from our downloadpage!

Citroklar
Logged
#!/bin/ssh
#The Unix Guru's View of Sex
unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ; umount ; sleep

bootstrap

  • Guest
Re: I can't compile amule
« Reply #4 on: March 10, 2004, 07:07:05 PM »

Quote
make[2]: *** [amulecmdDLG-TextClient.o] Error 1
make[2]: Leaving directory `/home/alex/aMule-1.2.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alex/aMule-1.2.6'
aMule builds always fail on that if wxBase-devel is missing.
The wxBase Package from deltahf on the amule download page installs wxBase and wxBase-devel so users with that rpm installed don't have the problem.
If you're using rpms from wxwidgets.org you have to install wxBase-devel or use --disable-amulecmd to build amule.
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: I can't compile amule
« Reply #5 on: March 10, 2004, 11:15:36 PM »

and don't forget the symlinks (see my sig, wxBase step)

DarkVenger

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: I can't compile amule
« Reply #6 on: March 24, 2004, 02:42:50 AM »

Hello,

I followed the HowTo but in the end i've got and error:

treectlc.cpp: In member function `void
   wxGenericCTreeCtrl::OnMouse(wxMouseEvent&)':
treectlc.cpp:696: no matching function for call to `wxCTreeEvent::SetItem(
   wxGenericCTreeItem*&)'
treectlc.cpp:697: no matching function for call to `wxCTreeEvent::SetPoint(
   wxPoint)'
treectlc.cpp:718: no matching function for call to `wxCTreeEvent::SetItem(
   wxGenericCTreeItem*&)'
treectlc.cpp:719: no matching function for call to `wxCTreeEvent::SetPoint(
   wxPoint)'

And then it gives me error and so I cannot compile aMule, help please. 8o
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: I can't compile amule
« Reply #7 on: March 24, 2004, 09:27:09 AM »

ls -l /usr/bin/wx*

DarkVenger

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: I can't compile amule
« Reply #8 on: March 24, 2004, 10:45:46 AM »

Output of the comand asked:

lrwxrwxrwx    1 root     root           25 Mar 24 01:17 /usr/bin/wx-config -> /usr/bin/wxgtk-2.4-config*
-rwxr-xr-x    1 root     root         4864 Mar 24 01:17 /usr/bin/wxbase-2.4-config*
lrwxrwxrwx    1 root     root           26 Mar 24 01:17 /usr/bin/wxbase-config -> /usr/bin/wxbase-2.4-config*
-rwxr-xr-x    1 root     root         5052 Mar 24 01:10 /usr/bin/wxgtk-2.4-config*

Are the links not correct ?(
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: I can't compile amule
« Reply #9 on: March 24, 2004, 10:48:46 AM »

yes.. run ldconfig & ./configure again

greets

DarkVenger

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: I can't compile amule
« Reply #10 on: March 24, 2004, 06:17:37 PM »

It did'nt help at all, the same errors existe and ldconfig did not made a thing.

What is suposed ldconfig to do?

Using the info script that's on amule's page:

I.   Development Environment

     A. Compiler Info
        Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/specs Configured with: ../gcc-3.2.3/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux Thread model: posix gcc version 3.2.3

     B. wxWindows Info
        Version: 2.4.0
        -L/usr/local/lib -pthread -lwx_gtk-2.4

     C. GTK Info
        GTK 1: 1.2.10
        GTK 2: 2.2.4

II.  System Environment

     A. CPU Info
        Type:  GenuineIntel
        Model: Pentium III (Coppermine)
        Speed: 840.029
        BMips: 1674.44
        Flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse

     B. Memory Info
        Total:   385820 kB
        Unused:  179188 kB

     C. Kernel Info
        Version: 2.4.22

     D. Library Info
        wxWindows library: libwx_gtk-2.4.so (libc6) => /usr/lib/libwx_gtk-2.4.so libwx_gtk-2.4.so (libc6) => /usr/local/lib/libwx_gtk-2.4.so libwx_base-2.4.so (libc6) => /usr/lib/libwx_base-2.4.so

PS: I was using Xmule, and since I've installed wxGTK and wxBase to put aMule to work, Zero is the number of mule clients that I have working; Thank you God, for giving me the oportunity not to use all of my bandwith   :baby:
« Last Edit: March 24, 2004, 07:54:58 PM by DarkVenger »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: I can't compile amule
« Reply #11 on: March 24, 2004, 08:04:25 PM »

Hum. Hum.... hum.

hum.

hummmmmmmmmmm


hum.

which version are you compiling?
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: I can't compile amule
« Reply #12 on: March 24, 2004, 08:15:19 PM »

what about
#amule on irc.freenode.net DarkVenger?

i had slackware too and installed amule without any problems

DarkVenger

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: I can't compile amule
« Reply #13 on: March 26, 2004, 12:50:07 PM »

Problem solved on thi irc, with the amazing help from deltaHF :baby:

I'm now a newly happy costumer  :D :D
Logged

Ragna

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: I can't compile amule
« Reply #14 on: March 30, 2004, 02:00:56 AM »

I've the same problem. How do you fix it???

 ?(

---
Ragna
Logged
Pages: [1] 2 3