How to build vlc for i486-linux and arm-linux ?

*nix specific usage questions
Franck
Blank Cone
Blank Cone
Posts: 14
Joined: 06 Mar 2007 13:55

How to build vlc for i486-linux and arm-linux ?

Postby Franck » 08 Mar 2007 15:13

Hi,
I search to build vlc source code for either i486-linux target or arm-linux target in the same directory.
In particular, I wish create the following directory tree :
vlc-x.x.x/...
vlc-x.x.x/i486-linux-gnu/debug
vlc-x.x.x/i486-linux-gnu/release
vlc-x.x.x/arm-lin
vlc-x.x.x/i486-linux-gnu/release
But, I have some problems with bootstrap and Makefile of vlc project in order to build vlc in another directory than vlc-x.x.x.
Would you please help me ?
Best regards

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:

Postby Jean-Baptiste Kempf » 08 Mar 2007 18:14

Bootstrap in the trunk.
and launch configure with

Code: Select all

../configure --
in your final repository.

I'll do that to have a win32 and a linux one.
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.

Franck
Blank Cone
Blank Cone
Posts: 14
Joined: 06 Mar 2007 13:55

Postby Franck » 09 Mar 2007 11:16

Thank you for your answer.

In fact, my problem is with the libraries in vlc-x.x.x/extra/contrib/src.

This is the native and cross building process I used :
vlc-x.x.x/bootstrap
cd build/i486-linux-gnu/debug
./../../../configure --disable-mad --disable-ffmpeg --disable-libmpeg2 --disable-wxwidgets --disable-skins2
cd build/arm-linux/debug
./../../../configure --disable-mad --disable-ffmpeg --disable-libmpeg2 --disable-wxwidgets --disable-skins2 CC=arm-linux-gcc --host=arm-linux --target=arm-linux

Now, I want build some libraries in vlc-x.x.x/extra/contrib/src with the process :
In the natif case :
vlc-x.x.x/extra/contrib/boostrap
vlc-x.x.x/extra/contrib/make
In the cross case :
vlc-x.x.x/extra/contrib/boostrap arm-linux
vlc-x.x.x/extra/contrib/make

But, the problem is the library are installed in vlc-x.x.x/extras/contrib/lib.

I try the following process :

dev@barcelone:~/workspace/vlc-0.8.6a/build/i486-linux-gnu/debug$ make -f ./../../../extras/contrib/Makefile
'make bin' isn't functional at the moment,
running 'make src' instead...
make src
make[1]: entrant dans le répertoire « /home/dev/workspace/vlc-0.8.6a/build/i486-linux-gnu/debug »
make[1]: Rien à faire pour « src ».
make[1]: quittant le répertoire « /home/dev/workspace/vlc-0.8.6a/build/i486-linux-gnu/debug »
dev@barcelone:~/workspace/vlc-0.8.6a/build/i486-linux-gnu/debug$

I think I have to modify some Makefiles in vlc-x.x.x/extras/contrib/, but I have some problems to understand the first error with "src".

Would you please help me to resolve this problem ?

Best regards

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

Postby Rémi Denis-Courmont » 13 Mar 2007 17:24

As far as I know, automake can only handle ONE level of subdirectory, i.e. you can build from the source directory, of from a direct subdirectory, but not from a subsubdir or further.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Franck
Blank Cone
Blank Cone
Posts: 14
Joined: 06 Mar 2007 13:55

Postby Franck » 13 Mar 2007 17:56

Thank you for your respons.
I find a solution to my problem with some small changes in Makefile.

diamondblast
Blank Cone
Blank Cone
Posts: 12
Joined: 21 Jul 2008 21:33

Re:

Postby diamondblast » 21 Dec 2008 01:14

Thank you for your respons.
I find a solution to my problem with some small changes in Makefile.
hey Frank...
can you publish your findings :) it might be very useful for me...
thanks i hope it's not too trouble


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

Who is online

Users browsing this forum: No registered users and 18 guests