Unix Technical Forum

solaris overview for a Linux admin

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. ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-07-2008, 06:39 PM
Boris Glawe
 
Posts: n/a
Default solaris overview for a Linux admin

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-07-2008, 06:39 PM
Dragan Cvetkovic
 
Posts: n/a
Default Re: solaris overview for a Linux admin

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 !!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-07-2008, 06:39 PM
Rich Teer
 
Posts: n/a
Default Re: solaris overview for a Linux admin

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-07-2008, 06:39 PM
Dave Uhring
 
Posts: n/a
Default Re: solaris overview for a Linux admin

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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-07-2008, 06:39 PM
Boris Glawe
 
Posts: n/a
Default Re: solaris overview for a Linux admin

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 !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-07-2008, 06:39 PM
Boris Glawe
 
Posts: n/a
Default Re: solaris overview for a Linux admin


>
> And if you are referring to rpm as a "package tool" having better
> usability you really need to get back onto your meds.
>

my posting wasn't meant to be the starting point for a flame war.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-07-2008, 06:39 PM
Boris Glawe
 
Posts: n/a
Default Re: solaris overview for a Linux admin

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-07-2008, 06:39 PM
Andrew Gabriel
 
Posts: n/a
Default Re: solaris overview for a Linux admin

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-07-2008, 06:39 PM
KJ
 
Posts: n/a
Default Re: solaris overview for a Linux admin

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-07-2008, 06:39 PM
John D Groenveld
 
Posts: n/a
Default Re: solaris overview for a Linux admin

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:09 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com