FIXED: Which tool versions are needed to build 1.0.0-rc3 ?

*nix specific usage questions
xyz000
Blank Cone
Blank Cone
Posts: 27
Joined: 08 Jun 2009 09:33

FIXED: Which tool versions are needed to build 1.0.0-rc3 ?

Postby xyz000 » 12 Jun 2009 13:06

Hello,

I'm attempting to build VLC 1.0.0-rc3 from source. The tool versions I have are:

GNU Autoconf 2.59
GNU Make 3.81
GCC 4.1.2
NASM 0.98.39

I'm following the method on http://wiki.videolan.org/UnixCompile to build the libraries from extras/contrib:

Code: Select all

cd <vlc-source>/extras/contrib ./bootstrap make
Some of the build errors I get suggest that I have incompatible tool versions. For example, building mpcdec fails with an error stating that the "AC_TYPE_INT16_T" macro is not defined. A hunt around the web suggests that autoconf 2.60 introduced this macro. The latest version of autoconf seems to be 2.63. To avoid guessing can anybody reply with a list of tool version requirements or post a list of tool versions they use?

Thanks!
Last edited by xyz000 on 23 Jun 2009 11:35, edited 1 time in total.

xyz000
Blank Cone
Blank Cone
Posts: 27
Joined: 08 Jun 2009 09:33

Re: Which tool versions are needed to build 1.0.0-rc3 ?

Postby xyz000 » 12 Jun 2009 18:15

OK this is coming together in small stages. The steps I've taken so far:

get, configure, make and install autoconf 2.63
remove .wxWidgets, .dirac, .raw1394, .dc1394 and .tiger from <vlc-source>/extras/contrib/distro.mak (becasue each of these fails to build with different errors).
make in <vlc-source>/extras/contrib fixing tiny errors on the way
install qt4 version 4.2.1-1
install qt4-devel version 4.2.1-1
./bootstrap in <vlc-source>
mkdir <vlc-source>/build
cd build
../configure --disable-nls --disable-mozilla --enable-qt4

(--disable-mozilla gets me past an error with the wrong version of glibc).

Now I get "configure: error: Qt 4 library not found" but I can see that I have stuff in /usr/lib/qt4. I've made sure I ran ./bootsrap AFTER installing qt4[-devel] but still no joy. I've also tried logging out of my shell and back in again in case some paths needed updating. Any suggestions to fix this please?

Thanks!

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Which tool versions are needed to build 1.0.0-rc3 ?

Postby Rémi Denis-Courmont » 12 Jun 2009 19:08

VLC requires autoconf 2.59c or above. The contrib should not need autoconf at all (there is no reason to bootstrap).

The UI needs Qt 4.4.0 or later.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

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: Which tool versions are needed to build 1.0.0-rc3 ?

Postby Jean-Baptiste Kempf » 13 Jun 2009 00:35

UI needs Qt 4.3.0 for 1.0 and 4.4.0 for 1.1, I think.
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.

xyz000
Blank Cone
Blank Cone
Posts: 27
Joined: 08 Jun 2009 09:33

Re: Which tool versions are needed to build 1.0.0-rc3 ?

Postby xyz000 » 15 Jun 2009 14:01

UI needs Qt 4.3.0 for 1.0 and 4.4.0 for 1.1, I think.
Thanks j-b. Having now looked inside the VLC configure script it's obvious that I need at least Qt version 4.3.0. I have the source package of Qt 4.5.0 which is building right now...

xyz000
Blank Cone
Blank Cone
Posts: 27
Joined: 08 Jun 2009 09:33

Re: Which tool versions are needed to build 1.0.0-rc3 ?

Postby xyz000 » 16 Jun 2009 11:40

Another request for help please...

I've built and installed Qt version 4.5.0 to /usr/local/qt4. When I re-run the VLC configure script I still get an error about not finding Qt 4. If I look in config.log I can see:

Code: Select all

configure:62498: checking for QT4 configure:62509: $PKG_CONFIG --exists --print-errors "QtCore QtGui >= 4.3.0" Package QtCore was not found in the pkg-config search path. Perhaps you should add the directory containing `QtCore.pc' to the PKG_CONFIG_PATH environment variable No package 'QtCore' found Package QtGui was not found in the pkg-config search path. Perhaps you should add the directory containing `QtGui.pc' to the PKG_CONFIG_PATH environment variable No package 'QtGui' found
Having added a couple of "echo" statements to ./configure I've proved that PKG_CONFIG is /usr/bin/pkg-config and PKG_CONFIG_PATH is /home/me/src/vlc-1.0.0-rc3/./extras/contrib/lib/pkgconfig. I can see that QtCore.pc and QtGui.pc both exist in /usr/local/qt4/lib/pkgconfig. What do I need to do to make ./configure find this package?

xyz000
Blank Cone
Blank Cone
Posts: 27
Joined: 08 Jun 2009 09:33

Re: Which tool versions are needed to build 1.0.0-rc3 ?

Postby xyz000 » 16 Jun 2009 17:58

:oops: Previous post solved with an additional parameter on the ./configure command line:

Code: Select all

./configure [other-options] PKG_CONFIG_PATH=<path/to/qt4/pkgconfig>
Everything is configured and fingers are crossed. Now to build VLC...

xyz000
Blank Cone
Blank Cone
Posts: 27
Joined: 08 Jun 2009 09:33

Re: Which tool versions are needed to build 1.0.0-rc3 ?

Postby xyz000 » 23 Jun 2009 11:28

Just a quick post to say that I now have a working build of 1.0.0-rc3.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 15 guests