On Thu, Jan 04, 2007 at 05:27:02AM -0800, Rafal Chojnacki wrote: > I have installed Solaris Express Nevada b52 using End User installation > option. Also, I have installed GCC from www.blastwave.org, but "hello world" > compilation fails as follows: > > hello.c:1:19: error: stdio.h: No such file or directory > > Based on forum.java.sun.com/thread.jspa?threadID=5112730 I should install at > least SUNWhea, but currently I do not have Solaris DVD and cannot find this > package using Google.
You'll need a lot more than just that one package to get a working compilation environment. The packages are on the DVD in the Product/Solaris_11 subdirectory, but since you don't have it I'm not sure what to recommend other than reinstalling and selecting the full set of packages. You can download the ISO via opensolaris.org and use lofi to mount it without burning it if you want to try installing packages until you find everything you need, but it will be much faster and more enjoyable to just start over. Also, when you do so, you will get gcc installed for you in /usr/sfw/bin. As of S10 it's no longer necessary (nor advised) to install third-party gcc packages. -- Keith M Wesolowski "Sir, we're surrounded!" FishWorks "Excellent; we can attack in any direction!" _______________________________________________ opensolaris-help mailing list [email protected]
