The Stanford Rapide Project

RAPIDE

The Rapide FAQ (Frequently Asked Questions)

========================================================================
               Rapide Frequently Asked Questions
========================================================================
Index of questions:
  1. The FAQ information and to whom do I contact for more information about the FAQ?
  2. What tools are currently being distributed and where are they located?
  3. Does the Rapide tool suite run on my OS?
  4. What useful environment variables can I modify to customize my installation?
  5. While trying to run the installation setup program, I got an error.
    1. % ../../bin/r.path: 5107 Memory fault
      % *** Error code 139
      % make: Fatal error: Command failed for target `.rpdlib..`
    2. The separation compilation regression tests fail with an error like: rpdcx: (library error) In library, can't access id file; have you done an r.mklib?
  6. While trying to compile a program, I got an error.
    1. rpdcx: (library error) Unable to access directory: /u27/rapide/lib/predefs
    2. .../Object_p.Set.h:26: Pix.h: No such file or directory
    3. ld.so: warning: /usr/lib/libc.so.1.8 has older revision than expected 9
    4. rpdcx: program.rpd: line,column (semantic error) Type or type constructor overloaded illegally with respect to declaration at program.rpd: <line,column>
    5. strip: libelf error: I/O error: output msync strip: WARNING: gtn: Cannot strip file *** Error code 1
    6. rpdcx: file_name.rpd: line_num, colmn (semantic error) Name IMAGE not found.
  7. While trying to execute pov on a file, I got an error:
    1. ld.so.1: $RAPIDEHOME/bin/povwish: fatal: libX11.so.6.1: can't open file: errno=2
    2. My shell doesn't have a printf command.
  8. While trying to execute raptor on a file, I got an error:
    1. A window titled ``Architecture file error'' appears containing the message: $RAPIDEHOME/lib/raptor/arch-parse: not found
  9. Where is the best place to start to understand the Rapide tool suite?

  1. The FAQ information and to whom do I contact for more information about the FAQ?
  2. 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.


  3. What tools are currently being distributed and where are they located?

  4. Does the Rapide tool suite run on my machine?
  5. 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.


  6. What useful environment variables can I modify to customize my installation?
  7. 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:

    If the Rapide toolsuite was not installed in /usr/rapide, the following environment variables may be adjusted. (The defaults are given.) Additionally, the LD_LIBRARY_PATH environment variable may need to be appended with the location of the X11R6 libraries.


  8. While trying to run the installation setup program, I got an error.
  9. This program (shell script actually) may be very noisy, and most of the output can be ignored. However, if you get this:

    1. % ../../bin/r.path: 5107 Memory fault
      % *** Error code 139
      % make: Fatal error: Command failed for target `...`
    2. You have a problem. This bug has appeared on some SUNOS systems that are not installed under /usr/rapide. To fix the problem:

      1. Change directory to the predefined library directory, i.e.,
      2.           % cd $RAPIDEHOME/lib/predefs
      3. Edit the file .rpdlib/PATH to contain only a single period.
      4. Remake the library, i.e.,
      5.           % 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).

    3. The separation compilation regression tests fail with an error like: rpdcx: (library error) In library, can't access id file; have you done an r.mklib?
    4. 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.

    5. Executing arch1(.nsc) to create arch1.nsclog

      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.

    6. rpdcx: (library error) In library, can't access id file; have you done an r.mklib?

      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"


  10. While trying to compile a program, I got an error.
    1. rpdcx: (library error) Unable to access directory: /u27/rapide/lib/predefs
    2. You probably haven't rebuilt the predefined library information. Re-make the predefined types library:

           % cd $RAPIDEHOME/lib/predefs
           % make very_clean ; make
      If 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.cleanlib
      and re-compiling or if that doesn't work:
           % r.rmlib
           % r.mklib
    3. .../Object_p.Set.h:26: Pix.h: No such file or directory
    4. Please do the following, and then try recompiling the example.

           % cd $(RAPIDEHOME)/include/lib
                   % ln -s ../../lib/g++-include
    5. ld.so: warning: /usr/lib/libc.so.1.8 has older revision than expected 9
    6. rpdcx: program.rpd: line,column (semantic error) Type or type constructor overloaded illegally with respect to declaration at program.rpd: 
    7. 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.

    8. strip: libelf error: I/O error: output msync
    9. strip: WARNING: ***: Cannot strip file

      *** Error code 1

    10. rpdcx: file_name.rpd: line_num, colmn (semantic error) Name IMAGE not found.

      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).


  11. While trying to execute pov on a file, I got an error:
    1. ld.so.1: $RAPIDEHOME/bin/povwish: fatal: libX11.so.6.1: can't open file: errno=2
    2. 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
    3. My shell doesn't have a printf command.
    4. Replace all of the printf lines in the $RAPIDEHOME/bin/pov script to use echo instead of printf.

  12. While trying to execute pov on a file, I got an error:

    1. A window titled ``Architecture file error'' appears containing the message: $RAPIDEHOME/lib/raptor/arch-parse: not found.

      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.

  13. Where is the best place to start to understand the Rapide tool suite?
  14. In my opinion, the best place to start is the tools introduction.


98/11/13/jjk