[MacPorts] #26218: build of glpk +doc fails

MacPorts noreply at macports.org
Mon Aug 23 15:44:50 PDT 2010


#26218: build of glpk +doc fails
----------------------------------+-----------------------------------------
 Reporter:  macosx12345@…         |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.9.1                                
 Keywords:                        |        Port:  glpk                                 
----------------------------------+-----------------------------------------
 1) On Mac OS X 10.6.4 with MacPorts 1.9.1, building the documentation of
 `glpk` fails: there are 4 `"missing $ inserted"` errors when running
 texi2pdf on gmpl.texi . When compiling manually, it is enough to press
 enter to accept the 4 suggestions.

 I don't understand how to fix this in a clean way, since the incriminated
 latex code (line 2757, `$$ \left\{
 \matrix{=\cr\leq\cr\geq\cr}\right\}b_0-a_0 $$`) compiles when put in a
 LaTeX document.

 However, I notice that the recent versions of glpk (at least 4.43 and
 4.44) come with a precompiled `gmpl.pdf`, thus I suggest upgrading the
 port to, say, version 4.44 and skipping the compilation of `gmpl.pdf`.

 2) Additionnally, there is a slight dependency problem. When compiling
 `glpk.tex` the LaTeX package `xy.sty` is used, but it's not provided by
 the texlive port nor one of its dependencies. One has to also install the
 `texlive-pictures` port.

 I attach to this ticket an update proposal to the Portfile that solves
 both issues and upgrades the port to version 4.44.

-- 
Ticket URL: <http://trac.macports.org/ticket/26218>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list