Go up one levelGo to Previous

If you run into Problems...

The top level configure script actually runs "configure" in each of the package subdirectories found (tclutil, astrotcl, rtd, cat, et, and skycat). If there are errors, you might try to run configure and make manually in a subdirectory. As an alternative to configure, you can also use one of the scripts config.debug, config.shared, etc, which do the same thing, but with different options. You might want to copy one of the scripts and edit it first, to set the install directory or other options. See the */README and */INSTALL files for more information.

Solaris cc:

On Solaris, make sure the correct C compiler is being used (not /usr/ucb/cc). We have tested with Solaris SunPRO CC/cc and gcc (2.7.2.3).

HP-UX message "out of memory":

On HP-UX: If you get the message "not enough memory" when running skycat with shared libraries, it doesn't necessarily mean that you have to buy more memory. This is the informative message that HP prints when there is an undefined symbol in a shared library....

One way to find out what the symbol is, is to compile and use this little program with the C++ compiler: (I got this from Peter Biereichel):

 
#include <dl.h> 
#include <errno.h> 
#include <stdio.h> 
main(int argc, char *argv[]) 
{ 
  shl_t handle; 
  handle = shl_load(argv[1], BIND_IMMEDIATE | BIND_VERBOSE, 0L); 
  if (handle == 0) 
    { 
    printf("shl_load failed %s\n", argv[1]); 
    perror(""); 
    } 
  else 
    printf("shl_load ok\n"); 
}

For example:

 
g++ shlload.C -o g++ shlload 
% shlload librtd.sl 
% shlload libcat.sl 

Shlload should report the name of the undefined symbol in the given shared library.

Please report any problems to me:

 

Allan Brighton

abrighto@eso.org

 


Go up one levelGo to Previous

Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory