aMule Forum

English => aMule Help => Topic started by: gav616 on April 27, 2010, 06:28:19 PM

Title: minimal wxGTK?
Post by: gav616 on April 27, 2010, 06:28:19 PM
What's the minimum wxGTK config to build  a working aMule?

ATM, I'm using a wxBase build with
Code: [Select]
--enable-unicode --disable-gui --without-expat --without-subdirs
but I notice 'regex' 'odbc' 'libmspack' 'zlib' (yeah, zlib is necessary) , can I disable any of these and not break aMule? if not... is using 'sys' versions better then 'builtin' ones?

There's also a 'disable-all-features' parameter for wx builds, I'm guess this might be going too far,  aMule needs specific features right..?

ta  :)
Title: Re: minimal wxGTK?
Post by: Stu Redman on April 27, 2010, 07:33:31 PM
You mean amuled?
I think it doesn't matter. It's a lib, so only the used modules are linked in.
Anyway, there is no overview about used wx features. Just play around a bit with it and see if you get any difference in file size (if that's your intention).
Title: Re: minimal wxGTK?
Post by: gav616 on April 27, 2010, 08:07:21 PM
sorry, (amuled) yeah.

I've also found the power of digging deep in the sources and finding out that, for example, with the 'zlib' parameter;

using 'builtin'' it would build 1.2.3
using 'sys'  from my distro's repo 1.2.5

I'm going to do more random looking...
Title: Re: minimal wxGTK?
Post by: GonoszTopi on April 28, 2010, 01:54:10 PM
but I notice 'regex' 'odbc' 'libmspack' 'zlib' (yeah, zlib is necessary) , can I disable any of these and not break aMule?

odbc and libmspack are not needed, you can safely turn them off.
Title: Re: minimal wxGTK?
Post by: gav616 on April 28, 2010, 02:43:41 PM
odbc and libmspack are not needed, you can safely turn them off.

yes, thank you.

ATM, I've got;
Code: [Select]
./configure --prefix=/usr --libdir=/usr/lib \
   --disable-gui --disable-debug --enable-unicode --disable-compat24 \
   --disable-compat26 --with-regex=builtin --with-zlib=sys --without-odbc \
   --without-expat --without-libmspack --without-subdirs || return 1

I'm going to try the 'disable-all-features' and see if the mule build will work at all.
Title: Re: minimal wxGTK?
Post by: GonoszTopi on April 28, 2010, 05:48:30 PM
After --disable-all-features you'll need --enable-protocol --enable-protocol-http --enable-http --enable-baseevtloop --enable-sockets --enable-cmdline --enable-file --enable-ffile --enable-snglinst --enable-stdpaths --enable-timer --enable-threads --enable-catch_segvs

That's from the top of my head, I didn't try it. It's more than probable that you'll need to enable some more classes.