I’m trying to compile the source for Heimdall (Heimdall is a cross-platform open-source tool suite used to flash firmware (aka ROMs) onto Samsung Galaxy S devices) but am running into a problem. More information about Heimdall can be found here and sources from github here.
The instructions for compiling are:
Appendix B - Installing Heimdall from Source:
1. First make sure you have installed build-tools, pkgconfig, zlib-dev and libusb-1.0-dev (v1.0.8 or newer).
NOTE: Package names may not be absolutely identical to those above.
2. Open a terminal and navigate to the directory you downloaded, or extracted, Heimdall to.
3. Enter the following commands to compile libpit.
cd libpit ./configure make cd ..
NOTE: There is no need to run "sudo make install".
4. Enter the following commands to compile and install Heimdall:
cd heimdall ./configure make sudo make install cd ..
NOTE: As an alternative to "sudo make install" you may chose to generate a package by typing the following:
sudo checkinstall --pkgversion <version>
Where <version> is the current Heimdall release e.g. 1.3.0
5. Done
I managed to get as far as the sudo make install part of step 4. When I try sudo make install I get the following errors:
sudo make install
make[1]: Entering directory /Galaxy_S2_Flashing/Heimdall/Heimdall-1.3.1/heimdall'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/bin/sh ./libtool --mode=install /usr/bin/install -c heimdall '/usr/local/bin'
libtool: install: /usr/bin/install -c heimdall /usr/local/bin/heimdall
test -z "/lib/udev/rules.d" || /bin/mkdir -p "/lib/udev/rules.d"
/usr/bin/install -c -m 644 60-heimdall-galaxy-s.rules '/lib/udev/rules.d'
make install-data-hook
make[2]: Entering directory/Galaxy_S2_Flashing/Heimdall/Heimdall-1.3.1/heimdall'
sudo service udev restart
service: no such service udev
make[2]: *** [install-data-hook] Error 1
make[2]: Leaving directory /Galaxy_S2_Flashing/Heimdall/Heimdall-1.3.1/heimdall'
make[1]: *** [install-data-am] Error 2
make[1]: Leaving directory/Galaxy_S2_Flashing/Heimdall/Heimdall-1.3.1/heimdall'
make: *** [install-am] Error 2
It seems it can’t find the udev service. I’ve tried to look for it manually but cannot find it but I notice that udev is started at boot time by boot.udev.
Should I have a udev service running? I’ve previously managed to install Heimdall so don’t know what’s wrong this time. Any help or guidance appreciated.