Appendix A. Installation and Troubleshooting
A.1 Introduction
A.2 Obtaining Ptolemy
A.2.1 Access via the Internet
A.2.2 Access via the World Wide Web
A.2.3 Obtaining documentation only
A.3 Ptolemy mailing lists and the Ptolemy newsgroup
A.3.1 Ptolemy mailing lists
A.3.2 Ptolemy Newsgroup
A.4 Installation
A.4.1 Location of the Ptolemy installation
A.4.2 Basic Ptolemy installation
A.4.3 The ptolemy user
A.4.4 Installation without creating a ptolemy user
A.4.5 Obtaining Ptolemy
Untarring the distribution
A.4.6 Special considerations for use under OpenWindows
A.4.7 Gnu Installation
A.4.8 Testing the Installation
A.4.9 Rebuilding Ptolemy From Source
Details of how Ptolemy is built and the general layout
Ptolemy and Tcl/Tk
Notes for building on the sol2.5 platform (Sun4s running Solaris2.5.1)
A.4.10 Freeing up Disk Space
A.4.11 Other useful software packages
A.5 Troubleshooting
A.5.1 Problems with tar files
EOF messages while using tar on Suns
A.5.2 Problems starting pigi
pigi: Command not found
Mr. Ptolemy window does not come up
pigi fails to start when put in the background
pigi fails to start up, giving shared library messages
tycho fails to start up, giving TCL_LIBRARY messages
A.5.3 Common problems while running pigi
pxgraph fails to come up or displays a blank window
Old flowgraphs do not work (facets are inconsistent)
Ptolemy simulations do not stop
Multi-porthole galaxies fail
Star is a compiled-in star and cannot be dynamically loaded
A.5.4 Window system problems
Error: ld.so: libXext.so.4: not found
pigi fails to start and gives a message about not finding fonts
Ptolemy startup window only has an OK button
Emacs confuses .pl files with Prolog
Problems with the colormap
The window manager crashes
Problems with Sun Sparc5s with 24 bit TCX framebuffers
Problems with Mac X and Ptolemy
Problems with Exceed and Ptolemy
Problems with XFree86
A.5.5 Problems with the compiler
as vs. gas
Collect
Error: Linker: no constructors in linked-in code!
Environment variables
Using trace
A.5.6 Problems compiling files
Using cpp to diagnose .h file problems
Narrowing the problem down.
Using c++filt to demangle symbols
Sources of information for compiler problems
A.5.7 Generated code in CGC fails to compile
A.5.8 Ptolemy will not recompile
Messages about "unexpected end of line seen" while running make
Can I use my own version of Tcl/Tk?
Can I use my own version of gcc and libg++?
Can't find genStarList or genStarTable during recompilation
"CGCMakefileTarget.h: No such file or directory" while linking pigiRpc
Missing symbols while linking pigiRpc
A.5.9 Dynamic linking fails
A.5.10 Dynamic linking and makefiles
A.5.11 Path and/or environment variables not set in "debug" pigi
1.5.12 DE Performance Issues
A.6 Known bugs
A.6.1 Bugs in vem
A.6.2 Bugs in pigi
A.6.3 Bugs in tycho
A.6.4 Code generation bugs
A.6.5 Bugs in pxgraph
A.6.6 HPPA specific bugs
A.6.7 IBM AIX specific bugs
A.6.8 Silicon Graphics IRIX5 specific bugs
A.6.9 Linux specific bugs
A.6.10 Sun Solaris 2.4 specific bugs
A.6.11 Sun OS4 specific bugs
A.6.12 DEC Alpha specific bugs
A.6.13 GNU compiler bugs
A.7 Additional resources
A.8 Submitting a bug report
Authors: Joseph T. Buck
Christopher Hylands
Alan Kamas
Other Contributors: Stephen Edwards
Edward A. Lee
Kennard White
Copyright © 1990-1997, University of California. All rights reserved.