Hi,

You can compile the debian source with apt with 

apt-get source -b package_name

or after getting the source you can use:

dpkg-buildpackage -uc -b

in the source directory (the source extracted and patched after
downloading).
this command is called by apt-get if you use the -b option.
If you have troubles compiling the source look at the 
debian/rules file in your source directory. 
There're the commands for compiling the source package.

After compiling the package source you'll get xxx.deb installable
packages in the directory which contains the source directory.
(i.e. one level up in the directory hiearchy.)

Gabor
PS.
Be careful if you compile the perl package source. The dpkg-* commands
are written in perl too.
PPS.
Have a look at the manpages of apt, dpkg-buildpackage, dpkg etc.


        Date: Fri, 25 May 2001 12:14:33 -0700
        From: Eric Richardson <[EMAIL PROTECTED]>
        Resent-From: debian-laptop@lists.debian.org

        Gabor Zoltan Csejtey wrote:
        > 
        > HI,
        > 
        > When you download a debian source package after extracting it you can
        > find the dependencies in the package-version/debian/control file.

        I couldn't find this but found a debian directory with all the stuff to
        make a .deb

        > 
        > There can be more packages to install or compile again.
        > 
        > e.g I have the following src URI-s in my /etc/apt/sources.list:

        > #Sources testing
        > deb-src ftp://sunsite.uio.no/debian testing main non-free contrib
        > deb-src ftp://sunsite.uio.no/debian-non-US testing/non-US main 
non-free contrib

        Okay, I added these for testing/woody in addition to stable.

        apt-get source libgnome-dev
        This gave me version 1.2.13-4 which is good. It wouldn't build.
        apt-get install xpm4g-dev
        It is built finally.(It's big)

        > 
        > You may need:
        > dpkg-dev - Package building tools for Debian

        What do I do now? Do I package it some how so I can install it? Of
        course it has a make install target.

        Use a ./configure --prefix=PATH and install it via make install
        somewhere else?

        When you don't know a process - it stinks. Maybe you know of some
        documentation for Debian development.

        Anyway, thank a ton for getting me this far.

        Eric

Reply via email to