having problem compiling vlc

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.
shibuone
New Cone
New Cone
Posts: 5
Joined: 07 Jan 2009 20:10

having problem compiling vlc

Postby shibuone » 01 Feb 2009 17:24

Hello,
I am getting too many errors when I try to compile vlc on XP system. I am trying on cygwin and source code from GIT. I am using contrib-20070412-win32-0.8.6b-bin-gcc-3.4.5-only.tar.bz2, installed required libraries listed in Cygwin section of the site.
Please help...

_plugin_la' as canonic name (possible typo)brary has `libwingapi
modules/video_output/qte/Makefile.am:13: bad characters in variable name `libqte
_plugin_la_SOURCES'
modules/video_output/qte/Makefile.am:14: bad characters in variable name `nodist
_plugin_la_SOURCES'
modules/video_output/qte/Makefile.am:16: bad characters in variable name `libqte
_plugin_la_CFLAGS'
modules/video_output/qte/Makefile.am:17: bad characters in variable name `libqte
_plugin_la_CXXFLAGS'
modules/video_output/qte/Makefile.am:18: bad characters in variable name `libqte
_plugin_la_OBJCFLAGS'
modules/video_output/qte/Makefile.am:20: bad characters in variable name `libqte
_plugin_la_LIBADD'
modules/video_output/qte/Makefile.am:21: bad characters in variable name `libqte
_plugin_la_DEPENDENCIES'
: non-POSIX variable nameMakefile.am:7: LTLIBqte
: non-POSIX variable nameMakefile.am:13: SOURCES_qte
: non-POSIX variable nameMakefile.am:14: nodist_SOURCES_qte
modules/video_output/qte/Makefile.am:7: `$(LTLIBqte' is not a standard libtool m
odule name
modules/video_output/qte/Makefile.am:7: did you mean `$(LTLIBqte.la'?
modules/video_output/qte/Makefile.am:7: `)' is not a standard libtool module nam
e
modules/video_output/qte/Makefile.am:7: did you mean `).la'?
modules/video_output/qte/Makefile.am:8: `libqte' is not a standard libtool modul
e name
modules/video_output/qte/Makefile.am:8: did you mean `libqte.la'?
automake-1.10: LTLIBqte.c : non-POSIX variable name
automake-1.10: (probably a GNU make extension)
_plugin_la_SOURCES' is defined but no program ore `nodist_libqte
_plugin_la' as canonic name (possible typo)brary has `libqte
_plugin_la_SOURCES' is defined but no program ore `libqte
_plugin_la' as canonic name (possible typo)brary has `libqte
_plugin_la_LIBADD' is defined but no program orle `libqte
_plugin_la' as canonic name (possible typo)brary has `libqte
modules/common.am:25: variable `AM_LIBADD' is defined but no program or
modules/common.am:25: library has `AM' as canonic name (possible typo)
modules/video_output/qte/Makefile.am:10: `modules/common.am' included from her
e
_plugin_la_DEPENDENCIES' is defined but no program orbqte
_plugin_la' as canonic name (possible typo)brary has `libqte
modules/video_output/x11/Makefile.am:13: bad characters in variable name `libglx
_plugin_la_SOURCES'
modules/video_output/x11/Makefile.am:14: bad characters in variable name `nodist
_plugin_la_SOURCES'
modules/video_output/x11/Makefile.am:16: bad characters in variable name `libglx
_plugin_la_CFLAGS'
modules/video_output/x11/Makefile.am:17: bad characters in variable name `libglx
_plugin_la_CXXFLAGS'
modules/video_output/x11/Makefile.am:18: bad characters in variable name `libglx
_plugin_la_OBJCFLAGS'
modules/video_output/x11/Makefile.am:20: bad characters in variable name `libglx
_plugin_la_LIBADD'
modules/video_output/x11/Makefile.am:21: bad characters in variable name `libglx
_plugin_la_DEPENDENCIES'
modules/video_output/x11/Makefile.am:24: bad characters in variable name `libx11
_plugin_la_SOURCES'
modules/video_output/x11/Makefile.am:25: bad characters in variable name `nodist
_plugin_la_SOURCES'
modules/video_output/x11/Makefile.am:27: bad characters in variable name `libx11
_plugin_la_CFLAGS'
modules/video_output/x11/Makefile.am:28: bad characters in variable name `libx11
_plugin_la_CXXFLAGS'
modules/video_output/x11/Makefile.am:29: bad characters in variable name `libx11
_plugin_la_OBJCFLAGS'
modules/video_output/x11/Makefile.am:31: bad characters in variable name `libx11
_plugin_la_LIBADD'
modules/video_output/x11/Makefile.am:32: bad characters in variable name `libx11
_plugin_la_DEPENDENCIES'
modules/video_output/x11/Makefile.am:35: bad characters in variable name `libxvi
_plugin_la_SOURCES'
modules/video_output/x11/Makefile.am:36: bad characters in variable name `nodist
_plugin_la_SOURCES'
modules/video_output/x11/Makefile.am:38: bad characters in variable name `libxvi
_plugin_la_CFLAGS'
modules/video_output/x11/Makefile.am:39: bad characters in variable name `libxvi
_plugin_la_CXXFLAGS'
modules/video_output/x11/Makefile.am:40: bad characters in variable name `libxvi
_plugin_la_OBJCFLAGS'
modules/video_output/x11/Makefile.am:42: bad characters in variable name `libxvi
_plugin_la_LIBADD'
modules/video_output/x11/Makefile.am:43: bad characters in variable name `libxvi
_plugin_la_DEPENDENCIES'
modules/video_output/x11/Makefile.am:46: bad characters in variable name `libxvm
_plugin_la_SOURCES'
modules/video_output/x11/Makefile.am:47: bad characters in variable name `nodist
_plugin_la_SOURCES'
modules/video_output/x11/Makefile.am:49: bad characters in variable name `libxvm
_plugin_la_CFLAGS'
modules/video_output/x11/Makefile.am:50: bad characters in variable name `libxvm
_plugin_la_CXXFLAGS'
modules/video_output/x11/Makefile.am:51: bad characters in variable name `libxvm
_plugin_la_OBJCFLAGS'
modules/video_output/x11/Makefile.am:53: bad characters in variable name `libxvm
_plugin_la_LIBADD'
modules/video_output/x11/Makefile.am:54: bad characters in variable name `libxvm
_plugin_la_DEPENDENCIES'
: non-POSIX variable nameMakefile.am:7: LTLIBglx
: non-POSIX variable nameMakefile.am:7: LTLIBx11
: non-POSIX variable nameMakefile.am:7: LTLIBxvideo
: non-POSIX variable nameMakefile.am:7: LTLIBxvmc
: non-POSIX variable nameMakefile.am:13: SOURCES_glx
: non-POSIX variable nameMakefile.am:14: nodist_SOURCES_glx
: non-POSIX variable nameMakefile.am:24: SOURCES_x11
: non-POSIX variable nameMakefile.am:25: nodist_SOURCES_x11
: non-POSIX variable nameMakefile.am:35: SOURCES_xvideo
: non-POSIX variable nameMakefile.am:36: nodist_SOURCES_xvideo
: non-POSIX variable nameMakefile.am:46: SOURCES_xvmc
: non-POSIX variable nameMakefile.am:47: nodist_SOURCES_xvmc
modules/video_output/x11/Makefile.am:8: _plugin.la multiply defined in condition
TRUE
modules/video_output/x11/Makefile.am:8: `_plugin.la' should be built for `EXTRA'
...
modules/video_output/x11/Makefile.am:8: ... and should also be built for `EXTRA'
.
modules/video_output/x11/Makefile.am:7: ) multiply defined in condition TRUE
modules/video_output/x11/Makefile.am:7: `)' should be installed in `libvlc' ...
modules/video_output/x11/Makefile.am:7: ... and should also be installed in `lib
vlc'.
modules/video_output/x11/Makefile.am:7: `$(LTLIBglx' is not a standard libtool m
odule name
modules/video_output/x11/Makefile.am:7: did you mean `$(LTLIBglx.la'?
modules/video_output/x11/Makefile.am:7: `$(LTLIBx11' is not a standard libtool m
odule name
modules/video_output/x11/Makefile.am:7: did you mean `$(LTLIBx11.la'?
modules/video_output/x11/Makefile.am:7: `$(LTLIBxvideo' is not a standard libtoo
l module name
modules/video_output/x11/Makefile.am:7: did you mean `$(LTLIBxvideo.la'?
modules/video_output/x11/Makefile.am:7: `$(LTLIBxvmc' is not a standard libtool
module name
modules/video_output/x11/Makefile.am:7: did you mean `$(LTLIBxvmc.la'?
modules/video_output/x11/Makefile.am:7: `)' is not a standard libtool module nam
e
modules/video_output/x11/Makefile.am:7: did you mean `).la'?
modules/video_output/x11/Makefile.am:8: `libglx' is not a standard libtool modul
e name
modules/video_output/x11/Makefile.am:8: did you mean `libglx.la'?
modules/video_output/x11/Makefile.am:8: `libx11' is not a standard libtool modul
e name
modules/video_output/x11/Makefile.am:8: did you mean `libx11.la'?
modules/video_output/x11/Makefile.am:8: `libxvideo' is not a standard libtool mo
dule name
modules/video_output/x11/Makefile.am:8: did you mean `libxvideo.la'?
modules/video_output/x11/Makefile.am:8: `libxvmc' is not a standard libtool modu
le name
modules/video_output/x11/Makefile.am:8: did you mean `libxvmc.la'?
automake-1.10: LTLIBglx.c $(LTLIBx11.c $(LTLIBxvideo.c $(LTLIBxvmc.c : non-POSIX
variable name
automake-1.10: (probably a GNU make extension)
_plugin_la_SOURCES' is defined but no program ore `nodist_libxvideo
_plugin_la' as canonic name (possible typo)brary has `libxvideo
_plugin_la_SOURCES' is defined but no program ore `libxvideo
_plugin_la' as canonic name (possible typo)brary has `libxvideo
_plugin_la_SOURCES' is defined but no program ore `libglx
_plugin_la' as canonic name (possible typo)brary has `libglx
_plugin_la_SOURCES' is defined but no program ore `nodist_libx11
_plugin_la' as canonic name (possible typo)brary has `libx11
_plugin_la_SOURCES' is defined but no program ore `libx11
_plugin_la' as canonic name (possible typo)brary has `libx11
_plugin_la_SOURCES' is defined but no program ore `nodist_libglx
_plugin_la' as canonic name (possible typo)brary has `libglx
_plugin_la_SOURCES' is defined but no program ore `libxvmc
_plugin_la' as canonic name (possible typo)brary has `libxvmc
_plugin_la_SOURCES' is defined but no program ore `nodist_libxvmc
_plugin_la' as canonic name (possible typo)brary has `libxvmc
_plugin_la_LIBADD' is defined but no program orle `libxvideo
_plugin_la' as canonic name (possible typo)brary has `libxvideo
_plugin_la_LIBADD' is defined but no program orle `libglx
_plugin_la' as canonic name (possible typo)brary has `libglx
_plugin_la_LIBADD' is defined but no program orle `libx11
_plugin_la' as canonic name (possible typo)brary has `libx11
modules/common.am:25: variable `AM_LIBADD' is defined but no program or
modules/common.am:25: library has `AM' as canonic name (possible typo)
modules/video_output/x11/Makefile.am:10: `modules/common.am' included from her
e
_plugin_la_LIBADD' is defined but no program orle `libxvmc
_plugin_la' as canonic name (possible typo)brary has `libxvmc
_plugin_la_DEPENDENCIES' is defined but no program orbxvideo
_plugin_la' as canonic name (possible typo)brary has `libxvideo
_plugin_la_DEPENDENCIES' is defined but no program orbxvmc
_plugin_la' as canonic name (possible typo)brary has `libxvmc
_plugin_la_DEPENDENCIES' is defined but no program orbx11
_plugin_la' as canonic name (possible typo)brary has `libx11
_plugin_la_DEPENDENCIES' is defined but no program orbglx
_plugin_la' as canonic name (possible typo)brary has `libglx
_plugin_la_SOURCES'on/Makefile.am:13: bad characters in variable name `libgoom
modules/visualization/Makefile.am:14: bad characters in variable name `nodist_li
_plugin_la_SOURCES'
_plugin_la_CFLAGS'ion/Makefile.am:16: bad characters in variable name `libgoom
_plugin_la_CXXFLAGS'n/Makefile.am:17: bad characters in variable name `libgoom
_plugin_la_OBJCFLAGS'/Makefile.am:18: bad characters in variable name `libgoom
_plugin_la_LIBADD'ion/Makefile.am:20: bad characters in variable name `libgoom
_plugin_la_DEPENDENCIES'kefile.am:21: bad characters in variable name `libgoom
: non-POSIX variable nameefile.am:7: LTLIBgoom
: non-POSIX variable nameefile.am:13: SOURCES_goom
: non-POSIX variable nameefile.am:14: nodist_SOURCES_goom
modules/visualization/Makefile.am:7: `$(LTLIBgoom' is not a standard libtool mod
ule name
modules/visualization/Makefile.am:7: did you mean `$(LTLIBgoom.la'?
modules/visualization/Makefile.am:7: `)' is not a standard libtool module name
modules/visualization/Makefile.am:7: did you mean `).la'?
modules/visualization/Makefile.am:8: `libgoom' is not a standard libtool module
name
modules/visualization/Makefile.am:8: did you mean `libgoom.la'?
automake-1.10: LTLIBgoom.c : non-POSIX variable name
automake-1.10: (probably a GNU make extension)
_plugin_la_SOURCES' is defined but no program orlibgoom
_plugin_la' as canonic name (possible typo)ry has `libgoom
_plugin_la_SOURCES' is defined but no program ornodist_libgoom
_plugin_la' as canonic name (possible typo)ry has `libgoom
_plugin_la_LIBADD' is defined but no program or`libgoom
_plugin_la' as canonic name (possible typo)ry has `libgoom
modules/common.am:25: variable `AM_LIBADD' is defined but no program or
modules/common.am:25: library has `AM' as canonic name (possible typo)
modules/visualization/Makefile.am:10: `modules/common.am' included from here
_plugin_la_DEPENDENCIES' is defined but no program orom
_plugin_la' as canonic name (possible typo)ry has `libgoom
modules/visualization/galaktos/Makefile.am:13: bad characters in variable name `
_plugin_la_SOURCES'
modules/visualization/galaktos/Makefile.am:14: bad characters in variable name `
_plugin_la_SOURCES'
modules/visualization/galaktos/Makefile.am:16: bad characters in variable name `
_plugin_la_CFLAGS'
modules/visualization/galaktos/Makefile.am:17: bad characters in variable name `
_plugin_la_CXXFLAGS'
modules/visualization/galaktos/Makefile.am:18: bad characters in variable name `
_plugin_la_OBJCFLAGS'
modules/visualization/galaktos/Makefile.am:20: bad characters in variable name `
_plugin_la_LIBADD'
modules/visualization/galaktos/Makefile.am:21: bad characters in variable name `
_plugin_la_DEPENDENCIES'
: non-POSIX variable nameaktos/Makefile.am:7: LTLIBgalaktos
: non-POSIX variable nameaktos/Makefile.am:13: SOURCES_galaktos
: non-POSIX variable nameaktos/Makefile.am:14: nodist_SOURCES_galaktos
modules/visualization/galaktos/Makefile.am:7: `$(LTLIBgalaktos' is not a standar
d libtool module name
modules/visualization/galaktos/Makefile.am:7: did you mean `$(LTLIBgalaktos.la'?

modules/visualization/galaktos/Makefile.am:7: `)' is not a standard libtool modu
le name
modules/visualization/galaktos/Makefile.am:7: did you mean `).la'?
modules/visualization/galaktos/Makefile.am:8: `libgalaktos' is not a standard li
btool module name
modules/visualization/galaktos/Makefile.am:8: did you mean `libgalaktos.la'?
automake-1.10: LTLIBgalaktos.c : non-POSIX variable name
automake-1.10: (probably a GNU make extension)
_plugin_la_SOURCES' is defined but no program orariable `nodist_libgalaktos
_plugin_la' as canonic name (possible typo)14: library has `libgalaktos
_plugin_la_SOURCES' is defined but no program orariable `libgalaktos
_plugin_la' as canonic name (possible typo)13: library has `libgalaktos
_plugin_la_LIBADD' is defined but no program orvariable `libgalaktos
_plugin_la' as canonic name (possible typo)20: library has `libgalaktos
modules/common.am:25: variable `AM_LIBADD' is defined but no program or
modules/common.am:25: library has `AM' as canonic name (possible typo)
modules/visualization/galaktos/Makefile.am:10: `modules/common.am' included fr
om here
_plugin_la_DEPENDENCIES' is defined but no program orle `libgalaktos
_plugin_la' as canonic name (possible typo)21: library has `libgalaktos
modules/visualization/visual/Makefile.am:13: bad characters in variable name `li
_plugin_la_SOURCES'
modules/visualization/visual/Makefile.am:14: bad characters in variable name `no
_plugin_la_SOURCES'
modules/visualization/visual/Makefile.am:16: bad characters in variable name `li
_plugin_la_CFLAGS'
modules/visualization/visual/Makefile.am:17: bad characters in variable name `li
_plugin_la_CXXFLAGS'
modules/visualization/visual/Makefile.am:18: bad characters in variable name `li
_plugin_la_OBJCFLAGS'
modules/visualization/visual/Makefile.am:20: bad characters in variable name `li
_plugin_la_LIBADD'
modules/visualization/visual/Makefile.am:21: bad characters in variable name `li
_plugin_la_DEPENDENCIES'
: non-POSIX variable nameual/Makefile.am:7: LTLIBvisual
: non-POSIX variable nameual/Makefile.am:13: SOURCES_visual
: non-POSIX variable nameual/Makefile.am:14: nodist_SOURCES_visual
modules/visualization/visual/Makefile.am:7: `$(LTLIBvisual' is not a standard li
btool module name
modules/visualization/visual/Makefile.am:7: did you mean `$(LTLIBvisual.la'?
modules/visualization/visual/Makefile.am:7: `)' is not a standard libtool module
name
modules/visualization/visual/Makefile.am:7: did you mean `).la'?
modules/visualization/visual/Makefile.am:8: `libvisual' is not a standard libtoo
l module name
modules/visualization/visual/Makefile.am:8: did you mean `libvisual.la'?
automake-1.10: LTLIBvisual.c : non-POSIX variable name
automake-1.10: (probably a GNU make extension)
_plugin_la_SOURCES' is defined but no program oriable `nodist_libvisual
_plugin_la' as canonic name (possible typo): library has `libvisual
_plugin_la_SOURCES' is defined but no program oriable `libvisual
_plugin_la' as canonic name (possible typo): library has `libvisual
_plugin_la_LIBADD' is defined but no program orriable `libvisual
_plugin_la' as canonic name (possible typo): library has `libvisual
modules/common.am:25: variable `AM_LIBADD' is defined but no program or
modules/common.am:25: library has `AM' as canonic name (possible typo)
modules/visualization/visual/Makefile.am:10: `modules/common.am' included from
here
_plugin_la_DEPENDENCIES' is defined but no program or `libvisual
_plugin_la' as canonic name (possible typo): library has `libvisual
autoreconf: automake failed with exit status: 1
bash-3.2$

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: having problem compiling vlc

Postby Jean-Baptiste Kempf » 01 Feb 2009 17:47

Can you explain why you are compiling qte or X11 on Windows?
And your contribs are very old.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

shibuone
New Cone
New Cone
Posts: 5
Joined: 07 Jan 2009 20:10

Re: having problem compiling vlc

Postby shibuone » 03 Feb 2009 20:59

hmm.. I re-installed latest contrib that is contrib-20080528-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2. Now I am getting some other error.
Administrator@user ~/vlc
$ ls
ABOUT-NLS INSTALL.win32 autotools extras projects
AUTHORS INSTALL.wince bin include share
COPYING MAINTAINERS bindings libs src
HACKING Makefile.am bootstrap m4 test
INSTALL NEWS config.in make-alias toolbox
INSTALL.git README configure.ac modules vlc-config.in
INSTALL.maemo THANKS doc po vlc-config.in.in

Administrator@user ~/vlc
$ ../configure-vlc.sh
++ dirname ./bootstrap
+ cd .
+ ACLOCAL_ARGS='-I m4 '
+ test -d extras/contrib/bin
++ uname -s
+ test .CYGWIN_NT-5.1 = .Darwin
+ pkg-config --version
+ PKGCONFIG=yes
+ export AUTOPOINT
+ test ''
+ AUTOPOINT=autopoint
+ autopoint --dry-run --force
+ AUTOPOINT=true
+ echo
+ set +x
generating modules/**/Makefile.am
................................................................................
..
+ echo
+ echo
+ cp -f INSTALL INSTALL.git
+ autoreconf --install --force --verbose -I m4
autoreconf-2.63: Entering directory `.'
autoreconf-2.63: running: true --force
autoreconf-2.63: running: aclocal --force -I m4
configure.ac:5321: warning: macro `AM_PATH_LIBGCRYPT' not found in library
autoreconf-2.63: configure.ac: tracing
autoreconf-2.63: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autotools'.
libtoolize: copying file `autotools/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:5321: warning: macro `AM_PATH_LIBGCRYPT' not found in library
autoreconf-2.63: running: /usr/bin/autoconf-2.63 --include=m4 --force
configure.ac:5321: error: possibly undefined macro: AM_PATH_LIBGCRYPT
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf-2.63: /usr/bin/autoconf-2.63 failed with exit status: 1

Administrator@user ~/vlc
$

bryanair
Blank Cone
Blank Cone
Posts: 13
Joined: 03 Feb 2009 13:37

Re: having problem compiling vlc

Postby bryanair » 04 Feb 2009 13:26

I'm pretty sure for GIT compile you need yet newer contribs

The people.videolan.org server is down, where in forum I read about contrib-20081021-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2

I found it somewhere and put a copy here for you until server is back up

http://godspeed.to/airgain/videolan/con ... ly.tar.bz2

For AM_PATH_LIBGCRYPT problem, go back to Cygwin setup and add "libgcrypt-devel"

This is in the list http://wiki.videolan.org/Win32CompileCygwinNew

bryanair
hmm.. I re-installed latest contrib that is contrib-20080528-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2. Now I am getting some other error.
Administrator@user ~/vlc
$
<etc>

Administrator@user ~/vlc
$ ../configure-vlc.sh
++ dirname ./bootstrap
<etc>
configure.ac:5321: warning: macro `AM_PATH_LIBGCRYPT' not found in library
autoreconf-2.63: running: /usr/bin/autoconf-2.63 --include=m4 --force
configure.ac:5321: error: possibly undefined macro: AM_PATH_LIBGCRYPT
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf-2.63: /usr/bin/autoconf-2.63 failed with exit status: 1

Administrator@user ~/vlc
$

giangy11
Blank Cone
Blank Cone
Posts: 34
Joined: 08 Feb 2009 18:12

Re: having problem compiling vlc

Postby giangy11 » 10 Feb 2009 10:23

Hi,
today, thanks for your help, i've been able to run successfully ./bootstrap and ./configure-vlc.sh commands.
Starting "make" ,after some minutes, the process stops with these errors:
(i'm compiling an old version of vlc with old contrib file, and basic version of vlc)
Image

giangy11
Blank Cone
Blank Cone
Posts: 34
Joined: 08 Feb 2009 18:12

Re: having problem compiling vlc

Postby giangy11 » 10 Feb 2009 11:13

now i used newest version of contrib (20090118) and donwload vlc using git command on cygwin batch shell.

.bootstrap succesfully

./configure-vlc.sh finished ok

./make -j2 (using 2 processor i hope)

after about 20 minutes of compiling...it finished like this:
Image

I'm going crazy, please help!!! :-(((((

ssbssa
Cone that earned his stripes
Cone that earned his stripes
Posts: 107
Joined: 03 May 2007 22:00
VLC version: 2.0.2
Operating System: Windows

Re: having problem compiling vlc

Postby ssbssa » 10 Feb 2009 11:39

add --disable-zvbi to your configure line

giangy11
Blank Cone
Blank Cone
Posts: 34
Joined: 08 Feb 2009 18:12

Re: having problem compiling vlc

Postby giangy11 » 10 Feb 2009 11:45

ok
i've to write only make clean to restart with configure-vlc.sh and after that make or i've to restart for the beniginning?

ssbssa
Cone that earned his stripes
Cone that earned his stripes
Posts: 107
Joined: 03 May 2007 22:00
VLC version: 2.0.2
Operating System: Windows

Re: having problem compiling vlc

Postby ssbssa » 10 Feb 2009 11:49

i think make clean is enough

giangy11
Blank Cone
Blank Cone
Posts: 34
Joined: 08 Feb 2009 18:12

Re: having problem compiling vlc

Postby giangy11 » 10 Feb 2009 13:20

after run ./configure-vlc.sh comes this messages:
Image

is it ok or not?

it doesn't found the commands optimizations, debug, qt4, zvbi

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: having problem compiling vlc

Postby Jean-Baptiste Kempf » 10 Feb 2009 13:27

it is ok.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

giangy11
Blank Cone
Blank Cone
Posts: 34
Joined: 08 Feb 2009 18:12

Re: having problem compiling vlc

Postby giangy11 » 10 Feb 2009 14:19

i've tried with --disable-zvbi but still the same error after 30mins of compiling :-/

what's the problem?

Image

ssbssa
Cone that earned his stripes
Cone that earned his stripes
Posts: 107
Joined: 03 May 2007 22:00
VLC version: 2.0.2
Operating System: Windows

Re: having problem compiling vlc

Postby ssbssa » 10 Feb 2009 14:42

you've added --disable-zvbi to your configure-vlc.sh, but not to the configure line inside configure-vlc.sh

giangy11
Blank Cone
Blank Cone
Posts: 34
Joined: 08 Feb 2009 18:12

Re: having problem compiling vlc

Postby giangy11 » 10 Feb 2009 15:01

can you explain better?

this is my configure-vlc.sh:


PATH=/usr/win32/bin:$PATH \
PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--host=i686-pc-mingw32 \
--disable-gtk \
--enable-nls --enable-sdl --with-sdl-config-path=/usr/win32/bin \
--enable-avcodec --enable-avformat --enable-swscale \
--enable-faad --enable-flac --enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-live555 --with-live555-tree=/usr/win32/live.com \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-twolame --enable-dvdread \
--enable-debug --enable-dca \
--disable-mkv --disable-taglib
--disable-optimizations
--enable-debug
--enable-qt4
--disable-zvbi

ssbssa
Cone that earned his stripes
Cone that earned his stripes
Posts: 107
Joined: 03 May 2007 22:00
VLC version: 2.0.2
Operating System: Windows

Re: having problem compiling vlc

Postby ssbssa » 10 Feb 2009 15:06

when '\' is at a lineending, the next line will be added to it.
change the last lines like this:

Code: Select all

--enable-debug --enable-dca \ --disable-mkv --disable-taglib \ --disable-optimizations \ --enable-debug \ --enable-qt4 \ --disable-zvbi

giangy11
Blank Cone
Blank Cone
Posts: 34
Joined: 08 Feb 2009 18:12

Re: having problem compiling vlc

Postby giangy11 » 10 Feb 2009 15:12

yes it's true! :D
thank you!
i'm going to try again and keepin' faith :D

giangy11
Blank Cone
Blank Cone
Posts: 34
Joined: 08 Feb 2009 18:12

Re: having problem compiling vlc

Postby giangy11 » 10 Feb 2009 15:21

now after ./configure-vlc.sh don't appear anymore the error messages that i've had before ;)

and now let's start make -j2 :D

giangy11
Blank Cone
Blank Cone
Posts: 34
Joined: 08 Feb 2009 18:12

Re: having problem compiling vlc

Postby giangy11 » 10 Feb 2009 16:08

and finally....it works!!!!!!!!!!!!!!! :D :D :D

i'm very happy, thank you all!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: having problem compiling vlc

Postby Jean-Baptiste Kempf » 10 Feb 2009 16:23

What are you working on?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

giangy11
Blank Cone
Blank Cone
Posts: 34
Joined: 08 Feb 2009 18:12

Re: having problem compiling vlc

Postby giangy11 » 10 Feb 2009 17:05

i don't know very well, i'm on an engineering stage for italian university, and they ask me to compile vlc sources, but i really don't know for what reason.
Right now i've to try if files h264 work well with this vlc.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: having problem compiling vlc

Postby Jean-Baptiste Kempf » 11 Feb 2009 00:25

ok :D
Have fun!
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ipmultimedia
Blank Cone
Blank Cone
Posts: 13
Joined: 28 Feb 2009 12:13

Re: having problem compiling vlc

Postby ipmultimedia » 01 Mar 2009 10:36

Hi
We are trying to compile VLC source code with Cygwin, but we have a lot of problems. Our only reference is http://wiki.videolan.org/Win32CompileCygwinNew and we have followed all the instructions step by step.
When we tried to execute this:
tar xf contrib-20080702-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2 -C /
We got the following error:
tar:contrib-20080702-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2: cannot open: No such file or directory
tar: Error is not recoverable:exiting now

So we used winrar to extract the archive. It made a folder named "usr" containing a folder named "win32". We copied the "win32" folder to the following address: C:\cygwin\usr

The next step was to execute the following command:

anlib /usr/win32/lib/lib*.a

but it cannot recognize some file formats and writes error messages below:
ranlib: /usr/win32/lib/libBasicUsageEnvironment.a: File format not recognized

ranlib: /usr/win32/lib/libUsageEnvironment.a: File format not recognized

ranlib: /usr/win32/lib/libliveMedia.a: File format not recognized

ranlib: /usr/win32/lib/libgroupsock.a: File format not recognized

So we cut out these files and our next try ended with no message of fail or success.
The next step is to configure script for compiling VLC by using these commands:
PATH=/usr/win32/bin:$PATH \
PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--host=i686-pc-mingw32 \
--disable-gtk \
--enable-nls --enable-sdl --with-sdl-config-path=/usr/win32/bin \
--enable-avcodec --enable-avformat --enable-swscale \
--enable-faad --enable-flac --enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-live555 --with-live555-tree=/usr/win32/live.com \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-twolame --enable-dvdread \
--enable-debug --enable-dca \
--disable-mkv --disable-taglib
And again we got following error:
bash: ./configure: No such file or directory

Our contrib has com from the following link:

http://www.jbkempf.com/~jb/contrib-2009 ... ly.tar.bz2

Please help us before it is too late :cry:

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: having problem compiling vlc

Postby VLC_help » 01 Mar 2009 16:07

ranlib is optional step, it isn't required. And you run the script on right folder?

ipmultimedia
Blank Cone
Blank Cone
Posts: 13
Joined: 28 Feb 2009 12:13

Re: having problem compiling vlc

Postby ipmultimedia » 01 Mar 2009 16:33

But in the document on http://wiki.videolan.org/Win32CompileCygwinNew it isn't marked as optional.
I don't know where the right folder is. I tried it in /usr/win32 and it didn't work.

ipmultimedia
Blank Cone
Blank Cone
Posts: 13
Joined: 28 Feb 2009 12:13

Re: having problem compiling vlc

Postby ipmultimedia » 03 Mar 2009 06:30

hi all

we are trying to compile VLC on Cygwin.

When we tried to execute this:

tar xf contrib-20080702-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2 -C /

We got the following error:

tar:contrib-20090118-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2: cannot open: No such file or directory
tar: Error is not recoverable:exiting now

please help us


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 45 guests