3

I am trying to compile litecoind on Ubuntu 15.04 and I stuck here:

/litecoin/src$ make -f makefile.unix USE_UPNP=-
make: makefile.unix: No such file or directory 
make: *** No rule to make target 'makefile.unix'.  Stop.

I found some a little bit different ways to compile litecoind, but every time I have problems with "makefile.unix". Can someone help me?

3

The build system has changed to autotools in later versions of Litecoin.

The process now looks like this:

./autogen.sh 
./configure
make -j4 
make install # optional

There's up to date instructions in detail in build-unix.md.

  • What difference does it make if I don't do make install ? Why is it optional? – rineez Dec 17 '17 at 16:42
  • You might not want the binaries to be anywhere but the build directory. – Anonymous Dec 18 '17 at 3:23
  • is that a reply for my comment above? – rineez Jan 9 '18 at 7:48
  • 1
    Yes. You don’t need to make install because that moves the binaries, which you might not want. – Anonymous Jan 10 '18 at 1:46
1

You have to be on your unix src dir where the file located and then open the src dir with the terminal and then

./autogen.sh 
./configure
make -j4 
make install # optional

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.