aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule 2.1.2: Patch for Windows compilation  (Read 6812 times)

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
aMule 2.1.2: Patch for Windows compilation
« on: May 29, 2006, 12:49:20 AM »

The currently released sources cannot be compiled on Windows. Here's the patch to fix it.

Apply with "patch -p0 < r6786.diff" (without the quotation marks) from the aMule-2.1.2 directory.
Logged
concordia cum veritate

lennynero

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 29
RE: aMule 2.1.2: Patch for Windows compilation
« Reply #1 on: May 30, 2006, 08:27:50 PM »

i got an error while compiling po/ files...

this is the error line:
Code: [Select]
mv: cannot stat 't-en_GB.gmo': No such file or directory
i think it is caused by this source code(po/Makefile.in.in[68]):
Code: [Select]
cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
and the $(GMSGFMT) seems to be empty....
in Makefile it is set like "GMSGFMT = :" infact in che echo of po/Makefile.in.in[67]:
Code: [Select]
echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \
this echo print "rm -f en_GB.gmo && : -c --statistics -o en_GB.gmo en_GB.po"

...why i havent a compiler..:( someone can help me?
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule 2.1.2: Patch for Windows compilation
« Reply #2 on: May 31, 2006, 04:06:32 AM »

install gettext
Logged

lennynero

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 29
solved, thank u
« Reply #3 on: May 31, 2006, 05:52:08 PM »

wau :baby:, thank u so much for your speed, with gettext aMule compilation is ok.
Logged