[Ffmpeg-devel] Re: [RFC] ffmpeg-windows mailinglist?

Víctor Paesa wzrlpy
Thu Aug 3 19:07:45 CEST 2006


Hi,

> On Thu, 2006-08-03 at 18:21 +0200, Diego Biurrun wrote:
>> On Thu, Aug 03, 2006 at 09:00:02AM +0200, Luca Abeni wrote:
>> >
>> > Ok, I tried, and I had 3 small problems:
>> > 2) As already noticed by others, executables are linked to
>> > libav{util,codec,format}-major.dll, but libav{util,codec,format}.dll
>> are
>> > installed. I fixed this by changing $(SLIBNAME) with
>> > $(SLIBNAME_WITH_MAJOR) in the install-lib-shared rule. But I do not
>> know
>> > if this is the right solution (anyway, linking to one library and
>> > installing a different one seems strange ;-)
>>
>> Please try the attached patch.
> Ok; I'll test it as soon as I find a windows machine. But looking at the
> patch I think it should work (unless I am misunderstanding it).

No, it fails:

make -C libavutil   install-libs
make[1]: Entering directory
`/home/wzrlpy/src/FFMpeg-20060802-5893/ffmpeg/libavutil'
install -d "C:\Program Files/FFmpeg/lib"
install -s -m 755 avutil.dll \
        C:\Program Files/FFmpeg/lib/avutil-49.0.0.dll
install: installing multiple files, but last argument,
`Files/FFmpeg/lib/avutil-49.0.0.dll' is not a directory
Try `install --help' for more information.
make[1]: *** [install-lib-shared] Error 1
make[1]: Leaving directory
`/home/wzrlpy/src/FFMpeg-20060802-5893/ffmpeg/libavutil'
make: *** [install-libs] Error 2

For that error, a few quotes seem the solution:

--- ffmpeg-old/common.mak       Wed Aug  2 18:35:51 2006
+++ ffmpeg/common.mak   Thu Aug  3 18:52:17 2006
@@ -61,16 +61,12 @@

 install-lib-shared: $(SLIBNAME)
        install -d "$(shlibdir)"
-ifeq ($(CONFIG_MINGW),yes)
-       install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)"
-else
        install $(INSTALLSTRIP) -m 755 $(SLIBNAME) \
-               $(shlibdir)/$(SLIBNAME_WITH_VERSION)
+               "$(shlibdir)/$(SLIBNAME_WITH_VERSION)"
        ln -sf $(SLIBNAME_WITH_VERSION) \
-              $(shlibdir)/$(SLIBNAME_WITH_MAJOR)
+              "$(shlibdir)/$(SLIBNAME_WITH_MAJOR)"
        ln -sf $(SLIBNAME_WITH_VERSION) \
-              $(shlibdir)/$(SLIBNAME)
-endif
+              "$(shlibdir)/$(SLIBNAME)"

 install-lib-static: $(LIB)
        install -d "$(libdir)"
@@ -85,13 +81,9 @@
 uninstall: uninstall-libs uninstall-headers

 uninstall-libs:
-ifeq ($(CONFIG_MINGW),yes)
-       -rm -f $(prefix)/$(SLIBNAME)
-else
        -rm -f $(libdir)/$(SLIBNAME_WITH_MAJOR) \
               $(libdir)/$(SLIBNAME)            \
               $(libdir)/$(SLIBNAME_WITH_VERSION)
-endif
        -rm -f $(libdir)/$(LIB)

 uninstall-headers:



And now I got

make[1]: Entering directory
`/home/wzrlpy/src/FFMpeg-20060802-5893/ffmpeg/libavutil'
install -d "C:\Program Files/FFmpeg/lib"
install -s -m 755 avutil.dll \
"C:\Program Files/FFmpeg/lib/avutil-49.0.0.dll"
ln -sf avutil-49.0.0.dll \
       "C:\Program Files/FFmpeg/lib/avutil-49.dll"
ln: creating symbolic link `C:\\Program Files/FFmpeg/lib/avutil-49.dll' to
`avutil-49.0.0.dll': No such file or directory
make[1]: *** [install-lib-shared] Error 1
make[1]: Leaving directory
`/home/wzrlpy/src/FFMpeg-20060802-5893/ffmpeg/libavutil'
make: *** [install-libs] Error 2

because avutil-49.0.0.dll is not created in MinGW.

Regards,
V?ctor Paesa




More information about the ffmpeg-devel mailing list