Ticket #67 (closed task: fixed)

Opened 11 years ago

Last modified 11 years ago

Man-1.6d misconfigured

Reported by: alexander@… Owned by: clfs-commits@…
Priority: major Milestone: CLFS Sysroot 1.0.0
Component: BOOK Version: CLFS Sysroot 1.0.0
Keywords: Cc:

Description

In CLFS-2.0.0, after installation of Man, we have in man.conf:

REFER /mnt/clfs/cross-tools/bin/refer

Also it would be nice if "+lang none" is appended to the ./configure line, to disable attempts to search for translated messages that only result in a useless warning about $NLSPATH.

Change History

comment:1 Changed 11 years ago by alexander@…

Forgot to say that this is from a Debian Etch host.

comment:2 Changed 11 years ago by alexander@…

man.conf also refers to /usr/bin/less, although the proper setting is /bin/less.

Maybe it is better to overwrite the man.conf file with a proper version that the reader must download together with packages and patches.

comment:3 Changed 11 years ago by jciccone

  • Status changed from new to closed
  • Resolution set to fixed

This sed changes the default path that configure looks for executables. It will now look in ${CLFS}/{,usr/}{sbin,bin}.

"/PREPATH=/s@=.*@=\"$(eval echo ${CLFS}/{,usr/}{sbin,bin})\"@g"

This sed leaves the conf_script, the script that generates man.conf, with ${CLFS} as a prefix to all the paths. The following sed was added to strip them away.

cp conf_script{,.orig}
sed "s@${CLFS}@@" conf_script.orig > conf_script

This change in r2191 fixes this ticket.

Note: See TracTickets for help on using tickets.