Re: [Q] How to compile a deb source pacjage

1999-05-09 Thread Vincent Murphy
On Sun, May 09, 1999 at 02:56:35PM -0500, Matt Garman wrote:
> should be sufficient in most cases (except for XFree86 :)

 so what do you do with xfree86?  i was trying to build my own .debs for slink
using to source packages from potato, something i did frequently before just
upgrading to potato, but when i did 'debian/rules binary' with xfree86 it fell
flat on it's face after a few seconds (i can't remember the specific problems).

-vinny

-- Vincent Murphy | CompSci Undergrad, UCC | [EMAIL PROTECTED] | (086) 8397405
  "With a PC, I always felt limited by the software available.
  On Unix, I am limited only by my knowledge."  --P J Schoenster


Re: [Q] How to compile a deb source pacjage

1999-05-09 Thread Andrew Chung
> A short question:
> 
> Does anyone know how to compile a debian source package into a binary?

1) Download the .orig.tar.gz  and .diff.gz files
2) Unpack the .orig, and apply the patch (patch -p1 < somefile.diff)
3) chmod u+x debian/rules
4) dpkg-buildpackage

Check the man pages for more info
-- 
Andrew Chung[EMAIL PROTECTED]
See http://anderoo.dhs.org/~anderoo/pgp.html for PGP key

It's a sin only if you dwell on the what ifs and the but ifs


Re: [Q] How to compile a deb source pacjage

1999-05-09 Thread Matt Garman
On Sun, May 09, 1999 at 03:15:20PM -0400, [EMAIL PROTECTED] wrote:
> Hi, 
> 
> A short question:
> 
> Does anyone know how to compile a debian source package into a binary?

If you have the source package, which usually consists of three files, 
the *.dsc, the *.orig.tar.gz, and the *.diff.gz, you need only do the
following to unpack the source:
dpkg-source -x *.dsc
That will create a directory having the same name as the package.
Change to that directory, and run the following command:
debian/rules binary
That will run the "rules" script in the "debian" directory, with the
binary argument which says just create the *.deb binary package.  That 
should be sufficient in most cases (except for XFree86 :)

MG

-- 
Matt Garman, [EMAIL PROTECTED]
"And though the window in the wall
 Come streaming in on sunlight wings
 A million bright ambassadors of morning." 
--Pink Floyd, "Echoes"


Re: [Q] How to compile a deb source pacjage

1999-05-09 Thread Gregory T. Norris
It's pretty easy, usually.

1) Download the source components into the directory of your choice.
   There should be either two or three files: *.orig.tar.gz, *.dsc, and
   *.diff.gz (not present if it's a "native" Debian package).

2) Enter the command "dpkg-source -x .dsc".  This will
   unpack the source into the  directory, which will be
   created.

3) Go into the unpacked source directory, and issue the command
   "debian/rules build".

4) Issue the command "fakeroot debian/rules binary".  Assuming that you
   have all of the necessary development packages installed, your
   debfile will be created in the parent directory.

If you get any errors about required files/commands not being present,
you can find out what packages you need to install by doing a package
search at the Debian website.  Just follow the "Debian Packages" link on
the main page.

On Sun, May 09, 1999 at 03:15:20PM -0400, [EMAIL PROTECTED] wrote:
> Hi, 
> 
> A short question:
> 
> Does anyone know how to compile a debian source package into a binary?


[Q] How to compile a deb source pacjage

1999-05-09 Thread mxu1
Hi, 

A short question:

Does anyone know how to compile a debian source package into a binary?


-- 
Min Xu  
City College of NY, CUNY
Email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]
Tel:(O) (212) 650-6865
(O) (212) 650-5046
(H) (212) 690-2119