aMule Forum
English => Compilation problems => Topic started 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:
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:
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!
-
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:
grep -Eo "([0-9]+\.?+)+")
for
awk '{print $6}'
check it worked propertly from console running form crytopp directory:
$grep "Reference Manual" cryptlib.h | awk '{print $6}'
I was able to compile amulegui cvs 20080218 sucessfully like that with:
$ ./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