[MacPorts] #36841: How to compile opencv with headerpad_max_install_names flag?
#36841: How to compile opencv with headerpad_max_install_names flag? ------------------------+-------------------------------- Reporter: luc.jean@… | Owner: macports-tickets@… Type: request | Status: new Priority: High | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: ------------------------+-------------------------------- Hello, I have an issue when making an app bundle for a opencv/python app with py2app. The py2app maintainer said: Shared libraries on OSX contain an absolute path to their location, and likewise all used libraries are also mentioned using an absolute path. Py2app uses macholib to rewrite those mentions to relative paths starting with '@executable_path'. For libraries that are located in /opt/local the new path requires more space than the old one, hence the error message. One way to ensure that there is enough space is the linker flag "headerpad_max_install_names". I don't know how to tell darwinports to add this flag when building opencv. I don't know either. Does anybody can help me to fix this issue? Best -- Ticket URL: <https://trac.macports.org/ticket/36841> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36841: opencv: compile with headerpad_max_install_names flag --------------------------+-------------------------------- Reporter: luc.jean@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: opencv | --------------------------+-------------------------------- Changes (by ryandesign@…): * priority: High => Normal * type: request => enhancement * port: => opencv Comment: There shouldn't be any problem with just making opencv always build with headerpad_max_install_names so we should just do that, if we can figure out how/where to insert that directive. -- Ticket URL: <https://trac.macports.org/ticket/36841#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36841: opencv: compile with headerpad_max_install_names flag --------------------------+------------------------ Reporter: luc.jean@… | Owner: stromnov@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: opencv | --------------------------+------------------------ Changes (by jmr@…): * owner: macports-tickets@… => stromnov@… -- Ticket URL: <https://trac.macports.org/ticket/36841#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36841: opencv: compile with headerpad_max_install_names flag --------------------------+------------------------ Reporter: luc.jean@… | Owner: stromnov@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: opencv | --------------------------+------------------------ Comment (by luc.jean@…): any news on this topic? -- Ticket URL: <https://trac.macports.org/ticket/36841#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36841: opencv: compile with headerpad_max_install_names flag --------------------------+------------------------ Reporter: luc.jean@… | Owner: stromnov@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: opencv | --------------------------+------------------------ Changes (by stromnov@…): * status: new => closed * resolution: => fixed Comment: Committed at r99684. -- Ticket URL: <https://trac.macports.org/ticket/36841#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36841: opencv: compile with headerpad_max_install_names flag --------------------------+------------------------ Reporter: luc.jean@… | Owner: stromnov@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: opencv | --------------------------+------------------------ Comment (by luc.jean@…): Unfortunately, I still have the same issue when trying to use py2app and opencv. Any idea? -- Ticket URL: <https://trac.macports.org/ticket/36841#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36841: opencv: compile with headerpad_max_install_names flag --------------------------+------------------------ Reporter: luc.jean@… | Owner: stromnov@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: opencv | --------------------------+------------------------ Comment (by stromnov@…): Good news: #29838. Please, try again. -- Ticket URL: <https://trac.macports.org/ticket/36841#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts