aMule Bug Tracker - aMule
View Issue Details
0001463aMuleMiscpublic2008-12-29 18:052009-01-01 14:31
monohouse 
 
normalmajoralways
closedwon't fix 
2.2.3 
 
Arch Linux
0001463: impossible to build GTK 1.x version
the aMule compile process requires wxGTK be built in unicode mode, however the compile process of wxGTK(any version) says that unicode is not supported in GTK 1.x, and according to install instructions in the INSTALL file it should have worked.

also, the parameter --with-wxversion= does not represent a wxversion, instead it means the emulation of that version within the 2.8.x wxGTK.

how is it possible to build amule without unicode ?
because --disable-unicode and --without-unicode do not work, and the configure script does not show any options related to that.

I have tried to discuss this in the forum but was unable to register because the verification does not work and webmaster email address cannot be found anywhere in the site
No tags attached.
Issue History
2008-12-29 18:05monohouseNew Issue
2008-12-29 18:05monohouseOperating System => Arch Linux
2008-12-29 20:27monohouseNote Added: 0003024
2008-12-31 15:21monohouseNote Added: 0003026
2009-01-01 12:41monohouseNote Added: 0003027
2009-01-01 14:31sturedmanNote Added: 0003030
2009-01-01 14:31sturedmanStatusnew => closed
2009-01-01 14:31sturedmanResolutionopen => won't fix

Notes
(0003024)
monohouse   
2008-12-29 20:27   
wxGTK was built:
./configure --prefix=/opt/wx --disable-compat26 --enable-no_exceptions --enable-no_rtti --disable-profile --disable-mem_tracing --disable-gtk2 --disable-debug --disable-debug_flag --disable-debug_info --disable-debug_gdb --disable-debug_cntxt --enable-optimise --enable-unicode --with-gtk --with-unicode

aMule was built:
./configure --prefix=/opt/amule --disable-debug --disable-upnp --enable-optimize --disable-profile --disable-amulecmd --disable-amule-gui --disable-amule-daemon --disable-webserver --disable-cas --disable-wxcas --disable-ed2k --disable-alc --disable-alcc --disable-systray --disable-geoip --disable-unicode --without-unicode

this error maybe because exceptions should not have been disabled in wxGTK:
~/aMule-2.2.3$ make
Parsing 2 files
FileName: ECTagTypes
FileContent: EC tag types for use on the ec library.
Reading content section...
        Datatype: Enum
        Dataname: ECTagTypes
        DataType: uint8
No more content sections
All info parsed
FileName: ECCodes
FileContent: EC codes and type definition.
Reading content section...
        Datatype: TypeDef
Reading content section...
        Datatype: Enum
        Dataname: ProtocolVersion
        DataType: uint16
Reading content section...
        Datatype: Enum
        Dataname: ECFlags
        DataType: uint32
Reading content section...
        Datatype: Enum
        Dataname: ECOpCodes
        DataType: uint8
Reading content section...
        Datatype: Enum
        Dataname: ECTagNames
        DataType: uint16
Reading content section...
        Datatype: Enum
        Dataname: EC_DETAIL_LEVEL
        DataType: uint8
Reading content section...
        Datatype: Enum
        Dataname: EC_SEARCH_TYPE
        DataType: uint8
Reading content section...
        Datatype: Enum
        Dataname: EC_STATTREE_NODE_VALUE_TYPE
        DataType: uint8
Reading content section...
        Datatype: Enum
        Dataname: EcPrefs
        DataType: uint32
No more content sections
All info parsed
Generating ECVersion.h... created.
Compiling ECTag.cpp
In file included from ECTag.h:42,
                 from ECTag.cpp:25:
../../../MD4Hash.h: In member function 'unsigned char CMD4Hash::operator[](size_t) const':
../../../MD4Hash.h:272: error: exception handling disabled, use -fexceptions to enable
make[7]: *** [ECTag.o] Error 1
make[6]: *** [all] Error 2
make[5]: *** [all-recursive] Error 1
make[4]: *** [all] Error 2
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

of corse this is an attempt to build a gtk2 version of amule
(0003026)
monohouse   
2008-12-31 15:21   
it seems that it can be fixed by doing:
export CXXFLAGS="-frtti -fexceptions"
prior to ./configure
which btw, was not mentioned in the INSTALL documentation instructions
(0003027)
monohouse   
2009-01-01 12:41   
I think I missed the part that tells how to display the full compiling process output (full commandline, aka classic view etc)
(0003030)
sturedman   
2009-01-01 14:31   
aMule simply does not build without unicode.
Sign-up on the forum works, we have new users all the time.