I list all issues below. If anyone can confirm/correct, I'd appreciate it.
Thanks.
- "make prebuilt" fails with tar error
Code: Select all
tar: i586-mingw32msvc/lib/libdts.a: Cannot create symlink to `/home/jb/vlc-2.0/contrib/i586-mingw32msvc/lib/libdca.a': No such file or directory
tar: Error exit delayed from previous errors
make: *** [prebuilt] Error 2
- "stat" errors for i586-pc-something
Code: Select all
$ mv i586-pc-something ..
$ cd ../i586-pc-something
$ change_prefix.sh
There is one thing I want to confirm though. After the above executes, the contrib directory will be C:\msys\1.0\home\gnosygnu\vlc\contrib\i586-mingw32msvc. This differs from 1.1 wherein the contrib directory ended up in C:\msys\1.0\win32.
- "change_prefix.sh" reports Permission denied error
Code: Select all
mv: cannot move `./change_prefix.sh.tmp' to `./change_prefix.sh': Permission denied
- "Bootstrap" section fails for "cp -v /usr/win32/share/aclocal/* m4/"
Code: Select all
cp: cannot stat `/usr/win32/share/aclocal/*': No such file or directory
- "Bootstrap" section omits "bootstrap"
- configure fails with "Could not find lua"
Code: Select all
configure: error: Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error.
Eventually I realized that it was not seeing my contribs. As I indicated above, they are in C:\msys\1.0\home\gnosygnu\vlc\contrib\i586-mingw32msvc. In order for configure to pick up the location, I added a --with-contrib=contrib/i586-mingw32msvc
Code: Select all
sh extras/package/win32/configure.sh --host=i586-pc-mingw32msvc --with-contrib=contrib/i586-mingw32msvc --disable-nls
- make fails b/c of missing libpng files
Code: Select all
/bin/sed: can't read /home/gnosygnu/vlc/contrib/i586-mingw32msvc/lib/libpng.la: No such file or directory
libtool: link: `/home/gnosygnu/vlc/contrib/i586-mingw32msvc/lib/libpng.la' is not a valid libtool archive
- make fails b/c of missing commands for moc, rcc, uic
Code: Select all
/bin/sh: moc: command not found
make[5]: *** [main_interface.moc.cpp] Error 127
/bin/sh: rcc: command not found
make[5]: *** [resources.cpp] Error 127
/bin/sh: uic: command not found
make[5]: *** [ui/equalizer.h] Error 127
Code: Select all
source: C:\msys\1.0\home\gnosygnu\vlc\contrib\i586-mingw32msvc\moc.exe
target: C:\msys\1.0\bin\moc.exe
- make fails with compile error in gui/qt with "expected unqualified-id before 'char'"
Code: Select all
In file included from dialogs_provider.cpp:42:0:
dialogs/preferences.hpp: At global scope:
dialogs/preferences.hpp:72:19: error: expected unqualified-id before 'char'
dialogs/preferences.hpp:72:18: error: expected ';' at end of member declaration
dialogs/preferences.hpp:72:24: error: expected unqualified-id before ',' token
Explicitly, I did the following
- opened up C:\msys\1.0\home\gnosygnu\vlc\include\vlc_windows_interfaces.h
- added "#undef small" on a new line directly underneath "#include <objbase.h>"
- make package-win32-base does not exist
Code: Select all
make: *** No rule to make target `package-win32-base'. Stop.
- make package-win32-exe fails due to misssing commands for git, svn, makensis
Code: Select all
git clone git://git.videolan.org/npapi-vlc.git npapi-vlc
make: git: Command not found
etc...
For makensis I got tired and ended up commenting the lines in Makefile
Code: Select all
# Create package
# if makensis -VERSION >/dev/null 2>&1; then \
# MAKENSIS="makensis"; \
# elif [ -x "/cygdrive/c/Program Files/NSIS/makensis" ]; then \
# MAKENSIS="/cygdrive/c/Program\ Files/NSIS/makensis"; \
# elif [ -x "$(PROGRAMFILES)/NSIS/makensis" ]; then \
# MAKENSIS="$(PROGRAMFILES)/NSIS/makensis"; \
# elif wine --version >/dev/null 2>&1; then \
# MAKENSIS="wine C:/Program\ Files/NSIS/makensis.exe"; \
# else \
# echo 'Error: cannot locate makensis tool'; exit 1; \
# fi; \
# eval "$$MAKENSIS $(win32_destdir)/spad.nsi"; \
# eval "$$MAKENSIS $(win32_destdir)/vlc.win32.nsi"