[MacPorts] #17976: add a new variant for db4 support
#17976: add a new variant for db4 support --------------------------------+------------------------------------------- Reporter: tinhkyaw@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.7.0 Keywords: db4 | Port: php5 --------------------------------+------------------------------------------- I added a new variant to my local php5 Portfile for db4 support so that I could use db4 via dba extension in php. I would like to contribute my changes back to macports. Can someone please review my changes and let me know if you find any issues? Thanks very much, Tin -- Ticket URL: <http://trac.macports.org/ticket/17976> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17976: php5: add a new variant for db4 support --------------------------------+------------------------------------------- Reporter: tinhkyaw@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.7.0 Keywords: db4 | Port: php5 --------------------------------+------------------------------------------- Changes (by blb@…): * cc: jwa@… (added) * owner: macports-tickets@… => ryandesign@… -- Ticket URL: <http://trac.macports.org/ticket/17976#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17976: php5: add a new variant for db4 support --------------------------------+------------------------------------------- Reporter: tinhkyaw@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: db4 | Port: php5, php5-dba --------------------------------+------------------------------------------- Changes (by ryandesign@…): * port: php5 => php5, php5-dba Comment: This will be solved by the new php5-dba port; see #20056. -- Ticket URL: <http://trac.macports.org/ticket/17976#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17976: php5-dba: add a new variant for db4 support --------------------------------+------------------------------------------- Reporter: tinhkyaw@… | Owner: ryandesign@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: db4 | Port: php5-dba --------------------------------+------------------------------------------- Changes (by ryandesign@…): * status: new => assigned * port: php5, php5-dba => php5-dba Comment: php5-dba was created in r58585, but I was thus far unable to figure out how to inform it where MacPorts installs db4 (I keep getting "`checking for db4 major version... configure: error: Header contains different version`"), so that variant is still missing for now. -- Ticket URL: <http://trac.macports.org/ticket/17976#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17976: php5-dba: add a new variant for db4 support --------------------------------+------------------------------------------- Reporter: tinhkyaw@… | Owner: ryandesign@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: db4 | Port: php5-dba --------------------------------+------------------------------------------- Comment(by tinhkyaw@…): Hi Ryan, Thanks for looking into the issue. Now I remember running into similar issues before. I think php5 compilation script ignores the prefix argument passed in --with-db4= and just looks for everything under /usr/local. Hence, my hacky solution was to make the following 2 symlinks in order for things to work: 1. ln -s /opt/local/include/db46 /usr/local/include/db4.6 2. ln -s /opt/local/lib/db46/* /usr/local/lib/ I think the right thing to do is probably to track down fix the issue in the src for php5.. -- Ticket URL: <http://trac.macports.org/ticket/17976#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17976: php5-dba: add a new variant for db4 support --------------------------------+------------------------------------------- Reporter: tinhkyaw@… | Owner: ryandesign@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: db4 | Port: php5-dba --------------------------------+------------------------------------------- Comment(by robert@…): FYI, I added the db4 variant patch above to my local php5-dba Portfile but was getting the same error: "checking for db4 major version... configure: error: Header contains different version". After adding @tinhkyaw's suggested symbolic links, I was able to install and test it successfully. -- Ticket URL: <https://trac.macports.org/ticket/17976#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts