From: 史. <szh...@gm...> - 2008-09-22 08:37:53
|
I am a freshman who want to find some joy in 3DRobot. Today when I use the command "./configure" to the folder "rcssserver3d-0.6",i find some error, configure: WARNING: IL/il.h: present but cannot be compiled configure: WARNING: IL/il.h: check for missing prerequisite headers? configure: WARNING: IL/il.h: see the Autoconf documentation configure: WARNING: IL/il.h: section "Present But Cannot Be Compiled" configure: WARNING: IL/il.h: proceeding with the preprocessor's result configure: WARNING: IL/il.h: in the future, the compiler will take precedence configure: WARNING: ## ----------------------------------------- ## configure: WARNING: ## Report this to sse...@li... ## configure: WARNING: ## ----------------------------------------- ## checking for IL/il.h... yes configure: WARNING: The DevIL library (libIL.a or libIL.so) cannot be found. Please set LDFLAGS appropriately or you can specify the location of the DevIL installation using the DEVIL environment variable (e.g. ./configure DEVIL=/home/szhawk/DevIL) checking for the S-Lang library... yes checking if libkerosin will be build... no configure: error: libkerosin cannot be build without all required libraries. Then I put "devil.diff" in "/Devil/include/" When I print the command " patch -i devil.diff -p 1",find some error . File to patch: devil_internal_exports.h patching file devil_internal_exports.h Hunk #1 FAILED at 84. Hunk #2 FAILED at 113. 2 out of 2 hunks FAILED -- saving rejects to file devil_internal_exports.h.rej can't find file to patch at input line 57 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -r -u DevIL-1.6.8/include/IL/il.h DevIL-1.6.8.new/include/IL/il.h |--- DevIL-1.6.8/include/IL/il.h 2006-08-10 16:50:10.000000000 +0330 |+++ DevIL-1.6.8.new/include/IL/il.h 2007-12-30 20:50:21.000000000 +0330 -------------------------- My system is Ubuntu8.04(64bit),I think someone can heip me. |