pcp
[Top] [All Lists]

Re: [pcp] PCP on OpenSolaris

To: Max Matveev <makc@xxxxxxxxx>
Subject: Re: [pcp] PCP on OpenSolaris
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Wed, 10 Jun 2009 08:26:48 +1000 (EST)
Cc: pcp@xxxxxxxxxxx
In-reply-to: <18990.23728.352868.514525@xxxxxxxxxxxx>
----- "Max Matveev" <makc@xxxxxxxxx> wrote:

> >>>>> "nscott" == Nathan Scott writes:
> 
>  nscott> Whatever that is...  SMF stuff?
> 
> /etc/init.d/foo is so '70s, cool kids these days use "other stuff" to
> start their services: Services Management Framework.

Ah, yeah.  Theres work to be done in that area for PCP on Mac OS X
too, if anyones keen.

> Simpliest - I've had it installed. Second simple - after installing
> SunStudioExpress configure does not think it can compile libgen.h and
> other headers, then gmake adding its own stuff to compiler flags like
> -Wall. Finally, it's likely that I'll need to link pcp libraries with
> Solaris binaries compiled with gcc - all that kind of suggests that I
> may want to start with gcc.

Which libraries are those?  For the Windows port, I worked backward
from "which compiler is used for the open source Qt" (mingw) and used
that for PCP to avoid these kinds of issues.

>  nscott> - whats the status of Qt4 on OpenSolaris?
> NFI.

People will probably want the GUI tools on OpenSolaris at some point
(probably about 5 seconds after base PCP is ported :)

>  nscott> From a quick google search, I'm guessing that KDE (and hence
>  nscott> probably Qt) on OpenSolaris is built with the Sun compilers.
>  nscott> So, it would seem to be wise to stick with those...?
> From my experince with C++ and Solaris, gcc and SunStudio really
> don't
> like each other: different name mangling, different STL
> implementations, different everything. Plain C supposed to be
> compatible between gcc and SunStudio.

Ew, sounds like thats going to be a problem for the GUI tools
and pmdumptext.

>  nscott> Most of your changes (except builddefs) seem to be
> independent
>  nscott> of compiler used, so I think I'll just pull 'em all in for
> the
>  nscott> next point release and you can follow up on the compiler
> issue
>  nscott> later.
> I'll see if I can convince configure what new compiler can grok
> libgen...

OK.  I have a similar outstanding issue on Windows where it doesn't
quite pick up iptypes.h (finds it but wont compile) ... using it
in the PCP source is fine though.

cheers.

-- 
Nathan

<Prev in Thread] Current Thread [Next in Thread>