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 ws23.dooyoo.net 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
PATH=/usr/sfw/bin:/usr/ccs/bin:/usr/local/bin:$PATH LD_LIBRARY_PATH=/lib:/usr/sfw/lib:/usr/local/lib:/usr/lib:/usr/local/pgsql/lib export PATH LD_LIBRARY_PATH
|
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 libIDL.so) 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) |