Compile with Cygwin: running configure fails
Posted: 22 Dec 2007 10:53
Hello everbody,
Itry to build vlc for windows under Cygwin so I follow the steps in http://wiki.videolan.org/Win32CompileCygwin .
When I run the configure-vlc.sh script it stops' with the following error:"/usr/bin/m4:configure.ac:664: cannot create temporary file for diversion: Permission denied".
I already found the same error message in Troubleshooting section in http://wiki.videolan.org/Win32CompileCygwin and created a variable TMPDIR pointing to the existing "C:\Temp'" directory, but it doesn't help.
Can anybody help me?
Best regards, techfreak
Console output of "./toolbox --distclean", "../configure-vlc.sh" and "set":
Itry to build vlc for windows under Cygwin so I follow the steps in http://wiki.videolan.org/Win32CompileCygwin .
When I run the configure-vlc.sh script it stops' with the following error:"/usr/bin/m4:configure.ac:664: cannot create temporary file for diversion: Permission denied".
I already found the same error message in Troubleshooting section in http://wiki.videolan.org/Win32CompileCygwin and created a variable TMPDIR pointing to the existing "C:\Temp'" directory, but it doesn't help.
Can anybody help me?
Best regards, techfreak
Console output of "./toolbox --distclean", "../configure-vlc.sh" and "set":
Code: Select all
matthias@notebook ~/vlc-trunk
$ ./toolbox --distclean
+ test -f vlc.mandriva.spec -a -f vlc.win32.nsi.in
+ find . -false -path './extras/contrib/*' -type f '(' -name '*.[oa]' -o -name '
*.l[oa]' -o -name '*.so' -o -name '*.sl' -o -name '*.dylib' -o -name '*.dll' -o
-name .dirstamp -o '(' '(' '!' -path '\./doc/developer/Makefile\.in' ')' -a -nam
e Makefile.in ')' -o -name 'stamp-h*' -o -name '*~' -o -name '*.bak' -o -name '*
.moc.cpp' ')' -exec rm -f '{}' ';'
+ cd autotools
+ find . -maxdepth 1 -name '[a-z]*' -exec rm -f '{}' ';'
+ find . -type d -name .deps -exec rm -Rf '{}' ';'
+ find . -type d -name .libs -exec rm -Rf '{}' ';'
+ rm -f config.h config.log config.status
+ rm -f vlc vlc-config Makefile Modules.am
+ rm -Rf autom4te.cache
+ echo '`toolbox --distclean\'\'' is known to be broken.'
`toolbox --distclean\' is known to be broken.
+ echo 'Don'\''t complain if it does not work, or better yet, don'\''t use it.'
Don't complain if it does not work, or better yet, don't use it.
+ echo 'You were warned.'
You were warned.
+ test distclean = contrib
matthias@notebook ~/vlc-trunk
$ ../configure-vlc.sh
+ ACLOCAL_ARGS='-I m4 '
+ test -d extras/contrib/bin
++ uname -s
+ test .CYGWIN_NT-5.1 = .Darwin
+ rm -f m4/autoconf260.m4
+ case "$(autoconf --version|head -n 1)" in
++ autoconf --version
++ head -n 1
+ amvers=no
+ for v in '"-1.10"' '"110"' '"-1.9"' '"19"'
+ automake-1.10 --version
+ amsuff=-1.10
++ echo -1.10
++ sed -e 's/^-//'
+ amvers=1.10
+ break
+ test 1.10 = no
+ case "${amvers}" in
+ libtoolize=no
+ test -x extras/contrib/bin/libtoolize
+ glibtoolize --version
+ libtoolize --version
+ libtoolize=libtoolize
+ test libtoolize = no
+ gettextize --version
++ gettextize --version
++ cut '-d ' -f2-
++ sed -e '1s/[^0-9]*//' -e q
+ expr 0.16.1 '>=' 0.11.5
+ autopoint=autopoint
+ GETTEXT=yes
+ pkg-config --version
+ PKGCONFIG=yes
+ aclocal=aclocal-1.10
+ automake=automake-1.10
+ autoconf=autoconf
+ autoheader=autoheader
+ set +x
generating modules/**/Makefile.am and m4/private.m4
.......................................................................
+ rm -f aclocal.m4 configure config.log config.h config.h.in
+ rm -Rf 'autom4te*.cache'
+ rm -f config.guess config.sub missing mkinstalldirs 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
+ echo /usr/win32/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WI
NDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c
/Programme/QuickTime/QTSystem/
/usr/win32/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/s
ystem32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Progra
mme/QuickTime/QTSystem/
+ which autopoint
/usr/win32/bin/autopoint
+ autopoint --version
/usr/win32/bin/autopoint (GNU gettext-tools) 0.16.1
Copyright (C) 2002-2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Bruno Haible
+ 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/export.h
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.c
Copying file intl/hash-string.h
Copying file intl/intl-compat.c
Copying file intl/intl-exports.c
Copying file intl/l10nflist.c
Copying file intl/langprefs.c
Copying file intl/libgnuintl.h.in
Copying file intl/loadinfo.h
Copying file intl/loadmsgcat.c
Copying file intl/localcharset.c
Copying file intl/localcharset.h
Copying file intl/locale.alias
Copying file intl/localealias.c
Copying file intl/localename.c
Copying file intl/lock.c
Copying file intl/lock.h
Copying file intl/log.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/printf-args.c
Copying file intl/printf-args.h
Copying file intl/printf-parse.c
Copying file intl/printf-parse.h
Copying file intl/printf.c
Copying file intl/ref-add.sin
Copying file intl/ref-del.sin
Copying file intl/relocatable.c
Copying file intl/relocatable.h
Copying file intl/textdomain.c
Copying file intl/vasnprintf.c
Copying file intl/vasnprintf.h
Copying file intl/vasnwprintf.h
Copying file intl/version.c
Copying file intl/wprintf-parse.h
Copying file intl/xsize.h
Copying file po/Makevars.template
+ rm -f po/Makevars.template
+ aclocal-1.10 -I m4
/usr/bin/m4:configure.ac:664: cannot create temporary file for diversion: Permis
sion denied
/usr/bin/m4: cannot remove temporary directory /cygdrive/c/Temp/m4-lCVejQ: Direc
tory not empty
autom4te-2.61: /usr/bin/m4 failed with exit status: 1
aclocal-1.10: autom4te failed with exit status: 1
atthias@notebook ~/vlc-trunk
$ set
.
...removed some lines here
.
SYSTEMDRIVE=C:
SYSTEMROOT='C:\WINDOWS'
TEMP=/cygdrive/c/Temp
TERM=cygwin
TMP=/cygdrive/c/Temp
TMPDIR=/cygdrive/c/Temp
UID=1003
USER=matthias
USERDOMAIN=notebook
USERNAME=matthias
USERPROFILE='C:\Dokumente und Einstellungen\matthias'
WINDIR='C:\WINDOWS'
_=vlc-trunk/
f=