Randy McMurchy wrote:
> On 1/21/2011 3:18 PM, Bruce Dubbs wrote:
>> There is another problem.  In the command:
>>
>> for FN in `find /usr/bin -type l`; do
>>       if [ `readlink $FN | grep "\.\./texmf"` ]; then
>>           ln -svf `readlink $FN | sed 's|\.\./texmf|../share/texmf|'` $FN
>>       fi
>> done&&
>> unset FN
>>
>> I get
>>
>> `/usr/bin/man' ->  `../share/texmf/doc/man'
>>
>> I'll have to check, but make install may be overwriting /usr/bin/man.
> 
> William had put that in the ticket, but because my installation does
> not do anything like that, I simply dismissed it. I think we may have
> to explicitly set mandir and bindir.
> 
> I am curious. On your system is /usr/share/texmf/doc/man a file or a
> directory? 

A directory:

$ ls -l /usr/share/texmf/doc/man
total 28
-rw-r--r-- 1 root root   361 Aug 21  2009 Makefile
drwxrwsr-x 2 root root 20480 Jan 21 15:01 man1
drwxrwsr-x 2 root root  4096 Jan 21 15:01 man5

> My installation it is a directory. Here is my configure command:
> 
> ./configure --prefix=/usr \
>              --bindir=/usr/share/texmf/bin \
>              --sysconfdir=/etc/texlive \
>              --mandir=/usr/share/texmf/man \
>              --infodir=/usr/share/info \
>              --disable-native-texlive-build \
>              --enable-shared \
>              --without-luatex \
>              --enable-mktextex-default \
>              --with-banner-add=" - BLFS" \
>              --with-system-libgs \
>              --with-libgs-includes=/usr/include/ghostscript \
>              --with-system-xpdf \
>              --with-system-gd \
>              --with-system-freetype2 \
>              --with-system-t1lib \
>              --with-system-libpng \
>              --with-system-zlib \
>              --with-system-zziplib \
>              --with-x
> 
> 
> Notice I set bindir and mandir to locations inside the texmf
> tree (on purpose, I don't mind taking 30 seconds to update
> the path in /etc/profile and the couple of mods to /etc/mandb.conf)
> Now look at the results:
> 
> rml@rmlinux: ~/build > ls -l /usr/bin/man
> -rwxr-xr-x 1 root root 160704 Oct 29 19:26 /usr/bin/man

> (notice the date is much earlier than the dates on my TeX files)

Right, but I was just testing out the instructions in the book.  I don't 
really need it for anything else.

> As you can see it does not install a "man" file (or symlink). Weird.
> If you feel like messing with it, set bindir and mandir to the
> appropriate places (/usr/bin and /usr/share/man) and see what happens.
> As you can see, I did not see the same behavior as you.

I'm perfectly willing to run jhalfs again and get a pristine LFS system 
to test again.  We really should have instructions that handle that if 
we can.

   -- Bruce


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to