| View previous topic :: View next topic |
| Author |
Message |
rdd n00b

Joined: 02 Sep 2004 Posts: 11
|
Posted: Wed Jan 25, 2006 3:01 pm Post subject: tetex upgrade breakage [solved] |
|
|
So i had just started getting into this whole LaTeX thing for writing reports, which I really enjoyed more than having to start openoffice (emacs is so much nicer ). But after an upgrade of tetex nothing seems to work right, and I'm quite at a loss what to do to fix it. Running a simple
which worked fine last week now results in
| Code: |
This is pdfeTeX, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5)
---! Must increase the hyph_size
(Fatal format file error; I'm stymied)
|
Tried creating a very minimal TeX document and run latex on that which resulted in the same message.
Initially I googled after hyph_size and found the file that's supposed to define it and used the value i found for it but then it just complained about the value of another variable...
Tried to downgrade to the previous tetex, didn't change anything, but I did notice a message flashing by in the emerging process (unfortunately it was covered with enough unmerging to fill my screen scrollback...) saying
| Code: |
*
* tetex-3.0_p1-r1 makes changes in /etc/texmf/fmtutil/00fmtutil.cnf
* After you update this file, please run as root
* fmtutil-sys --missing && fmtutil-sys --byfmt etex
*
|
The 00fmtutil.cnf file is a symlink to /etc/texmf/web2c/fmtutil.cnf, but I'm really not sure which "updates" it wants me to do in this file.
Trying to fmtutil-sys just results in error messages. First
| Code: |
/usr/bin/fmtutil: line 331: /texconfig/tcfmgr: No such file or directory
fmtutil: config file `fmtutil.cnf' not found.
|
and after going to that line in the file and figuring out the problem and doing
| Code: | | export TEXMFMAIN=/var/lib/texmf |
I get the message
| Code: |
tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found.
fmtutil: config file `fmtutil.cnf' not found.
|
which REALLY doesn't make sense to me since after I set the $TEXMFMAIN variable the path $TEXMFMAIN/texconfig/tcfmgr.map is perfectly valid...
Any help would be greatly appreciated, like I said, I had just started liking LaTeX but at this point even M$ Word seems like an improvement...
---
UPDATE:
After being directed in another thread to bug 90915 I tried to close down X and reemerge tetex, and then it works... I assume the root environment needed to be properly set up which it wasn't when using sudo to emerge tetex. |
|
| Back to top |
|
 |
lord_hypno n00b


Joined: 07 May 2004 Posts: 35
|
Posted: Sun Jan 29, 2006 3:43 pm Post subject: |
|
|
First: sorry 4 my poor English, I'm Italian..
I know that the post has been marked solved, I hope this is the right place to post.
I had exactly the same problem, I tried to stop X and (re-)emerge tetex from shell, but I had again the same error.
The solution 4 my case was to downgrade to tetex-3.0-r4 and to copy working config files from there: tetex-3.0_p1-r1: texmf-update corrupts multiple files.
| Code: | emerge =tetex-3.0-r4
wget -O - http://bugs.gentoo.org/attachment.cgi?id=78272 > fmtutil.cnf
wget -O - http://bugs.gentoo.org/attachment.cgi?id=78273 > texmf.cnf
cp fmtutil.cnf /etc/texmf/web2c/
cp texmf.cnf /etc/texmf/web2c/
|
_________________ Hypno |
|
| Back to top |
|
 |
rfk n00b

Joined: 19 Sep 2003 Posts: 13 Location: Melbourne, Australia
|
Posted: Tue Feb 07, 2006 4:18 am Post subject: |
|
|
| I was experiencing similar problems after the upgrade to 3.0_p1-r1. Tried the hints found in this thread but nothing worked. Eventually I discovered the "texmf-update" command, which produced the necessary files and seems to have made everything work properly. Perhaps I should have known about this command already, but it was news to me... |
|
| Back to top |
|
 |
niebie n00b

Joined: 01 Nov 2003 Posts: 56
|
Posted: Tue Feb 07, 2006 8:12 pm Post subject: |
|
|
Thanks, rfk, for pointing me to texmf-update! That just saved my day...
I had a different error message (latex.fmt doesn't match pdfetex.pool), then I emerged tetex again - without success. After the emerge I have also seen that message about fmtutil-sys (which didn't work either). But running texmf-update solved the problem. Maybe the message in the ebuild should be changed.
And maybe I should stop updating my system while doing important work on it.  |
|
| Back to top |
|
 |
Nattfodd Retired Dev


Joined: 07 Feb 2006 Posts: 62 Location: Göteborg, Sweden
|
Posted: Tue Feb 07, 2006 11:26 pm Post subject: |
|
|
Actually, there was a mess with tetex-3 eclass involving symlinks of some configuration files. It was reverted a few days later but if you have emerged tetex in between, this can cause a lot of trouble. The current solution consists in :
| Code: |
emerge sync
rm -rf /etc/texmf
emerge -av tetex
texmf-update
|
If that still doesn't work, please report in https://bugs.gentoo.org/120515
Sorry for the inconvenience. |
|
| Back to top |
|
 |
dhurt Apprentice

Joined: 14 May 2003 Posts: 278 Location: Davis, CA
|
Posted: Wed Feb 08, 2006 3:24 am Post subject: |
|
|
| niebie wrote: | Thanks, rfk, for pointing me to texmf-update! That just saved my day...
I had a different error message (latex.fmt doesn't match pdfetex.pool), then I emerged tetex again - without success. After the emerge I have also seen that message about fmtutil-sys (which didn't work either). But running texmf-update solved the problem. Maybe the message in the ebuild should be changed.
And maybe I should stop updating my system while doing important work on it.  |
Same, thanks for pointing me to this tool. Got my install working when reinstalling etc did not work. _________________ "And isn't sanity really just a one-trick pony, anyway? I mean, all you get is one trick, rational thinking, but when you're good and crazy, ooh ooh ooh, the sky's the limit!" -- The Tick |
|
| Back to top |
|
 |
evoweiss Veteran


Joined: 07 Sep 2003 Posts: 1678 Location: Edinburgh, UK
|
Posted: Tue Nov 14, 2006 6:41 am Post subject: |
|
|
Hi,
This approach didn't do the trick and I even tried unintalling and reinstalling tetex with no success. Sigh... hopefully the posting to the bugtracker will get some notice, but, as it's 'resolved', I wonder...
Alex
| Nattfodd wrote: | Actually, there was a mess with tetex-3 eclass involving symlinks of some configuration files. It was reverted a few days later but if you have emerged tetex in between, this can cause a lot of trouble. The current solution consists in :
| Code: |
emerge sync
rm -rf /etc/texmf
emerge -av tetex
texmf-update
|
If that still doesn't work, please report in https://bugs.gentoo.org/120515
Sorry for the inconvenience. |
|
|
| Back to top |
|
 |
meteozwh n00b

Joined: 27 May 2003 Posts: 46
|
Posted: Fri Dec 01, 2006 7:54 pm Post subject: |
|
|
I have the same problem.
My tetex package is 3.0_p1-r3. |
|
| Back to top |
|
 |
|