aMule Forum

English => Compilation problems => Topic started by: Radek on February 05, 2008, 01:42:38 PM

Title: SVN20080205 Win32/MingW: configure has error messages
Post by: Radek on February 05, 2008, 01:42:38 PM
Hi!

When I run my (more or less) daily building process, the configure-script gives some error messages. It does not stop because of the messages, building goes on instead.

First message:
Code: [Select]
checking for windres... windres
checking for crypto++ version >= 5.1... grep: invalid option -- o
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
no
configure: Crypto++ version number is 0

this little problem does not occur on my Debian machine.

Second message:
Code: [Select]
checking for SVNDATE... Tue Feb  5 07:01:56 CET 2008
Generating po/LINGUAS... cp: cannot stat `po/LINGUAS.in': No such file or directory
wc: po/LINGUAS: No such file or directory
/home/rb/src/amule-cvs/configure: test: =: unary operator expected
Done
checking denoising level... 0

this gives the same message on Debian...

Cheers!
Title: Re: SVN20080205 Win32/MingW: configure has error messages
Post by: Crakem on February 19, 2008, 12:58:53 AM
Mingw using msys on windows have limitations, grep don't allow -o option for example, workaround for that:
edit configure script in amule-cvs dir for set cryptopp version propertly, change line (8402 in my cvs) saying:
Code: [Select]
grep -Eo "([0-9]+\.?+)+")for
Code: [Select]
awk '{print $6}'check it worked propertly from console running form crytopp directory:
Code: [Select]
$grep "Reference Manual" cryptlib.h | awk '{print $6}'
I was able to compile amulegui cvs 20080218 sucessfully like that with:
Code: [Select]
$ ./configure --enable-amule-gui --disable-monolithic --disable-ed2k --enable-optimize --disable-debug --enable-amulecmd --disable-upnp --with-language=es --with-crypto-prefix=/home/enrique/usr/lib/cryptopp