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? 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)


rml@rmlinux: ~/build > ls -l /usr/share/texmf/doc/man
total 28
-rw-r--r-- 1 root root   361 Dec 31 18:44 Makefile
drwxr-xr-x 2 root root 20480 Dec 31 18:44 man1
drwxr-xr-x 2 root root  4096 Dec 31 18:44 man5


rml@rmlinux: ~/build > ls -l /usr/share/texmf/bin/tex
-rwxr-xr-x 1 root root 277068 Dec 31 19:32 /usr/share/texmf/bin/tex


rml@rmlinux: ~/build > ls -l /usr/share/texmf/bin/man
ls: cannot access /usr/share/texmf/bin/man: No such file or directory

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.

-- 
Randy

-- 
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