Opened 11 years ago

Closed 11 years ago

#92 closed defect (fixed)

configure mistakes pdflatex as mex

Reported by: stefan Owned by: ipopt-team
Priority: normal Component: Ipopt
Version: Severity: normal
Keywords: Cc:



I do not have Matlab but PDFLatex on my machine. PDFLatex brings an executable mex which is also in the path.

configure of Ipopt/trunk now thinks that this mex has something tod o with matlab and also tries to compile a C-file with it. Since this C-file look so much not alike LaTeX, my mex wants to ask the user what to do, and by that blocks the whole configure process. This is, what happens when I kill the mex process after a while:

checking for matlab installation... /usr
checking for Matlab executable extension (MEXSUFFIX)...
error running MEX compiler

It generated a file named "5" which content is

This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6)
entering extended mode
This is MeX  Version 1.05  18 XII 1993  (B. Jackowski & M. Ry\'cko)
! You can't use 'macro parameter character #' in vertical mode.
l.1 #
     include "mex.h"
? ! Interruption.
<to be read again>
l.1 #i
      nclude "mex.h"

Can the check for matlab be extended so that it does not takes pdflatex as matlab by mistake?

Best, Stefan

Change History (1)

comment:1 Changed 11 years ago by andreasw

  • Resolution set to fixed
  • Status changed from new to closed

should be fixed in trunk now.

Note: See TracTickets for help on using tickets.