New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #32931 (closed defect: fixed)

Opened 16 months ago

Last modified 11 months ago

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@…
Port: ntop

Description (last modified by macsforever2000@…) (diff)

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

ntop.txt (25.6 KB) - added by stephen.marshall@… 11 months ago.

Change History

comment:1 Changed 16 months ago by macsforever2000@…

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

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 follow-up: ↓ 3 Changed 11 months ago by ryandesign@…

  • Cc ryandesign@… added

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

Changed 11 months ago by stephen.marshall@…

comment:3 in reply to: ↑ 2 Changed 11 months 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 follow-up: ↓ 5 Changed 11 months ago by 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.

comment:5 in reply to: ↑ 4 Changed 11 months 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 11 months ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to fixed

Great!

Note: See TracTickets for help on using tickets.