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

后端 未结 11 2051
栀梦
栀梦 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.

    0 讨论(0)
  • 2020-12-03 03:18

    If you create Makefile in the VSCode, your makefile doesnt run. I don't know the cause of this issue. Maybe the configuration of the file is not added to system. But I solved this way. delete created makefile, then go to project directory and right click mouse later create a file and named Makefile. After fill the Makefile and run it. It will work.

    0 讨论(0)
  • 2020-12-03 03:19

    This may happen if there is any read and write permission denial to the user. Like C:\Windows\System32\ have restricted access and you are cloned and trying to make from such restricted directory.

    0 讨论(0)
  • 2020-12-03 03:20

    I recently ran into this problem while trying to do a manual install of texane's open-source STLink utility on Ubuntu. The solution was, oddly enough,

    make clean
    make
    
    0 讨论(0)
  • 2020-12-03 03:21

    You had to have something like this:

    "configure: error: "Error: libcrypto required."
    

    after your ./configure runs. So you need to resolve noticed dependencies first and then try ./configure once more time and then run make !

    0 讨论(0)
  • 2020-12-03 03:22

    make takes a makefile as input. Makefile usually is named makefile or Makefile. The configure command should generate a makefile, so that make could be in turn executed. Check if a makefile has been generated under your working directory.

    0 讨论(0)
提交回复
热议问题