[MacPorts] #13344: ffmpeg --enable-shared?
#13344: ffmpeg --enable-shared? -------------------------+-------------------------------------------------- Reporter: tb@djh.dk | Owner: macports-dev@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.5.2 Keywords: | -------------------------+-------------------------------------------------- Hi I have installed ffmpeg with success, but to be able to combine it with ffmpeg-php or to be able to install ffmpeg-php i need ffmpeg to be configured as shared The way to do it by normall install is "./configure --enable-shared" something like that anyway. Is there a way to make it shared when installing ffmpeg with macports. I have read "man port 1" but couldn't find anything there, but then again, I am very new to this? I am running Mac OS 10.4.10 server Dual 867 MHz Power PC G4 Thanks in advance Tor Berg -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13344> MacPorts </projects/macports> Ports system for Mac OS
#13344: ffmpeg --enable-shared? --------------------------+------------------------------------------------- Reporter: tb@djh.dk | Owner: macports-dev@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.5.2 Resolution: | Keywords: --------------------------+------------------------------------------------- Changes (by nox@macports.org): * cc: bytestorm@gmail.com (added) * milestone: => Port Enhancements -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13344#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13344: ffmpeg --enable-shared? --------------------------+------------------------------------------------- Reporter: tb@djh.dk | Owner: macports-dev@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.5.2 Resolution: | Keywords: --------------------------+------------------------------------------------- Comment (by ram@macports.org): looking at the Portfile, ffmpeg is already being built with the --enable- shared option: {{{ configure.args --prefix=${prefix} --disable-vhook \ --mandir=${prefix}/share/man \ --enable-shared --enable-pthreads }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13344#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13344: ffmpeg --enable-shared? --------------------------+------------------------------------------------- Reporter: tb@djh.dk | Owner: macports-dev@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.5.2 Resolution: | Keywords: --------------------------+------------------------------------------------- Comment (by tb@djh.dk): Thanks for that, it's just that I get this error when trying to install, manually, "ffmpeg_php 0.5.1" : "checking for ffmpeg headers... configure: error: ffmpeg headers not found. Make sure you've built ffmpeg as shared libs using the --enable- shared option" Any idea what causes the error then? Even better, is there a way to install ffmpeg-php via Macports? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13344#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13344: ffmpeg --enable-shared? --------------------------+------------------------------------------------- Reporter: tb@djh.dk | Owner: macports-dev@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.5.2 Resolution: | Keywords: --------------------------+------------------------------------------------- Comment (by ram@macports.org): From the error it looks like the problem is that it can't find the ffmpeg headers. You'll need to point ffmpeg_php to the ffmpeg headers from MacPorts. configure might have an option where you can specify this. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13344#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13344: ffmpeg --enable-shared? --------------------------+------------------------------------------------- Reporter: tb@djh.dk | Owner: macports-dev@lists.macosforge.org Type: enhancement | Status: closed Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.5.2 Resolution: invalid | Keywords: --------------------------+------------------------------------------------- Changes (by nox@macports.org): * status: new => closed * resolution: => invalid Comment: Are you trying to install ffmpeg_php through the MacPorts' PHP' PECL? If not, you need to tell ffmpeg_php to search ffmpeg's headers and libraries in {{{/opt/local/include}}} and {{{/opt/local/lib}}}. I'm closing this ticket as invalid. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13344#comment:5> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts