Lists: | pgsql-general |
---|
From: | hubert depesz lubaczewski <depesz(at)depesz(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | What to install to be able to build docs on Arch Linux? |
Date: | 2009-11-09 19:16:56 |
Message-ID: | 20091109191656.GA7864@depesz.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
Hi,
I just recently migrated my workstation to Arch Linux, and now I have
problem with building docs for PostgreSQL on it.
I'm using cvs HEAD version, and when running ./configure I get:
./configure \
--prefix=/home/pgdba/work \
--with-pgport=5850 \
--with-tcl \
--with-perl \
--with-python \
--enable-integer-datetimes \
--without-krb5 \
--without-pam \
--without-bonjour \
--with-openssl \
--with-readline \
--with-libxml \
--with-zlib \
--with-gnu-ld
...
checking for tcl.h... yes
checking for onsgmls... onsgmls
checking for openjade... no
checking for jade... jade
checking for DocBook V4.2... no
checking for DocBook stylesheets... no
checking for collateindex.pl... no
checking for xsltproc... xsltproc
checking for osx... osx
checking if gcc supports -Wl,--as-needed... yes
...
my docbook related packages:
=> pacman -Q | grep -i docbook
docbook-xml 4.5-3
docbook-xsl 1.74.0-1
docbook2x 0.8.8-7
in config.log i see:
configure:27903: checking for onsgmls
configure:27919: found /usr/bin/onsgmls
configure:27930: result: onsgmls
configure:27945: checking for openjade
configure:27975: result: no
configure:27945: checking for jade
configure:27961: found /usr/bin/jade
configure:27972: result: jade
configure:27984: checking for DocBook V4.2
onsgmls:/etc/xml/catalog:2:78:E: name expected
onsgmls:/etc/xml/catalog:2:18:E: cannot find "PUBLIC"; tried "/etc/xml/PUBLIC", "/usr/share/sgml/PUBLIC", "/usr/share/xml/PUBLIC"
onsgmls:conftest.sgml:1:54:W: cannot generate system identifier for public text "-//OASIS//DTD DocBook V4.2//EN"
onsgmls:conftest.sgml:1:54:E: reference to entity "BOOK" for which no system identifier could be generated
onsgmls:conftest.sgml:1:0: entity was defined here
onsgmls:conftest.sgml:1:54:E: DTD did not contain element declaration for document type name
onsgmls:conftest.sgml:2:5:E: element "BOOK" undefined
onsgmls:conftest.sgml:3:7:E: element "TITLE" undefined
onsgmls:conftest.sgml:4:9:E: element "CHAPTER" undefined
onsgmls:conftest.sgml:5:8:E: element "TITLE" undefined
onsgmls:conftest.sgml:6:9:E: element "SECT1" undefined
onsgmls:conftest.sgml:7:10:E: element "TITLE" undefined
onsgmls:conftest.sgml:8:9:E: element "PARA" undefined
configure:28013: result: no
configure:28019: checking for DocBook stylesheets
configure:28058: result: no
configure:28112: checking for collateindex.pl
configure:28145: result: no
configure:28158: checking for xsltproc
configure:28174: found /usr/bin/xsltproc
configure:28185: result: xsltproc
configure:28200: checking for osx
configure:28216: found /usr/bin/osx
configure:28227: result: osx
depesz
--
Linkedin: http://www.linkedin.com/in/depesz / blog: http://www.depesz.com/
jid/gtalk: depesz(at)depesz(dot)com / aim:depeszhdl / skype:depesz_hdl / gg:6749007
From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | depesz(at)depesz(dot)com |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: What to install to be able to build docs on Arch Linux? |
Date: | 2009-11-09 21:44:31 |
Message-ID: | 1257803071.6507.1.camel@vanquo.pezone.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
On mån, 2009-11-09 at 20:16 +0100, hubert depesz lubaczewski wrote:
> my docbook related packages:
> => pacman -Q | grep -i docbook
> docbook-xml 4.5-3
> docbook-xsl 1.74.0-1
> docbook2x 0.8.8-7
You need the SGML version of DocBook.
From: | hubert depesz lubaczewski <depesz(at)depesz(dot)com> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: What to install to be able to build docs on Arch Linux? |
Date: | 2009-11-09 22:13:51 |
Message-ID: | 20091109221351.GA6140@depesz.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
On Mon, Nov 09, 2009 at 11:44:31PM +0200, Peter Eisentraut wrote:
> On mån, 2009-11-09 at 20:16 +0100, hubert depesz lubaczewski wrote:
> > my docbook related packages:
> > => pacman -Q | grep -i docbook
> > docbook-xml 4.5-3
> > docbook-xsl 1.74.0-1
> > docbook2x 0.8.8-7
> You need the SGML version of DocBook.
ok. installed (from aur):
=> pacman -Q | grep -i docbook
docbook-sgml 4.2-1
docbook-xml 4.5-3
docbook-xsl 1.74.0-1
docbook2x 0.8.8-7
It contains these files:
=> pacman -Ql docbook-sgml
docbook-sgml /usr/
docbook-sgml /usr/share/
docbook-sgml /usr/share/sgml/
docbook-sgml /usr/share/sgml/docbook-sgml-4.2/
docbook-sgml /usr/share/sgml/docbook-sgml-4.2/calstblx.dtd
docbook-sgml /usr/share/sgml/docbook-sgml-4.2/catalog
docbook-sgml /usr/share/sgml/docbook-sgml-4.2/dbcentx.mod
docbook-sgml /usr/share/sgml/docbook-sgml-4.2/dbgenent.mod
docbook-sgml /usr/share/sgml/docbook-sgml-4.2/dbhierx.mod
docbook-sgml /usr/share/sgml/docbook-sgml-4.2/dbnotnx.mod
docbook-sgml /usr/share/sgml/docbook-sgml-4.2/dbpoolx.mod
docbook-sgml /usr/share/sgml/docbook-sgml-4.2/docbook.dcl
docbook-sgml /usr/share/sgml/docbook-sgml-4.2/docbook.dtd
docbook-sgml /usr/share/sgml/docbook-sgml-4.2/docbookx.dtd
docbook-sgml /usr/share/sgml/docbook-sgml-4.2/soextblx.dtd
But I still can't make the docs:
./configure \
--prefix=/home/pgdba/work \
--with-pgport=5850 \
--with-tcl \
--with-perl \
--with-python \
--enable-integer-datetimes \
--without-krb5 \
--without-pam \
--without-bonjour \
--with-openssl \
--with-readline \
--with-libxml \
--with-zlib \
--with-gnu-ld
...
checking for onsgmls... onsgmls
checking for openjade... no
checking for jade... jade
checking for DocBook V4.2... no
checking for DocBook stylesheets... no
checking for collateindex.pl... no
checking for xsltproc... xsltproc
checking for osx... osx
...
config.log shows:
configure:27919: found /usr/bin/onsgmls
configure:27930: result: onsgmls
configure:27945: checking for openjade
configure:27975: result: no
configure:27945: checking for jade
configure:27961: found /usr/bin/jade
configure:27972: result: jade
configure:27984: checking for DocBook V4.2
onsgmls:/etc/xml/catalog:2:78:E: name expected
onsgmls:/etc/xml/catalog:2:18:E: cannot find "PUBLIC"; tried "/etc/xml/PUBLIC", "/usr/share/sgml/PUBLIC", "/usr/share/xml/PUBLIC"
configure:28013: result: no
configure:28019: checking for DocBook stylesheets
configure:28058: result: no
configure:28112: checking for collateindex.pl
configure:28145: result: no
configure:28158: checking for xsltproc
configure:28174: found /usr/bin/xsltproc
configure:28185: result: xsltproc
Best regards,
depesz
--
Linkedin: http://www.linkedin.com/in/depesz / blog: http://www.depesz.com/
jid/gtalk: depesz(at)depesz(dot)com / aim:depeszhdl / skype:depesz_hdl / gg:6749007
From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | hubert depesz lubaczewski <depesz(at)depesz(dot)com> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: What to install to be able to build docs on Arch Linux? |
Date: | 2009-11-09 22:49:12 |
Message-ID: | 20091109224912.GJ3584@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
hubert depesz lubaczewski wrote:
> => pacman -Ql docbook-sgml
> docbook-sgml /usr/
> docbook-sgml /usr/share/
> docbook-sgml /usr/share/sgml/
> docbook-sgml /usr/share/sgml/docbook-sgml-4.2/
> docbook-sgml /usr/share/sgml/docbook-sgml-4.2/calstblx.dtd
> docbook-sgml /usr/share/sgml/docbook-sgml-4.2/catalog
You probably need
DOCBOOKSTYLE=/usr/share/sgml/docbook-sgml-4.2 ./configure [ other options ]
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | depesz(at)depesz(dot)com |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: What to install to be able to build docs on Arch Linux? |
Date: | 2009-11-10 08:05:15 |
Message-ID: | 1257840315.31339.5.camel@fsopti579.F-Secure.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
On mån, 2009-11-09 at 23:13 +0100, hubert depesz lubaczewski wrote:
> configure:27984: checking for DocBook V4.2
> onsgmls:/etc/xml/catalog:2:78:E: name expected
> onsgmls:/etc/xml/catalog:2:18:E: cannot find "PUBLIC"; tried
> "/etc/xml/PUBLIC", "/usr/share/sgml/PUBLIC", "/usr/share/xml/PUBLIC"
Looks like the SGML installation is somehow broken or incomplete or
unsupported.
From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
Cc: | hubert depesz lubaczewski <depesz(at)depesz(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: What to install to be able to build docs on Arch Linux? |
Date: | 2009-11-10 08:06:04 |
Message-ID: | 1257840364.31339.6.camel@fsopti579.F-Secure.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
On mån, 2009-11-09 at 19:49 -0300, Alvaro Herrera wrote:
> hubert depesz lubaczewski wrote:
>
> > => pacman -Ql docbook-sgml
> > docbook-sgml /usr/
> > docbook-sgml /usr/share/
> > docbook-sgml /usr/share/sgml/
> > docbook-sgml /usr/share/sgml/docbook-sgml-4.2/
> > docbook-sgml /usr/share/sgml/docbook-sgml-4.2/calstblx.dtd
> > docbook-sgml /usr/share/sgml/docbook-sgml-4.2/catalog
>
> You probably need
> DOCBOOKSTYLE=/usr/share/sgml/docbook-sgml-4.2 ./configure [ other options ]
That only finds the DSSSL style sheets. His problem is that the DTD is
not findable by the catalog setup that his distribution has created.
From: | hubert depesz lubaczewski <depesz(at)depesz(dot)com> |
---|---|
To: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: What to install to be able to build docs on Arch Linux? |
Date: | 2009-11-10 08:08:51 |
Message-ID: | 20091110080851.GA24937@depesz.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
On Mon, Nov 09, 2009 at 07:49:12PM -0300, Alvaro Herrera wrote:
> hubert depesz lubaczewski wrote:
>
> > => pacman -Ql docbook-sgml
> > docbook-sgml /usr/
> > docbook-sgml /usr/share/
> > docbook-sgml /usr/share/sgml/
> > docbook-sgml /usr/share/sgml/docbook-sgml-4.2/
> > docbook-sgml /usr/share/sgml/docbook-sgml-4.2/calstblx.dtd
> > docbook-sgml /usr/share/sgml/docbook-sgml-4.2/catalog
>
> You probably need
> DOCBOOKSTYLE=/usr/share/sgml/docbook-sgml-4.2 ./configure [ other options ]
now configure finds DocBook stylesheet, but still not docbook itselt:
configure:27930: result: onsgmls
configure:27945: checking for openjade
configure:27975: result: no
configure:27945: checking for jade
configure:27961: found /usr/bin/jade
configure:27972: result: jade
configure:27984: checking for DocBook V4.2
onsgmls:/etc/xml/catalog:2:78:E: name expected
onsgmls:/etc/xml/catalog:2:18:E: cannot find "PUBLIC"; tried "/etc/xml/PUBLIC", "/usr/share/sgml/PUBLIC", "/usr/share/xml/PUBLIC"
configure:28013: result: no
configure:28019: checking for DocBook stylesheets
configure:28055: result: /usr/share/sgml/docbook-sgml-4.2
configure:28066: checking for collateindex.pl
configure:28099: result: no
configure:28158: checking for xsltproc
configure:28174: found /usr/bin/xsltproc
configure:28185: result: xsltproc
configure:28200: checking for osx
configure:28216: found /usr/bin/osx
configure:28227: result: osx
configure:28498: checking if gcc supports -Wl,--as-needed
configure:28528: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -D_GNU_SOURCE -I/usr/include/libxml2 -Wl,--as-needed conftest.c -lxml2 -lssl -lcrypto -lz -lreadline -lcrypt -ldl -lm >&5
depesz
--
Linkedin: http://www.linkedin.com/in/depesz / blog: http://www.depesz.com/
jid/gtalk: depesz(at)depesz(dot)com / aim:depeszhdl / skype:depesz_hdl / gg:6749007
From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | hubert depesz lubaczewski <depesz(at)depesz(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: What to install to be able to build docs on Arch Linux? |
Date: | 2009-11-10 13:15:59 |
Message-ID: | 20091110131559.GB4923@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
Peter Eisentraut wrote:
> On mån, 2009-11-09 at 19:49 -0300, Alvaro Herrera wrote:
> > hubert depesz lubaczewski wrote:
> >
> > > => pacman -Ql docbook-sgml
> > > docbook-sgml /usr/
> > > docbook-sgml /usr/share/
> > > docbook-sgml /usr/share/sgml/
> > > docbook-sgml /usr/share/sgml/docbook-sgml-4.2/
> > > docbook-sgml /usr/share/sgml/docbook-sgml-4.2/calstblx.dtd
> > > docbook-sgml /usr/share/sgml/docbook-sgml-4.2/catalog
> >
> > You probably need
> > DOCBOOKSTYLE=/usr/share/sgml/docbook-sgml-4.2 ./configure [ other options ]
>
> That only finds the DSSSL style sheets. His problem is that the DTD is
> not findable by the catalog setup that his distribution has created.
Sounds like something that should be reported as a bug to the
distributor. (Sorry if I'm stating the obvious).
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support