This is a discussion on solaris overview for a Linux admin within the comp.unix.solaris forums, part of the Solaris Operating System category; --> Hi, I am going mad with solaris 10!! Actually I am trying to install the current version of postfix. ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I am going mad with solaris 10!! Actually I am trying to install the current version of postfix. Appart from the fact that there are NO precompiled packages for solaris, I can hardly find a consistent compiler environment. I know that the problem is not solaris, since most people can compile their stuff. But I am missing an overview over the solaris tools/structure. Why the hell are there so man subdirectories with uncomprehensible abbreviations in /usr (ccs, adm, kvm, sadm, sfw, snadm, ucb, ..) and other directories? Isn't there something like the FSH for Linux? Why are there dozens of versions of the gcc and g++ compilers in /usr/sfw/bin, /opt/sfw/bin /usr/ccs/bin? And why the hell can I successfully build my code when using /usr/sfw/bin/gcc and why will it fail with the /opt/sfw/bin/gcc (linking with fails due to file processing error in a .a file), though both have the same version (option --version)? Which compiler environment is installed by default on solaris (g++ had to be installed from the companion cd) Why is there no way to find out, which package a certain file belongs to? Why is it not possible to list all files in a certain package? The man pages of the pkg* tools didn't help me. Can you give me documentation, which helps me out of this jungle? Linux is much easier structured (only one gcc, as, ld, there are only to direcotries containing executables: /bin /sbin, the package tools are much better usability) thanks for any hint ! greets Boris |
| |||
| Boris Glawe <boris@boris-glawe.de> writes: > Hi, > > I am going mad with solaris 10!! > > Actually I am trying to install the current version of postfix. > > Appart from the fact that there are NO precompiled packages for solaris, http://www.blastwave.org/packages.php/postfix and http://www.blastwave.org/ in general > > Which compiler environment is installed by default on solaris (g++ had to > be installed from the companion cd) /usr/sfw/bin/gcc is the default one in Solaris 10. > > Why is there no way to find out, which package a certain file belongs to? > Why is it not possible to list all files in a certain package? The man > pages of the pkg* tools didn't help me. > pkgchk is your friend pkgchk -v <package name> lists all files in that package pkgchk -l -p <file name> shows the package name for a file etc etc. > Can you give me documentation, which helps me out of this jungle? http://docs.sun.com is the usual starting point. > Linux is > much easier structured (only one gcc, as, ld, there are only to direcotries > containing executables: /bin /sbin, the package tools are much better > usability) > Nah, you are just used to it. Remember who did you feel when you started using Linux. Bye, Dragan -- Dragan Cvetkovic, To be or not to be is true. G. Boole No it isn't. L. E. J. Brouwer !!! Sender/From address is bogus. Use reply-to one !!! |
| |||
| On Wed, 8 Jun 2005, Boris Glawe wrote: > Appart from the fact that there are NO precompiled packages for solaris, I can > hardly find a consistent compiler environment. Wrong on both counts. Precompiled packages are available from blastwave.org, sunfreeware.com, and the companion CD to name but three. > Why is there no way to find out, which package a certain file belongs to? Why is There is: grep <filename> /var/sadm/install/contents -- Rich Teer, SCNA, SCSA, OpenSolaris CAB member President, Rite Online Inc. Voice: +1 (250) 979-1638 URL: http://www.rite-group.com/rich |
| |||
| On Wed, 08 Jun 2005 23:14:41 +0200, Boris Glawe wrote: > Can you give me documentation, which helps me out of this jungle? Linux is much > easier structured (only one gcc, as, ld, there are only to direcotries > containing executables: /bin /sbin, the package tools are much better usability) You obviously know nothing about even Linux. Did you ever do an ls on /usr/bin or /usr/sbin? Your default complete Solaris installation also contains "only one gcc, as, ld". You just do not know how to use them. And if you are referring to rpm as a "package tool" having better usability you really need to get back onto your meds. |
| |||
| Dragan Cvetkovic wrote: > Boris Glawe <boris@boris-glawe.de> writes: > > >>Hi, >> >>I am going mad with solaris 10!! >> >>Actually I am trying to install the current version of postfix. >> >>Appart from the fact that there are NO precompiled packages for solaris, > > > http://www.blastwave.org/packages.php/postfix > > and http://www.blastwave.org/ in general These packages are from 2003. I don't how often I have read about postfix flaws since 2003. > > >>Which compiler environment is installed by default on solaris (g++ had to >>be installed from the companion cd) > > > /usr/sfw/bin/gcc is the default one in Solaris 10. thanks. What stands "sfw" for? What is the matter with the other versions in /opt/sfw and /usr/ccs? Are there any resources, where such questions are being answered? > > >>Why is there no way to find out, which package a certain file belongs to? >>Why is it not possible to list all files in a certain package? The man >>pages of the pkg* tools didn't help me. >> > > > pkgchk is your friend > > pkgchk -v <package name> lists all files in that package > > pkgchk -l -p <file name> shows the package name for a file etc etc. > Thanks a lot !! that's what I was missing. > > >>Can you give me documentation, which helps me out of this jungle? > > > http://docs.sun.com is the usual starting point. > I'll give it another try, though it couldnt answer many of my questions :-) > >>Linux is >>much easier structured (only one gcc, as, ld, there are only to direcotries >>containing executables: /bin /sbin, the package tools are much better >>usability) >> > > > Nah, you are just used to it. Remember who did you feel when you started > using Linux. I don't want to contradict - but I still don't understand why this high complexity (many bin directories under directories with abbreviated names) is necessary. Anyway, thanks for the reply ! |
| |||
| Rich Teer wrote: > On Wed, 8 Jun 2005, Boris Glawe wrote: > > >>Appart from the fact that there are NO precompiled packages for solaris, I can >>hardly find a consistent compiler environment. > > > Wrong on both counts. Precompiled packages are available from blastwave.org, > sunfreeware.com, and the companion CD to name but three. > unfortunately not. blastwave's version is almost 2 years old and sunfreeware.com provides postfix packages for solaris 8 only. I've searched for packages before asking :-) > >>Why is there no way to find out, which package a certain file belongs to? Why is > > > There is: grep <filename> /var/sadm/install/contents > thanks Boris |
| |||
| In article <d87qlt$l24$1@newsreader3.netcologne.de>, Boris Glawe <boris@boris-glawe.de> writes: > > unfortunately not. blastwave's version is almost 2 years old and sunfreeware.com > provides postfix packages for solaris 8 only. I've searched for packages before > asking :-) Solaris provides a backwards binary compatibility guarantee, so that version should be fine on Solaris 10. Generally, binary packages are always built on the oldest OS release for which they are supported, so you don't have to build and support separate binary packages for every OS release. -- Andrew Gabriel |
| |||
| Andrew Gabriel wrote: > In article <d87qlt$l24$1@newsreader3.netcologne.de>, > Boris Glawe <boris@boris-glawe.de> writes: > >>unfortunately not. blastwave's version is almost 2 years old and sunfreeware.com >>provides postfix packages for solaris 8 only. I've searched for packages before >>asking :-) > > > Solaris provides a backwards binary compatibility guarantee, so > that version should be fine on Solaris 10. Generally, binary > packages are always built on the oldest OS release for which > they are supported, so you don't have to build and support > separate binary packages for every OS release. > Besides, you can always build it yourself from the latest source files if you wish to be on the bleeding edge. |
| ||||
| In article <d87qlt$l24$1@newsreader3.netcologne.de>, Boris Glawe <boris@boris-glawe.de> wrote: >sunfreeware.com >provides postfix packages for solaris 8 only. I've searched for packages before The postfix package for Solaris 8 should run fine on Solaris 10. John groenveld@acm.org |