Heimdall: unable to compile from source

Hi, I am working on Ubuntu 14.04 LTS. I found out that from “apt-get” the repository is not up to date. It is the version 1.4.0 that is installing. So I removed all to install from source the latest stable version witch is, except my mistake, 1.4.1. Whilst installing the source I fail at the last line: $ sudo cp bin/* /usr/local/bin Here is the error I get: cp: impossible to evaluate «bin/*»: no files or folder of this type

Many Thanks for your help 😉 Cheers,

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 17 (5 by maintainers)

Commits related to this issue

Most upvoted comments

If you just want the command line tool then compilation (and download times) can be sped up. Exact commands for Ubuntu 14.04 are:

sudo apt-get update
sudo apt-get install -y build-essential cmake git libusb-1.0-0-dev

git clone git://github.com/Benjamin-Dobell/Heimdall.git

mkdir ./Heimdall/build
cd ./Heimdall/build

cmake -DCMAKE_BUILD_TYPE=Release -DDISABLE_FRONTEND=ON ..
make
sudo cp bin/heimdall /usr/local/bin

I’ve just verified this with a fresh virtual machine.

Ah, I just noticed the big “EDIT” button…

@Huby1 Instructions for compiling heimdall-frontend were given above.

Please take the time to thoroughly read both what @JonnyTech and I have written above, as well as the documentation (READMEs). Flashing your phone isn’t something to rush into; I can understand having a bit of difficulty compiling Heimdall, but realistically all the information you’ve asked for is already available. You need to read, understand and follow instructions, or you could end up damaging your device.

Seems as you were able to compile Heimdall (i.e. No issue with Heimdall), I’m going to close this issue. Github issues is for bug reports / feature requests etc. and not really for technical support. For technical support I’d recommend the XDA Developer forums, where lots of people will see and be able to help.

You do not have the development package of libusb installed.

As per the wiki (https://github.com/Benjamin-Dobell/Heimdall/wiki/Build-instructions-(Linux)) you need to install the following dependencies:

$ sudo apt-get install build-essential cmake zlib1g-dev qt5-default libusb-1.0-0-dev libgl1-mesa-glx libgl1-mesa-dev

You should also find libusb-dev in your package manager, or you can install that from source too from http://libusb.info/.