#18852 closed defect (fixed)
Can't install ushare, error configuring libdlna
Reported by: | chutsu@… | Owned by: | sfiera@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | ushare | Cc: | dbevans (David B. Evans) |
Port: | libdlna |
Description (last modified by mf2k (Frank Schima))
---> Configuring libdlna Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libdlna/work/libdlna-0.2.3" && ./configure --prefix=/opt/local " returned error 1 Command output: Checking for compiler available... Checking for libavformat ... Error, can't find libavformat ! See file "config.log" produced by configure for more details. Error: The following dependencies failed to build: libdlna libupnp Error: Status 1 encountered during processing.
Change History (16)
comment:1 Changed 16 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | libdlna removed |
Owner: | changed from macports-tickets@… to sfiera@… |
Port: | libdlna added |
Priority: | High → Normal |
comment:2 Changed 16 years ago by sfiera@…
Status: | new → assigned |
---|
comment:3 Changed 16 years ago by chutsu@…
ffmpeg is installed, provides libavformat.dylib.
While trying to install ffmpeg-devel it gives error message below: sudo port install ffmpeg-devel ---> Fetching ffmpeg-devel ---> Verifying checksum(s) for ffmpeg-devel ---> Extracting ffmpeg-devel ---> Applying patches to ffmpeg-devel ---> Configuring ffmpeg-devel ---> Building ffmpeg-devel ---> Staging ffmpeg-devel into destroot ---> Installing ffmpeg-devel @17953_0+darwin_i386 ---> Activating ffmpeg-devel @17953_0+darwin_i386 Error: Target org.macports.activate returned: Image error: /opt/local/bin/ffmpeg is being used by the active ffmpeg port. Please deactivate this port first, or use the -f flag to force the activation. Error: Status 1 encountered during processing.
comment:4 Changed 16 years ago by sfiera@…
You only need one of ffmpeg or ffmpeg-devel on your system (in fact, as of now, ffmpeg-devel wouldn't work, so it's irrelevant).
You're sure you have /opt/local/lib/libavformat.dylib (and it's not somewhere else)?
comment:5 Changed 16 years ago by chutsu@…
port contents ffmpeg Port ffmpeg contains: ... /opt/local/lib/libavformat.52.31.0.dylib /opt/local/lib/libavformat.52.dylib /opt/local/lib/libavformat.a /opt/local/lib/libavformat.dylib ...
comment:7 Changed 16 years ago by dbevans (David B. Evans)
Cc: | devans@… added; chutsu@… removed |
---|
See #188856 for patches that allow libdlna to configure and build with current ffmpeg/ffmpeg-devel. As stated previously, you can only use one of ffmpeg or ffmpeg-devel. Right now ffmpeg has just been updated and contains fixes for some regressions not in ffmpeg-devel so I would recommend that.
sudo port deactivate ffmpeg-devel sudo port install ffmpeg
comment:10 Changed 16 years ago by dbevans (David B. Evans)
I would expect that sfiera (maintainer for libdlna) will apply the patches before too long so everyone can get the benefit so best to just be patient.
comment:11 Changed 16 years ago by dbevans (David B. Evans)
Patches to libdlna committed in r48291 so selfupdate your ports, upgrade anything that is outdated and see if this allows ushare to install (works for me).
sudo port selfupdate sudo port upgrade outdated sudo port clean ushare sudo port install ushare
comment:12 Changed 16 years ago by chutsu@…
Just wondering, after the installation of ushare, a ushare.conf in the directory /opt/local/etc/ is not found, I had to create it manually, does the installation not create a file with default settings?
comment:13 Changed 16 years ago by dbevans (David B. Evans)
Looks like ushare installs
/opt/local/etc/ushare.conf.sample
to avoid overwriting a users active .conf file.
I take it the port installs properly now?
comment:14 Changed 16 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Assume fixed.
Are the ffmpeg or ffmpeg-devel ports installed on your system? (run
port installed ffmpeg\*
)Does whichever one is installed provide /opt/local/lib/libavformat.dylib? (run
port contents ffmpeg\*
)