Opened 18 years ago

Closed 18 years ago

#67 closed task (fixed)

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 (3)

comment:1 by alexander@…, 18 years ago

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

comment:2 by alexander@…, 18 years ago

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 by Joe Ciccone, 18 years ago

Resolution: fixed
Status: newclosed

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.