Re: Problem with japanese/tex-ptex going very slowly

2013-05-09 Thread Hiroto Kagotani
2013/5/7 Hiroki Sato h...@freebsd.org

 Stephen Montgomery-Smith step...@missouri.edu wrote
   in 5187c454.2050...@missouri.edu:

 st Many thanks for creating the texlive port!
 st
 st I am trying to install the recent japanese/tex-ptex port.  It seems to
 st spend several hours doing:
 st
 st fmtutil: running `ptex -ini   -jobname=ptex -progname=ptex ptex.ini
 st #ptex' ...


I have exactly the same problem, ptex won't finish.
I am using a newly installed FreeBSD 9.1 virtual machine.


  No, it is odd.

  Can you send me the result of the following two commands?

  % grep -A2 lastarg /usr/local/bin/fmtutil
  % find /usr/local/share/texmf* $HOME/.tex*


The first one is:

  eval lastarg=\$$#
  case $lastarg in
  \#*)  eval lastarg=\$$(($# - 1)) ;;
  esac
  inifile=`echo $lastarg | sed 's%^\*%%'`

  # See if we can find $inifile for return code:


And the result of % tail -3 /usr/local/share/texmf-config/web2c/fmtutil.cnf
---
ptex ptex - ptex.ini#ptex
ptex eptex language.def *eptex.ini#ptex
platex eptex language.dat *platex.ini#ptex
---

I'm not sure why there are 2 ptex lines.

The result of % find /usr/local/share/texmf* $HOME/.tex* is very huge.
Do you really need it?

Regards,
-- 
Hiroto Kagotani
hiroto.kagot...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Problem with japanese/tex-ptex going very slowly

2013-05-09 Thread Anton Shterenlikht

 Stephen Montgomery-Smith step...@missouri.edu wrote
   in 5187c454.2050...@missouri.edu:

 st Many thanks for creating the texlive port!
 st
 st I am trying to install the recent japanese/tex-ptex port.  It 
seems to
 st spend several hours doing:
 st
 st fmtutil: running `ptex -ini   -jobname=ptex -progname=ptex 
ptex.ini
 st #ptex' ...


I have exactly the same problem, ptex won't finish.
I am using a newly installed FreeBSD 9.1 virtual machine.

same here on ia64 -current.
However, killing the process and restarting helps.
I now have:

$ pkg info -xo full
texlive-full-20120701: print/texlive-full

Anton

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Problem with japanese/tex-ptex going very slowly

2013-05-09 Thread Hiroki Sato
Hiroto Kagotani hiroto.kagot...@gmail.com wrote
  in cac_w2odjg2yt8df5aksiptyizghn8vuo_fxpd1xtxnvqu5z...@mail.gmail.com:

hi 2013/5/7 Hiroki Sato h...@freebsd.org
hi
hi  Stephen Montgomery-Smith step...@missouri.edu wrote
hiin 5187c454.2050...@missouri.edu:
hi 
hi  st Many thanks for creating the texlive port!
hi  st
hi  st I am trying to install the recent japanese/tex-ptex port.  It seems to
hi  st spend several hours doing:
hi  st
hi  st fmtutil: running `ptex -ini   -jobname=ptex -progname=ptex ptex.ini
hi  st #ptex' ...
hi 
hi 
hi I have exactly the same problem, ptex won't finish.
hi I am using a newly installed FreeBSD 9.1 virtual machine.
hi
hi
hi   No, it is odd.
hi 
hi   Can you send me the result of the following two commands?
hi 
hi   % grep -A2 lastarg /usr/local/bin/fmtutil
hi   % find /usr/local/share/texmf* $HOME/.tex*
hi 
hi
hi The first one is:
hi 
hi   eval lastarg=\$$#
hi   case $lastarg in
hi   \#*)  eval lastarg=\$$(($# - 1)) ;;
hi   esac
hi   inifile=`echo $lastarg | sed 's%^\*%%'`
hi
hi   # See if we can find $inifile for return code:
hi 
hi
hi And the result of % tail -3 /usr/local/share/texmf-config/web2c/fmtutil.cnf
hi ---
hi ptex ptex - ptex.ini#ptex
hi ptex eptex language.def *eptex.ini#ptex
hi platex eptex language.dat *platex.ini#ptex
hi ---
hi
hi I'm not sure why there are 2 ptex lines.
hi
hi The result of % find /usr/local/share/texmf* $HOME/.tex* is very huge.
hi Do you really need it?

 I have no idea unless the necessary information is provided.

-- Hiroki


pgp26ucNcLdbj.pgp
Description: PGP signature


Re: Problem with japanese/tex-ptex going very slowly

2013-05-09 Thread Hiroki Sato
Anton Shterenlikht me...@bris.ac.uk wrote
  in 201305091538.r49fcwmj040...@mech-cluster241.men.bris.ac.uk:

me
me  Stephen Montgomery-Smith step...@missouri.edu wrote
mein 5187c454.2050...@missouri.edu:
me 
me  st Many thanks for creating the texlive port!
me  st
me  st I am trying to install the recent japanese/tex-ptex port.  It 
seems to
me  st spend several hours doing:
me  st
me  st fmtutil: running `ptex -ini   -jobname=ptex -progname=ptex 
ptex.ini
me  st #ptex' ...
me 
me 
me I have exactly the same problem, ptex won't finish.
me I am using a newly installed FreeBSD 9.1 virtual machine.
me
me same here on ia64 -current.
me However, killing the process and restarting helps.
me I now have:
me
me $ pkg info -xo full
me texlive-full-20120701: print/texlive-full

 Killing the process can lead to an incomplete installation.

 At this moment the best guess in my mind is some old TeXLive or teTeX
 installation in the home directory or somewhere prevented it from
 working, but I am not sure of the exact cause because of lack of
 information.

-- Hiroki


pgpVrCVzj5nW5.pgp
Description: PGP signature


Re: Problem with japanese/tex-ptex going very slowly

2013-05-09 Thread Hiroto Kagotani
I've identified the bug.

When I set LANG environment variable, ptex works.
If LANG is not set, fnmatch() called in default_kanji_enc() in ptexenc.c
does not return.

Although this might be a bug of fnmatch library, ptexenc.c should also
treat the case.

Regards,
-- 
Hiroto Kagotani
hiroto.kagot...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Problem with japanese/tex-ptex going very slowly

2013-05-06 Thread Stephen Montgomery-Smith
Many thanks for creating the texlive port!

I am trying to install the recent japanese/tex-ptex port.  It seems to
spend several hours doing:

fmtutil: running `ptex -ini   -jobname=ptex -progname=ptex ptex.ini
#ptex' ...

Is this normal?

If it is normal, would it be OK if japanese/tex-ptex where not included
in the standard build of print/texlive-full?
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Problem with japanese/tex-ptex going very slowly

2013-05-06 Thread Hiroki Sato
Stephen Montgomery-Smith step...@missouri.edu wrote
  in 5187c454.2050...@missouri.edu:

st Many thanks for creating the texlive port!
st
st I am trying to install the recent japanese/tex-ptex port.  It seems to
st spend several hours doing:
st
st fmtutil: running `ptex -ini   -jobname=ptex -progname=ptex ptex.ini
st #ptex' ...
st
st Is this normal?

 No, it is odd.

 Can you send me the result of the following two commands?

 % grep -A2 lastarg /usr/local/bin/fmtutil
 % find /usr/local/share/texmf* $HOME/.tex*

Stephen Montgomery-Smith step...@missouri.edu wrote
  in 5187c52e.8060...@missouri.edu:

st I installed the texlive-full port (without tex-ptex).  I tried to change
st the page size with the following command (as root):
st
st tlmgr paper letter
st cannot setup TLPDB in /usr at /usr/local/bin/tlmgr line 4965.

 Sorry, tlmgr still does not work and disabled intentionally at this
 moment because it can confuse installed files by FreeBSD's ports
 framework.  It will be fixed in the next update.

-- Hiroki


pgpGrSis3A0qZ.pgp
Description: PGP signature


Re: Problem with japanese/tex-ptex going very slowly

2013-05-06 Thread Stephen Montgomery-Smith

On 05/06/13 11:40, Hiroki Sato wrote:

Stephen Montgomery-Smith step...@missouri.edu wrote
   in 5187c454.2050...@missouri.edu:

st Many thanks for creating the texlive port!
st
st I am trying to install the recent japanese/tex-ptex port.  It seems to
st spend several hours doing:
st
st fmtutil: running `ptex -ini   -jobname=ptex -progname=ptex ptex.ini
st #ptex' ...
st
st Is this normal?

  No, it is odd.

  Can you send me the result of the following two commands?

  % grep -A2 lastarg /usr/local/bin/fmtutil
  % find /usr/local/share/texmf* $HOME/.tex*


I had a whole bunch of stuff in ~root/.texlive2011.  Cleaning it all out 
fixed ptex so that it worked instantly.  Thank you.

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org