LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   compiling --> make: no target specified, no makefile (https://www.linuxquestions.org/questions/linux-newbie-8/compiling-make-no-target-specified-no-makefile-4175485112/)

rockhopper_penguin 11-19-2013 03:54 AM

compiling --> make: no target specified, no makefile
 
Hi,

I'm not entirely sure why bash is giving me an error when I run 'make' over here.
  • I run Debian latest stable 64 bit.
    Gitcloned: bfgminer
    Installed dependencies
    ran ./autogen.sh
    ran ./configure
    did 'make'

To confuse me even more the directory contains two makefiles. Makefile.am & Makefile.in

Any pointers would be greatly appreciated.

NM04 11-19-2013 04:51 AM

after "./configure" do " make install " and then " make "

rockhopper_penguin 11-19-2013 05:05 AM

Gives me this:
Quote:

make install

make: *** No rule to make target `install'. Stop.

rtmistler 11-19-2013 03:12 PM

Quote:

Originally Posted by NM04 (Post 5067158)
after "./configure" do " make install " and then " make "

I believe that should have been in reverse:

after "./configure" the normal steps are to run "make" and then "sudo make install".

However you should view their README or INSTALL file for recommendations on what build and install actions you should be following.

Please post the error you receive from your make. You're saying that you get an error after running make, people need to see that error before they can offer some recommendations as to what is wrong. That is likely the fastest way to resolve your problem.

John VV 11-19-2013 06:16 PM

i am guessing that your "configure" line did not have any options and failed to compleat

there MUST 100% MUST be a file created by "configure" called " Makefile"

if there is no Makefile make can NOT run

also

some Makefile's REQUIRE !!!! an option!!!

like
Code:

make olinux
or
make dlinux
or
make mlinux
--- or if mingw build -- same code--
make win32
or
make mingw


or even a normal options
make test
make all
make clean


NM04 11-20-2013 01:38 AM

Quote:

Originally Posted by rtmistler (Post 5067472)
I believe that should have been in reverse:

after "./configure" the normal steps are to run "make" and then "sudo make install".

rtmistler,
thank you for correcting me, it should be "make" after "./configure".

rockhopper,
could you please post the error you received after running make. Also I hope you followed the below procedure to install bfgminer.

1: Open Terminal or SSH into your Linux machine.

2: Run "apt-get update"

3: Run "apt-get install git autoconf automake libtool pkg-config libcurl4-gnutls-dev libjansson-dev uthash-dev libncurses5-dev"

4: Run "git clone git://github.com/luke-jr/bfgminer.git"

5: Enter the bfgminer directory

6: Run "./autogen.sh"

7: Run "./configure" (if you do not want to use GPUs on the machine, add --disable-opencl)

8: Run "make"

9: After make completes, you can run bfgminer directly (may require sudo), or create a shell script that includes your arguments.

Running BFGMiner:
./bfgminer -o stratum+tcp://stratum.btcguild.com:3333 -u username_workername -p 123 -S all --icarus-options 115200:1:1 --icarus-timing 3.0=100


All times are GMT -5. The time now is 05:24 AM.