Can't compile VLC with cygwin

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
besnia
New Cone
New Cone
Posts: 2
Joined: 06 Nov 2006 06:44

Can't compile VLC with cygwin

Postby besnia » 07 Nov 2006 08:37

Hi everyone,

After reading a few forums and readme file followed to the dot and many tries to compile I still can't. I am a newbie so please bear with me and any pointers would be greatly appreciated. I tried the latest SVN src code. This is what goes on during the configure stage:
$ ../configure-vlc
+ AUTOMAKESUCKS=no
+ INSTALLSUCKS=no
+ ACLOCAL_ARGS='-I m4'
+ test -d extras/contrib/bin
+ rm -f m4/autoconf260.m4
+ case "$(autoconf --version|head -1)" in
++ autoconf --version
++ head -1
+ amvers=no
+ for v in '"-1.9"' '"19"' '"-1.8"' '"18"' '"-1.7"' '"17"'
+ automake-1.9 --version
+ amsuff=-1.9
+ amvers=-1.9
+ break
+ test -1.9 = no
+ case "${amvers}" in
+ libtoolize=no
+ glibtoolize --version
+ libtoolize --version
+ libtoolize=libtoolize
+ test libtoolize = no
+ gettextize --version
++ gettextize --version
++ sed -e '1s/[^0-9]*//' -e q
+ expr 0.15 '>=' 0.11.5
+ autopoint=autopoint
+ GETTEXT=yes
+ pkg-config --version
+ PKGCONFIG=yes
+ aclocal=aclocal-1.9
+ automake=automake-1.9
+ autoconf=autoconf
+ autoheader=autoheader
+ set +x
generating modules/**/Makefile.am and m4/private.m4
.................................................................. done.
+ rm -f aclocal.m4 configure config.log config.h config.h.in
+ rm -Rf 'autom4te*.cache'
+ rm -f config.guess config.sub missing mkinstalldirs compile depcomp install-sh

+ rm -Rf autotools
+ mkdir autotools
$
+ rm -f ABOUT-NLS
+ rm -Rf intl
+ rm -f stamp-builtin 'stamp-h*' mozilla/stamp-pic
+ rm -f vlc-config.in
+ printf ''
+ '[' yes '!=' yes ']'
+ libtoolize --copy --force
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Putting files in AC_CONFIG_AUX_DIR, `autotools'.
+ test -f ltmain.sh
+ autopoint -f
Copying file ABOUT-NLS
Copying file autotools/config.rpath
Creating directory intl
Copying file intl/ChangeLog
Copying file intl/Makefile.in
Copying file intl/VERSION
Copying file intl/bindtextdom.c
Copying file intl/config.charset
Copying file intl/dcgettext.c
Copying file intl/dcigettext.c
Copying file intl/dcngettext.c
Copying file intl/dgettext.c
Copying file intl/dngettext.c
Copying file intl/eval-plural.h
Copying file intl/explodename.c
Copying file intl/finddomain.c
Copying file intl/gettext.c
Copying file intl/gettextP.h
Copying file intl/gmo.h
Copying file intl/hash-string.h
Copying file intl/intl-compat.c
Copying file intl/l10nflist.c
Copying file intl/libgnuintl.h
Copying file intl/loadinfo.h
Copying file intl/loadmsgcat.c
Copying file intl/localcharset.c
Copying file intl/locale.alias
Copying file intl/localealias.c
Copying file intl/localename.c
Copying file intl/ngettext.c
Copying file intl/os2compat.c
Copying file intl/os2compat.h
Copying file intl/osdep.c
Copying file intl/plural-exp.c
Copying file intl/plural-exp.h
Copying file intl/plural.c
Copying file intl/plural.y
Copying file intl/ref-add.sin
Copying file intl/ref-del.sin
Copying file intl/textdomain.c
Copying file autotools/mkinstalldirs
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/en@boldquot.header
Copying file po/en@quot.header
Copying file po/insert-header.sin
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
+ aclocal-1.9 -I m4
+ autoconf
+ autoheader
+ automake-1.9 --add-missing --copy -Wall
configure.ac: installing `autotools/install-sh'
configure.ac: installing `autotools/missing'
activex/Makefile.am:145: shell ${VLC_CONFIG} --target builtin: non-POSIX variabl
e name
activex/Makefile.am:145: (probably a GNU make extension)
activex/Makefile.am: installing `autotools/compile'
activex/Makefile.am: installing `autotools/depcomp'
bindings/java/Makefile.am:81: `%'-style pattern rules are a GNU make extension
bindings/java/Makefile.am:83: *F: non-POSIX variable name
bindings/java/Makefile.am:85: `%'-style pattern rules are a GNU make extension
bindings/java/Makefile.am:87: *F: non-POSIX variable name
Makefile.am:315: user target `vlc$(EXEEXT)' defined here...
/usr/share/automake-1.9/am/program.am: ... overrides Automake target `vlc$(EXEEX
T)' defined here
Makefile.am:263: while processing program `vlc'
+ rm -f vlc-config.in vlc-config
+ rm -f src/misc/modules_builtin.h
+ set +x
: command not foundine 1:
: command not foundine 2:
: command not foundine 3:
: command not foundine 4:
: command not foundine 5:
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type:
checking build system type... autotools/config.sub: line 131: [: !=: unary opera
tor expected
': machine `' not recognized
failedre: error: /bin/sh autotools/config.sub
../configure-vlc: line 7: --enable-sdl: command not found
../configure-vlc: line 8: --enable-nls: command not found
../configure-vlc: line 9: --enable-ffmpeg: command not found
../configure-vlc: line 10: --with-ffmpeg-zlib: command not found
../configure-vlc: line 11: --with-wx-config-path=/usr/win32/bin: No such file or
directory
../configure-vlc: line 12: --with-freetype-config-path=/usr/win32/bin: No such f
ile or directory
../configure-vlc: line 13: --with-fribidi-config-path=/usr/win32/bin: No such fi
le or directory
../configure-vlc: line 14: --enable-live555: command not found
../configure-vlc: line 15: --enable-caca: command not found
../configure-vlc: line 16: --with-xml2-config-path=/usr/win32/bin: No such file
or directory
../configure-vlc: line 17: --with-dvdnav-config-path=/usr/win32/bin: No such fil
e or directory
../configure-vlc: line 18: --disable-cddax: command not found
../configure-vlc: line 19: --enable-twolame: command not found
../configure-vlc: line 20: --disable-gnomevfs: command not found
../configure-vlc: line 21: --enable-dts: command not found
../configure-vlc: line 23: --enable-debug: command not found
As far as I can tell the modules_builtin.h compilation fails or ?

Thanks in advance to everyone!

Trax
Blank Cone
Blank Cone
Posts: 82
Joined: 17 Apr 2005 01:34

Postby Trax » 08 Nov 2006 01:31

Most likely caused by the current cygwin problems. It seems to throw a lot of "cannot find" things caused by shell scripts not having proper end of line characters. See sticky thread:
viewtopic.php?t=27162

besnia
New Cone
New Cone
Posts: 2
Joined: 06 Nov 2006 06:44

Postby besnia » 08 Nov 2006 03:51

Thx for the response Trax. Any suggestions while the cygwin environment is fixed?

Trax
Blank Cone
Blank Cone
Posts: 82
Joined: 17 Apr 2005 01:34

Postby Trax » 08 Nov 2006 11:03

There was a suggestion in the other thread (something with keyboard/international settings) although that doesn't work for me. In the mean time I'm trying to write an alternative to use MSYS/MINGW environment (which is btw a lot faster to compile as well).

Gulati
New Cone
New Cone
Posts: 2
Joined: 11 Sep 2007 19:58

Re: Can't compile VLC with cygwin

Postby Gulati » 11 Sep 2007 20:32

I need to build VLC for windows / cygwin. Has anyone had any luck building VLC for windows? Thanks for any help / pointers

sparky
New Cone
New Cone
Posts: 7
Joined: 30 Oct 2006 12:20
Location: UK

Re: Can't compile VLC with cygwin

Postby sparky » 13 Sep 2007 16:53

Try the tar ball downloads instead.
See also viewtopic.php?f=14&t=40609


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 71 guests