[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Making debs..



marshal@h9.dion.ne.jp wrote:

   > Hi, I was wondering if there's an easy/quick way of making a
   > .deb from source files..  For example I have the source of an
   > xmms plugin in a tar file but when I try ./configure it says
   > xmms is not installed (even though it is through the package
   > system).  I've had similar problems with getting other programs

Just to check, have you installed the xmms-dev files.  If you're going
to compile anything that uses xmms, you're probably going to need the
xmms-dev files which has all the headers.  Having the binary isn't
enough.

Oh ok. I installed the xmms-dev package along with some others (sdl-dev) and it works now.. Thanks.

   > to compile.  So is it possible to automagically make a deb file
   > from some sources, getting the dependancies from the configure
   > script (or something along those lines, I'm new to this stuff)?
   > I read parts of the maint-guide but it seems pretty involved.  I
   > just want to quickly install an xmms plugin, not spend hours
   > making a package for it.  Any ideas?

First off, check if there is a debian subdirectory in the source
file.  If you are, you're in luck and can just execute "debian/rules
binary" as root (or use fakeroot) to get a deb.

Good to know. This plugin (avi-xmms) didn't have a debian subdir but I'm sure I'll run into software that does..

You of course, don't really need to build a deb.  You could just
install things into /usr/local.

So all programs that were installed without the package manager should go into /usr/local?

Thanks,
Leo



Reply to: