Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13344 closed enhancement (invalid)

ffmpeg --enable-shared?

Reported by: tb@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc: bytestorm@…
Port:

Description

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

Change History (6)

comment:1 Changed 17 years ago by nox@…

Cc: bytestorm@… added
Milestone: Port Enhancements

comment:2 Changed 17 years ago by skymoo (Adam Mercer)

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

comment:3 Changed 17 years ago by tb@…

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?

comment:4 Changed 17 years ago by skymoo (Adam Mercer)

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.

comment:5 Changed 17 years ago by nox@…

Resolution: invalid
Status: newclosed

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.

comment:6 Changed 16 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.