libX11 and libXext (at least) fail using prefix on make install
Garry Iglesias
garry.iglesias at gmail.com
Mon Jun 20 03:12:41 PDT 2011
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.
More information about the xorg
mailing list