Opened 22 years ago

Closed 22 years ago

Last modified 22 years ago

#401 closed defect (invalid)

Bug in man-1,nx configure when using /static

Reported by: chris@… Owned by: lfs-book@…
Priority: normal Milestone:
Component: Book Version: CVS
Severity: normal Keywords:
Cc:

Description

When building this package the configure script searches for various programs such as cat, cmp and others When a program is found, the loop carries on and re-finds a program in /static/bin Here is an example: ++ Fcat=missing + test -f /bin/cat + eval Fcat=/bin/cat Fcat=/bin/cat ++ Fcat=/bin/cat + test -f /usr/bin/cat + test -f /usr/ucb/cat + test -f /usr/local/bin/cat + test -f /bin/cat + eval Fcat=/bin/cat Fcat=/bin/cat ++ Fcat=/bin/cat + test -f /usr/bin/cat + test -f /sbin/cat + test -f /usr/sbin/cat + test -f /static/bin/cat + eval Fcat=/static/bin/cat Fcat=/static/bin/cat ++ Fcat=/static/bin/cat as you can see, the /bin/cat is overridden by /static/bin/cat. Last found, first out. To fix this I suggest that you put export PATH=/bin:/usr/bin at the start of the man-1 package build instructions.

Change History (1)

comment:1 by chris@…, 22 years ago

Resolution: invalid
Status: newclosed

I think that I am wrong.

Note: See TracTickets for help on using tickets.