aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: problem compiling wxBase  (Read 6231 times)

aab

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
problem compiling wxBase
« 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
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: problem compiling wxBase
« Reply #1 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 ..

Supersnail

  • Full Member
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 186
Re: problem compiling wxBase
« Reply #2 on: January 29, 2004, 06:31:46 PM »

Have you tried running './configure --prefix=/usr && make' from the wxbase source directory?
Logged

aab

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: problem compiling wxBase
« Reply #3 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?
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: problem compiling wxBase
« Reply #4 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

aab

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: problem compiling wxBase
« Reply #5 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.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: problem compiling wxBase
« Reply #6 on: January 30, 2004, 09:51:18 AM »

Seems compiling aMule on a 64Mb system is not possible at all. Try increasing your swap...
Logged

aab

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: problem compiling wxBase
« Reply #7 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. :)
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: problem compiling wxBase
« Reply #8 on: January 30, 2004, 01:10:05 PM »

feel free to delete :)
Logged