Re: Simulation software package maintainer is xmds, version 1.5-3
- To: Christian Holm Christensen <cholm@nbi.dk>
- Cc: "Christian T. Steigies" <cts@debian.org>, Rafael Laboissiere <rafael@debian.org>, Paul Cochrane <paultcochrane@gmail.com>, Debian science <debian-science@lists.debian.org>, Christophe Prud'homme <prudhomm@debian.org>
- Subject: Re: Simulation software package maintainer is xmds, version 1.5-3
- From: "Christian T. Steigies" <cts@debian.org>
- Date: Thu, 23 Nov 2006 22:05:04 +0100
- Message-id: <[🔎] 20061123210504.GB11363@chumley.earth.sol>
- Mail-followup-to: Christian Holm Christensen <cholm@nbi.dk>, "Christian T. Steigies" <cts@debian.org>, Rafael Laboissiere <rafael@debian.org>, Paul Cochrane <paultcochrane@gmail.com>, Debian science <debian-science@lists.debian.org>, Christophe Prud'homme <prudhomm@debian.org>
- In-reply-to: <[🔎] 1164301139.6256.6.camel@localhost>
- References: <[🔎] 8e8ee0d40611221239qeef2190lf7afed25ad3b6e60@mail.gmail.com> <[🔎] 20061123011233.GK1378@laboissiere.net> <8e8ee0d40611230126l3f09bef7hd16a9530e0576a91@mail.gmail.com> <20061123105702.GL1378@laboissiere.net> <[🔎] 8e8ee0d40611230504r29d95c1av28eb0e30af25ede3@mail.gmail.com> <[🔎] 20061123135441.GO1378@laboissiere.net> <[🔎] 20061123143456.GC13344@chumley.earth.sol> <[🔎] 20061123145040.GQ1378@laboissiere.net> <[🔎] 20061123152240.GA5037@chumley.earth.sol> <[🔎] 1164301139.6256.6.camel@localhost>
On Thu, Nov 23, 2006 at 05:58:59PM +0100, Christian Holm Christensen wrote:
> Hi Christian,
>
> On Thu, 2006-11-23 at 16:22 +0100, Christian T. Steigies wrote:
> > On Thu, Nov 23, 2006 at 03:50:40PM +0100, Rafael Laboissiere wrote:
> > >
> ...
> > I tried only briefly with cdbs, but I don't know how to change configure
> > options with it. So I went back to the simple debhelper/binary package,
> > where I can edit the rules a little more:
> >
> > ./configure \
> > --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
> > --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
> > --bindir=\$${prefix}/bin --libdir=\$${prefix}/lib \
> > --includedir=\$${prefix}/include \
> > CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
> >
> > make install installs everything directly in /usr and not in the respective
> > subdirectories. I could move things around in the rules, but I think it
> > should be fixed upstream. Alas, I am not an autotools expert...
>
> Did you do plain `make install'? If so, then it would fail. Instead
> do
>
> make install DESTDIR=debian/tmp
Yes, that's what dh_make automatically generates.
> (check the generated Makefile to see how it works) followed by
>
> dh_install --sourcedir=debian/tmp
>
> Make sure you make the proper `.install' files in the debian
> sub-directory e.g.,
I don't use that and I also have no install files, probably because I chose
to build a single binary package. Do I have to split xmds into four
packages? It seems xmds always needs the one library and two header files,
otherwise it can not compile anything. I don't think this has to be split
into a separate package. But maybe we should move some files to a
subdirectory?
But back to the make install problem, I tried again with cdbs (autocreated
by dh_make) and added the configure options. Still all files are installed
in the root directory, /usr in this case:
*** Contents:
drwxr-xr-x root/root 0 2006-11-23 21:53 ./
drwxr-xr-x root/root 0 2006-11-23 21:53 ./usr/
drwxr-xr-x root/root 0 2006-11-23 21:53 ./usr/bin/
drwxr-xr-x root/root 0 2006-11-23 21:53 ./usr/sbin/
-rwxr-xr-x root/root 845136 2006-11-23 21:53 ./usr/xmds
-rwxr-xr-x root/root 282032 2006-11-23 21:53 ./usr/xsil2graphics
-rwxr-xr-x root/root 16822 2006-11-23 21:53 ./usr/loadxsil.m
-rw-r--r-- root/root 825690 2006-11-23 21:53 ./usr/libxmds.a
-rw-r--r-- root/root 13064 2006-11-23 21:53 ./usr/xmdscomplex.h
-rw-r--r-- root/root 8116 2006-11-23 21:53 ./usr/getopt_xmds.h
-rw-r--r-- root/root 4928 2006-11-23 21:53 ./usr/xmdsconfig.h
I still believe this is a problem in the configure script, and not in
debian/rules. Once I figure out how to commit this to alioth, you can have a
look for yourself.
Christian
Reply to: