[ipv6calc] Re: ipv6calc 'make update' failure ?

Peter Bieringer pb at bieringer.de
Wed Nov 19 21:56:29 CET 2008


JC Janos schrieb:
> On Wed, Nov 19, 2008 at 12:37 PM, Peter Bieringer <pb at bieringer.de> wrote:
>> Yes, that's right...
>>
>> Could you try now the 0.72.0 release?
>>
>> ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/
>>
>> If it works for you, then I will release it officially.
> 
> Certainly, I'll try it in a moment ...
> 
> I am confused, how am I supposed to run 'make install' as root if it
> invokes 'make test', obviously as root, and you advise to "avoid"
> doing that?

Hmm, "make installonly" does the job for you.


> Also, from a cvs a few moments ago, running 'make test' as user "test",
> 
> 	whoami
> 		test
> 
> Completes, but shows one error,
> 
> 	...
> 	make[1]: Leaving directory `/usr/local/src/ipv6calc/ipv6logstats'
> 	make[1]: Entering directory `/usr/local/src/ipv6calc/ipv6calcweb'
> 	# Pseudo random selected
> 	./test_ipv6calcweb.sh 2001:200:1:ea::1
> 	Content-type: text/html
> 	
> 	Use of uninitialized value $bin_ipv6calc in -f at ./ipv6calcweb.cgi line 659.
> 	Error: missing needed program
> 	make[1]: *** [test] Error 1
> 	make[1]: Leaving directory `/usr/local/src/ipv6calc/ipv6calcweb'
> 	make[1]: Entering directory `/usr/local/src/ipv6calc/ipv6calc'
> 	make
> 	make[2]: Entering directory `/usr/local/src/ipv6calc/ipv6calc'
> 	...

That's caused by the non-existend "ipv6calc" program which is required
by test_ipv6calcweb.sh

And ooops, this points me to a problem in the CGI at all:
# Pseudo random selected
./test_ipv6calcweb.sh 2001:200:1:ea::1
Content-type: text/html

 Support for option '--db-ip2location-ipv4 <IP2Location IPv4 database
file>' not compiled in, IP2Location support disabled
 Support for option '--db-ip2location-ipv6 <IP2Location IPv6 database
file>' not compiled in, IP2Location support disabled
 Support for option '--db-geoip <GeoIP database file>' not compiled in,
GeoIP support disabled
<html>

This should not happen...


	Peter




More information about the ipv6calc mailing list