[j-nsp] Installing JUNOScript Perl client

Jeroen Valcke jeroen.valcke at belnet.be
Thu Nov 22 06:09:43 EST 2007


Hi,

I used to have a fully functional installation of the JUNOScript perl
client on my linux system. However after a re-install of my system I
haven't been able to succesfully re-install the perl client. I keep
getting an error on the gmp component.

	jeroen at jeroen junoscript-perl-8.5R1.13 $ sudo perl install-prereqs.pl -force
	...
	gmp                            00:00:45  fail, see gmp-4.1.1.log
	...

	jeroen at jeroen junoscript-perl-8.5R1.13 $ less tmp/output/gmp-4.1.1.log
	...
	gco -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -g -O2 -fomit-frame-pointer -mcpu=pentium4 -march=pentium4 -c 
	abs.c >/dev/null 2>&1
	/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..    -g -O2 -fomit-frame-point
	er -mcpu=pentium4 -march=pentium4 -c -o aorsmul.lo `test -f aorsmul.c || echo './'`aorsmul.c
	gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -g -O2 -fomit-frame-pointer -mcpu=pentium4 -march=pentium4 -c 
	aorsmul.c  -fPIC -DPIC
	`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
	aorsmul.c:44: error: conflicting types for '__gmpz_aorsmul'
	aorsmul.c:39: error: previous declaration of '__gmpz_aorsmul' was here
	make[2]: *** [aorsmul.lo] Error 1
	make[2]: Leaving directory `/home/jeroen/junoscript-perl-8.5R1.13/tmp/gmp-4.1.1/mpz'
	make[1]: *** [all-recursive] Error 1
	make[1]: Leaving directory `/home/jeroen/junoscript-perl-8.5R1.13/tmp/gmp-4.1.1'
	make: *** [all] Error 2
	cd tmp/gmp-4.1.1 && make Failed

I'm on an Ubuntu system.

	jeroen at jeroen junoscript-perl-8.5R1.13 $ uname -a
	Linux jeroen.fw.belnet.be 2.6.20-16-386 #2 Sun Sep 23 19:47:10 UTC 2007 i686 GNU/Linux

Any ideas?

Kind regards,
-Jeroen-

-- 
Jeroen Valcke


More information about the juniper-nsp mailing list