Am Samstag 16 Oktober 2010 schrieb Bruno Postle: > On Fri 15-Oct-2010 at 06:59 +0200, Kornel Benko wrote: > >> This might be a feature not a bug. dpkg shouldn't be installing > >> .deb packages in /usr/local, they should go in /usr. > > > >Why? We have instructed it that way. If we want to install in /usr, > >we have to set it explicitly. > >dpkg does what it is said. > > Because software installed by a system package manager should go in > /usr not /usr/local
Maybe I misunderstood you. We are creating our own package and instruct that
the destination be /usr/local.
We could set CMAKE_INSTALL_PREFIX to /usr if we want.
Here part of "man cmake":
...
CMAKE_INSTALL_PREFIX
Install directory used by install.
If "make install" is invoked or INSTALL is built, this
directory is pre-pended onto all install directories. This variable
defaults to /usr/local on UNIX and c:/Program Files on Windows.
...
This variable is not set in case of linux. So what should we expect?
The system manager _can_ still use
cmake ... -DCMAKE_INSTALL_PREFIX=/usr ...
prior to
make package
if he/she wants to.
>
> I don't know if this is really the root of the problem you are
> seeing, I haven't used dpkg for a _long_ time.
Creating data in directories not already existing looks like the problem we are
facing. But _only_ on the new ubuntu 10.10.
Kornel
--
Kornel Benko
[email protected]
signature.asc
Description: This is a digitally signed message part.
