Find the answer to your Linux question:
Results 1 to 3 of 3
Hi Everyone, This may seem like a rudimentary request, but I'm trying to create a .deb for the newest version of GTK-GNUTELLA. I've got most of it right except the ...
  1. #1
    Just Joined! shaker25's Avatar
    Join Date
    Aug 2006
    Posts
    40

    Run from the top of the source tree /???

    Hi Everyone,

    This may seem like a rudimentary request, but I'm trying to create a .deb for the newest version of GTK-GNUTELLA.

    I've got most of it right except the build in part 2.
    I'm not sure where the top of the source tree is?
    My source file is in a folder called gnutella, on my desktop so I tried to run the command from console while in there, but keep running into an error.

    /usr/bin/fakeroot: line 176: debian/rules: No such file or directory


    I've installed all the required dependencies.
    apt-get install fakeroot # required for compiling using the .deb
    apt-get install debhelper # required for compiling using the .deb
    apt-get install gcc # GCC; any version is fine
    apt-get install make # the make tool; any version is fine
    apt-get install zlib1g-dev # zlib
    apt-get install libxml2-dev # libxml 2.x
    apt-get install libgnutls-dev # GNU TLS
    apt-get install gettext # Native Language Support (NLS)

    For the Gtk+ 2.x front-end you'll need these:
    apt-get install libglib2.0-dev # GLib 2.x
    apt-get install libgtk2.0-dev # Gtk+ 2.x

    The following package is optional: *** I didn't install this***
    apt-get install libdbus-1-dev # D-Bus


    2. Build:
    =========

    Run from the top of the source tree:

    fakeroot debian/rules binary

    and it will build the .deb package for you in the parent directory.


    Any advice?

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,114
    /usr/bin/fakeroot: line 176: debian/rules: No such file or directory
    So, what file is it referring to on line 176?

  3. #3
    Just Joined! shaker25's Avatar
    Join Date
    Aug 2006
    Posts
    40

    Run from the top of the source tree

    I figured this out.
    If you put your "source files"
    Those new to ubuntu or linux will appreciate this --
    If you extracted your files to a folder called "X" and "X" is in your Home directory
    Then the top of your source tree in the the terminal will be

    username@username-desktop:~/X

    You would then run the commands described above ("fakeroot")
    this will take the field in the "X" folder and create a .deb file out of them.


    I hope this helps anyone else having problems.

Posting Permissions

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