Re: ISIS initialization error

From: Keith A McDermott <kmcdermo_at_email.domain.hidden>
Date: Mon, 08 Sep 2008 14:56:44 -0400
John,

I actually don't have HEADAS at all so I'm not too sure why I had that at all in my ./configure.

I have cfitsio2 installed, pgplot compiled and installed in /usr/local/pgplot and libslang2 installed.

I had previously resolved this same error by pointing to the inc and lib folders for the compiled version of pgplot.  In the first message for this thread the path is seen as being different:

---------------
Error linking to /usr/local/isis/lib/modules/pgplot-module.so: /usr/lib/libpgplot.so.5: undefined symbol: png_set_text

vs

Error linking to /usr/local/isis/lib/modules/pgplot-module.so: /usr/local/isis/lib/modules/pgplot-module.so: undefined symbol: cpggray
---------------

Also, replacing the pgplot-module.c just advanced to cpgconf missing symbol.

I think my problem now is just that I need to get isis to use libpgplot.so.5 as it had during the first email I had emailed.  I have used the following configure command with no success (although it has previously worked)

./configure --with-pgplotinc=/usr/include --with-pgplotlib=/usr/lib

Thanks,
Keith



John Houck wrote:
Re: ISIS initialization error

On Mon, Sep 08, 2008 at 13:28 -0400, Keith A McDermott wrote:
> Thanks John,<br>
> <br>
> libpng.a was actually just a symlink to libpng12.&nbsp; I applied that
> change but now it seems to have reverted isis to using it's own pgplot
> module instead of using the system one<br>
> <br>
> *** isis initialization failed; using ISIS_SRCDIR = /usr/local/isis<br>
> <br>
> Error linking to /usr/local/isis/lib/modules/pgplot-module.so:
> /usr/local/isis/lib/modules/pgplot-module.so: undefined symbol: cpggray<br>
> Traceback: import<br>
> /usr/local/isis/share/pgplot.sl:1:&lt;top-level&gt;:Import Error<br>
> Traceback: evalfile<br>
> Traceback: evalfile<br>
> *** isis initialization failed<br>
> <br>

pgplot-module.so is part of the isis distribution.

For some reason, it looks like your pgplot library doesn't have
the 'cpggray' subroutine.  That's why you're seeing the message
"undefined symbol: cpggray".

It's strange that this symbol is missing.

> Early on in trying to get a successfully run, I had compiled with<br>
> ./configure --with-pgplotinc=/usr/include --with-pgplotlib=/usr/lib
> --with-pgplot=$HEADAS --with-headas=$HEADAS<br>
> <br>
> but naturally that's not working again.&nbsp; :-)<br>
> <br>

I recommend using the cfitsio and pgplot libraries included in
the HEADAS distribution.  To do that, configure isis like so:

  ./configure --with-slang=DIR --with-headas=$HEADAS

Is cpggray missing from the HEADAS version of pgplot?

In case that's the problem, I removed the reference to cpggray
from pgplot-module.c.  That modified version of the module
available in:
  ftp://space.mit.edu/pub/houck/tmp/pgplot-module.c
and can be used to replace:
   isis-$version/modules/pgplot/src/pgplot-module.c

To build a new version of the pgplot module after replacing
that file, do:

  cd isis-$version/modules/pgplot/src
  make clean all install

I hope there are no more missing symbols.

Thanks,
-John

---- You received this message because you are subscribed to the isis-users list. To unsubscribe, send a message to isis-users-request_at_email.domain.hiddenwith the first line of the message as: unsubscribe Received on Mon Sep 08 2008 - 15:00:43 EDT

This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:45 EDT