Page 1 of 1

Compiling under windows

Posted: 05 Aug 2010 07:07
by quu
I want to tinker around with things a bit, see if i can get the skins and the HTML interface to do what I want. So I am trying to setup a build env on my machine (windows vista 64)

Normally I use Eclipse/Ant/Java for my development work. I have coded with c/c++ a long time ago (10+ years), so I am trying to follow the directions exactly to get a working compile first, before I tinker with anything.

I am following the directions at
http://wiki.videolan.org/Win32CompileMSYSNew
(I added a line to the wiki to add the C:\MinGW\bin to the path, I learned that via IRC)
(I also corrected the URL for the coreutils as the URL changed slightly since it was last edited)

I went through and followed the directions exactly (with two options... I actually installed the core utils, instead of making the fake whoami and hostname... and I am using git to get the newest VLC code)

when i got to the bootstrap section of "Build VLC", I ran the commands, but got the following

Code: Select all

Patrick@QUUTAR ~/vlc $ PATH=/usr/win32/bin:$PATH ./bootstrap ++ dirname ./bootstrap + cd . + ACLOCAL_ARGS='-I m4 ' + test -d extras/contrib/build/bin ++ uname -s + test .MINGW32_NT-6.0 = .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: Entering directory `.' autoreconf: running: true --force autoreconf: running: aclocal --force -I m4 /usr/share/aclocal/autoopts.m4:22: warning: underquoted definition of AG_PATH_AUTOOPTS /usr/share/aclocal/autoopts.m4:22: run info '(automake)Extending aclocal' /usr/share/aclocal/autoopts.m4:22: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal ' is already registered with AC_CONFIG_FILES. /usr/src/autoconf/autoconf-2.63/lib/autoconf/status.m4:305: AC_CONFIG_FILES is expanded from... /usr/share/aclocal-1.11/cond-if.m4:39: AM_COND_IF is expanded from... configure.ac:4780: the top level autom4te: /bin/m4 failed with exit status: 1 C:\msys\1.0\bin\aclocal: autom4te failed with exit status: 1 autoreconf: aclocal failed with exit status: 1
When i asked on IRC, i was told "autoconf devel not correctly installed"
but I downloaded the autoconf-2.63-1-msys-1.0.11-bin.tar.lzma file and extracted it into the C:\Msys\1.0 directory

Code: Select all

Patrick@QUUTAR /usr/share $ ls aclocal aclocal-1.11 aclocal-1.7 autoconf autogen automake-1.11 automake-1.7 doc file guile libtool locale vim
I know I am doing something wrong, I just don't know what.

Re: Compiling under windows

Posted: 05 Aug 2010 16:27
by VLC_help
autoconf-devel is different than autoconf.

Re: Compiling under windows

Posted: 05 Aug 2010 19:15
by quu
i have no file or directory called autoconf-devel and have followed the directions on the wiki link above

what do I need to do? When i google for autoconf-devel all i find are cygwin references

Re: Compiling under windows

Posted: 06 Aug 2010 18:11
by quu
i am wondering if it would be easier to build a second machine, throw debian on it, add samba and just build on there. I could mount my home directory of the linux box as a drive on my windows box via samba. then when I do builds, just use putty instead of msys. As long as it is inside my local network, i don't have to worry about the security of samba on the open internet.

Re: Compiling under windows

Posted: 06 Aug 2010 19:02
by quu
I need to spend more time on IRC
J-B recommended I use http://www.virtualbox.org to setup linux on my machine. I can then do the easier linux build process, with out needing more hardware (My wife was going to kill me, I already have three computers in my den, adding a fourth would have been... a bit much)

Re: Compiling under windows

Posted: 06 Aug 2010 20:13
by Jean-Baptiste Kempf
Take an ubuntu. And compile it.

Re: Compiling under windows

Posted: 16 Sep 2010 12:32
by Titanic
I have exactly the same problem. Does somebody have a solution to get it work in a MinGW environment on Windows?

Re: Compiling under windows

Posted: 01 Oct 2010 00:59
by rogerdpack
did you follow the "bootstrap" instructions, (cp -v /usr/win32/share/aclocal/* m4/ et al)?

Re: Compiling under windows

Posted: 01 Oct 2010 08:30
by Titanic
Yes, I followed the bootstrap procedure from the wiki:
cp -v /usr/win32/share/aclocal/* m4/
cp -v /usr/share/aclocal/* m4/
PATH=/usr/win32/bin:$PATH ./bootstrap

Still get this error if I'm working on the master tree (vlc 1.2 git).

Tools versions:
automake: 1.11
autoconf: 2.63
libtool: 2.2.7a
pkg-config: 0.23
GCC: (TDM-2 mingw32) 4.4.1