[ipv6calc] Re: ipv6calc 'make update' failure ?
Peter Bieringer
pb at bieringer.de
Wed Nov 19 19:59:28 CET 2008
JC Janos schrieb:
> Hello,
>
> On Wed, Nov 19, 2008 at 9:59 AM, Peter Bieringer <pb at bieringer.de> wrote:
>> It's a bug in the update script. Looks like at least me has never tested
>> this on a fresh installation.
>>
>> Very simple patch is attached, will try to push 0.71.1 today or on Sunday.
>
> Thank you.
>
> Applying the patch does allow for 'make update' to complete without error.
>
> The next step of 'make', however, fails @:
>
> make
> cd md5 && make
> make[1]: Entering directory `/usr/local/src/ipv6calc/md5'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/usr/local/src/ipv6calc/md5'
> cd databases/ieee-oui && make
> make[1]: Entering directory `/usr/local/src/ipv6calc/databases/ieee-oui'
> test -f dbieee_oui.h || make update
> make[1]: Leaving directory `/usr/local/src/ipv6calc/databases/ieee-oui'
> cd databases/ieee-iab && make
> make[1]: Entering directory `/usr/local/src/ipv6calc/databases/ieee-iab'
> test -f dbieee_iab.h || make update
> make[1]: Leaving directory `/usr/local/src/ipv6calc/databases/ieee-iab'
> cd databases/ipv4-assignment && make
> make[1]: Entering directory `/usr/local/src/ipv6calc/databases/ipv4-assignment'
> test -f dbipv4addr_assignment.h || make update
> make[1]: Leaving directory `/usr/local/src/ipv6calc/databases/ipv4-assignment'
> cd databases/ipv6-assignment && make
> make[1]: Entering directory `/usr/local/src/ipv6calc/databases/ipv6-assignment'
> test -f dbipv6addr_assignment.h || make update
> make[1]: Leaving directory `/usr/local/src/ipv6calc/databases/ipv6-assignment'
> cd lib && make GETOPT_INCLUDE=
> ../databases/ieee-iab/dbieee_iab.h:2545: warning: (near initialization
> for 'libieee_iab[2179]')
> make[1]: *** [libieee.o] Error 1
> make[1]: Leaving directory `/usr/local/src/ipv6calc/lib'
> make: *** [lib-make] Error 2
>
> Another bug?
Not really, unexpected IAB data (a " in a name destroys the C header
file syntax)
Fix for: databases/ieee-iab/create_ieee_iab_headerfile.pl
@@ -127,6 +127,10 @@
# convert spaces to '-'
$oui =~ s/\s+/-/ig;
+ # remove '"'
+ $oui =~ s/"//ig;
+ $t3 =~ s/"//ig;
+
# Some final cleanup
$oui =~ s/-INT-L//ig;
$oui =~ s/-B-V//ig;
Both changes now committed to CVS, so can you please check current CVS
version? I would release 0.72.0 afterwards (I saw in my ChangeLog, that
there are new features in CVS also...have forgotten...)
Peter
More information about the ipv6calc
mailing list