Using DESTDIR during installation
Stefan Dirsch
sndirsch at suse.de
Wed Jun 1 09:23:16 PDT 2005
On Wed, Jun 01, 2005 at 12:46:11PM +0200, Stefan Dirsch wrote:
> On Mon, May 30, 2005 at 04:53:06PM +0200, Stefan Dirsch wrote:
> > On Mon, May 30, 2005 at 11:52:55PM +1000, Daniel Stone wrote:
> > > On Mon, May 30, 2005 at 03:35:54PM +0200, Stefan Dirsch wrote:
> > > > ERROR: /usr/lib/libX11.so.6.2.1 contains /var/tmp/xorg-modular-050528-build
> > > >
> > > > Any ideas how to get rid of this reference in the library?
> > >
> > > --disable-rpath?
> >
> > Thanks, but unfortunately this seems to be ignored by
> > autogen.sh/configure. At least by lib/X11, but I might be able to
> > disable the check.
>
> Which would result in a huge security hole to have rpath set to e.g.
> /var/tmp/... Therefore I currently patch the Makefile to use "-rpath
> /usr/lib" instead.
I was wrong. It didn't work. :-(
> I didn't succeed in removing "-rpath" completely
> since .lai files are not created in this case and are tried to be
> installed which again results in a build fail. :-(
>
> In short, a working "--disable-rpath" would be really appreciated. ;-)
I asked one of our auto* experts and he told me, that building
independant sources, which depends on each other, in one run with
using DESTDIR (i.e. without root privileges) is a pain and usually
doesn't work. For the build tests I will ignore the security hole for
now and switch to the build of seperate packages later. Probably I
need to write a specfile generator for this.
Sorry for the confusion!
Best regards,
Stefan
Public Key available
------------------------------------------------------
Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH
Tel: 0911-740 53 0 Maxfeldstraße 5
FAX: 0911-740 53 479 D-90409 Nürnberg
http://www.suse.de Germany
------------------------------------------------------
More information about the xorg-modular
mailing list