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

Re: Making debs..



On Sat, Aug 03, 2002 at 04:22:29PM +0900, marshal@h9.dion.ne.jp wrote:
> >>>>> "Leo" == Leo Spalteholz <leo@thewoodpecker.ca> writes:
> 
>     > 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.
> 
>     > 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.
> 
> Otherwise, I don't think there is a way to automate it.
> Build-dependancies are kind of a pain in the ass according to my
> limited exprience with them.
> 
> You of course, don't really need to build a deb.  You could just
> install things into /usr/local.
> 
> Good luck.
> 
> Marshal
> 
When I try "debian/rules binary" in a source directory containing a 
/debian subdirectory and running as root I get "permission denied"

I did this as a test case. The program was enlightenment and compiled and
installed fine in /usr/local, I just wnted to see how "debian/rules binary"
worked. 

Am i missing something.

Cheers


-- 
 russ 
linux.conf.au 2003		The Australian Linux Technical Conference
http://linux.conf.au/		22-25 January 2003 in Perth, Western Australia



Reply to: