On this page are miscellaneous bits of troubleshooting information.
In compiling C code, Mac OS X is supposed to include the SystemStubs library by default. For unknown reason, however, the SystemStubs library does not always load on all machines, though Apple claims to have fixed the problem in later releases of OS X 10.4. If you experience problems, add the
-lSystemStubs
flag to the examples/%: line of the main PGS Makefile.
Another problem one often encounters is that libraries are not properly archived. If you get a message that says to run ranlib, do so by typing
ranlib nameOfLib.a
In some cases, the g77 compiler is overly case-sensitive. In particular, it will distinguish between file.inc and FILE.INC, which will cause some of the linking steps to fail. Switching between uppercase and lowercase filenames should fix these compiler issues. Let us know if you find a particular example so we can put the correct case in the master version.