[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: Re: libX11 and libXext (at least) fail using prefix on make install
From: Garry Iglesias <garry.iglesias () gmail ! com>
Date: 2011-06-29 19:38:52
Message-ID: BANLkTimB_ud5n0Hn7=_Oy9Xe86KX7x0AUw () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Ok Thanks ! I might disable doc install as it's only a 'private local
dependancy' of a framework.
Bests
Garry.
On Tue, Jun 21, 2011 at 2:18 PM, Gaetan Nadon <memsize@videotron.ca> wrote:
> **
> On Tue, 2011-06-21 at 03:46 -0700, Dan Nicholson wrote:
>
> On Mon, Jun 20, 2011 at 3:12 AM, Garry Iglesias
> <garry.iglesias@gmail.com> wrote:
> > Hi,
> >
> > Sorry if this problem has already been mentioned, but I couldn't find
> > any question nor bug about it...
> >
> > I'm building a libX11 and libXext as static libraries in a local tree as
> > third party dependencies of a framework I'm working on. It's been
> > working like a charm for 3 years, but I recently (yesterday) upgraded
> > to the last versions of the libs. And I encounter a failure on install:
> > make install doesn't use the prefix and try to write directly into
> > /usr/share/ which is a problem:
> >
> > ============================================
> > libX11 build log:
> >
> > [...]
> > Making install in libX11
> > make[2]: Entering directory
> > `/shared-a/nshq/dev/ns2/third-party/Xlib/libX11-1.4.3/specs/libX11'
> > make[3]: Entering directory
> > `/shared-a/nshq/dev/ns2/third-party/Xlib/libX11-1.4.3/specs/libX11'
> > make[3]: Nothing to be done for `install-exec-am'.
> > test -z "/home/giglesias/development/ns2/third-party/build/share/doc/libX11"
> > > > /usr/bin/mkdir -p
> > "/home/giglesias/development/ns2/third-party/build/share/doc/libX11"
> > /usr/bin/ginstall -c -m 644 libX11.xml AppA.xml AppB.xml AppC.xml
> > AppD.xml CH01.xml CH02.xml CH03.xml CH04.xml CH05.xml CH06.xml
> > CH07.xml CH08.xml CH09.xml CH10.xml CH11.xml CH12.xml CH13.xml
> > CH14.xml CH15.xml CH16.xml credits.xml glossary.xml
> > '/home/giglesias/development/ns2/third-party/build/share/doc/libX11'
> > test -z "/usr/share/sgml/X11/dbs" || /usr/bin/mkdir -p "/usr/share/sgml/X11/dbs"
> > /usr/bin/ginstall -c -m 644 libX11.html.db libX11.fo.db
> > '/usr/share/sgml/X11/dbs'
> > /usr/bin/ginstall: cannot remove
> > `/usr/share/sgml/X11/dbs/libX11.html.db': Permission denied
>
> I think this must be picking up your host's pkg-config file for
> xorg-sgml-doctools that determine where to install the cross reference
> databases for the documents. Do you see the following line during
> configure?
>
> checking for X.Org SGML entities >= 1.7... /usr/share/sgml
>
> The fix is either to install a new copy of xorg-sgml-doctools for your
> prefix before libX11/libXext, or just disable the build of the spec
> docs with --disable-specs. If you're just installing X as a
> dependency, you may not care about the spec docs (they take a long
> time to build, too). I think the next release of these modules will
> have that fixed so the files follow --prefix, but I don't know when
> that will be.
>
>
> This was fixed 10 days ago in git master:
>
> http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=b370eeb0191b0e2a8bde2f03a442a8ca62e35d58and \
> in all other modules with docs.
> Version 1.8 of xorg-sgml-doctools is required. Configuring with
> --disable-docs and --disable=specs will skip building the documentation
> which is a sizable piece of work in libX11.
>
> --
> Dan
> _______________________________________________xorg@lists.freedesktop.org: X.Org \
> support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> Your subscription address: memsize@videotron.ca
>
>
>
[Attachment #5 (text/html)]
Ok Thanks ! I might disable doc install as it's only a 'private local \
dependancy' of a framework.<br><br>Bests<br><br>Garry.<br><br><div \
class="gmail_quote">On Tue, Jun 21, 2011 at 2:18 PM, Gaetan Nadon <span \
dir="ltr"><<a href="mailto:memsize@videotron.ca">memsize@videotron.ca</a>></span> \
wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex;"><u></u>
<div><div><div></div><div class="h5">
On Tue, 2011-06-21 at 03:46 -0700, Dan Nicholson wrote:
<blockquote type="CITE">
<pre>On Mon, Jun 20, 2011 at 3:12 AM, Garry Iglesias
<<a href="mailto:garry.iglesias@gmail.com" \
target="_blank">garry.iglesias@gmail.com</a>> wrote: > Hi,
>
> Sorry if this problem has already been mentioned, but I couldn't find
> any question nor bug about it...
>
> I'm building a libX11 and libXext as static libraries in a local tree as
> third party dependencies of a framework I'm working on. It's been
> working like a charm for 3 years, but I recently (yesterday) upgraded
> to the last versions of the libs. And I encounter a failure on install:
> make install doesn't use the prefix and try to write directly into
> /usr/share/ which is a problem:
>
> ============================================
> libX11 build log:
>
> [...]
> Making install in libX11
> make[2]: Entering directory
> `/shared-a/nshq/dev/ns2/third-party/Xlib/libX11-1.4.3/specs/libX11'
> make[3]: Entering directory
> `/shared-a/nshq/dev/ns2/third-party/Xlib/libX11-1.4.3/specs/libX11'
> make[3]: Nothing to be done for `install-exec-am'.
> test -z "/home/giglesias/development/ns2/third-party/build/share/doc/libX11"
> || /usr/bin/mkdir -p
> "/home/giglesias/development/ns2/third-party/build/share/doc/libX11"
> /usr/bin/ginstall -c -m 644 libX11.xml AppA.xml AppB.xml AppC.xml
> AppD.xml CH01.xml CH02.xml CH03.xml CH04.xml CH05.xml CH06.xml
> CH07.xml CH08.xml CH09.xml CH10.xml CH11.xml CH12.xml CH13.xml
> CH14.xml CH15.xml CH16.xml credits.xml glossary.xml
> '/home/giglesias/development/ns2/third-party/build/share/doc/libX11'
> test -z "/usr/share/sgml/X11/dbs" || /usr/bin/mkdir -p \
"/usr/share/sgml/X11/dbs" > /usr/bin/ginstall -c -m 644 libX11.html.db \
libX11.fo.db > '/usr/share/sgml/X11/dbs'
> /usr/bin/ginstall: cannot remove
> `/usr/share/sgml/X11/dbs/libX11.html.db': Permission denied
I think this must be picking up your host's pkg-config file for
xorg-sgml-doctools that determine where to install the cross reference
databases for the documents. Do you see the following line during
configure?
checking for X.Org SGML entities >= 1.7... /usr/share/sgml
The fix is either to install a new copy of xorg-sgml-doctools for your
prefix before libX11/libXext, or just disable the build of the spec
docs with --disable-specs. If you're just installing X as a
dependency, you may not care about the spec docs (they take a long
time to build, too). I think the next release of these modules will
have that fixed so the files follow --prefix, but I don't know when
that will be.
</pre>
</blockquote></div></div>
This was fixed 10 days ago in git master:<br>
<a href="http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=b370eeb0191b0e2a8bde2f03a442a8ca62e35d58" \
target="_blank">http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=b370eeb0191b0e2a8bde2f03a442a8ca62e35d58</a> \
and in all other modules with docs.<br>
<br>
Version 1.8 of xorg-sgml-doctools is required. Configuring with --disable-docs and \
--disable=specs will skip building the documentation which is a sizable piece of work \
in libX11.<br> <br>
<blockquote type="CITE">
<pre>--
Dan
_______________________________________________
<a href="mailto:xorg@lists.freedesktop.org" \
target="_blank">xorg@lists.freedesktop.org</a>: X.Org support
Archives: <a href="http://lists.freedesktop.org/archives/xorg" \
target="_blank">http://lists.freedesktop.org/archives/xorg</a>
Info: <a href="http://lists.freedesktop.org/mailman/listinfo/xorg" \
target="_blank">http://lists.freedesktop.org/mailman/listinfo/xorg</a> Your \
subscription address: <a href="mailto:memsize@videotron.ca" \
target="_blank">memsize@videotron.ca</a> </pre>
</blockquote>
<br>
</div>
</blockquote></div><br>
_______________________________________________
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic