Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Problem compiling / install a program from source

  1. #1
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Problem compiling / install a program from source

    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:

    Code:
    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.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,734
    Blog Entries
    20

    Default Re: Problem compiling / install a program from source

    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,228
    Blog Entries
    15

    Default Re: Problem compiling / install a program from source

    Hi
    Why not ask the package maintainers to update?
    software.opensuse.org: Search Results
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  4. #4
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: Problem compiling / install a program from source

    Quote Originally Posted by caf4926 View Post
    Thanks cat, yes I did but the packages are quite old so thought I would try compile it myself.

    Hi
    Why not ask the package maintainers to update?
    software.opensuse.org: Search Results
    Thanks Malcom. I wasn't aware I could do that. I wouldn't even know where to start with asking.

    OK, I've just had a look. Do I go to the OBS and click on the Requests link and add it there (https://build.opensuse.org/project/r...ect=hardware)? Is it as simple as just asking for the package to be updated?
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,228
    Blog Entries
    15

    Default Re: Problem compiling / install a program from source

    Quote Originally Posted by suse_tpx60s View Post
    Thanks Malcom. I wasn't aware I could do that. I wouldn't even know where to start with asking.

    OK, I've just had a look. Do I go to the OBS and click on the Requests link and add it there (https://build.opensuse.org/project/r...ect=hardware)? Is it as simple as just asking for the package to be updated?
    Hi
    Yes, on the package, find the maintainer in the users list and send an email off, in this case there is no one allocated, so would contact the last person in the changelog...

    Anyway, I've branched and will updated it. In the meantime, if you look at the source file list, there is a patch which skips the service restart...
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #6
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: Problem compiling / install a program from source

    Great. I'll give the patch a try. I really should become more familiar with how the OBS works.

    I look forward to the updated Heimdall.

    Thanks for your help.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,228
    Blog Entries
    15

    Default Re: Problem compiling / install a program from source

    Quote Originally Posted by suse tpx60s
    Great. I'll give the patch a try. I really should become more familiar
    with how the OBS works.

    I look forward to the updated Heimdall.

    Thanks for your help.

    Hi
    It's updated;
    https://build.opensuse.org/package/s...hes%3Ahardware

    Just need to wait for the SR to be accepted;
    https://build.opensuse.org/request/show/86268

    Had to add an extra patch to use older versions of QT to build the
    frontend on 11.3 and SLE.

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
    up 7 days 3:39, 4 users, load average: 0.16, 0.19, 0.28
    GPU GeForce 8600 GTS Silent - Driver Version: 280.13


  8. #8
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: Problem compiling / install a program from source

    Thanks Malcolm. I'll give it a try tomorrow when I have a little more time.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  9. #9
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: Problem compiling / install a program from source

    Hi Malcolm, I just tried installing your build of Heimdall but cannot add your repo to Yast. I get a message about a certificate not being available and then yast fails to add the repo. Also, trying to put the path of your repo into the browser comes up with an object not found. Is that because your request has not been accepted yet?
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  10. #10
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,228
    Blog Entries
    15

    Default Re: Problem compiling / install a program from source

    Quote Originally Posted by suse tpx60s
    Hi Malcolm, I just tried installing your build of Heimdall but cannot
    add your repo to Yast. I get a message about a certificate not being
    available and then yast fails to add the repo. Also, trying to put the
    path of your repo into the browser comes up with an object not found. Is
    that because your request has not been accepted yet?

    Hi
    Correct, it's automatically set to not publish. Do you have an account
    on OBS? If so you could just login and download manaually from the
    branch page.

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
    up 7 days 22:32, 4 users, load average: 0.08, 0.19, 0.20
    GPU GeForce 8600 GTS Silent - Driver Version: 280.13


Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •