Ultimately, I'm trying to build complex applications like Firefox, Emacs, gtk+ based tools, etc.
Currently I can only achieve this using a pkgsrc build environment which provides its own "modular-xorg" (and just about everything else except an initial c/c++ compiler) when compiling applications. If I try to build using Solaris's native x-libraries, most packages will break. I'm just trying to figure out if that's something that can be fixed by providing the simplest way to reproduce my breakage, building any simple x-application on Solaris (eg xeyes). I also am not sure what effect their modular-xorg has if I was to ever distribute a compiled binary to other Solaris 10 machines.
I'm new to both pkgsrc and advanced building so there's a lot that doesn't make sense and pkgsrc, though getting packages built quicker, adds a layer of abstraction which makes things more confusing when they break. I would like to avoid it if I can, but maybe I can't because I can't even build xeyes without it
.
The question is the same as it was, how do you build [modern] x-applications on Solaris 10 if the development header files that come with most other platforms aren't there? I know that you've kind of answered this question above but your solution seems unfeasible given the quantity of packages which will not build before actually getting to the package which you need. It is also naturally impossible for a newbie like myself :|
I do appreciate all that you've answered so far though. It has helped me to somewhat further understand this new world of Unix/Solaris which I have recently been thrown into.