![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
LC_ALL=C '/usr/bin/perl' /bin/collateindex.pl -f -g -i 'bookindex' -o bookindex.sgml HTML.index Can't open perl script "/bin/collateindex.pl": No such file or directory |
#12
| |||
| |||
|
|
=20 The warning about "unknown warning type" means you're using the wrong tool to me. My toolchain here uses "openjade" which is a fork of the earlier jade (so install opensp as Kevin suggested, and rerun configure after that); my guess is that we're pretty much dependent on openjade features that did not exist in plain jade. Maybe we should just get rid of our attempts to use the older tool. =20 Yeah, the problem is that if you install just "openjade" on debian/ubuntu, it doesn't create the command "jade", which is what our make script is looking for. |
#13
| |||
| |||
|
|
The warning about "unknown warning type" means you're using the wrong tool to me. My toolchain here uses "openjade" which is a fork of the earlier jade (so install opensp as Kevin suggested, and rerun configure after that); my guess is that we're pretty much dependent on openjade features that did not exist in plain jade. Maybe we should just get rid of our attempts to use the older tool. |
#14
| |||
| |||
|
|
Josh Berkus <josh (AT) agliodbs (DOT) com> writes: LC_ALL=3DC '/usr/bin/perl' /bin/collateindex.pl -f -g -i 'bookindex' -o bookindex.sgml HTML.index Can't open perl script "/bin/collateindex.pl": No such file or directory =20 On Fedora, that script comes in the docbook-style-dsssl package. Don't know how Ubuntu has chopped things up. |
#15
| |||
| |||
|
|
On 1/12/12 1:43 PM, Euler Taveira de Oliveira wrote: On 12-01-2012 17:28, Josh Berkus wrote: Can't open perl script "/bin/collateindex.pl": No such file or directory make[3]: *** [bookindex.sgml] Error 2 Did you install docbook-dsssl? It must contain that script. Per prior email, I needed to do a "make distclean" and re-configure. |
#16
| |||
| |||
|
|
So do we have a complete list of the packages needed on Ubuntu now, that we could add to the documentation? I grow weary of figuring this out every time I set up a new machine. |
#17
| |||
| |||
|
|
Can't open perl script "/bin/collateindex.pl": No such file or directory |
#18
| |||
| |||
|
|
=20 On 12-01-2012 17:28, Josh Berkus wrote: =20 Can't open perl script "/bin/collateindex.pl": No such file or directory =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 f= or 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 done? |
#19
| |||
| |||
|
|
On 12-01-2012 17:28, Josh Berkus wrote: I wonder if everyone noticed that the postgres sgml makefile is looking for the script in /bin (see Josh's append) |
|
I think this line in postgresql-9.1.3/doc/src/sgml/Makefile COLLATEINDEX = $(DOCBOOKSTYLE)/bin/collateindex.pl could be improved* -* maybe should read COLLATEINDEX = `which collateindex.pl` |
#20
| |||
| |||
|
|
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. |
|
No, that would not be an improvement. *If collateindex.pl were in your PATH, then configure would have found it (cf PGAC_PATH_COLLATEINDEX), and so COLLATEINDEX would be set and we'd not be here at all. |
|
Maybe the Makefile should just error out if COLLATEINDEX isn't set, rather than trying a "fallback" value that configure has already determined isn't going to work. |
![]() |
| Thread Tools | |
| Display Modes | |
| |