Subject: pkg/30942: xterm-202 fails to build
To: None <firstname.lastname@example.org, email@example.com,>
From: None <firstname.lastname@example.org>
Date: 08/08/2005 10:01:00
>Synopsis: xterm-202 fails to build
>Arrival-Date: Mon Aug 08 10:01:00 +0000 2005
>Originator: Stuart Shelton
IRIX64 octane 6.5 01062343 IP30 mips
The xterm build specifies a compiler flag of "-nostdinc" (which drops the common include directories such as /usr/include) but then tries to include (or includes another header which tries to include) <sys/types.h> which can no longer be found, since /usr/include isn't in the include path.
This may be because IRIX' standard headers are somewhat more convoluted than usual - but I'm surprised this issue (presumably) isn't hit using the GCC compilter suite instead of MIPSpro - or does gcc ignore the -nostdinc option?
"bmake install" in pkgsrc/x11/xterm on IRIX
Edit the Makefile to remove references to "-nostdinc" and rebuild. I guess that adding "-I/usr/include" would be an alternative, but that seems a little pointless since we've just excluded it.
Why was nostdinc there in the first place?