The Stanford Rapide Project |
|
======================================================================== Rapide Frequently Asked Questions ========================================================================Index of questions:
% ../../bin/r.path: 5107 Memory fault % *** Error code 139 % make: Fatal error: Command failed for target `.rpdlib..`
If you have corrections, enhancements, modifications, clarifications, suggestions, ideas, new questions, new answers to questions which have never been asked, or something else that I have not covered above, contact us at rapide-support@pavg.stanford.edu.
We have versions available publically that run under Linux 2.0, Solaris 2.5, 2.6 and SunOS 4.1. See our web site: http://poset.stanford.edu/rapide/rapide.html.
There are a number of useful environment variables that will help users adjust to local installation customizations. Specifically, it is a good idea to set:
This program (shell script actually) may be very noisy, and most of the output can be ignored. However, if you get this:
% ../../bin/r.path: 5107 Memory fault
% *** Error code 139
% make: Fatal error: Command failed for target `...`
You have a problem. This bug has appeared on some SUNOS systems that are not installed under /usr/rapide. To fix the problem:
% cd $RAPIDEHOME/lib/predefs
% make
If the script (gcc) complains it cannot find cpp, because it is looking for it in /usr/rapide[etc], try creating a symbolic link from /usr/rapide to RAPIDEHOME (which is your installation directory).
The regression test directory's library sometimes gets corrupted, so we now "clean" the library before we separately compile a test. Please download a replacement Makefile for the tests directory. ftp://pavg.stanford.edu/pub/Rapide-1.0/toolset/debug/Makefile.test.
make: arch1.nsc: Command not found
make: *** [arch1.nsclog] Error 127
You probably don't have the current directory, i.e., ".", in your path. Please add it to your path. Installations after build72 should no longer have this bug.
make: *** [arch1.sc] Error 1
Somehow your current directory's library has become corrupted. Please remove and recreate it by typing "r.rmlib ; r.mklib"
You probably haven't rebuilt the predefined library information. Re-make the predefined types library:
% cd $RAPIDEHOME/lib/predefs
% make very_clean ; makeIf that doesn't work you may have old library information in the program's directory (that was mistakenly shipped with the teaching examples). Try cleaning or (better yet) rebuilding the Rapide library in the program's directory and then recompiling the program.
% r.cleanliband re-compiling or if that doesn't work:
% r.rmlib
% r.mklib
Please do the following, and then try recompiling the example.
% cd $(RAPIDEHOME)/include/lib
% ln -s ../../lib/g++-include
Your compilation libraries have probably gotten mixed up between two different versions or conflicting programs whose types or type constructors. Use the "r.cleanlib" program to remove old versions or create different libraries for conflicts.
strip: WARNING: ***: Cannot strip file
*** Error code 1
We have made converting from the predefined types a little more consistent. Instead of a lot of functions like IMAGE and STRING_TO_INTEGER, there is now just two functions: CAST and CAN_CAST. For example, replace an image call like: Image(Integer, int_val) with CAST(Integer, String, int_val).
Modify your LD_LIBRARY_PATH environment variable to include the directory in which a libX11.so.6 file exists, i.e.,
setenv LD_LIBRARY_PATH /usr/pubsw/X/lib
Replace all of the printf lines in the $RAPIDEHOME/bin/pov script to use echo instead of printf.
You are running either the SUNOS or LINUX version of the tools. Unfortunately, we don't have a arch-parse(r) that those platforms yet. Please invoke raptor with the "-C" option.
In my opinion, the best place to start is the tools introduction.