Re: libX11 and libXext (at least) fail using prefix on make install

2011-06-29 Thread Garry Iglesias
Thank you... Sorry I was budy on ms windows dev for a while...

Yes I didn't need the doc and the lib was installed anyway, it's just it
tagged a failure on my dependency install.

Garry.

On Tue, Jun 21, 2011 at 12:46 PM, Dan Nicholson dbn.li...@gmail.com wrote:

 On Mon, Jun 20, 2011 at 3:12 AM, Garry Iglesias
 garry.igles...@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.

 --
 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: arch...@mail-archive.com

Re: libX11 and libXext (at least) fail using prefix on make install

2011-06-29 Thread Garry Iglesias
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 mems...@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.igles...@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
 ___x...@lists.freedesktop.org: 
 X.Org support
 Archives: http://lists.freedesktop.org/archives/xorg
 Info: http://lists.freedesktop.org/mailman/listinfo/xorg
 Your subscription address: mems...@videotron.ca



___
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: arch...@mail-archive.com

libX11 and libXext (at least) fail using prefix on make install

2011-06-21 Thread Garry Iglesias
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
/usr/bin/ginstall: cannot remove
`/usr/share/sgml/X11/dbs/libX11.fo.db': Permission denied
make[3]: *** [install-sgmldbsDATA] Error 1
make[3]: Leaving directory
`/shared-a/nshq/dev/ns2/third-party/Xlib/libX11-1.4.3/specs/libX11'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory
`/shared-a/nshq/dev/ns2/third-party/Xlib/libX11-1.4.3/specs/libX11'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/shared-a/nshq/dev/ns2/third-party/Xlib/libX11-1.4.3/specs'
make: *** [install-recursive] Error 1


and the same of libXext build log:

[...]
Making install in specs
make[1]: Entering directory
`/shared-a/nshq/dev/ns2/third-party/Xlib/libXext-1.3.0/specs'
make[2]: Entering directory
`/shared-a/nshq/dev/ns2/third-party/Xlib/libXext-1.3.0/specs'
make[2]: Nothing to be done for `install-exec-am'.
test -z /home/giglesias/development/ns2/third-party/build/share/doc/libXext
|| /usr/bin/mkdir -p
/home/giglesias/development/ns2/third-party/build/share/doc/libXext
 /usr/bin/ginstall -c -m 644 dbelib.xml dpmslib.xml shapelib.xml
synclib.xml xtest1.xml
'/home/giglesias/development/ns2/third-party/build/share/doc/libXext'
test -z /usr/share/sgml/X11/dbs || /usr/bin/mkdir -p /usr/share/sgml/X11/dbs
 /usr/bin/ginstall -c -m 644 dbelib.html.db dpmslib.html.db
shapelib.html.db synclib.html.db xtest1.html.db dbelib.fo.db
dpmslib.fo.db shapelib.fo.db synclib.fo.db xtest1.fo.db
'/usr/share/sgml/X11/dbs'
/usr/bin/ginstall: cannot create regular file
`/usr/share/sgml/X11/dbs/dbelib.html.db': Permission denied
/usr/bin/ginstall: cannot create regular file
`/usr/share/sgml/X11/dbs/dpmslib.html.db': Permission denied
/usr/bin/ginstall: cannot create regular file
`/usr/share/sgml/X11/dbs/shapelib.html.db': Permission denied
/usr/bin/ginstall: cannot create regular file
`/usr/share/sgml/X11/dbs/synclib.html.db': Permission denied
/usr/bin/ginstall: cannot create regular file
`/usr/share/sgml/X11/dbs/xtest1.html.db': Permission denied
/usr/bin/ginstall: cannot create regular file
`/usr/share/sgml/X11/dbs/dbelib.fo.db': Permission denied
/usr/bin/ginstall: cannot create regular file
`/usr/share/sgml/X11/dbs/dpmslib.fo.db': Permission denied
/usr/bin/ginstall: cannot create regular file
`/usr/share/sgml/X11/dbs/shapelib.fo.db': Permission denied
/usr/bin/ginstall: cannot create regular file
`/usr/share/sgml/X11/dbs/synclib.fo.db': Permission denied
/usr/bin/ginstall: cannot create regular file
`/usr/share/sgml/X11/dbs/xtest1.fo.db': Permission denied
make[2]: *** [install-sgmldbsDATA] Error 1
make[2]: Leaving directory
`/shared-a/nshq/dev/ns2/third-party/Xlib/libXext-1.3.0/specs'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory
`/shared-a/nshq/dev/ns2/third-party/Xlib/libXext-1.3.0/specs'
make: *** [install-recursive] Error 1


Both are being configured through the classic:

./configure --prefix=/home/giglesias/development/ns2/third-party/build
--enable-static
--disable-shared

Sorry if I missed something, but I really think it's a problem in the build
config of those two libraries. Although other libs may be concerned, those
are the only ones failing in my dependencies for using xcb...

Any idea ? Should I have to post new bugs ?

Thanks,

Garry.
___
xorg@lists.freedesktop.org: X.Org support
Archives: 

Re: libX11 and libXext (at least) fail using prefix on make install

2011-06-21 Thread Dan Nicholson
On Mon, Jun 20, 2011 at 3:12 AM, Garry Iglesias
garry.igles...@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.

--
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: arch...@mail-archive.com

Re: libX11 and libXext (at least) fail using prefix on make install

2011-06-21 Thread Gaetan Nadon
On Tue, 2011-06-21 at 03:46 -0700, Dan Nicholson wrote:

 On Mon, Jun 20, 2011 at 3:12 AM, Garry Iglesias
 garry.igles...@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=b370eeb0191b0e2a8bde2f03a442a8ca62e35d58
 and 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: mems...@videotron.ca




signature.asc
Description: This is a digitally signed message part
___
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: arch...@mail-archive.com