2011-11-09 9 views
0

私はFlite1.4をインストールしようとしていました。make:*** `all 'が必要とするターゲット` tools'を作るルールはありません。停止

make: *** No rule to make target `tools', needed by `all'. Stop. 

このエラーを解決するために助けてください:インストールは、私は、このエラーを与える二つのステップ

  1. ./configure
  2. make

しかしmakeです。

[[email protected] flite-1.4-release]$ ls 
ACKNOWLEDGEMENTS config.status Exports.def  Makefile  src 
bin    config.sub  fliteDll.vcproj missing  testsuite 
build    configure  flite.sln  mkinstalldirs wince 
config   configure.in include   palm 
config.guess  COPYING  install-sh  README 
config.log  doc   lang    sapi 

[[email protected] flite-1.4-release]$ ./configure 

checking build system type... i686-pc-linux-gnu 
checking host system type... i686-pc-linux-gnu 
checking target system type... i686-pc-linux-gnu 
checking for gcc... gcc 
checking for C compiler default output file name... a.out 
checking whether the C compiler works... yes 
checking whether we are cross compiling... no 
checking for suffix of executables... 
checking for suffix of object files... o 
checking whether we are using the GNU C compiler... yes 
checking whether gcc accepts -g... yes 
checking for gcc option to accept ISO C89... none needed 
checking for ranlib... ranlib 
checking for a BSD-compatible install... /usr/bin/install -c 
checking for ar... ar 
checking how to run the C preprocessor... gcc -E 
checking for grep that handles long lines and -e... /bin/grep 
checking for egrep... /bin/grep -E 
checking for ANSI C header files... yes 
checking for sys/types.h... yes 
checking for sys/stat.h... yes 
checking for stdlib.h... yes 
checking for string.h... yes 
checking for memory.h... yes 
checking for strings.h... yes 
checking for inttypes.h... yes 
checking for stdint.h... yes 
checking for unistd.h... yes 
checking whether byte ordering is bigendian... no 
checking for mmap... yes 
checking sys/soundcard.h usability... yes 
checking sys/soundcard.h presence... yes 
checking for sys/soundcard.h... yes 
checking machine/soundcard.h usability... no 
checking machine/soundcard.h presence... no 
checking for machine/soundcard.h... no 
checking sys/audioio.h usability... no 
checking sys/audioio.h presence... no 
checking for sys/audioio.h... no 
checking mmsystem.h usability... no 
checking mmsystem.h presence... no 
checking for mmsystem.h... no 
configure: creating ./config.status 
config.status: creating config/config 
config.status: creating config/system.mak 


[[email protected] flite-1.4-release]$ make 

make: *** No rule to make target `tools', needed by `all'. Stop. 

答えて

1

Makefileが悪く見えます。どこかであったように見えるように:ターゲットallがなされるべき対象toolsが必要であることを述べている

all: <some-other-targets> tools 

。しかし、ターゲットtoolsを定義しているMakefileには、 という行はありません。

リリースされたコードが奇妙に思えます。どのように進むかについてのいくつかのアイデア:toolsのスペルが正しいことを確認してください:

  1. 大事な事件。
  2. 上記の行のツールを削除してmakeを再実行して、allの依存関係をtoolsに削除してみてください。これは完全にパッケージを構築するわけではありませんが、解決すべき他の問題があるかどうかは少なくとも知っています。
  3. を実行し、--enable-XXXXXのような利用可能なオプションを参照してconfigureと使用することができます。 configureのオプションを使用すると、Makefileが変更され、toolsターゲットの構築を避けることができます。

configureが呼び出されるたびに、Makefileが再生成されているため、変更が失われる可能性があります。

関連する問題