[indiana-discuss] Problem building IPS

Dave Miner Dave.Miner at Sun.COM
Wed Dec 5 11:55:55 PST 2007


Sanjay Nadkarni wrote:
> I take it that you are doing this on an OSDP installed system.   I 
> noticed that the /usr/include/* is rather sparse on an OSDP installed 
> system (even after the upgrade).  This looks like a bug.  Please file one.
> 

No, it's not a bug.  You need to install SUNWhea to get the header files.

pkg refresh
pkg install SUNWhea

Dave

> -Sanjay
> 
> 
> Anoop Rajendra wrote:
>> Hi all.
>>
>> I was just trying to build IPS.
>>
>> I downloaded the source code using the command line
>>
>> hg clone ssh://anon@hg.opensolaris.org/hg/pkg/gate
>>
>> My build fails with the error message
>>
>> -bash-3.2# pwd
>> /export/devel/gate/src
>> -bash-3.2# gmake
>> /export/devel/gate/src/modules
>> gmake[1]: Entering directory `/export/devel/gate/src/modules'
>> cc -c -g -Kpic -v -I/usr/include/python2.4 -I.  arch.c
>> "arch.c", line 26: cannot find include file: <sys/systeminfo.h>
>> "arch.c", line 27: cannot find include file: <sys/types.h>
>> "arch.c", line 28: cannot find include file: <stdlib.h>
>> "/usr/include/python2.4/pyconfig.h", line 877: cannot find include
>> file: <sys/isa_defs.h>
>> "/usr/include/python2.4/Python.h", line 18: cannot find include file: <limits.h>
>> "/usr/include/python2.4/Python.h", line 21: #error: "Something's
>> broken.  UCHAR_MAX should be defined in limits.h."
>> cc: acomp failed for arch.c
>> gmake[1]: *** [arch.o] Error 2
>> gmake[1]: Leaving directory `/export/devel/gate/src/modules'
>> gmake: *** [binary-modules] Error 2
>> -bash-3.2#
>>
>> I'm probably missing something obvious, perhaps a devel package, but
>> nothing jumps out at me.
>>
>> Any ideas?
>>
>> Thanks,
>> -anoop
>> _______________________________________________
>> indiana-discuss mailing list
>> indiana-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>>   
> 
> _______________________________________________
> indiana-discuss mailing list
> indiana-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss



More information about the indiana-discuss mailing list