Compile faild with cygwin-command not found???

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.
ballofking
Blank Cone
Blank Cone
Posts: 16
Joined: 30 Dec 2006 18:24

Compile faild with cygwin-command not found???

Postby ballofking » 07 Jan 2007 12:17

I follow the howto in the cygwin compile document.I also search about this question in this forum,but can't find the reason(command not found).Can somebody help me?

I use contrib-20061202-win32-bin-gcc-3.4.5-only.tar.bz2 and i installed all packages from the cygwin.

here is my console message.

Yao@king ~/vlc-0.8.6
$ ../configure-vlc
+ AUTOMAKESUCKS=no
+ INSTALLSUCKS=no
+ ACLOCAL_ARGS='-I m4'
+ test -d extras/contrib/bin
+ amvers=no
+ for v in '"-1.7"' '"-1.9"' '"19"' '"-1.8"' '"18"' '"-1.7"' '"17"'
+ automake-1.7 --version
+ amsuff=-1.7
+ amvers=-1.7
+ break
+ test -1.7 = 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.7
+ automake=automake-1.7
+ 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 ltmain.sh libtool ltconfig
+ 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
+ aclocal-1.7 -I m4
+ autoconf
+ autoheader
+ automake-1.7 --add-missing --copy -Wall
configure.ac: installing `autotools/install-sh'
configure.ac: installing `autotools/missing'
Makefile.am: installing `autotools/compile'
Makefile.am: installing `autotools/depcomp'
activex/Makefile.am:146: shell ${VLC_CONFIG} --target builtin: non-POSIX variabl
e name
activex/Makefile.am:146: (probably a GNU make extension)
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
+ 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: --disable-gtk: 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
: command not foundine 20: --enable-debug
: command not foundine 21:

sidb
New Cone
New Cone
Posts: 6
Joined: 04 Jan 2007 22:23

Postby sidb » 07 Jan 2007 20:55

You probably created 'configure-vlc' with a Windows editor that terminates each line with cr/lf, but the shell script expects Unix-style lines ending in lf.

Fix up your script with dos2unix, like this (cd vlc-trunk first) :

$ dos2unix ../configure-vlc

..Sid.

ballofking
Blank Cone
Blank Cone
Posts: 16
Joined: 30 Dec 2006 18:24

Postby ballofking » 09 Jan 2007 14:34

thank you, i fix this problem


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 47 guests