[vlc] Compilation on FreeBSD fails

Matej Kurpel mkurpel at gmail.com
Thu Nov 10 22:03:19 CET 2011


Hello all,
I am having problems with compiling VLC from the latest FreeBSD port. 
I'd like to run it in command-line only, for streaming (it's on a server 
where I have SSH access).
uname -a gives:

FreeBSD mek 8.2-RELEASE-p1 FreeBSD 8.2-RELEASE-p1 #4: Thu May 12 
06:36:55 CEST 2011     ***@***.sk:/usr/obj/usr/src/sys/GENERIC  i386

When make install is run, at some point it stops on this error:
----------------
   CC     libaa_plugin_la-aa.lo
   CC     libcaca_plugin_la-keythread.lo
aa.c:42:4: error: #error Xlib required due to XInitThreads
gmake[5]: *** [libaa_plugin_la-aa.lo] Error 1
gmake[5]: *** Waiting for unfinished jobs....
keythread.c: In function 'KeyThread':
keythread.c:64: warning: no return statement in function returning non-void
gmake[5]: Leaving directory 
`/usr/ports/multimedia/vlc/work/vlc-1.1.11/modules/video_output'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory 
`/usr/ports/multimedia/vlc/work/vlc-1.1.11/modules/video_output'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory 
`/usr/ports/multimedia/vlc/work/vlc-1.1.11/modules/video_output'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/multimedia/vlc/work/vlc-1.1.11/modules'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-1.1.11'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/multimedia/vlc.
*** Error code 1

Stop in /usr/ports/multimedia/vlc.
---------------------
I have searched a lot and the only answer I could find was that I need 
libx11-dev. I have port named libX11 installed but the "dev" one does 
not even exist for FreeBSD afaik. I also unchecked everything not 
related to console from make config (even all decoders and stuff) but to 
no avail.
I have also stumbled upon a mention of cvlc and vlc-nox11 package, but I 
cannot find any of these for FreeBSD.
Could someone give me a clue, please?

Thanks in advance.

M. Kurpel



More information about the vlc mailing list