aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: PROble compiling amule 1.1.2.....  (Read 4196 times)

Guest

  • Guest
PROble compiling amule 1.1.2.....
« on: November 17, 2003, 12:38:49 PM »

Hello everybody...

I'm triying to compile amule.. and I get this...


--------------------------------------------

make[1]: Entering directory `/home/goyo/xmule2/aMule-1.1.2'
cd . && autoheader
make[1]: Leaving directory `/home/goyo/xmule2/aMule-1.1.2'
cd . \
  && CONFIG_FILES= CONFIG_HEADERS=[config.h] \
     /bin/sh ./config.status
config.status: creating [config.h]

config.status: error: cannot find input file: [config.h].in
make: *** [stamp-h] Error 1

------------------------------------------



But config.h and config.h.in is there...
-------------------------------------------

Debian-I:/home/goyo/xmule2/aMule-1.1.2# ls config*
config.guess  config.h.in  config.rpath   config.sub  configure.in
config.h      config.log   config.status  configure
--------------------------------------------

This is what I did...

./autegen.sh (even I did this.. that I readed in the amule forum:
WANT_AUTOMAKE=1.7 ./autogen.sh)


./configure --with-wx-config=/usr/local/bin/wx-config
(no prblem...)

and make
---------------------------------------------

My sytem info...:

Debian-I:/home/goyo/xmule2/aMule-1.1.2# ./get-info.sh
I.   Development Environment

     A. Compiler Info
        Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version 2.95.4 20011002 (Debian prerelease)

     B. wxWindows Info
        Version: 2.2.9
        -lwx_base-2.2 -ldl -lpthread -lz -lm

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

II.  System Environment

     A. CPU Info
        Type:  GenuineIntel
        Model: Pentium II (Klamath)
        Speed: 266.619
        BMips: 530.84
        Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov mmx

     B. Memory Info
        Total:   191032 kB
        Unused:  76404 kB

     C. Kernel Info
        Version: 2.4.18

     D. Library Info
        wxWindows library: libwx_gtk-2.4.so (libc6) => /usr/lib/libwx_gtk-2.4.so libwx_gtk-2.4.so (libc6) => /usr/local/lib/libwx_gtk-2.4.so libwx_base-2.2.so (libc6) => /usr/lib/libwx_base-2.2.so

----------------------------------------------
Debian-I:/home/goyo/xmule2/aMule-1.1.2# /usr/local/bin/wx-config --version
2.4.1


------------------------------------------

I don't understand why it doesn't find config.h if it's there...

Thank for your time...

xxxGOYOxxx





Logged

Guest

  • Guest
sorry...
« Reply #1 on: November 17, 2003, 12:46:32 PM »

Sorry I didn't see this when I runned autogen...


--------------------------------------------
---Debian-I:/home/goyo/xmule2/aMule-1.1.2# ./autogen.sh
to create the configure script I used:
- GNU Autoconf V2.57
- GNU Automake V1.7.2
- GNU gettext V0.11.5
You may be able to generate it with older versions but I didn't test it.
Setting up internationalization files
Running aclocal -I m4
Running automake m4/Makefile
Running automake --foreign -a
configure.in: 5: required file `./[config.h].in' not found
Makefile.am:1: AM_GNU_GETTEXT in `configure.in' but `intl' not in SUBDIRS
automake: Makefile.am: AM_GNU_GETTEXT in `configure.in' but `ALL_LINGUAS' not defined
Running autoheader
Running autoconf
--------------------------------------------

It says config.h is not found.., but it is there..

Somebodu knows what happends...

Thanks..

xxGOYOxxx
Logged

Guest

  • Guest
SOLVED
« Reply #2 on: November 17, 2003, 03:30:42 PM »

FORGET IT!!!

I SOLVED IT!!

Now I can compile.. I just had to edit autogen.sh and change:
 aotomake for automake-1.7  and
 aclocal for aclocal-1.7
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: PROble compiling amule 1.1.2.....
« Reply #3 on: November 18, 2003, 07:56:28 AM »

And btw, do you use wxWindows 2.2 instead of 2.4?
Logged