[MacPorts] #42645: ffmpeg @2.1.3 - Configure: cant find libmodplug, libpng15
#42645: ffmpeg @2.1.3 - Configure: cant find libmodplug, libpng15 ------------------------+-------------------------------- Reporter: mhfadams@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: ------------------------+-------------------------------- {{{ sudo port install ffmpeg }}} --> Error during configure: ffmpeg couldn't locate libmodplug; --> Error during configure: ffmpeg couldn't locate libpng15; Errors were solved by manually installing libmodplug and libpng15 (./configure --prefix=/opt/local) from non macport sources; -- Ticket URL: <https://trac.macports.org/ticket/42645> MacPorts <http://www.macports.org/> Ports system for OS X
#42645: ffmpeg @2.1.3 - Configure: cant find libmodplug, libpng15 -------------------------+---------------------- Reporter: mhfadams@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ffmpeg | -------------------------+---------------------- Changes (by cal@…): * owner: macports-tickets@… => devans@… * cc: mhfadams@… (removed) * cc: jeremyhu@… (added) * port: => ffmpeg Comment: You don't need to Cc yourself when reporting tickets, but please set the port field and Cc the port's maintainer. Replying to [ticket:42645 mhfadams@…]:
--> Error during configure: ffmpeg couldn't locate libmodplug;\\ --> Error during configure: ffmpeg couldn't locate libpng15;
libpng is at 1.6.9 in MacPorts; no surprise it can't find libpng 1.5. As to why libmodplug fails I don't know; you would have to attach main.log for somebody to be able to debug, but...
Errors were solved by manually installing libmodplug and libpng15 (./configure --prefix=/opt/local) from non macport sources;
That's the worst thing you could have done. You should '''never ever''' manually install software into MacPorts' prefix. Even worse, that operation has probably overwritten files installed by MacPorts, e.g. `/opt/local/lib/libpng.dylib`, which other binaries use. That might have broken these binaries. Basically you've gotten your MacPorts installation into a state where builds are going to fail for random reasons and no way for the port maintainers to help you in figuring out what went wrong. There's also no easy way to go back to a consistent state short of uninstalling all ports, deleting MacPorts and re-installing from scratch. -- Ticket URL: <https://trac.macports.org/ticket/42645#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42645: ffmpeg @2.1.3 - Configure: cant find libmodplug, libpng15 -------------------------+---------------------- Reporter: mhfadams@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: ffmpeg | -------------------------+---------------------- Changes (by devans@…): * status: new => closed * resolution: => invalid Comment: As cal@ has stated, your MacPorts installation is now in an unpredictable state due to the installation of external modules. A clean installation of ffmpeg works fine for me, so I assume the problem has something to do with your local configuration. If you would like to persue this further, please uninstall your MacPorts installation and any external software that you have installed manually and then reinstall MacPorts and any ports that you require. I suggest that you make a list of your currently installed ports as described in [wiki:Migration] and then completely nuke your MacPorts installation directory {{{ rm -rf /opt/local }}} You can then proceed with making a fresh installation of MacPorts as described in [wiki:InstallingMacPorts]. Be sure to update your ports tree to the current versions and then try the install of ffmpeg. {{{ sudo port selfupdate sudo port install ffmpeg }}} This should succeed without problems but if there are any please file a new ticket including a full description of the problem and the full MacPorts build log cited in the error message and we'll be happy to help you. -- Ticket URL: <https://trac.macports.org/ticket/42645#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42645: ffmpeg @2.1.3 - Configure: cant find libmodplug, libpng15 -------------------------+---------------------- Reporter: mhfadams@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: ffmpeg | -------------------------+---------------------- Comment (by mhfadams@…): Replying to [comment:1 cal@…]:
That's the worst thing you could have done. You should '''never ever''' manually install software into MacPorts' prefix.
--> Lessons learned. Thanks guys. I really appreciate your work, awesome stuff. -- Ticket URL: <https://trac.macports.org/ticket/42645#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts