Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 3A4991B505EF for ; Wed, 14 Mar 2012 11:14:08 -0300 (ADT) Received: from 30.55.colo.spiretech.net ([69.168.55.30] helo=lists.commandprompt.com) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1S7oxj-0000n3-MH for pgsql-docs@postgresql.org; Wed, 14 Mar 2012 14:14:06 +0000 Received: from perhan.alvh.no-ip.org (spinlock.commandprompt.com [69.168.55.30]) by lists.commandprompt.com (Postfix) with ESMTPA id A05E9E3; Wed, 14 Mar 2012 07:14:31 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([200.126.81.219] helo=perhan.alvh.no-ip.org) by assp.commandprompt.com with ESMTPS(AES256-SHA) (2.1.1); 14 Mar 2012 07:14:29 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 763666E471; Wed, 14 Mar 2012 11:13:39 -0300 (CLST) Content-Type: text/plain; charset=UTF-8 Cc: Pg Docs Subject: Re: Cannot build docs on Ubuntu 10.04? From: Alvaro Herrera To: John Lumby In-reply-to: References: Date: Wed, 14 Mar 2012 11:13:39 -0300 Message-Id: <1331734254-sup-6864@alvh.no-ip.org> User-Agent: Sup/git X-Assp-Version: 2.1.1(11364) on assp.commandprompt.com X-Assp-Client-TLS: yes X-Assp-ID: assp.commandprompt.com m1-34471-04682 X-Assp-Envelope-From: alvherre@alvh.no-ip.org X-Assp-Intended-For: johnlumby@hotmail.com X-Assp-Original-Subject: Re: Cannot build docs on Ubuntu 10.04? Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201203/3 X-Sequence-Number: 7202 Excerpts from John Lumby's message of mi=C3=A9 mar 14 10:25:19 -0300 2012= : >=20 > On 12-01-2012 17:28, Josh Berkus wrote: >=20 > > Can't open perl script "/bin/collateindex.pl": No such file or direct= ory >=20 > On Thu, 12 Jan 2012 19:37:20 -0300 Alvaro Herrera wrote: > =C2=A0>=C2=A0 dpkg -S collateindex.pl > docbook-dsssl: >=20 > =C2=A0>=C2=A0 /usr/bin/collateindex.pl >=20 >=20 > I wonder if everyone noticed that the postgres sgml makefile is looking= for the script in /bin > (see Josh's append) > but docbook-dssl puts it in /usr/bin=20 > (see Alvaro's append). >=20 > I think this line in > postgresql-9.1.3/doc/src/sgml/Makefile >=20 > =C2=A0COLLATEINDEX =3D $(DOCBOOKSTYLE)/bin/collateindex.pl >=20 > could be improved=C2=A0 -=C2=A0 maybe should read >=20 > COLLATEINDEX =3D `which collateindex.pl` >=20 > I fixed it by > =C2=A0ln `which collateindex.pl` /bin/collateindex.pl >=20 > maybe this is what the "configure" that someone mentioned would have do= ne? What configure would have done is put the correct value of the DOCBOOKSTYLE variable in Makefile.global. In Josh's case, collateindex.pl was not found so the variable is empty, with the results you see. I think there's nothing to change here, except maybe to warn something if DOCBOOKSTYLE is defined to empty. --=20 =C3=81lvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support