Compiling VLC 1.1.11 under SUSE 12.1

*nix specific usage questions
bensam
New Cone
New Cone
Posts: 1
Joined: 22 Jul 2011 03:36

Compiling VLC 1.1.11 under SUSE 12.1

Postby bensam » 22 Jul 2011 03:52

Dear all,
I downloaded this version and tried to compile it like this:

Code: Select all

% cd extras/contrib; % ./bootstrap; % make;
but I get this error message:

Code: Select all

make -C src make[1]: Entering directory `/home/sam/Downloads/vlc-1.1.11/extras/contrib/src' (cd mpcdec; cmake . -DCMAKE_TOOLCHAIN_FILE=../../toolchain.cmake -DCMAKE_INSTALL_PREFIX=/home/sam/Downloads/vlc-1.1.11/extras/contrib/hosts/x86_64-suse-linux && make install) CMake Error at /usr/share/cmake/Modules/CMakeDetermineSystem.cmake:92 (MESSAGE): Could not find toolchain file: ../../toolchain.cmake Call Stack (most recent call first): CMakeLists.txt:5 (project) CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER CMake Error: Could not find cmake module file:/home/sam/Downloads/vlc-1.1.11/extras/contrib/src/mpcdec/CMakeFiles/CMakeCCompiler.cmake CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! make[1]: *** [.mpcdec] Error 1 make[1]: Leaving directory `/home/sam/Downloads/vlc-1.1.11/extras/contrib/src' make: *** [using-src] Error 2
I checked bootstrap and config.mak why It doesn't generate the file toolchain.cmake and find that:

Code: Select all

BUILD
and

Code: Select all

HOST
variables in my case are the same and in line 32 of bootstrap is skiping the creation of this file:

Code: Select all

if test "$HOST" != "$BUILD"; then
So I would like if someone faced this issue and if there's a workaround.

Additional Information:
- Kernel: 3.0.0-rc7-2-desktop
- Arch: 64 bits
- Graphical environment: Gnome (running one), KDE, XFCE

Diamanter
New Cone
New Cone
Posts: 6
Joined: 19 Oct 2011 08:49

Re: Compiling VLC 1.1.11 under SUSE 12.1

Postby Diamanter » 19 Oct 2011 08:50

I have the same problem!!
Any ideas?

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

Re: Compiling VLC 1.1.11 under SUSE 12.1

Postby Rémi Denis-Courmont » 19 Oct 2011 09:50

VLC 1.1 contribs are not designed for Linux builds. You should not use them.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Diamanter
New Cone
New Cone
Posts: 6
Joined: 19 Oct 2011 08:49

Re: Compiling VLC 1.1.11 under SUSE 12.1

Postby Diamanter » 19 Oct 2011 10:08

But it's clearly described in Wiki wiki.videolan.org/UnixCompile .
Has anything changed?

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

Re: Compiling VLC 1.1.11 under SUSE 12.1

Postby Rémi Denis-Courmont » 19 Oct 2011 13:08

From that same page:
(...) given the large number of libraries and the variety of the platforms people build VLC for, it is not unlikely that you will hit an error while contribs are compiling. Thus, this approach is only recommended for experienced Unix compilers.
Experienced as in capable of fixing build errors autonomously.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

gepebril
Blank Cone
Blank Cone
Posts: 76
Joined: 22 Oct 2007 23:31

Re: Compiling VLC 1.1.11 under SUSE 12.1

Postby gepebril » 23 Nov 2011 22:18

I have the same problem under Ubuntu 10.04LTS and VLC 1.1.12
So looks like time for a note on the Wiki page how to tackle this issue.
The Wiki only talks about an approach for experienced Unix compilers. Where is the solution for the common man? Or is that not the aim of Linux or VLC?

gepebril
Blank Cone
Blank Cone
Posts: 76
Joined: 22 Oct 2007 23:31

Re: Compiling VLC 1.1.11 under SUSE 12.1

Postby gepebril » 23 Nov 2011 22:22

VLC 1.1 contribs are not designed for Linux builds. You should not use them.
Do you have an advice what to change/remove what line from what file to complete the compilation of VLC. Thanks in advance.

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

Re: Compiling VLC 1.1.11 under SUSE 12.1

Postby Rémi Denis-Courmont » 24 Nov 2011 07:47

The other solutions are on the same wiki pages.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


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

Who is online

Users browsing this forum: No registered users and 3 guests