make *** no targets specified and no makefile found. stop

后端 未结 11 2194
栀梦
栀梦 2020-12-03 02:58

I have a problem installing package dionaea.

After I type this:

./configure --with-lcfg-include=/opt/dionaea/include/ \\
--with-lcfg-lib         


        
11条回答
  •  广开言路
    2020-12-03 03:16

    ./configure command should generate a makefile, named makefile or Makefile. if in the directory there is no this file, you should check whether the configure command execute success.

    in my case, I configure the apr-util:

    ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/bin/apr-1-config
    

    because the --with-apr=/usr/local/apr/bin/apr-1-config, the apr did not install yet, so there configure fail, there did not generate the apr's /usr/local/apr/bin/apr-1-config.

    So I install the apr, then configure the apr-util, it works.

提交回复
热议问题