Solaris 10 x86 and zeus have developed a problem

up until solaris 10 x86 , 08/07 works fine with zeus
applying the patch from feb 2008, (kernel SunOS 5.10 Generic_127112-10 i86pc i386 i86pc) breaks zeus cgi communications, making everything slow as hell.

solaris nevada snv_38 works fine with zeus too, 
snv_52 is already broken (I will check the snv_47 maybe works fine too, I hope)

also, we cannot install newer solaris 10's than 05/07 into the X4n00's M1
as the AMD cpu is missing version 1 of the api


FIX KLUDGE - BUT WORKS thanks to beavis the grand master

Solaris X86 Express (Solaris 10)
(first of all, many ppl come here looking for the Solaris 10 download. The current link for this (Sun changes their site URLs too often for my liking) is: solaris 10 download there you have it. )

Now, before we go into details: DISCLAIMER
I don't use Java, in fact, I remove it from anywhere I see it, I converted several companies out of java-oracle into php-postgres, and since then profits skyrocketed, and they have never had that much uptime !

Solaris 10 now comes with a modified version of the GNU GCC already installed in /usr/sfw
My .bash_profile is now as follows:

Since I use POSTGRES and PHP as my main application building blocks (cause they rock),
then you need to know that I reversed the logical LD path of /usr/lib , cause if not, then you cannot get the php5 to run correctly,
due to a problem with the XML libs, which are in /usr/lib , not being compatible with what php5 links with, (a properly installed libxml in /usr/local/lib)

If you do not want the /usr/sfw , then you can just remove (mv /usr/sfw/ /usr/sfw.solaris/) the folder from the path, and then proceed to download the gcc from SunFreeWare or, if you really want to build it from scratch, then continue to read below:

How to build yourself a development environment:

1. Download yourself an eval version of the SunONE Compilers (used to be Forte C)
2. Install it in default locations
3. set your environment to contain PATH=/opt/SUNWspro/bin:$PATH , and LD_LIBRARY_PATH=/opt/SUNWspro/lib:$LD.... (i.e. put those first)
4. make yourself a .../downloads/sources/ folder
5. temporarily mv /usr/ucb/cc /usr/ucb/cc.hold , then download yourself gnu make
6. configure, make and make install it
7. change your PATH so it contains /usr/local/bin BEFORE /usr/ccs/bin (because you want the other compilations to find the gnu make before the solaris make)
8. download the latest version of gcc source, and put it in .../downloads/sources/
9. gunzip it, and untar it
10. make a folder called gcc_build, and cd into that folder
11. execute ../gcc-X.Y.Z/configure , and check that the "cc" is found, and also make
12. if configure worked fine, now type: make bootstrap (this will take a long time, depends on your wallet/indulgence ratio)
13. While that runs, I decided to go and download myself the sources to Mozilla Firebird,
14. I found out that I had to compile FLEX, and also libIDL , so I got myself the 2 latest versions, flex first (using cc), and then the libIDL, which installed itself into /usr/local/lib
15. Now, trying to configure Mozilla I got a little problem, with libIDL. I had to create a symlink of the libIDL-config-2 -> libIDL-config (in /usr/local/bin), and then I had to make sure that my LD_LIBRARY_PATH has the /usr/local/lib path before the /usr/lib (else Mozilla encounters the original gnome/solaris
16. Mozilla configured, made, and made install, all superb, and runs like a charm !
17. gcc finished the make bootstrap, now I type make, that goes quick, then I type make install (which takes longer)
18. voilla. we are now fully gcc'ed on Solaris 10 x86, and ready to go compile all our good'ol apps.
19. I guess at this point it would be wise to do mv /opt/SUNWspro /opt/SUNWspro.hold and then compile a few apps to see if the gcc is operational. (mine is)

I guess it would be best to put /usr/local and /opt in a different physical hard drive than the OS, and then only make symlinks, so that we can continue to upgrade to the latest version of Solaris 10 as they come out, without having to rebuild our environment.

Solaris 10 x86 on Dell 1850
Solaris 9 x86 on Dell 1850
Disk Format issues on Solaris 10

ZFS and Disksuite on Solaris 10 x86
cannot telnet in as user postgres on the new solaris 10 ?

usb stick used as metadb on solaris 10

lost my pg_xlog folder in postgres , howto recover from corrupt or missing pg_xlog

------------------------------------------------------------------------------------------------------------ If you have any further questions, email me [ robert a^ ]