#7127: xmlto-0.0.27
-------------------------+-----------------------
 Reporter:  fo           |       Owner:  fo
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  7.9
Component:  BOOK         |     Version:  SVN
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+-----------------------
Changes (by fo):

 * owner:  blfs-book@… => fo
 * status:  new => assigned


Comment:

 Bruce, thanks for your post. Solved the problem. Taking the ticket, if you
 don't mind, but can give it back to you, if you wish.

 Since the first time I saw the bug, I assumed it to be related to the text
 browser, and describe below several build-tests that I had performed,
 without success. Today, I included other build-tests, and finally
 '''build-test 5 worked'''.

 I didn't want to test with other text browsers, because it always worked
 with links, IIRC.

 You have probably other text browser(s) installed, I only have ''links''
 (with graphics enabled).

 I have performed five build-tests of xmlto-0.27

 1. by the book
 2. adding the switch ''--with-webbrowser=/usr/bin/links''
 3. adding the switch ''--with-webbrowser="/usr/bin/links"''
 4. adding the switch ''--with-webbrowser=links''
 5. adding ''LINKS="/usr/bin/links"'' to the configure by the book

 and had for 1, 2 and 3:

 {{{
 $ grep -i links ...log
   --with-webbrowser=[w3m|lynx|links|any]
   LINKS       Name and path of the `links/elinks' browser.
 checking for elinks... elinks
 }}}

 and one more line for 4:

 {{{
 checking for default web browser... links
 }}}

 However, for 5, I had:

 {{{
   --with-webbrowser=[w3m|lynx|links|any]
   LINKS       Name and path of the `links/elinks' browser.
 checking for elinks... /usr/bin/links
 }}}

 Solution

 {{{
 If building against links, issue:

 LINKS="/usr/bin/links" \
 ./configure --prefix=/usr
 }}}

 This is a bug probably introduced by a modification which is not in the
 ''NEWS'', only in the ''xmlto-0.0.27/ChangeLog'':

 {{{
 2015-01-21  Ondrej Vasik <[email protected]>
         * configure.in: prefer elinks over links nowadays (suggested by
         mathiaswe from Gentoo)
 }}}

 Relevant modifications (I suppose), comparing sources 0.26 to 0.27:

 {{{
 ...
 -  LINKS       Name and path of the `links' browser.
 +  LINKS       Name and path of the `links/elinks' browser.
 ...
 -# Extract the first word of "links", so it can be a program name with
 args.
 -set dummy links; ac_word=$2
 +# Extract the first word of "elinks", so it can be a program name with
 args.
 +set dummy elinks; ac_word=$2
 ...
 -for as_dir in $PATH
 +for as_dir in links
 ...
 -  test -z "$ac_cv_path_LINKS" && ac_cv_path_LINKS="links"
 +  test -z "$ac_cv_path_LINKS" && ac_cv_path_LINKS="elinks"
 ...
 -AC_ARG_VAR([LINKS], [Name and path of the `links' browser.])
 -AC_PATH_PROG([LINKS], [links], [links])
 +AC_ARG_VAR([LINKS], [Name and path of the `links/elinks' browser.])
 +AC_PATH_PROG([LINKS], [elinks], [elinks], [links])
 ...
 }}}

 I am particulary suspicious with the test.

--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/7127#comment:6>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to