aMule Forum
English => aMule Help => Topic started by: pfrancav 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
-
hi,
what is the error msg ?
the polish
-
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]#
-
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
-
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.
-
and don't forget the symlinks (see my sig, wxBase step)
-
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
-
ls -l /usr/bin/wx*
-
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 ?(
-
yes.. run ldconfig & ./configure again
greets
-
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:
-
Hum. Hum.... hum.
hum.
hummmmmmmmmmm
hum.
which version are you compiling?
-
what about
#amule on irc.freenode.net DarkVenger?
i had slackware too and installed amule without any problems
-
Problem solved on thi irc, with the amazing help from deltaHF :baby:
I'm now a newly happy costumer :D :D
-
I've the same problem. How do you fix it???
?(
---
Ragna
-
ls -l /usr/bin/wx*
ls -l /usr/local/bin/wx*
please the output
-
Here's the output:
ls -l /usr/bin/wx*:
------------------
lrwxrwxrwx 1 root root 17 2004-03-29 23:06 /usr/bin/wx-config -> wxbase-2.4-config
-rwxr-xr-x 1 root root 4864 2003-11-28 13:08 /usr/bin/wxbase-2.4-config
ls -l /usr/local/bin/wx*:
-------------------
No files founded
Thx for the help :D
---
Ragna
-
u know the answer now ? ;)
greets
-
I fear not ;(
Maybe I've to have a link in /usr/local/bin/ ??
---
Ragna
-
no no.. the links must look like:
-rwxr-xr-x 1 root root 4864 2003-11-28 13:08 /usr/bin/wxbase-2.4-config
lrwxrwxrwx 1 root root 26 2003-12-26 19:41 /usr/bin/wxbase-config -> /usr/bin/wxbase-2.4-config
lrwxrwxrwx 1 root root 25 2003-12-26 19:40 /usr/bin/wx-config -> /usr/bin/wxgtk-2.4-config
-rwxr-xr-x 1 root root 5159 2003-09-21 15:14 /usr/bin/wxgtk-2.4-config
look in my sig
-
I've created the link that i missed... but i didn¡t have wxgtk-2.4-config...
where it's supposed to be? I've installed all the rpms u say in your sign howto ?(
I'm a bit confused...
---
Ragna
-
sure u installed the devel rpms too ?
-
Sure, see that:
rpm -qa | grep wx
-------------------
wxGTK-2.4.0-45
wxGTK-gl-2.4.0-45
python-wxGTK-2.4.0.2-21
wxGTK-devel-2.4.0-45
wxBase-2.4.2-1
I'm going to reinstall it... maybe it was a problem during the last installation...
---
Ragna
-
i see u use a bit old wxGTK .. why don't u use the one from our dl page/portal ?
-
Hi, I fix the problem a few days ago.
I needed wxBase-devel for the compilation, and i have the wrong version of the other librarys. Thx guys!
---
Ragna
-
ur welcome :)
-
my problem is a bit different:
AddFriend.cpp:55: invalid static_cast from type `void (CAddFriend::*)(wxEvent&)
' to type `void (wxEvtHandler::*)(wxCommandEvent&)'
AddFriend.cpp:56: invalid static_cast from type `void (CAddFriend::*)(wxEvent&)
' to type `void (wxEvtHandler::*)(wxCommandEvent&)'
make[2]: *** [amule-AddFriend.o] Error 1
make[2]: Leaving directory `/root/aMule-1.2.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/aMule-1.2.6'
make: *** [all] Error 2
im using wxBase 2.5.1 and wxGTK 2.5.1 with aMule 1.2.6 on slackware 9.0
any ideas?
-
yap, wx* 2.5.1 isn't supported yet
greets
-
how do i fix what ive already messed up? i tried installing wxwidgets 2.4.2 as download in bz2 format from this site. i deleted all source folders and re-extracted the tar balls. and then followed deltaHFs instructions in his !!! aMule compilation / installation HOWTO (http://www.amule.org/amule/howto.php) now im getting:
In file included from /usr/lib/wx/include/base-2.4/wx/setup.h:1144,
from /usr/local/include/wx/platform.h:101,
from /usr/local/include/wx/defs.h:25,
from /usr/local/include/wx/string.h:29,
from TextClient.h:21,
from TextClient.cpp:39:
/usr/local/include/wx/chkconf.h:55:9: #error "wxUSE_EXCEPTIONS must be defined."
/usr/local/include/wx/chkconf.h:158:9: #error "wxUSE_XML must be defined."
/usr/local/include/wx/chkconf.h:905:13: #error "wxUSE_DYNAMIC_LOADER requires wxUSE_DYNLIB_CLASS."
In file included from /usr/local/include/wx/platform.h:104,
from /usr/local/include/wx/defs.h:25,
from /usr/local/include/wx/string.h:29,
from TextClient.h:21,
from TextClient.cpp:39:
/usr/local/include/wx/chkconf.h:55:9: #error "wxUSE_EXCEPTIONS must be defined."
/usr/local/include/wx/chkconf.h:158:9: #error "wxUSE_XML must be defined."
/usr/local/include/wx/chkconf.h:905:13: #error "wxUSE_DYNAMIC_LOADER requires wxUSE_DYNLIB_CLASS."
In file included from TextClient.h:21,
from TextClient.cpp:39:
/usr/local/include/wx/string.h:163:4: #error "Please define string case-insensitive compare for your OS/compiler"
make[2]: *** [amulecmd-TextClient.o] Error 1
make[2]: Leaving directory `/root/aMule-1.2.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/aMule-1.2.6'
make: *** [all] Error 2
i also get this during configure:
Which libraries should aMule use?
wxWindows 2.5.1 <<<<--?
GTK 1.2.10
i even tried changing the configure line to specify the location of wxWindows:
./configure --disable-debug --enable-optimise --with-wx-prefix=/usr/bin/wxgtk-2.4-config --with-wx-exec-prefix=/usr/bin/wxgtk-2.4-config
no change.
-
well, the way should be to "make uninstall" the 2.5.1 pkgs, not to delete the folders only ;)
greets
-
now u have wxGTK and wxBase 2.5.1 compiled in /usr/local/bin and 2.4.2 in /usr/bin
-
yea thats thats what i figured, i was un-aware of the make unistall option :(
yea im a noob. but im getting there. if i recompile 2.5.1 with the same options as before will i be able to use make uninstall?
-
yes
-
lol computers hate me i swear!
------------------------------------------------------
The installation of wxWindows is finished. On certain
platforms (e.g. Linux) you'll now have to run ldconfig
if you installed a shared library and also modify the
LD_LIBRARY_PATH (or equivalent) environment variable.
wxWindows comes with no guarantees and doesn't claim
to be suitable for any purpose.
Read the wxWindows Licence on licencing conditions.
------------------------------------------------------
root@Skippy:~/wxBase-2.5.1# make uninstall
make: Nothing to be done for `uninstall'.
root@Skippy:~/wxBase-2.5.1# ldconfig
root@Skippy:~/wxBase-2.5.1# make uninstall
make: Nothing to be done for `uninstall'.
root@Skippy:~/wxBase-2.5.1#
same for wxGTK
any other ideas? or have i fubared my system? :/
-
README or INSTALL file.. look for the uninstalling options
/me is off to bed.. gn8 ;)
-
bah im giving up, INSTALL file is no help at all :/
not that big of a deal realy, dont need amule on this system that much any way (i can just run emule through vmware or reboot into winxp). at least i know what not to do when i go to put amule on my desktop. thanx for the help :)
-
LoneWolf, use --with-wx-config=/usr/bin/wxgtk-2.4-config