Results 1 to 4 of 4

Thread: Lost on packaging - how to figure out dependencies?

  1. #1
    Join Date
    Sep 2005
    Beans
    1,605
    Distro
    Xubuntu 14.04 Trusty Tahr

    Lost on packaging - how to figure out dependencies?

    I'm trying to figure out how to figure out build dependencies.

    I built my app using Qt Creator creating a Qt GUI Application (not Quickly), I have a Makefile and I've created the directory for debian that contains the control, copyright, etc. etc. etc. files.

    Well the guide on page 6 says:
    . We will need to add the packages needed to compile the application to Build-Depends:. For hello, make sure that it includes at least:

    Build-Depends: debhelper (>= 9)
    You will also need to fill in a description of the program in the Description: field.

    But where does it say how to find those dependencies? I'm lost from this point on.

  2. #2
    Join Date
    Sep 2005
    Beans
    1,605
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Lost on packaging - how to figure out dependencies?

    And now it won't let me run bzr dh-make saying this:
    shawn@shawn-Satellite-C75D-A:~/Development/C++/QT/EFIBootOrder/build-EFIBootOrder-Desktop-Release$ bzr dh-make EFIBootOrder 0.1 EFIBootOrder-0.1.tar.gz
    bzr: ERROR: Either run the command from an existing branch of upstream, or move EFIBootOrder aside and a new branch will be created there.
    shawn@shawn-Satellite-C75D-A:~/Development/C++/QT/EFIBootOrder/build-EFIBootOrder-Desktop-Release$

    GRRR!!!!!

  3. #3
    Join Date
    Jun 2009
    Location
    San Francisco, CA
    Beans
    6
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Lost on packaging - how to figure out dependencies?

    BuildDependencies are any packages you need to compile your application. For example, assuming you're using c++, you might want to list g++ as a dep, along with any packages that include libraries your application uses, e.g: foo-dev, which has the foo objects you're linking against.

    Check out https://wiki.ubuntu.com/PbuilderHowto and create a pristine environment to build packages and verify the build deps are indeed correct. There are other alternatives to pbuilder also, but this works for me.

  4. #4
    Join Date
    Sep 2005
    Beans
    1,605
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Lost on packaging - how to figure out dependencies?

    Oh I forgot about this thread, I figured it out overall:

    objdump -p ./efibootorder | grep NEEDED

    That gives me what's required so I just search:

    dpkg -S libQt5Web.so.5 - or whatever it is and it brings up

    libqt5web5

    I just put those in my control file and I'm set =D.

Bookmarks

Posting Permissions

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