Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13986 closed defect (fixed)

doxygen: replace tetex with texlive

Reported by: cssdev Owned by: cssdev
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

Per #12913, replace the doxygen dependency on tetex with texlive.

Attachments (1)

patch-Portfile.diff (737 bytes) - added by cssdev 17 years ago.
depend on texlive instead of teTeX

Download all attachments as: .zip

Change History (6)

comment:1 Changed 17 years ago by cssdev

Status: newassigned

Working on this ... trying to cleanly remove teTeX from my system was not a simple matter of sudo port uninstall teTeX. All this to make a simple change in teh doxygen port. I should make a minimal variant that builds doxygen without any of the heavy dependencies...

comment:2 Changed 17 years ago by cssdev

I'm stymied ...

echo "Running latex..."
Running latex...
pdflatex doxygen_manual.tex 
This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6)
kpathsea: Running mktexfmt pdflatex.fmt
fmtutil: running `pdftex -ini   -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx *pdflatex.ini' ...
! I can't read pdftex.pool; bad path?
Error: `pdftex -ini  -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx *pdflatex.ini' failed

###############################################################################
fmtutil: Error! Not all formats have been built successfully.
Visit the log files in directory
  /Users/css/.texmf-var/web2c
for details.
###############################################################################

This is a summary of all `failed' messages and warnings:
`pdftex -ini  -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx *pdflatex.ini' failed
warning: kpathsea: mktexfmt output `! I can't read pdftex.pool; bad path?' instead of a filename.
I can't find the format file `pdflatex.fmt'!
make: *** [doxygen_manual.pdf] Error 1
[

Changed 17 years ago by cssdev

Attachment: patch-Portfile.diff added

depend on texlive instead of teTeX

comment:3 in reply to:  2 Changed 17 years ago by milosh@…

Replying to css@macports.org:

I'm stymied ...

> ###############################################################################
> fmtutil: Error! Not all formats have been built successfully.
> Visit the log files in directory
>   /Users/css/.texmf-var/web2c
> for details.
> ###############################################################################

Looks like the post-activate phase of texlive_base failed. You can try doing manually

sudo mktexlsr
sudo fmtutil-sys --all
sudo updmap-sys --syncwithtrees

And see if it repairs things. If not, you will probably have to clean and reinstall texlive_base.

By the way, there is a minimal variant for texlive (but it is still a big install).

comment:4 Changed 17 years ago by cssdev

Resolution: fixed
Status: assignedclosed

That did the trick! Due to the fact that my teTeX files failed to uninstall properly, I had to manually activate much of texlive. That probably avoided the post-activate phase from running. Thanks for the help!

I committed the change to doxygen in r33605.

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.