aMule Forum

English => aMule Help => Topic started by: aab on January 29, 2004, 06:23:58 PM

Title: problem compiling wxBase
Post by: aab on January 29, 2004, 06:23:58 PM
Hi!
Could someone help me, please.

First I compiled  wxGTK as a root and from /root/wxGTK-2.4.2/ source directory .
I used the command taken straight from the compile howto.
Next I run make install and ldconfig.


When I try to configure wxbase:  /root/wxbase/./configure --prefix=/usr && make

I get errors:
sed: can't read ./artprov/Makefile.in: No such file or dir
and about 30 more lines like that, saying it doesn't find Makefile.in


I.   Development Environment

     A. Compiler Info
        Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/specs
   Configured with: ../gcc-3.2.3/configure --prefix=/usr --enable-shared
    --enable-threads=posix --enable-__cxa_atexit --disable-checking
    --with-gnu-ld --verbose --target=i486-slackware-linux
    --host=i486-slackware-linux Thread model: posix gcc version 3.2.3

     B. wxWindows Info
        Version: 2.4.2
        -pthread -lwx_gtk-2.4

     C. GTK Info
        GTK 1: 1.2.10
        GTK 2: 2.2.4

II.  System Environment

     A. CPU Info
        Type:  GenuineIntel
        Model: Pentium Pro
        Speed: 179.632
        BMips: 357.99
        Flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov

     B. Memory Info
        Total:   62624 kB
        Unused:  18844 kB

     C. Kernel Info
        Version: 2.4.22

     D. Library Info
        wxWindows library: libwx_gtk-2.4.so (libc6) => /usr/lib/libwx_gtk-2.4.so
Title: Re: problem compiling wxBase
Post by: deltaHF on January 29, 2004, 06:29:34 PM
1. why compiling everything as root ?
2. don't worry about "can't read ./artprov/Makefile.in: No such file or dir" .. just do make install after, symlink & ldconfig ..
Title: Re: problem compiling wxBase
Post by: Supersnail on January 29, 2004, 06:31:46 PM
Have you tried running './configure --prefix=/usr && make' from the wxbase source directory?
Title: Re: problem compiling wxBase
Post by: aab on January 29, 2004, 09:45:13 PM
Hi

well I've got a bit further now,
wxbase compiled ok and I installed curl

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



next I tried compiling aMule program with:
./configure --disable-debug --enable-optimise && make

but it terminated like this:

internal error terminated program cc1plus
amule-muuli_wdr.o error 1
all-recursive error 1
make *** all error 2

any ideas?
Title: Re: problem compiling wxBase
Post by: deltaHF on January 29, 2004, 10:03:21 PM
close all appz u have running and try to compile amule again ..
if it doesn't help, kill X (or boot your pc in text mode) and recompile amule.. muuli_wdr is a big file (1.9MB) and sometimes it fails to compile on "slow" pc's ..
but we plan to rewrite it next time .. sorry about now  :(

greets
Title: Re: problem compiling wxBase
Post by: aab on January 30, 2004, 09:31:30 AM
Tried to do it without X, but it still stops at amule-muuli_wdr.o  now with a message:
Cannot allocate 8388572 bytes after allocating 13525504 bytes.
I have 98mb swap.
Title: Re: problem compiling wxBase
Post by: Kry on January 30, 2004, 09:51:18 AM
Seems compiling aMule on a 64Mb system is not possible at all. Try increasing your swap...
Title: Re: problem compiling wxBase
Post by: aab on January 30, 2004, 01:06:34 PM
OK I added a swapfile ang got aMule running now

Can I delete all source dirs or are they needed for something?

Thanks for your help. :)
Title: Re: problem compiling wxBase
Post by: Kry on January 30, 2004, 01:10:05 PM
feel free to delete :)