aMule Forum
English => aMule Help => Topic started by: grob on December 28, 2003, 02:02:40 PM
-
OK - I'm a newbie so I need a little help.
I've installed wxGTK-2.4.2-1.i386.rpm and wxBase-2.4.2-1.i586.rpm.
Downloaded aMule-1.2.1.tar.gz and unpacked it.
The way to install packages is:
./configure
make
make install
Right?
The configure ends with:
Configure script has finished system check.
Configured aMule 1.2.1 for `i686-pc-linux-gnu'.
Should aMule be compiled in debug mode? no
Should aMule be compiled without debug reporting? yes
Should aMule be compiled with profiling? no
Should aMule be compiled with optimizations? no
Should aMule be compiled with systray? yes
Should aMule be compiled with safe systray? no
Should aMule be compiled with pure GTK code? yes
Should aMule be compiled without bar drawing? no
Should aMule be linked against patched gsocket? yes
Should amulecmd be built? yes
Should amulecmd (TextClient) be linked against wxbase? yes
Which libraries should aMule use?
wxWindows 2.4.2
GTK Not detected
and the make dies at:
TextClient.cpp: In member function `void CamulecmdFrame::OnSize(...)':
TextClient.cpp:416: `GetClientSize' undeclared (first use this function)
TextClient.cpp:418: invalid use of undefined type `struct wxTextCtrl'
/usr/include/wx/log.h:26: forward declaration of `struct wxTextCtrl'
TextClient.cpp:419: invalid use of undefined type `struct wxTextCtrl'
/usr/include/wx/log.h:26: forward declaration of `struct wxTextCtrl'
make[2]: *** [amulecmdDLG-TextClient.o] Error 1
make[2]: Leaving directory `/home/grob/install/aMule-1.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/grob/install/aMule-1.2.1'
make: *** [all] Error 2
Any suggestions??
I've also tried the rpm for suse but it fails at:
error: Failed dependencies:
libcrypto.so.0.9.7 is needed by aMule-1.2.1-1
libssl.so.0.9.7 is needed by aMule-1.2.1-1
Hope someone can help...
q:o) grob
-
hi and welcome :)
1. seems u don't have gtk1 installed (install gtk1 and gtk1 devel)
2. install our wxGTK-devel too
3. u can solve your compile probs with ->
as root: ln -sf /usr/bin/wxgtk-2.4-config /usr/bin/wx-config
then
ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config
ldconfig
then as user ./configure --disable-debug --enable-optimise && make
4. don't use gtk2 for aMule.. sometimes it works.. sometimes not (90% not ;) )
greets
delta
-
downloaded gtk-1.2.10-0.i386.rpm and tried to install it. Lots of conflicts:
file /etc/gtk/gtkrc.bg_BG.iso88595 from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-25
file /etc/gtk/gtkrc.cs from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-25
Look like I have a gtk+ version?? Should I just force the install or would that mess up things?
Help me - or I will switch to windows!!! ;-)
q:o) grob
-
no heh.. u have gtk1 .. leave it as it is.. but look what i said in 2. and 3.
-
OK - getting a bit further each time.
The ln -sf stuff helped. The ldconfig gave command not found.
The configure still cannot find GTK.
Is there a ln -sf command that will solve this???
The make dies at:
g++ -O2 -o amulecmdDLG -pthread -lwx_gtk-2.4 amulecmdDLG-TextClient.o amulecmdDLG-MD5Sum.o
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -O2 -MT amule-ListenSocket.o -MD -MP -MF ".deps/amule-ListenSocket.Tpo" \
-c -o amule-ListenSocket.o `test -f 'ListenSocket.cpp' || echo './'`ListenSocket.cpp; \
then mv ".deps/amule-ListenSocket.Tpo" ".deps/amule-ListenSocket.Po"; \
else rm -f ".deps/amule-ListenSocket.Tpo"; exit 1; \
fi
In file included from amuleDlg.h:41,
from amule.h:30,
from ListenSocket.cpp:22:
SysTray.h:21:21: gtk/gtk.h: No such file or directory
SysTray.h:22:21: gdk/gdk.h: No such file or directory
SysTray.h:23:22: gdk/gdkx.h: No such file or directory
SysTray.h:24:18: glib.h: No such file or directory
SysTray.h:25:23: X11/Xatom.h: No such file or directory
In file included from eggtrayicon.h:24,
from SysTray.h:44,
from amuleDlg.h:41,
from amule.h:30,
from ListenSocket.cpp:22:
gtkplugxembed.h:30:21: gdk/gdk.h: No such file or directory
gtkplugxembed.h:31:27: gtk/gtksocket.h: No such file or directory
gtkplugxembed.h:32:27: gtk/gtkwindow.h: No such file or directory
In file included from eggtrayicon.h:24,
from SysTray.h:44,
from amuleDlg.h:41,
from amule.h:30,
from ListenSocket.cpp:22:
gtkplugxembed.h:51: syntax error before `;' token
gtkplugxembed.h:55: 'GtkWindow' is used as a type, but is not defined as a
type.
gtkplugxembed.h:62: syntax error before `*' token
gtkplugxembed.h:69: 'GtkWindowClass' is used as a type, but is not defined as a
type.
gtkplugxembed.h:81: parse error before `)' token
gtkplugxembed.h:82: type specifier omitted for parameter `
GtkPlugXEmbedNativeWindow'
gtkplugxembed.h:82: parse error before `)' token
gtkplugxembed.h:84: `GtkPlugXEmbedNativeWindow' was not declared in this scope
gtkplugxembed.h:84: parse error before `)' token
gtkplugxembed.h:85: parse error before `*' token
gtkplugxembed.h:88: type specifier omitted for parameter `GtkSocket'
gtkplugxembed.h:88: parse error before `*' token
gtkplugxembed.h:90: type specifier omitted for parameter `GtkSocket'
gtkplugxembed.h:90: parse error before `*' token
In file included from SysTray.h:44,
from amuleDlg.h:41,
from amule.h:30,
from ListenSocket.cpp:22:
eggtrayicon.h:25:22: gdk/gdkx.h: No such file or directory
In file included from SysTray.h:44,
from amuleDlg.h:41,
from amule.h:30,
from ListenSocket.cpp:22:
eggtrayicon.h:47: 'Atom' is used as a type, but is not defined as a type.
eggtrayicon.h:48: 'Atom' is used as a type, but is not defined as a type.
eggtrayicon.h:49: 'Atom' is used as a type, but is not defined as a type.
eggtrayicon.h:50: 'Window' is used as a type, but is not defined as a type.
eggtrayicon.h:58: parse error before `)' token
eggtrayicon.h:61: `Screen' was not declared in this scope
eggtrayicon.h:61: `xscreen' was not declared in this scope
eggtrayicon.h:61: parse error before `char'
ListenSocket.cpp:484:34: warning: #warning TODO: CHECK SPAMMERS!
make[2]: *** [amule-ListenSocket.o] Error 1
make[2]: Leaving directory `/home/grob/install/aMule-1.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/grob/install/aMule-1.2.1'
make: *** [all] Error 2
q:o) grob
-
plz join #amule on efnet
-
??? efnet??
Me newbie - no nothing...
q:o) grob
-
channel #amule
server irc.efnet.nl
client xchat, bitchx ;)
-
He. Got apt-get and then gtk-devel - that solved it all...
Thanks for your help delta...
q:o) grob