Opened 21 years ago

Closed 21 years ago

Last modified 19 years ago

#572 closed defect (invalid)

net-snmp fails to build (?netinet-headers missing tcp_var.h?)

Reported by: danielluke (Daniel J. Luke) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

The net-snmp dport fails to build on my Mac OS X 10.2.6 system because it lacks the 'tcp_var.h' header. (It's missing the definition for the tcpstat struct).

I'm guessing that the netinet-headers project should include tcp_var.h, but doesn't appear to currently.

Change History (5)

comment:1 Changed 21 years ago by danielluke (Daniel J. Luke)

I didn't wait for it to finish... looks like it's failing now because icmpstat is undefined (so, I'm missing icmp_var.h too).

... and now because udpstat is undefined (so I'm also missing udp_var.h).

But after copying those three files over, it installs fine.

comment:2 Changed 21 years ago by fkr@…

Resolution: invalid
Status: newclosed

failed to re-produce. Please re-open if necessary. -fkr

comment:3 Changed 21 years ago by danielluke (Daniel J. Luke)

Resolution: invalid
Status: closedreopened

[dluke:~] dluke% sw_vers ProductName: Mac OS X ProductVersion: 10.2.6 BuildVersion: 6L60 [dluke:~] dluke% port toc netinet-headers Contents of netinet-headers-1.0.1

/usr/include/netinet/in_var.h /usr/include/netinet/ip_var.h

[dluke:~] dluke% lsbom /Library/Receipts/BSDSDK.pkg/Contents/Archive.bom | grep tcp_var.h [dluke:~] dluke%l sbom /Library/Receipts/BSD.pkg/Contents/Archive.bom | grep tcp_var.h [dluke:~] dluke%

IIRC Darwin has all the headers so this will only be seen on a 10.2.x system.

comment:4 Changed 21 years ago by fenner@…

DevSDK seems to include /usr/include/netinet/tcp_var.h .

comment:5 Changed 21 years ago by danielluke (Daniel J. Luke)

Resolution: invalid
Status: reopenedclosed

You're right... I'm not sure why it wasn't present on my system.

Note: See TracTickets for help on using tickets.