shlib dependencies

2000-01-27 Thread Ben Darnell
I have a package which depends on libgl1.  On my machine, libgl1 is
provided by mesag3-glide2.  When I build the package, dpkg-shlibdeps
makes it depend on svgalibg1 as well, because mesag3-glide2 needs it.
This is inappropriate, since other packages which provide libgl1 do not
need svgalibg1.  How do I override this?

Thanks,
-Ben
-- 
Ben Darnell  [EMAIL PROTECTED]
http://thoughtstream.org


USB and major/minor numbers

2000-01-27 Thread Fred Harju
Hi,

I am trying to find as many major/minor numbers that I can for USB
devices with the 2.3 kernel.  I have found some and I am wondering where
I can find more. Is there some sort of central list of numbers to use so
numbers don't overlap?  If so, where can I find it?  Any information
that anyone can give about this subject would be appreciated.

Please let me know, thanks!

Fred.

--
Do you know about Corel's involvement with Linux?  Visit us at
http://linux.corel.com


Re: dh_installinfo ?

2000-01-27 Thread Timshel Knoll
On Wed, Jan 26, 2000 at 03:21:59PM +0100, Sven LUTHER wrote:
> Selecting previously deselected package ocaml-doc.
> (Reading database ... 61386 files and directories currently installed.)
> Preparing to replace ocaml-doc 2.04-1 (using ocaml-doc_2.04-1_all.deb) ...
> dpkg (subprocess): unable to execute old pre-removal script: Exec format error
> dpkg: warning - old pre-removal script returned error exit status 2
> dpkg - trying script from the new package instead ...
> dpkg (subprocess): unable to execute new pre-removal script: No such file or
> directory
> dpkg: error processing ocaml-doc_2.04-1_all.deb (--install):
>  subprocess new pre-removal script returned error exit status 2
> dpkg (subprocess): unable to execute post-installation script: Exec format
> error
> dpkg: error while cleaning up:
>  subprocess post-installation script returned error exit status 2
> Errors were encountered while processing:
>  ocaml-doc_2.04-1_all.deb
> 
> What is the meaning of exec format error ? And how do i fix it ?
> 
> Friendly,
> 
> Sven LUTHER
 
 
You're probably missing a #!/bin/sh at the top of your prerm ...

-- 
Timshel Knoll <[EMAIL PROTECTED]>  Second year Computer Science, RMIT
  http://yallara.cs.rmit.edu.au/~tiknoll
   Key ID: Fingerprint: 
GnuPG  1024D/DE3E8AA7  6ABC 91A9 E274 ED67 0E32 8F0F 5DFA 9391 DE3E 8AA7


pgp29TH87TShD.pgp
Description: PGP signature


multi binaries packages.

2000-01-27 Thread Sven LUTHER
Hello, ...

while working on apus boot floppies, i had a problem with the amiga-fdisk
packages, who uses libreadline, but i need a version of it without readline
and ncurses for the boot floppies.

So i modified the source, and added a define that enables readline support or
not.

Now, i want ot build two packages from it, the first amiga-fdisk should stay
as before, and the seconf, amiga-fdisk-boot-floppies, should contain a second
version of the executable, but recompiled without libreadline.

I managed to produce both binaries, amiga-fdisk and amiga-fdisk-boot-floppies
and added a package description in the control file.

But both of the binaries absolutely want to go into the first packages,
letting the second one empty. How do i tell the dpkg-build stuff to put the
second file in the second package. Where can i find info on building multi
binaries packages ? The packaging manual seems mute about it.

Also if i want both executables to have the same name, how can i do this ?

Friendly,

Sven LUTHER


Re: Build-Depends?

2000-01-27 Thread Julian Gilbey
On Wed, Jan 26, 2000 at 11:18:35AM +1100, Brian May wrote:
> > "Michael" == Michael Vogt <[EMAIL PROTECTED]> writes:
> 
> Michael> Dear Debian-Mentors I wonder, why my "Build-Depends:"
> Michael> Field is ignored by dpkg-source and dpkg-buildpackage ?
> 
> On the topic of build-depends, I was under the impression that it
> is possible to have Build-Depends automagically set. If so, how?

Not yet, unfortunately.  Joost is working on a variant of fakeroot
which logs all open()s and exec()s (and anything else?) so that one
can deduce all packages which were used, but that doesn't yet exist.

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  Julian Gilbey, Dept of Maths, QMW, Univ. of London. [EMAIL PROTECTED]
Debian GNU/Linux Developer,  see http://www.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/