[Ipopt-tickets] [Ipopt] #92: configure mistakes pdflatex as mex

Ipopt coin-trac at coin-or.org
Sun Mar 29 13:13:30 EDT 2009


#92: configure mistakes pdflatex as mex
-------------------+--------------------------------------------------------
Reporter:  stefan  |       Owner:  ipopt-team
    Type:  defect  |      Status:  new       
Priority:  normal  |   Component:  Ipopt     
 Version:          |    Severity:  normal    
Keywords:          |  
-------------------+--------------------------------------------------------
 Hi,

 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)...
 Terminated
 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
 (./conftest.c
 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>
                    i
 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

-- 
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/92>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.



More information about the Ipopt-tickets mailing list