[MacPorts] #37311: CGAL 4.1 -- How do I set the "proper" CGAL_DIR environment variables?
#37311: CGAL 4.1 -- How do I set the "proper" CGAL_DIR environment variables? -----------------------+-------------------------------- Reporter: cdenman@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: CGAL -----------------------+-------------------------------- In the CGAL installation manual at the CGAL.org site it lists the following description for the environment variable CGAL_DIR _________________________ Variables used only when building programs (such as demos or examples) Variable Description Type Default value CGAL_DIR Full-path to the binary directory where Cgal was configured Either CMake or Environment none _________________________ If I had downloaded, configured, and compiled on my own (which I have done in the past, but much prefer Macports) I know where the CGAL folder is. However, with the Macports installation of CGAL I am not sure what the "proper" path to the binary directory "where CGAL was configured. I would guess that it might be: CGAL_DIR = /opt/local/bin Also, there is not a CGAL folder in /Applications/Macports. I notice that the Demos and Examples are installed in /opt/local/share/cgal. Would it be better to have these in a CGAL folder, or others? I am trying to get CGAL to work properly with Scilab by using the Atoms Module called CGLAB. I am noticing that the Scilab environment variables pertaining to the CGLAB are not setting up properly. One such variable needed might be CGAL_DIR. Any help would be appreciated to better understand the environment to use CGAL via an application (Scilab.app), which is not running from Terminal but from the OSX. Thanks, Craig -- Ticket URL: <https://trac.macports.org/ticket/37311> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37311: CGAL 4.1 -- How do I set the "proper" CGAL_DIR environment variables? ------------------------+-------------------------------- Reporter: cdenman@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: CGAL | ------------------------+-------------------------------- Comment (by vince@…): Hi! CGAL is a library, so it does not really install any executables (except when you compile the demos, but the demos are not part of the API). The libraries are installed in ${prefix}/lib where ${prefix} is /opt/local or the prefix you choose. Try using CGAL_DIR = /opt/local/lib I don’t use CGAL with Scilab, so I can’t help you right away. If the setting above does not solve your issue, I will have a closer look. Or, alternatively, you can ask on Scilab or CGAL discussion lists. -- Ticket URL: <https://trac.macports.org/ticket/37311#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37311: CGAL 4.1 -- How do I set the "proper" CGAL_DIR environment variables? ------------------------+--------------------- Reporter: cdenman@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: CGAL | ------------------------+--------------------- Changes (by jmr@…): * owner: macports-tickets@… => vince@… -- Ticket URL: <https://trac.macports.org/ticket/37311#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37311: CGAL 4.1 -- How do I set the "proper" CGAL_DIR environment variables? ------------------------+--------------------- Reporter: cdenman@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: CGAL | ------------------------+--------------------- Comment (by cdenman@…): Vince, Thanks for your reply -- and for keeping CGAL up to date on MacPorts! I was successful at getting CGAL to work with Scilab by using the "Atoms Module" called CGLAB. It took some doing, but after setting a few of the environment variables it worked. I reported my approach on the Scilab/Forge website. Craig -- Ticket URL: <https://trac.macports.org/ticket/37311#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37311: CGAL 4.1 -- How do I set the "proper" CGAL_DIR environment variables? ------------------------+--------------------- Reporter: cdenman@… | Owner: vince@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: CGAL | ------------------------+--------------------- Changes (by vince@…): * status: new => closed * resolution: => fixed Comment: My pleasure! Great to know you worked it out. Have fun! -- Ticket URL: <https://trac.macports.org/ticket/37311#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts