pcp
[Top] [All Lists]

Re: FW: Performance Co-Pilot v2.5.0

To: "Passmore, Richard (Mission Systems)" <Richard.Passmore@xxxxxxx>
Subject: Re: FW: Performance Co-Pilot v2.5.0
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed, 04 Jan 2006 06:47:02 +1100
Cc: pcp-info@xxxxxxx, makc@xxxxxxx, pcp@xxxxxxxxxxx
In-reply-to: <9C7B8EE83F47D74BAA92C17CBB888558010D8CDB@xcgco501>
References: <9C7B8EE83F47D74BAA92C17CBB888558010D8CDB@xcgco501>
Sender: pcp-bounce@xxxxxxxxxxx
G'day Richard.

I don't know what happened to your earlier mailing attempts, but I've
Cc'd my reply in the hope that this reaches the wider PCP community.

Up until the time I left SGI, the PCP source was compiling cleanly for
both AIX 5.2 and Solaris 8 (the only variants of those platforms I had
access to), however I don't have information to identify the compiler
tool chain  that was being used.

As far as I can tell, there are no changes to libpcp/src/auxconnect.c
that have been made recently, so I doubt this is a regression from 2.4
to 2.5.

My guess is that something in your build environment is being picky
about errno (perhaps as a result of threading support?) ... PCP is not
multithreaded, so do you have the option of compiling for a single
threaded execution mode?

Other than that, I'd guess the errno (and h_errno) stuff is going to
need some work to parameterize it into a format the will work across
platforms.

I recall seeing some mention of other patches for PCP for other
platforms, e.g. http://oss.sgi.com/archives/pcp/2005-11/msg00005.html
so maybe the work has already been done.

Failing that, if you could provide me with login access to a system
where the problems are being seen I could investigate (as I did much of
the original cross-platform porting) ... I don't have access to any
Solaris or AIX systems in my new job. 

On Tue, 2006-01-03 at 10:28 -0700, Passmore, Richard (Mission Systems)
wrote:
> 
> 
> ______________________________________________  
> From:   Passmore, Richard (Mission Systems)   
> Sent:   Wednesday, December 21, 2005 2:01 PM 
> To:     'kenmcd@xxxxxxx' 
> Subject:        Performance Co-Pilot v2.5.0
> 
> Hello, my name is Rich Passmore.  I previously sent the text below to
> the pcp@xxxxxxxxxxx mailing group, but never saw a reply.  It was
> suggested that I email you directly concerning a compilation problem
> for PcPv2.5.0 on AIX from a former SGI employee who now works for IBM.
> 
> Keeping this brief, here is what I am seeing.  I have xlc/c++ v7.0
> installed on an IBM OpenPower pSeries 520 and I am attempting to
> compile PcP for AIX v5.3 ML2.  I am using the following command line
> entry to configure/compile, "gmake CC=xlC CCC=xlC CPP=cpp".  With this
> and various other attempts, I keep coming back to the following
> errors:
> 
> "auxconnect.c", line 101.25: 1506-275 (S) Unexpected text 'int'
> encountered. 
> "auxconnect.c", line 101.25: 1506-275 (S) Unexpected text ')'
> encountered. 
> "auxconnect.c", line 101.32: 1506-276 (S) Syntax error: possible
> missing ')'? 
> gmake[3]: *** [auxconnect.o] Error 1 
> gmake[2]: *** [default] Error 2 
> gmake[1]: *** [default_pcp] Error 2 
> gmake[1]: Leaving directory `/export/sysadmin/pkgs/pcp-2.5.0/src' 
> gmake: *** [default_pcp] Error 2
> 
> Interestingly enough, if I comment out lines 100-101 in auxconnect.c,
> the compiler goes right past this and continues to build until other
> compiler issues come up.
> 
> Any suggestions are greatly appreciated.
> 
> 
>         Rich Passmore 
>         Northrop Grumman Mission Systems 
>         (720)744-7387 Work 
>         877-237-4820 Pager
> 
> 
> Text below previously emailed to the pcp@xxxxxxxxxxx mailing group 
> ----------------------------------------------------------------------------------------------------
> 
> I am the system administrator for a heterogenous environment of
> approx. thirty machines running IRIX 6.5.x, Redhat Enterprise 3&4, AIX
> 5.3, and Solaris 9.  
> 
> We are attempting to collect metrics between machines on three
> different subnets in a 1 gigabit network environment.  We have a
> licensed copy of PCP for our IRIX platform and would like to compile
> PCP for our other platforms.  To date I have successfully compiled
> version 2.4.0 for Linux, IRIX, and Solaris, however the Solaris
> version core dumps everytime we attempt to run it.  I downloaded the
> v2.5.0-1 source and ran into numerous issues trying to compile for
> Solaris.  I have been unsuccessful in compiling ANY version of PCP on
> AIX 5.3.
> 
> Has anyone successfully compiled PCP for Solaris and/or AIX and what
> did you have to do?  Is there a specific environment setup that I
> need, such as setting  LD_LIBRARY_PATH?
> 
> On both our Solaris and AIX machines I have installed the standard GNU
> suite of tools and still run into problems attempting to build.
> 
> Any help would be greatly appreciated!
> 
>  - Rich
> 


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