Hi there,
I'm trying to install RC2 on a newly installed MDK 10 OE system and im getting an error.
I followed the steps of this
howto.
I installed wxBase, wxGTK and wxGTK devel with the RPMS (on that page). I donwloaded crypto-5.1.tar.bz2 and did make and make install, and then downloaded aMule-2.0.0rc2.tar.gz and ./configure && make, and thats where the error comes:
then mv -f ".deps/amule-listctrl.Tpo" ".deps/amule-listctrl.Po"; \
else rm -f ".deps/amule-listctrl.Tpo"; exit 1; \
fi
listctrl.cpp:89:25: gtk/gtk.h: No such file or directory
In file included from listctrl.cpp:90:
/usr/include/wx/gtk/win_gtk.h:18:21: gdk/gdk.h: No such file or directory
/usr/include/wx/gtk/win_gtk.h:19:22: gdk/gdkx.h: No such file or directory
/usr/include/wx/gtk/win_gtk.h:20:30: gtk/gtkcontainer.h: No such file or directo
ry
/usr/include/wx/gtk/win_gtk.h:21:31: gtk/gtkadjustment.h: No such file or direct
ory
/usr/include/wx/gtk/win_gtk.h:23:29: gtk/gtkfeatures.h: No such file or director
y
In file included from listctrl.cpp:90:
/usr/include/wx/gtk/win_gtk.h:54: error: 'GtkContainer' is used as a type, but i
s not defined as a type.
/usr/include/wx/gtk/win_gtk.h:55: error: syntax error before `*' token
/usr/include/wx/gtk/win_gtk.h:66: error: 'GdkVisibilityState' is used as a type,
but is not defined as a type.
/usr/include/wx/gtk/win_gtk.h:71: error: 'gboolean' is used as a type, but is no
t defined as a type.
/usr/include/wx/gtk/win_gtk.h:72: error: 'gboolean' is used as a type, but is no
t defined as a type.
/usr/include/wx/gtk/win_gtk.h:73: error: 'gboolean' is used as a type, but is no
t defined as a type.
/usr/include/wx/gtk/win_gtk.h:78: error: 'GtkContainerClass' is used as a type,
but is not defined as a type.
/usr/include/wx/gtk/win_gtk.h:92: error: type specifier omitted for parameter `g
boolean'
/usr/include/wx/gtk/win_gtk.h:92: error: syntax error before `)' token
/usr/include/wx/gtk/win_gtk.h:95: error: type specifier omitted for parameter `g
boolean'
/usr/include/wx/gtk/win_gtk.h:95: error: syntax error before `)' token
/usr/include/wx/gtk/win_gtk.h:98: error: type specifier omitted for parameter `g boolean'
/usr/include/wx/gtk/win_gtk.h:98: error: syntax error before `)' token
listctrl.cpp: In member function `void wxODListHeaderWindow::DoDrawRect(wxDC*, i nt, int, int, int)':
listctrl.cpp:1944: error: `GtkStateType' undeclared (first use this function)
listctrl.cpp:1944: error: (Each undeclared identifier is reported only once for each function it appears in.)
listctrl.cpp:1944: error: syntax error before `=' token
listctrl.cpp:1949: error: invalid use of undefined type `struct _GtkWidget'
/usr/include/wx/defs.h:2079: error: forward declaration of `struct _GtkWidget'
listctrl.cpp:1949: error: syntax error before `)' token
listctrl.cpp:1949: error: `GTK_CHECK_CAST' undeclared (first use this function)
listctrl.cpp:1950: error: `state' undeclared (first use this function)
listctrl.cpp:1950: error: `GTK_SHADOW_OUT' undeclared (first use this function)
listctrl.cpp:1951: error: `GdkRectangle' undeclared (first use this function)
listctrl.cpp:1951: error: syntax error before `)' token
make[2]: *** [amule-listctrl.o] Error 1
make[2]: Leaving directory `/home/emuleuser/install_files/aMule-2.0.0rc2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/emuleuser/install_files/aMule-2.0.0rc2'
make: *** [all] Error 2
Info from the get-info.sh script:
I. Development Environment
A. Compiler Info
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.2/specs Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++,ada,f77,objc,java,pascal --host=i586-mandrake-linux-gnu --with-system-zlib Thread model: posix gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
B. wxWindows Info
Version: 2.4.2
-pthread -lwx_gtk-2.4
C. GTK Info
/xmule/amule/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 II (Deschutes)
Speed: 400.900
BMips: 790.52
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr
B. Memory Info
Total: 321012 kB
Unused: 76280 kB
C. Kernel Info
Version: 2.6.3-7mdk
D. Library Info
wxWindows library: libwx_gtk-2.4.so (libc6) => /usr/lib/libwx_gtk-2.4.so libwx_base-2.4.so (libc6) => /usr/lib/libwx_base-2.4.so
What i am doing wrong? Am i missing s/t??
thanks.