Subject: pkg/36696: pkg_install fails to build on Solaris - stdint.h
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <sd4dfg2@hotmail.com>
List: pkgsrc-bugs
Date: 07/28/2007 17:05:01
>Number:         36696
>Category:       pkg
>Synopsis:       pkg_install fails to build on Solaris - stdint.h
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 28 17:05:00 +0000 2007
>Originator:     Rob Quinn
>Release:        pkgsrc-current, Solaris8/9/10
>Organization:
>Environment:
>Description:
  My Solaris machines fail with this:

cc -DHAVE_CONFIG_H -DDEF_UMASK=022 -DPREFIX="\"/usr/pkg\"" -DSYSCONFDIR="\"/usr/pkg/etc\"" -I/usr/obj/pkg/pkgtools/pkg_install/work/libnbcompat -I. -I../lib -DHOST=\"sparc-sun-solaris2\" -DPKGSRC -DPREFIX=\"/usr/pkg\" -DSYSCONFDIR=\"/usr/pkg/etc\" -O -pipe -Wall -c audit-packages.c -o audit-packages.o
audit-packages.c:46:20: stdint.h: No such file or directory

>How-To-Repeat:

>Fix:
Delete the include line.