Hi All,
I'm encountering some issues compiling amule 1.2.1 on a RH 9.0 box.
I've upgraded the wx* packages using the RPMs available on the aMule site,
via the "rpm -Uhv *.rpm" command line as root:
[root@atlas amule]# ls *.rpm -l
-rw-r--r-- 1 root root 1.1M Dec 29 15:03 wxBase-2.4.2-1.i586.rpm
-rw-r--r-- 1 root root 2.4M Dec 29 15:05 wxGTK-2.4.2-1.i386.rpm
-rw-r--r-- 1 root root 564K Dec 29 15:04 wxGTK-devel-2.4.2-1.i386.rpm
After unpacking the source tarball, I ran configure and got this output:
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 1.2.10
Then I finally ran "make" but I got some errors:
[root@atlas aMule-1.2.1]# make
make all-recursive
make[1]: Entering directory `/root/aMule-1.2.1'
Making all in m4
make[2]: Entering directory `/root/aMule-1.2.1/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/aMule-1.2.1/m4'
Making all in src
make[2]: Entering directory `/root/aMule-1.2.1/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/wx/include/base-2.4 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DAMULECMDDLG -g -MT amulecmdDLG-TextClient.o -MD -MP -MF ".deps/amulecmdDLG-TextClient.Tpo" \
-c -o amulecmdDLG-TextClient.o `test -f 'TextClient.cpp' || echo './'`TextClient.cpp; \
then mv ".deps/amulecmdDLG-TextClient.Tpo" ".deps/amulecmdDLG-TextClient.Po"; \
else rm -f ".deps/amulecmdDLG-TextClient.Tpo"; exit 1; \
fi
In file included from /usr/include/wx/window.h:27,
from /usr/include/wx/toplevel.h:25,
from /usr/include/wx/dialog.h:21,
from /usr/include/wx/generic/textdlgg.h:21,
from /usr/include/wx/textdlg.h:4,
from TextClient.h:25,
from TextClient.cpp:26:
/usr/include/wx/cursor.h: In constructor
`wxBusyCursorSuspender::wxBusyCursorSuspender()':
/usr/include/wx/cursor.h:46: `wxIsBusy' undeclared (first use this function)
/usr/include/wx/cursor.h:46: (Each undeclared identifier is reported only once
for each function it appears in.)
/usr/include/wx/cursor.h:48: `wxBusyCursor' undeclared (first use this
function)
/usr/include/wx/cursor.h:48: parse error before `;' token
/usr/include/wx/cursor.h: In destructor
`wxBusyCursorSuspender::~wxBusyCursorSuspender()':
/usr/include/wx/cursor.h:55: parse error before `;' token
In file included from /usr/include/wx/window.h:28,
from /usr/include/wx/toplevel.h:25,
from /usr/include/wx/dialog.h:21,
from /usr/include/wx/generic/textdlgg.h:21,
from /usr/include/wx/textdlg.h:4,
from TextClient.h:25,
from TextClient.cpp:26:
/usr/include/wx/font.h: At global scope:
/usr/include/wx/font.h:82: parse error before `{' token
/usr/include/wx/font.h:104: non-member function `bool Ok()' cannot have `const'
method qualifier
/usr/include/wx/font.h: In function `bool Ok()':
/usr/include/wx/font.h:104: `m_refData' undeclared (first use this function)
/usr/include/wx/font.h: At global scope:
/usr/include/wx/font.h:107: non-member function `bool operator==(const wxFont&)
' cannot have `const' method qualifier
/usr/include/wx/font.h:107: `bool operator==(const wxFont&)' must take exactly
two arguments
The aMule RPM file for RH, SUSE and MDK fails with a unresolved dependancy
on libcripto shared libraries.
Here follows the get-info.sh output:
[root@atlas amule]# ./get-info.sh
I. Development Environment
A. Compiler Info
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs Config
ured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/sha
re/info --enable-shared --enable-threads=posix --disable-checking --with-system-
zlib --enable-__cxa_atexit --host=i386-redhat-linux Thread model: posix gcc vers
ion 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
B. wxWindows Info
Version: 2.4.2
-pthread -lwx_base-2.4
C. GTK Info
GTK 1: 1.2.10
GTK 2: 2.2.1
II. System Environment
A. CPU Info
Type: AuthenticAMD
Model: AMD Athlon(tm) Processor
Speed: 857.651
BMips: 1710.48
Flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse3 6 mmx fxsr syscall mmxext 3dnowext 3dnow
B. Memory Info
Total: 643100 kB
Unused:
C. Kernel Info
Version: 2.4.20-8
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
Any clue?
Thanks