Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: make error : no makefile found  (Read 1193 times)

Offline ebit

  • Hero Member
  • *****
  • Posts: 1601
    • View Profile
    • 推荐链接
  • BTS: ebit
make error : no makefile found
« on: April 03, 2015, 08:07:20 AM »

ubuntu:


-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.a;/usr/lib/x86_64-linux-gnu/libcrypto.a (found version "1.0.1f")
** for a debug build: cmake -DCMAKE_BUILD_TYPE=Debug ..
-- Finished fc module configuration...
-- Using  as BerkeleyDB root
-- Looking for: db_cxx-6.0
-- debug/usr/lib/x86_64-linux-gnu/libdb_cxx.sooptimized/usr/lib/x86_64-linux-gnu/libdb_cxx.so
-- Found BerkeleyDB: /usr/include
-- Enabling Bitcoin Core Wallet Imports
-- Could NOT find Curses (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH)
-- Found Readline: /usr/include
-- Configuring done
CMake Error at CMakeLists.txt:206 (add_library):
  Cannot find source file:

    /root/dac_play/libraries/leveldb/port/port_posix.cc

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx


-- Build files have been written to: /root/dac_play/build
[email protected]:~/dac_play/build# export LC_ALL="en_US.UTF-8"
[email protected]:~/dac_play/build# make
make: *** No targets specified and no makefile found.  Stop.
telegram:ebit521
www.bts.tips

Offline pc

  • Hero Member
  • *****
  • Posts: 996
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BTS: cyrano
  • Witness: cyrano
  • Payrate: 100%
Re: make error : no makefile found
« Reply #1 on: April 03, 2015, 09:59:22 AM »
You need to install libncurses-dev or something like that. Edit: forget that, I misread the error message.
« Last Edit: April 03, 2015, 04:29:56 PM by pc »
Please vote for my BitShares witness "cyrano" and for my STEEM witness "cyrano.witness"!
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline ripplexiaoshan

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 1941
    • View Profile
  • BTS: xiaoshan
Re: make error : no makefile found
« Reply #2 on: April 03, 2015, 11:48:45 AM »
same error here, any tutorial?
BTS ID:xiaoshan                   www.btsabc.org

Offline vikram

Re: make error : no makefile found
« Reply #3 on: April 03, 2015, 07:19:59 PM »
This might not be the only error here, but it seems that recently the upstream LevelDB submodule repo (https://github.com/bitcoin/leveldb) was modified and you may not have it actually checked out in "libraries/leveldb".

Offline ebit

  • Hero Member
  • *****
  • Posts: 1601
    • View Profile
    • 推荐链接
  • BTS: ebit
Re: make error : no makefile found
« Reply #4 on: April 04, 2015, 01:44:42 AM »
 +5%thanks
telegram:ebit521
www.bts.tips

Offline joele

  • Sr. Member
  • ****
  • Posts: 458
    • View Profile
    • Regarding Bitcoin
Re: make error : no makefile found
« Reply #5 on: April 08, 2015, 03:08:39 AM »
Please someone show some commands how to fix the makefile problem.  Thanks :D

Edit 0: Issue solved in 'no makefile found' by installing leveldb

Edit 1: Now make has error
[ 56%] Building CXX object libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make[2]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o] Error 4
make[1]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/all] Error 2
make: *** [all] Error 2

Edit 2: Memory problem, solved by using swapfile
« Last Edit: April 08, 2015, 07:05:26 AM by joele »

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 583
    • View Profile
Re: make error : no makefile found
« Reply #6 on: April 20, 2015, 01:57:33 AM »
I also have this problem. Can't build.

Code: [Select]
-- Using  as BerkeleyDB root
-- Looking for: db_cxx-6.0
-- debug/usr/lib/x86_64-linux-gnu/libdb_cxx.sooptimized/usr/lib/x86_64-linux-gnu/libdb_cxx.so
-- Found BerkeleyDB: /usr/include 
-- Enabling Bitcoin Core Wallet Imports
-- Found Curses: /usr/lib/x86_64-linux-gnu/libcurses.so 
-- Found Readline: /usr/include 
-- Configuring done
CMake Error at CMakeLists.txt:206 (add_library):
  Cannot find source file:

    /home/local/dac_play/libraries/leveldb/port/port_posix.cc

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx


Any solutions?
>>> approve bitcoiners

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 11907
    • View Profile
    • BitShares.Europe
  • BTS: xeroc
  • GitHub: xeroc
Re: make error : no makefile found
« Reply #7 on: April 20, 2015, 05:57:28 AM »
I also have this problem. Can't build.

Code: [Select]
-- Using  as BerkeleyDB root
-- Looking for: db_cxx-6.0
-- debug/usr/lib/x86_64-linux-gnu/libdb_cxx.sooptimized/usr/lib/x86_64-linux-gnu/libdb_cxx.so
-- Found BerkeleyDB: /usr/include 
-- Enabling Bitcoin Core Wallet Imports
-- Found Curses: /usr/lib/x86_64-linux-gnu/libcurses.so 
-- Found Readline: /usr/include 
-- Configuring done
CMake Error at CMakeLists.txt:206 (add_library):
  Cannot find source file:

    /home/local/dac_play/libraries/leveldb/port/port_posix.cc

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx


Any solutions?
If I had to guess (and that's what I am doing here all the time) .. then I'd say you need to run a
Code: [Select]
git submodule --init update --recursive
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 583
    • View Profile
Re: make error : no makefile found
« Reply #8 on: April 20, 2015, 06:06:47 AM »

If I had to guess (and that's what I am doing here all the time) .. then I'd say you need to run a
Code: [Select]
git submodule --init update --recursive

$ git submodule  update --init --recursive
fatal: reference is not a tree: 028f9409247be6d3d09a157e8eb347a173afc599
Unable to checkout '028f9409247be6d3d09a157e8eb347a173afc599' in submodule path 'libraries/leveldb'
>>> approve bitcoiners

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 11907
    • View Profile
    • BitShares.Europe
  • BTS: xeroc
  • GitHub: xeroc
Re: make error : no makefile found
« Reply #9 on: April 20, 2015, 07:16:09 AM »
seems play faces the same issue that bitshares faced a few weeks ago:
https://github.com/BitShares/bitshares/issues/1490

paging @Hackfisher
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu

Offline joele

  • Sr. Member
  • ****
  • Posts: 458
    • View Profile
    • Regarding Bitcoin
Re: make error : no makefile found
« Reply #10 on: April 20, 2015, 12:38:54 PM »
I also have this problem. Can't build.

Code: [Select]
-- Using  as BerkeleyDB root
-- Looking for: db_cxx-6.0
-- debug/usr/lib/x86_64-linux-gnu/libdb_cxx.sooptimized/usr/lib/x86_64-linux-gnu/libdb_cxx.so
-- Found BerkeleyDB: /usr/include 
-- Enabling Bitcoin Core Wallet Imports
-- Found Curses: /usr/lib/x86_64-linux-gnu/libcurses.so 
-- Found Readline: /usr/include 
-- Configuring done
CMake Error at CMakeLists.txt:206 (add_library):
  Cannot find source file:

    /home/local/dac_play/libraries/leveldb/port/port_posix.cc

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx


Any solutions?

Try to remove the leveldb dir
install the bitcoin leveldb
then cmake

rm -r libraries/leveldb
cd libraries
git clone https://github.com/bitcoin/leveldb.git

Offline davidpbrown

Re: make error : no makefile found
« Reply #11 on: April 20, 2015, 03:26:22 PM »
Thanks @joele

This works for the server:
Quote
cd ~/x/bitcoins/Play/
mkdir ./0.0.4
cd ./0.0.4
git clone https://github.com/dacsunlimited/dac_play.git
cd dac_play

rm -r libraries/leveldb
cd libraries
git clone https://github.com/bitcoin/leveldb.git
cd ../

git submodule update --init --recursive
cmake .
export LC_ALL="en_US.UTF-8"
make

Running
Quote
cd ./programs/client
./play_client --server

# Error => fix the now existing config for rpc user & password
nano ~/.DACPLAY/config.json

#try again
cd ~/x/bitcoins/Play/0.0.4/dac_play/programs/client
./play_client --server


Note: I got these below that look like errors but still it works! :)
Quote
Submodule path 'libraries/fc': checked out 'fd4fc4f0cb21fc7b631ee2be827f6aea85e040d6'
fatal: reference is not a tree: 028f9409247be6d3d09a157e8eb347a173afc599

Unable to checkout '028f9409247be6d3d09a157e8eb347a173afc599' in submodule path 'libraries/leveldb'

--------------
However, less luck with the QT Wallet.
Quote
cmake -DINCLUDE_QT_WALLET=ON .
cd ./programs/web_wallet
sudo npm install -g lineman
sudo npm install
cd -
make buildweb
make DacPlay

fails at the buildweb with:
Quote
-- Spawning lineman build...
CMake Error at GenerateHtDocs.cmake:16 (message):
  lineman build spawn failed: '6'


make[3]: *** [programs/qt_wallet/CMakeFiles/buildweb] Error 1
make[2]: *** [programs/qt_wallet/CMakeFiles/buildweb.dir/all] Error 2
make[1]: *** [programs/qt_wallet/CMakeFiles/buildweb.dir/rule] Error 2
make: *** [buildweb] Error 2
฿://1CBxm54Ah5hiYxiUtD7JGYRXykT5Z6ZuMc

Offline davidpbrown

Re: make error : no makefile found
« Reply #12 on: April 20, 2015, 05:08:25 PM »
See also HackFisher's reply on playtalk suggesting include angular, though I couldn't get a difference for installing that.
https://playtalk.org/index.php?topic=320.0
฿://1CBxm54Ah5hiYxiUtD7JGYRXykT5Z6ZuMc

Offline puppies

Re: make error : no makefile found
« Reply #13 on: May 19, 2015, 02:52:39 AM »
Nevermind.  Now that I have tried playing with it, it seems as if it did not build correctly.  I am getting a black screen once the wallet loads.  I will mess with it later, and see if I can figure it out.

Someone probably figured this out in the last month, but I don't see a post.  I was able to get the qt_wallet to build on ubuntu.  I did an approximation of
Code: [Select]
sudo npm install -g lineman
sudo npm install -g
npm install grunt-contrib-sass --save-dev
lineman run -v
wait 10 minutes for process to run then CTRL C (3 minutes is probably enough)
Code: [Select]
mkdir ../qt_wallet/htdocs
cp generated/* ../qt_wallet/htdocs
cd ../../build
make

This isn't exactly what I did as I was trying to figure out why it wouldn't build, but I believe this has everything that is needed other than the official instructions.  If this doesn't work for you please let me know, and I'll rebuild to ensure I got it all right.  I am not sure if
Code: [Select]
cd ../..build
make forcebuildweb
make
will work, but buildweb did not seem to be working for me at all.  I can try to figure out why it didn't work, but someone more knowledgeable than me could probably do it much faster.
« Last Edit: May 19, 2015, 02:57:11 AM by puppies »
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 11907
    • View Profile
    • BitShares.Europe
  • BTS: xeroc
  • GitHub: xeroc
Re: make error : no makefile found
« Reply #14 on: May 19, 2015, 06:26:00 AM »
Nevermind.  Now that I have tried playing with it, it seems as if it did not build correctly.  I am getting a black screen once the wallet loads.  I will mess with it later, and see if I can figure it out.

Someone probably figured this out in the last month, but I don't see a post.  I was able to get the qt_wallet to build on ubuntu.  I did an approximation of
Code: [Select]
sudo npm install -g lineman
sudo npm install -g
npm install grunt-contrib-sass --save-dev
lineman run -v
wait 10 minutes for process to run then CTRL C (3 minutes is probably enough)
Code: [Select]
mkdir ../qt_wallet/htdocs
cp generated/* ../qt_wallet/htdocs
cd ../../build
make

This isn't exactly what I did as I was trying to figure out why it wouldn't build, but I believe this has everything that is needed other than the official instructions.  If this doesn't work for you please let me know, and I'll rebuild to ensure I got it all right.  I am not sure if
Code: [Select]
cd ../..build
make forcebuildweb
make
will work, but buildweb did not seem to be working for me at all.  I can try to figure out why it didn't work, but someone more knowledgeable than me could probably do it much faster.

You can use Firefox as frontend too if you want to check the lineman build:
http://wiki.bitshares.org/index.php/BitShares/Clients#Web-Frontend
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu

 

Google+