aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Still problems compiling aMule 1.2.4  (Read 4050 times)

massdabass

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Still problems compiling aMule 1.2.4
« on: January 11, 2004, 03:12:49 PM »

Hi,
I can't still compile aMule.
Today I started copiling wx-GTK and WxBase 2.4.2, following instruction in the Help part of the forum. Everything go well.

Then a try to copile aMule 1.2.4.
Running
./configure --disable-debug --enable-optimise

I get:

Code: [Select]

  .....  .....
  checking for wxWindows version >= 2.4.0... yes (version 2.4.1)
  checking for wxbase-2.4-config... /usr/bin/wxbase-2.4-config
  checking for wxWindows base version >= 2.4.0... yes (version 2.4.2)
  ......

  Configure script has finished system check.

  Configured aMule 1.2.4 for `i686-pc-linux-gnu'.

  Should aMule be compiled in debug mode?                  no
  Should aMule be compiled with release grp code?          no
  Should aMule be compiled without debug reporting?        no
  Should aMule be compiled with profiling?                 no
  Should aMule be compiled with optimizations?             yes
  Should aMule be compiled with systray?                   yes
  Should aMule be compiled with safe systray?              no
  Should aMule be compiled with pure GTK code?             yes
  Should aMule be compiled without bar drawing?            no
  Should aMule be linked against patched gsocket?          yes
  Should amulecmd be built?                                yes
  Should amulecmd (TextClient) be linked against wxbase?   yes

  Which libraries should aMule use?
                                       wxWindows          2.4.1 (?)
                                       GTK                1.2.10

Why I get wxWindows 2.4.1 ?????
Then I run make:

Code: [Select]
[root@poincare aMule-1.2.4]# make
make  all-recursive
make[1]: Entering directory `/usr/local/src/aMule-1.2.4'
Making all in .
make[2]: Entering directory `/usr/local/src/aMule-1.2.4'
make[2]: Leaving directory `/usr/local/src/aMule-1.2.4'
Making all in m4
make[2]: Entering directory `/usr/local/src/aMule-1.2.4/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/aMule-1.2.4/m4'
Making all in intl
make[2]: Entering directory `/usr/local/src/aMule-1.2.4/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/aMule-1.2.4/intl'
===> Making all in po
===> make[2]: Entering directory `/usr/local/src/aMule-1.2.4/po'
===> : --update fr.po amule.pot
===> rm -f fr.gmo && : -c --statistics -o fr.gmo fr.po
===> mv: can't stat source t-fr.gmo
===> make[2]: *** [fr.gmo] Error 1
make[2]: Leaving directory `/usr/local/src/aMule-1.2.4/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/aMule-1.2.4'
make: *** [all] Error 2

I emphasized the same messages that I had compiling aMule 1.2.3 (in that case I didn't compile wx*, using RPM from this site)
Someone can tell me where I do mistake?
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: Still problems compiling aMule 1.2.4
« Reply #1 on: January 11, 2004, 03:36:54 PM »

ls -al /usr/bin/wx*

massdabass

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: ls -l /usr/bin/wx*
« Reply #2 on: January 11, 2004, 03:45:10 PM »

[root@poincare root]# wx-config --version
2.4.2

[root@poincare root]# wxbase-config --version
2.4.2

[root@poincare root]# ls -l /usr/bin/wx*
-rwxr-xr-x    1 root     root         4864 Jan 11 13:08 /usr/bin/wxbase-2.4-config
lrwxrwxrwx    1 root     root           17 Jan 11 13:46 /usr/bin/wxbase-config -> wxbase-2.4-config
lrwxrwxrwx    1 root     root           16 Jan 11 13:46 /usr/bin/wx-config -> wxgtk-2.4-config
-rwxr-xr-x    1 root     root        10198 Apr 11  2003 /usr/bin/wxcopy
-rwxr-xr-x    1 root     root         5057 Jan 11 13:45 /usr/bin/wxgtk-2.4-config
-rwxr-xr-x    1 root     root         8368 Apr 11  2003 /usr/bin/wxpaste
Logged

massdabass

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Still problems compiling aMule 1.2.4
« Reply #3 on: January 11, 2004, 03:46:43 PM »

(sorry: ls -la /usr/bin/wx* give the same result...)
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: Still problems compiling aMule 1.2.4
« Reply #4 on: January 11, 2004, 03:57:12 PM »

seems u have still some old wxGTK versions on your pc .. i guess 2.4.1 is the org one from your linux distri .. try to remove it/clean your system ..

massdabass

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
RE: Still problems compiling aMule 1.2.4
« Reply #5 on: January 11, 2004, 05:26:59 PM »

Thanks for suggestion: I had some old wx file in /usr/local.
Now, running compile, I correctly have

  Which libraries should aMule use?
                                       wxWindows          2.4.2
                                       GTK                1.2.10


BUT I CAN'T JUST COMPILE!!!!
I have the same behaviour:

[root@poincare aMule-1.2.4]# make
make  all-recursive
make[1]: Entering directory `/usr/local/src/aMule-1.2.4'
Making all in .
make[2]: Entering directory `/usr/local/src/aMule-1.2.4'
make[2]: Leaving directory `/usr/local/src/aMule-1.2.4'
Making all in m4
make[2]: Entering directory `/usr/local/src/aMule-1.2.4/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/aMule-1.2.4/m4'
Making all in intl
make[2]: Entering directory `/usr/local/src/aMule-1.2.4/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/aMule-1.2.4/intl'
Making all in po
make[2]: Entering directory `/usr/local/src/aMule-1.2.4/po'

: --update fr.po amule.pot
rm -f fr.gmo && : -c --statistics -o fr.gmo fr.po
mv: can't stat source t-fr.gmo
make[2]: *** [fr.gmo] Error 1


make[2]: Leaving directory `/usr/local/src/aMule-1.2.4/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/aMule-1.2.4'
make: *** [all] Error 2


I look at the make file and seems that I haven't some file:

    118 .po.gmo:
    119         @lang=`echo $* | sed -e 's,.*/,,'`; \
    120         test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
    121         echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \
    122         cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo


I think that the error I get is in line 122.
I don't have any t_${lang}.gmo file in po/ directory (I don't know if there should be some)
I have downloaded source file from this site, following the link in the download page.

Thanks in advance
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Still problems compiling aMule 1.2.4
« Reply #6 on: January 11, 2004, 05:58:38 PM »

You probably lack some updated package for i18n.

try updating autopint, gettext, etc
Logged