ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 2011-09-05 19:56:09 -0600

sam gravatar image

I have tried to change Makefile to add PACKAGE_DIR variable definition.

 ARCHIVE="slime-20110729.tar.bz2"
 ARCHIVE_URL="http://code.in.tum.de/files/$(ARCHIVE)"
 PACKAGE_DIR=$(PWD)

 all: .slime .swank

 .slime: Makefile
    make clean
    wget $(ARCHIVE_URL)
    tar xvjf $(ARCHIVE)
    touch slime/rospack_nosubdirs
    touch .slime

 .swank: 
    [ -f $(HOME)/.swank.lisp ] || cp $(PACKAGE_DIR)/swank.lisp      $(HOME)/.swank.lisp
    touch .swank

 clean:
    rm -rf slime .slime .swank $(ARCHIVE)

It works to compile.

 sam@/home/sam/code/ros/ai/cram/roslisp_repl$ rosmake
 [ rosmake ] No package specified.  Building ['roslisp_repl']                                                                           
 [ rosmake ] Packages requested are: ['roslisp_repl']                                                                                   
 [ rosmake ] Logging to      directory/home/sam/.ros/rosmake/rosmake_output-20110906-154752                                                  
 [ rosmake ] Expanded args ['roslisp_repl'] to:
 ['roslisp_repl']                                                                        
 [ rosmake ] Checking rosdeps compliance for packages roslisp_repl.  This may      take a few seconds.                                       
 [ rosmake ] rosdep check passed all system dependencies in packages                                                                    
 [rosmake-0] Starting >>> rosemacs [ make ]                                                                                             
 [rosmake-0] Finished <<< rosemacs ROS_NOBUILD in package rosemacs
  No Makefile in package rosemacs                                     
 [rosmake-0] Starting >>> roslisp_repl [ make ]                                                                                         
 [rosmake-0] Finished <<< roslisp_repl [PASS] [ 0.01 seconds ]                                                                          
 [ rosmake ] Results:                                                                                                                   
 [ rosmake ] Built 2 packages with 0 failures.                                                                                          
 [ rosmake ] Summary output to directory                                                                                                
 [ rosmake ] /home/sam/.ros/rosmake/rosmake_output-20110906-154752                                                                      

 sam@/home/sam/code/ros/ai/cram/roslisp_repl$

But why it didn't generate 'repl' executable file or what's this compiling process for?

Thank you~