[MacPorts] #50795: mathgl doesn't pick up gsl
#50795: mathgl doesn't pick up gsl ------------------------+-------------------------------- Reporter: annacegu@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: mathgl ------------------------+-------------------------------- I am compiling a C++ program that uses mathgl, and I am getting the following error: /opt/local/include/mgl2/datac_cf.h:30:8: error: definition of type 'gsl_matrix' conflicts with typedef of the same name struct gsl_matrix; ^ /opt/local/include/gsl/gsl_matrix_double.h:50:3: note: 'gsl_matrix' declared here } gsl_matrix; Looking at data_cf.h, it seems like MGL_HAVE_GSL is switched off, so mathgl is not picking up GSL headers. -- Ticket URL: <https://trac.macports.org/ticket/50795> MacPorts <https://www.macports.org/> Ports system for OS X
#50795: mathgl doesn't pick up gsl -------------------------+---------------------------- Reporter: annacegu@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: mathgl | -------------------------+---------------------------- Changes (by mf2k@…): * owner: macports-tickets@… => mschamschula@… Comment: In the future, please use WikiFormatting and Cc the port maintainers ({{{port info --maintainers mathgl}}}), if any. -- Ticket URL: <https://trac.macports.org/ticket/50795#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50795: mathgl doesn't pick up gsl -------------------------+---------------------------- Reporter: annacegu@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: mathgl | -------------------------+---------------------------- Description changed by mf2k@…: Old description:
I am compiling a C++ program that uses mathgl, and I am getting the following error: /opt/local/include/mgl2/datac_cf.h:30:8: error: definition of type 'gsl_matrix' conflicts with typedef of the same name struct gsl_matrix; ^ /opt/local/include/gsl/gsl_matrix_double.h:50:3: note: 'gsl_matrix' declared here } gsl_matrix;
Looking at data_cf.h, it seems like MGL_HAVE_GSL is switched off, so mathgl is not picking up GSL headers.
New description: I am compiling a C++ program that uses mathgl, and I am getting the following error: {{{ /opt/local/include/mgl2/datac_cf.h:30:8: error: definition of type 'gsl_matrix' conflicts with typedef of the same name struct gsl_matrix; ^ /opt/local/include/gsl/gsl_matrix_double.h:50:3: note: 'gsl_matrix' declared here } gsl_matrix; }}} Looking at data_cf.h, it seems like MGL_HAVE_GSL is switched off, so mathgl is not picking up GSL headers. -- -- Ticket URL: <https://trac.macports.org/ticket/50795#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50795: mathgl doesn't pick up gsl -------------------------+---------------------------- Reporter: annacegu@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: mathgl | -------------------------+---------------------------- Comment (by mschamschula@…): O.K.: A few things: 1) mathgl has since been upgraded to version 2.3.4. 2) Indeed, the cmake switches for gsl and hdf5 needed to be added. 3) As I was already running 2.3.4 locally, I accidentally rev-bumped to @2.3.4_1. Please use Portfile-mathgl.2.diff which gives @2.3.4_0. Also, I'm thinking some may want qt4 or qt5 variants. -- Ticket URL: <https://trac.macports.org/ticket/50795#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#50795: mathgl doesn't pick up gsl -------------------------+---------------------------- Reporter: annacegu@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: mathgl | -------------------------+---------------------------- Comment (by mschamschula@…): Well, I moved some option switches from the patch file to the Portfile. Please use Portfile-mathgl.3.diff and the updated patch- CMakeLists.txt.diff. -- Ticket URL: <https://trac.macports.org/ticket/50795#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#50795: mathgl doesn't pick up gsl -------------------------+---------------------------- Reporter: annacegu@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: mathgl | -------------------------+---------------------------- Comment (by annacegu@…): Thanks so much for you help. I tried installing 2.3.4 from macports but the latest I get is 2.3.2_2. How do I get the latest version? -- Ticket URL: <https://trac.macports.org/ticket/50795#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#50795: mathgl doesn't pick up gsl -------------------------+---------------------------- Reporter: annacegu@… | Owner: mschamschula@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: mathgl | -------------------------+---------------------------- Changes (by mojca@…): * status: new => closed * version: 2.3.4 => * resolution: => fixed Comment: Committed in r146440. annacegu: wait for about an hour, then run selfupdate again. -- Ticket URL: <https://trac.macports.org/ticket/50795#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#50795: mathgl doesn't pick up gsl -------------------------+---------------------------- Reporter: annacegu@… | Owner: mschamschula@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: mathgl | -------------------------+---------------------------- Comment (by mschamschula@…): Bizarre. The changes in Portfile-mathgl.3.diff did not reflect the OpenMP and threads options. Fixed in Portfile-mathgl.4.diff. -- Ticket URL: <https://trac.macports.org/ticket/50795#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts