Opened 12 years ago

Closed 12 years ago

#32931 closed defect (fixed)

ntop fails to upgrade with error "GeoIP library is missing"

Reported by: stephen.marshall@… Owned by: markd@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: ntop

Description (last modified by mf2k (Frank Schima))

despite having the libGeoIP installed, sudo port install ntop fails during configure with error "Target org.macports.configure returned: configure failure: shell command failed (see log for details)"

investigating the log shows:

:info:configure checking GeoIP.h usability... yes
:info:configure checking GeoIP.h presence... yes
:info:configure checking for GeoIP.h... yes
:info:configure checking for GeoIP_open in -lGeoIP... no
:info:configure configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_ntop/ntop/work/ntop-3.3.10':
:info:configure configure: error: GeoIP library is missing

Attachments (1)

ntop.txt (25.6 KB) - added by stephen.marshall@… 12 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to markd@…
Port: ntop added

In the future, please Cc the port maintainer(s), fill in the Port field and use WikiFormatting. Also please attach the complete log.

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

ntop has been updated to 4.1.0 (see #31330). Did that help?

Changed 12 years ago by stephen.marshall@…

Attachment: ntop.txt added

comment:3 in reply to:  2 Changed 12 years ago by stephen.marshall@…

Replying to ryandesign@…:

ntop has been updated to 4.1.0 (see #31330). Did that help?

Afraid not, for some reason the checksums don't match:

--->  Fetching archive for libgeoip
--->  Attempting to fetch libgeoip-1.4.8_0+universal.darwin_10.i386-x86_64.tbz2 from http://packages.macports.org/libgeoip
--->  Fetching distfiles for libgeoip
--->  Attempting to fetch GeoIP-1.4.8.tar.gz from http://www.maxmind.com/download/geoip/api/c/
--->  Verifying checksum(s) for libgeoip
Error: Checksum (rmd160) mismatch for GeoIP-1.4.8.tar.gz
Error: Checksum (sha256) mismatch for GeoIP-1.4.8.tar.gz
Error: org.macports.checksum for port libgeoip returned: Unable to verify file checksums
Error: Unable to upgrade port: 1

comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Ok, so we actually don't know yet whether updating the ntop port to version 4.1.0 helped, because you're experiencing a new and unrelated problem with the libgeoip port. I'm not able to reproduce that problem; the checksums seem fine to me, and the file doesn't seem to have been updated in a year. Please "sudo port clean --all libgeoip" and "sudo port selfupdate" and try again, and if it still doesn't work, please file a new ticket about that.

comment:5 in reply to:  4 Changed 12 years ago by stephen.marshall@…

Replying to ryandesign@…:

Ok, so we actually don't know yet whether updating the ntop port to version 4.1.0 helped, because you're experiencing a new and unrelated problem with the libgeoip port. I'm not able to reproduce that problem; the checksums seem fine to me, and the file doesn't seem to have been updated in a year. Please "sudo port clean --all libgeoip" and "sudo port selfupdate" and try again, and if it still doesn't work, please file a new ticket about that.

Success! cleaning and reinstalling libgeoip separately seems to have fixed it. 4.1.0 installed without issues. Thanks for the update.

comment:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Great!

Note: See TracTickets for help on using tickets.