<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.videolan.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tomsolaris</id>
	<title>VideoLAN Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.videolan.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tomsolaris"/>
	<link rel="alternate" type="text/html" href="https://wiki.videolan.org/Special:Contributions/Tomsolaris/"/>
	<updated>2026-11-04T18:56:42Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Solaris&amp;diff=30022</id>
		<title>Solaris</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Solaris&amp;diff=30022"/>
		<updated>2015-05-23T14:53:01Z</updated>

		<summary type="html">&lt;p&gt;Tomsolaris: update note on hosting at OpenCSW but content solely from SFE project&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Build VLC on Solaris / OpenSolaris  ==&lt;br /&gt;
&lt;br /&gt;
=== Status  ===&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;200&amp;quot; cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;color:black;background-color:white;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| Oracle Solaris 11 x86 &lt;br /&gt;
| Solaris 10 x86 &lt;br /&gt;
| Solaris 10 SPARC &lt;br /&gt;
| &lt;br /&gt;
OpenSolaris&amp;amp;nbsp;x86 &lt;br /&gt;
&lt;br /&gt;
2009/06 &lt;br /&gt;
&lt;br /&gt;
| OpenSolaris SPARC &lt;br /&gt;
2009/06 &lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
OpenSolaris&amp;amp;nbsp;x86 &lt;br /&gt;
&lt;br /&gt;
2010/03 &lt;br /&gt;
&lt;br /&gt;
| OpenSolaris SPARC &lt;br /&gt;
2010/03 &lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
OpenIndiana x86 &lt;br /&gt;
&lt;br /&gt;
snv_134 &lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
OpenIndiana x86 oi151a8&lt;br /&gt;
&lt;br /&gt;
| OpenIndiana SPARC&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| (videolan 2.x.x&lt;br /&gt;
| style=&amp;quot;background:#8BE09F;&amp;quot; | Yes (last tested 2.1.5)&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| style=&amp;quot;background:#8BE09F;&amp;quot; | Yes (last tested 2.1.5)&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| master (videolan) &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| 1.x forks (videolan) &lt;br /&gt;
| &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| [http://repo.or.cz/w/vlc/solaris.git master (repocz/solaris)] &lt;br /&gt;
| &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 06/02/11)&#039;&#039; &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| [http://repo.or.cz/w/vlc/solaris.git/shortlog/refs/heads/solaris-vlc-1.1 1.1 branch (repocz/solaris)] &lt;br /&gt;
| &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.6-git rel 1.1.7)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.10)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
(1) requirements: CSWautomake &amp;amp;gt;= 1.11.1 / pkg://openindiana.org/developer/build/automake-111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &#039;&#039;&#039;Important Note&#039;&#039;&#039;: Because of changes in VLC making xcb mandatory, video output modules relying on X11/XCB can&#039;t work until Solaris ships libxcb. Video output is currently done using SDL and will open on a separate window. Blastwave latest SDL builds uses xcb and are also unusable (referenced by sdl/aout). Configuring --disable-sdl makes builds possible, but you&#039;ll loose the sdl video output module too.&lt;br /&gt;
&lt;br /&gt;
===== Up-to-date Binary Packages =====&lt;br /&gt;
(20150514)&lt;br /&gt;
A few repositories with binary packages exist (including QT).&lt;br /&gt;
If you want to build exactly those packages yourself or report packaging bugs,&lt;br /&gt;
then please check out the instructions on http://pkgbuild.wiki.sourceforge.net &lt;br /&gt;
&lt;br /&gt;
If you want to directly install binary packages, then follow the instructions in the links below. The IPS repository setup instructions are listed there.&lt;br /&gt;
&lt;br /&gt;
VLC 2.1.5 for OpenIndiana OI151a8 / OI151a9: &lt;br /&gt;
http://sfe.opencsw.org/localhostoi151a8 (hosting kindly provided by the OpenCSW project but content is solely from SFE project)&lt;br /&gt;
&lt;br /&gt;
VLC 2.1.5 Oracle Solaris 11 (TM)&lt;br /&gt;
http://sfe.opencsw.org/localhosts11 (hosting kindly provided by the OpenCSW project but content is solely from SFE project)&lt;br /&gt;
&lt;br /&gt;
=== Building on OpenIndiana ===&lt;br /&gt;
&lt;br /&gt;
===== Config &amp;amp;amp; Build process required packages  =====&lt;br /&gt;
&lt;br /&gt;
Start by adding the [http://wiki.openindiana.org/oi/Spec+Files+Extra+Repository extra repositories]:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
(outdated!) pkg set-publisher -p http://pkg.openindiana.org/sfe&lt;br /&gt;
(outdated!) pkg set-publisher -p http://pkg.openindiana.org/sfe-encumbered&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Required packages for build:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pkg:/developer/build/automake-110&lt;br /&gt;
pkg:/developer/build/autoconf&lt;br /&gt;
pkg-config&lt;br /&gt;
pkg:/developer/gnome/gettext&lt;br /&gt;
pkg:/developer/build/libtool&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For modules:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pkg:/library/video/ffmpeg@0.8.5-0.151.1&lt;br /&gt;
pkg:/library/desktop/g++/qt@4.7.3-0.151.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting up your environment  =====&lt;br /&gt;
&lt;br /&gt;
===== Configure  =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== OpenSolaris (Deprecated) ===&lt;br /&gt;
&lt;br /&gt;
Mostly follows Solaris instructions. &lt;br /&gt;
&lt;br /&gt;
Note that despite the configure stage could be configured to call GNU&#039;s ld, the official gcc build always rely on collect2 and call the Sun linker. &lt;br /&gt;
&lt;br /&gt;
If you get undefined retain-symbol-file errors, your path haven&#039;t been fixed for the configure step (must look into /usr/ccs/bin/ first) and the build process is applying gnu&#039;s options to sun&#039;s linker. &lt;br /&gt;
&lt;br /&gt;
To use GNU&#039;s linker (optional): Either use the &amp;quot;LD_ALTEXEC=/opt/gnu/bin/gld&amp;quot; environment variable, or use a custom gcc build to use /opt/gnu/bin/gld. (vlc would fail on some gld only options like retain-symbols-file) &lt;br /&gt;
&lt;br /&gt;
( your gcc -v output must not contain: --with-ld=/usr/ccs/bin/ld --without-gnu-ld ) &lt;br /&gt;
&lt;br /&gt;
An alternative to LD_ALTEXEC would be to symlink /usr/ccs/bin/ld to /opt/gnu/bin/gld&lt;br /&gt;
&lt;br /&gt;
===== Config &amp;amp;amp; Build process required packages  =====&lt;br /&gt;
&lt;br /&gt;
Blastwave&#039;s additional packages &lt;br /&gt;
&amp;lt;pre&amp;gt;CSWfaac&lt;br /&gt;
CSWfaad2&lt;br /&gt;
CSWffmpeglib&lt;br /&gt;
CSWgcc4corert&lt;br /&gt;
CSWgcc4g++rt&lt;br /&gt;
CSWggettext&lt;br /&gt;
CSWiconv&lt;br /&gt;
CSWisaexec&lt;br /&gt;
CSWlame&lt;br /&gt;
CSWlibogg&lt;br /&gt;
CSWlibxcbdev&lt;br /&gt;
CSWncurses&lt;br /&gt;
CSWpkgutil&lt;br /&gt;
CSWstl4&lt;br /&gt;
CSWsunmath&lt;br /&gt;
CSWtheora&lt;br /&gt;
CSWvorbis&lt;br /&gt;
CSWx264&lt;br /&gt;
CSWxvid&lt;br /&gt;
CSWzlib&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Setting up your environment  =====&lt;br /&gt;
&lt;br /&gt;
For Sun Studio &lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=/usr/ccs/bin:/opt/sunstudio12.1/bin:/opt/csw/bin:/usr/xpg4/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb &lt;br /&gt;
export LD_LIBRARY_PATH=/opt/sunstudio12.1/lib:/usr/openwin/lib/X11/:/opt/kde4/lib&lt;br /&gt;
export PKG_CONFIG_PATH=/opt/kde4/lib/pkgconfig:/opt/csw/lib/pkgconfig/&lt;br /&gt;
export CFLAGS=&amp;quot;-D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__ -features=extensions -fast&amp;quot;&lt;br /&gt;
export CXXFLAGS=$CFLAGS&lt;br /&gt;
export CCC=/opt/sunstudio12.1/bin/CC CC=/opt/sunstudio12.1/bin/cc MAKE=gmake&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
For GCC &lt;br /&gt;
&lt;br /&gt;
Untested. See Solaris/Sparc. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===== Configure  =====&lt;br /&gt;
&lt;br /&gt;
Bootsrap has no problems since Osol uses bash. &lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --disable-libgcrypt --disable-remoteosd --disable-glx --disable-lua --disable-mad --disable-swscale --disable-postproc --disable-a52 --disable-fribidi --with-gnu-ld=no --enable-qt4 --disable-xcb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Solaris 10, x86  ===&lt;br /&gt;
&lt;br /&gt;
To be done. &lt;br /&gt;
&lt;br /&gt;
=== Solaris 10, SPARC  ===&lt;br /&gt;
&lt;br /&gt;
Sparc builds outside GCC, are currently unstable. &lt;br /&gt;
&lt;br /&gt;
*Many bugs fixed (until now). &lt;br /&gt;
*all shells must point to /usr/xpg4/bin/sh instead of /bin/sh (not fully posix) (tip: CONFIG_SHELL=/usr/xpg4/bin/sh) &lt;br /&gt;
*bootstrapping requires to change subprocess shell (see patch below) &lt;br /&gt;
*filesystem.c needs to be patched for NAME_MAX&lt;br /&gt;
&lt;br /&gt;
Blocking: &lt;br /&gt;
&lt;br /&gt;
*Lots of &#039;&#039;if (p==NULL) msgDbg(&amp;quot;foo&amp;amp;nbsp;%s&amp;quot;, p)&#039;&#039; in the code segfaults in multiple places. Developers have assumed that&amp;amp;nbsp;%s is fixed as &amp;quot;(null)&amp;quot; like Glibc does. Not available on sparc. &lt;br /&gt;
*crashes at network/httpd.c at poll() level.&lt;br /&gt;
&lt;br /&gt;
===== Boostrapping process required packages  =====&lt;br /&gt;
&lt;br /&gt;
Some old packages exists [http://www.blastwave.org/jir/search.fam?qs=vlc] &lt;br /&gt;
&amp;lt;pre&amp;gt;CSWautoconf  autoconf - an extensible package of M4 macros&lt;br /&gt;
             (all) 2.65,REV=2009.11.30&lt;br /&gt;
CSWautomake  automake - GNU Makefile generator inspired by 4.4BSD make and include&lt;br /&gt;
             (all) 1.10.3,REV=2009.12.09&lt;br /&gt;
CSWggettext  ggettext - GNU gettext&lt;br /&gt;
             (sparc) 0.17,REV=2009.05.27&lt;br /&gt;
CSWgm4       gm4 - The GNU m4 implementation of the traditional Unix macro processor&lt;br /&gt;
             (sparc) 1.4.13,REV=2009.04.06&lt;br /&gt;
CSWiconv     libiconv - GNU libiconv is a Unicode conversion library&lt;br /&gt;
             (sparc) 1.13.1,REV=2009.07.01&lt;br /&gt;
CSWlibtool   libtool - Generic shared library support script&lt;br /&gt;
             (sparc) 1.5.26,REV=2008.12.22&lt;br /&gt;
CSWreadline  readline - GNU readline&lt;br /&gt;
             (sparc) 5.2,REV=2009.01.23&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Config &amp;amp;amp; Build process required packages  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;CSWlua  lua - a powerful light-weight programming language&lt;br /&gt;
        (sparc) 5.1.3,REV=2008.04.29&lt;br /&gt;
**&lt;br /&gt;
CSWffmpeg  ffmpeg - very fast video and audio converter (includes libavcodec) - binaries&lt;br /&gt;
           (sparc) 0.4.9,REV=2008.06.03_rev=svn12629&lt;br /&gt;
**&lt;br /&gt;
CSWliba52  liba52 - free ATSC A/52 stream decoder&lt;br /&gt;
           (sparc) 0.7.4,REV=2007.03.05&lt;br /&gt;
**&lt;br /&gt;
CSWlibmad  libmad - MPEG Audio Decoder&lt;br /&gt;
           (sparc) 0.15.1,REV=2005.03.26_rev=b&lt;br /&gt;
**&lt;br /&gt;
CSWlibpthreadstubs  libpthreadstubs - pthread stubs not provided by native libc&lt;br /&gt;
                    (sparc) 0.1,REV=2008.11.16&lt;br /&gt;
**&lt;br /&gt;
CSWx264             x264 - H264/AVC video encoder&lt;br /&gt;
                    (sparc) 1.0.0,REV=2009.12.13&lt;br /&gt;
**&lt;br /&gt;
CSWlibxcb  libxcb - The XCB library&lt;br /&gt;
           (sparc) 1.1,REV=2008.11.16&lt;br /&gt;
CSWlibxcbdev  libxcb_dev - The XCB library&lt;br /&gt;
              (sparc) 1.1,REV=2008.11.16&lt;br /&gt;
CSWlibxau     libxau - X11 authorisation library&lt;br /&gt;
              (sparc) 1.0.4,REV=2008.11.17&lt;br /&gt;
CSWlibxaudev  libxau_dev - X11 authorisation library&lt;br /&gt;
              (sparc) 1.0.4,REV=2008.11.17&lt;br /&gt;
CSWxproto  xproto - xproto&lt;br /&gt;
           (sparc) 7.0.14,REV=2008.11.15&lt;br /&gt;
CSWlibxdmcp     libxdmcp - X11 authorisation library&lt;br /&gt;
                (sparc) 1.0.2,REV=2008.11.16&lt;br /&gt;
CSWlibxdmcpdev  libxdmcp_dev - X11 authorisation library&lt;br /&gt;
                (sparc) 1.0.2,REV=2008.11.16&lt;br /&gt;
CSWfribidi  fribidi - a free implementation of the Unicode Bidirectional Algorithm&lt;br /&gt;
            (sparc) 0.19.2,REV=2009.09.25&lt;br /&gt;
**&lt;br /&gt;
CSWqt  qt - A Cross-platform application framework for desktop and embedded development&lt;br /&gt;
       (sparc) 4.4.3,REV=2009.01.16&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Sun Studio: We needed to build those up to date packages (installed in /opt/vlc, as seen in configuration) &lt;br /&gt;
&amp;lt;pre&amp;gt;VLCQt&lt;br /&gt;
VLCflac&lt;br /&gt;
VLClibxcb-devel&lt;br /&gt;
VLClibxcb&lt;br /&gt;
VLClua&lt;br /&gt;
VLCx264&lt;br /&gt;
VLCxcbproto&lt;br /&gt;
VLCxcbutil&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Setting up your environment  =====&lt;br /&gt;
&lt;br /&gt;
For Sun Studio Assuming compiler in /opt/sunstudio12.1 and some customly built packages in /opt/vlc &lt;br /&gt;
&amp;lt;pre&amp;gt;# Required for bootstrap &lt;br /&gt;
export ACLOCAL_ARGS=&amp;quot;-I /opt/csw/share/aclocal/&amp;quot; &lt;br /&gt;
&lt;br /&gt;
# Required for configure &lt;br /&gt;
export PATH=/opt/sunstudio12.1/bin::/opt/vlc/bin:/opt/csw/bin:/usr/xpg4/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb &lt;br /&gt;
&lt;br /&gt;
export LD_LIBRARY_PATH=/opt/vlc/lib:/opt/sunstudio12.1/lib:/opt/csw/lib&lt;br /&gt;
#:/opt/SUNWmlib/lib:/usr/openwin/sfw/lib&lt;br /&gt;
&lt;br /&gt;
export PKG_CONFIG_PATH=/opt/vlc/lib/pkgconfig:/opt/csw/lib/pkgconfig:/opt/vlc/qt/lib/pkgconfig:/usr/local/lib/pkgconfig &lt;br /&gt;
&lt;br /&gt;
export LUA_LIBS=&#039;-L/opt/vlc/lib -llua&#039; LUA_CFLAGS=&#039;-I/opt/vlc/include&#039;&lt;br /&gt;
&lt;br /&gt;
export MAKE=gmake &lt;br /&gt;
export CONFIG_SHELL=&#039;/usr/xpg4/bin/sh&#039; &lt;br /&gt;
export CCC=/opt/sunstudio12.1/bin/CC CC=/opt/sunstudio12.1/bin/cc MAKE=gmake&lt;br /&gt;
&lt;br /&gt;
export XLIB_XCB_CFLAGS=&#039;-I/opt/vlc/include/xcb/&#039; XLIB_XCB_LIBS=&#039;-L/opt/vlc/lib/&#039;&lt;br /&gt;
&lt;br /&gt;
# -D_XPG4_2 required for non-sparc code compatible network structs&lt;br /&gt;
export CFLAGS=&amp;quot;-I/opt/sunstudio12.1/include -I/usr/include -features=extensions -D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__&amp;quot; &lt;br /&gt;
export CXXFLAGS=&amp;quot;-I/opt/sunstudio12.1/include -features=extensions -D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Using GCC Assuming some customly built packages in /opt/vlc &lt;br /&gt;
&amp;lt;pre&amp;gt;# Required for bootstrap &lt;br /&gt;
export ACLOCAL_ARGS=&amp;quot;-I /opt/csw/share/aclocal/&amp;quot; &lt;br /&gt;
&lt;br /&gt;
# Required for configure&lt;br /&gt;
export PATH=/opt/vlc/bin:/opt/csw/bin:/usr/xpg4/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb &lt;br /&gt;
&lt;br /&gt;
export LD_LIBRARY_PATH=/opt/vlc/lib:/opt/csw/lib:/opt/SUNWmlib/lib:/usr/openwin/sfw/lib&lt;br /&gt;
&lt;br /&gt;
export PKG_CONFIG_PATH=/opt/vlc/lib/pkgconfig:/opt/csw/lib/pkgconfig:/opt/vlc/qt/lib/pkgconfig:/usr/local/lib/pkgconfig &lt;br /&gt;
&lt;br /&gt;
export LUA_LIBS=&#039;-L/opt/vlc/lib -llua&#039; LUA_CFLAGS=&#039;-I/opt/vlc/include&#039;&lt;br /&gt;
&lt;br /&gt;
export MAKE=gmake &lt;br /&gt;
export CONFIG_SHELL=&#039;/usr/xpg4/bin/sh&#039;&lt;br /&gt;
&lt;br /&gt;
# -D_XPG4_2 required for non-sparc code compatible network structs&lt;br /&gt;
export CFLAGS=&amp;quot;-D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__&amp;quot; &lt;br /&gt;
export CXXFLAGS=$CFLAGS &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Bootstrapping  =====&lt;br /&gt;
&lt;br /&gt;
Boostrap script needs to be able to run same subshells as parent. If bootstrap fails on genmf, then the subshell has fallen back to the default /bin/sh which isn&#039;t posix compliant. In that case, you need to patch as follow: &lt;br /&gt;
&amp;lt;pre&amp;gt;@@ -97,7 +97,7 @@ AC_DEFUN([PKG_CHECK_MODULES],[ifelse([\$4], ,&amp;amp;nbsp;:, [\$4])])&lt;br /&gt;
 EOF&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
-modules/genmf `sed -ne &#039;s,modules/\(.*\)/Makefile,\1,p&#039; configure.ac`&lt;br /&gt;
+$SHELL modules/genmf `sed -ne &#039;s,modules/\(.*\)/Makefile,\1,p&#039; configure.ac`&lt;br /&gt;
&amp;lt;/pre&amp;gt; &amp;lt;pre&amp;gt;ACLOCAL_ARGS=&amp;quot;-I /usr/local/share/aclocal/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
export ACLOCAL_ARGS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/usr/xpg4/bin/sh bootstrap&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Configure  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/xpg4/bin/sh configure  --with-a52=/opt/csw/ --with-mad=/opt/csw/ --disable-libgcrypt --disable-remoteosd --disable-skins2 --disable-glx&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
--with-gnu-ld might also be required (check configure result!) &lt;br /&gt;
&lt;br /&gt;
Sun Studio: Add --disable-qt4 if required. (Qt 4.6.0 Currently fails) &lt;br /&gt;
&lt;br /&gt;
=== Qt4 Interface module  ===&lt;br /&gt;
&lt;br /&gt;
Trolltech only supports SunStudio builds. QT4 Interface is mainly C++, and creates ABI dependencies with Qt libs. Kde-solaris (bionicmutton) project packages offers the Sun ABI. If you wish to build the Qt4 Module, you need to build vlc with SunStudio, or build your own Qt library with GCC. &lt;br /&gt;
&lt;br /&gt;
You should run into a without prototype &#039;wcsstr&#039; issue in /opt/sunstudio12.1/prod/include/CC/Cstd/rw/traits Only fix known: Replace wcsstr with wcswcs in that file. &lt;br /&gt;
&lt;br /&gt;
=== libxcb  ===&lt;br /&gt;
&lt;br /&gt;
Libxcb must currently be disabled or you&#039;ll need to use custome build as there&#039;s no official support. It might make it into the official repository as the package went past the fasttrack process. &lt;br /&gt;
&lt;br /&gt;
=== Fully patched code repository  ===&lt;br /&gt;
&lt;br /&gt;
All patches are on this fork. (until they make it into the main repository) &lt;br /&gt;
&amp;lt;pre&amp;gt;git clone git://repo.or.cz/vlc/solaris.git vlcsolaris&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Patches on master branch are kept on top of this fork using rebase and forced pushes. Don&#039;t expect to pull later updates without rebasing.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;br /&gt;
[[Category:Operating systems]]&lt;/div&gt;</summary>
		<author><name>Tomsolaris</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Solaris&amp;diff=29982</id>
		<title>Solaris</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Solaris&amp;diff=29982"/>
		<updated>2015-05-14T17:23:42Z</updated>

		<summary type="html">&lt;p&gt;Tomsolaris: new version 2.1.5&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Build VLC on Solaris / OpenSolaris  ==&lt;br /&gt;
&lt;br /&gt;
=== Status  ===&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;200&amp;quot; cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;color:black;background-color:white;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| Oracle Solaris 11 x86 &lt;br /&gt;
| Solaris 10 x86 &lt;br /&gt;
| Solaris 10 SPARC &lt;br /&gt;
| &lt;br /&gt;
OpenSolaris&amp;amp;nbsp;x86 &lt;br /&gt;
&lt;br /&gt;
2009/06 &lt;br /&gt;
&lt;br /&gt;
| OpenSolaris SPARC &lt;br /&gt;
2009/06 &lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
OpenSolaris&amp;amp;nbsp;x86 &lt;br /&gt;
&lt;br /&gt;
2010/03 &lt;br /&gt;
&lt;br /&gt;
| OpenSolaris SPARC &lt;br /&gt;
2010/03 &lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
OpenIndiana x86 &lt;br /&gt;
&lt;br /&gt;
snv_134 &lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
OpenIndiana x86 oi151a8&lt;br /&gt;
&lt;br /&gt;
| OpenIndiana SPARC&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| (videolan 2.x.x&lt;br /&gt;
| style=&amp;quot;background:#8BE09F;&amp;quot; | Yes (last tested 2.1.5)&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| style=&amp;quot;background:#8BE09F;&amp;quot; | Yes (last tested 2.1.5)&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| master (videolan) &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| 1.x forks (videolan) &lt;br /&gt;
| &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| [http://repo.or.cz/w/vlc/solaris.git master (repocz/solaris)] &lt;br /&gt;
| &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 06/02/11)&#039;&#039; &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| [http://repo.or.cz/w/vlc/solaris.git/shortlog/refs/heads/solaris-vlc-1.1 1.1 branch (repocz/solaris)] &lt;br /&gt;
| &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.6-git rel 1.1.7)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.10)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
(1) requirements: CSWautomake &amp;amp;gt;= 1.11.1 / pkg://openindiana.org/developer/build/automake-111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &#039;&#039;&#039;Important Note&#039;&#039;&#039;: Because of changes in VLC making xcb mandatory, video output modules relying on X11/XCB can&#039;t work until Solaris ships libxcb. Video output is currently done using SDL and will open on a separate window. Blastwave latest SDL builds uses xcb and are also unusable (referenced by sdl/aout). Configuring --disable-sdl makes builds possible, but you&#039;ll loose the sdl video output module too.&lt;br /&gt;
&lt;br /&gt;
===== Up-to-date Binary Packages =====&lt;br /&gt;
(20150514)&lt;br /&gt;
A few repositories with binary packages exist (including QT).&lt;br /&gt;
If you want to build exactly those packages yourself or report packaging bugs,&lt;br /&gt;
then please check out the instructions on http://pkgbuild.wiki.sourceforge.net &lt;br /&gt;
&lt;br /&gt;
If you want to directly install binary packages, then follow the instructions in the links below. The IPS repository setup instructions are listed there.&lt;br /&gt;
&lt;br /&gt;
VLC 2.1.5 for OpenIndiana OI151a8 / OI151a9: &lt;br /&gt;
http://sfe.opencsw.org/localhostoi151a8 (hosting kindly provided by the OpenCSW project)&lt;br /&gt;
&lt;br /&gt;
VLC 2.1.5 Oracle Solaris 11 (TM)&lt;br /&gt;
http://sfe.opencsw.org/localhosts11 (hosting kindly provided by the OpenCSW project)&lt;br /&gt;
&lt;br /&gt;
=== Building on OpenIndiana ===&lt;br /&gt;
&lt;br /&gt;
===== Config &amp;amp;amp; Build process required packages  =====&lt;br /&gt;
&lt;br /&gt;
Start by adding the [http://wiki.openindiana.org/oi/Spec+Files+Extra+Repository extra repositories]:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
(outdated!) pkg set-publisher -p http://pkg.openindiana.org/sfe&lt;br /&gt;
(outdated!) pkg set-publisher -p http://pkg.openindiana.org/sfe-encumbered&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Required packages for build:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pkg:/developer/build/automake-110&lt;br /&gt;
pkg:/developer/build/autoconf&lt;br /&gt;
pkg-config&lt;br /&gt;
pkg:/developer/gnome/gettext&lt;br /&gt;
pkg:/developer/build/libtool&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For modules:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pkg:/library/video/ffmpeg@0.8.5-0.151.1&lt;br /&gt;
pkg:/library/desktop/g++/qt@4.7.3-0.151.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting up your environment  =====&lt;br /&gt;
&lt;br /&gt;
===== Configure  =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== OpenSolaris (Deprecated) ===&lt;br /&gt;
&lt;br /&gt;
Mostly follows Solaris instructions. &lt;br /&gt;
&lt;br /&gt;
Note that despite the configure stage could be configured to call GNU&#039;s ld, the official gcc build always rely on collect2 and call the Sun linker. &lt;br /&gt;
&lt;br /&gt;
If you get undefined retain-symbol-file errors, your path haven&#039;t been fixed for the configure step (must look into /usr/ccs/bin/ first) and the build process is applying gnu&#039;s options to sun&#039;s linker. &lt;br /&gt;
&lt;br /&gt;
To use GNU&#039;s linker (optional): Either use the &amp;quot;LD_ALTEXEC=/opt/gnu/bin/gld&amp;quot; environment variable, or use a custom gcc build to use /opt/gnu/bin/gld. (vlc would fail on some gld only options like retain-symbols-file) &lt;br /&gt;
&lt;br /&gt;
( your gcc -v output must not contain: --with-ld=/usr/ccs/bin/ld --without-gnu-ld ) &lt;br /&gt;
&lt;br /&gt;
An alternative to LD_ALTEXEC would be to symlink /usr/ccs/bin/ld to /opt/gnu/bin/gld&lt;br /&gt;
&lt;br /&gt;
===== Config &amp;amp;amp; Build process required packages  =====&lt;br /&gt;
&lt;br /&gt;
Blastwave&#039;s additional packages &lt;br /&gt;
&amp;lt;pre&amp;gt;CSWfaac&lt;br /&gt;
CSWfaad2&lt;br /&gt;
CSWffmpeglib&lt;br /&gt;
CSWgcc4corert&lt;br /&gt;
CSWgcc4g++rt&lt;br /&gt;
CSWggettext&lt;br /&gt;
CSWiconv&lt;br /&gt;
CSWisaexec&lt;br /&gt;
CSWlame&lt;br /&gt;
CSWlibogg&lt;br /&gt;
CSWlibxcbdev&lt;br /&gt;
CSWncurses&lt;br /&gt;
CSWpkgutil&lt;br /&gt;
CSWstl4&lt;br /&gt;
CSWsunmath&lt;br /&gt;
CSWtheora&lt;br /&gt;
CSWvorbis&lt;br /&gt;
CSWx264&lt;br /&gt;
CSWxvid&lt;br /&gt;
CSWzlib&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Setting up your environment  =====&lt;br /&gt;
&lt;br /&gt;
For Sun Studio &lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=/usr/ccs/bin:/opt/sunstudio12.1/bin:/opt/csw/bin:/usr/xpg4/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb &lt;br /&gt;
export LD_LIBRARY_PATH=/opt/sunstudio12.1/lib:/usr/openwin/lib/X11/:/opt/kde4/lib&lt;br /&gt;
export PKG_CONFIG_PATH=/opt/kde4/lib/pkgconfig:/opt/csw/lib/pkgconfig/&lt;br /&gt;
export CFLAGS=&amp;quot;-D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__ -features=extensions -fast&amp;quot;&lt;br /&gt;
export CXXFLAGS=$CFLAGS&lt;br /&gt;
export CCC=/opt/sunstudio12.1/bin/CC CC=/opt/sunstudio12.1/bin/cc MAKE=gmake&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
For GCC &lt;br /&gt;
&lt;br /&gt;
Untested. See Solaris/Sparc. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===== Configure  =====&lt;br /&gt;
&lt;br /&gt;
Bootsrap has no problems since Osol uses bash. &lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --disable-libgcrypt --disable-remoteosd --disable-glx --disable-lua --disable-mad --disable-swscale --disable-postproc --disable-a52 --disable-fribidi --with-gnu-ld=no --enable-qt4 --disable-xcb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Solaris 10, x86  ===&lt;br /&gt;
&lt;br /&gt;
To be done. &lt;br /&gt;
&lt;br /&gt;
=== Solaris 10, SPARC  ===&lt;br /&gt;
&lt;br /&gt;
Sparc builds outside GCC, are currently unstable. &lt;br /&gt;
&lt;br /&gt;
*Many bugs fixed (until now). &lt;br /&gt;
*all shells must point to /usr/xpg4/bin/sh instead of /bin/sh (not fully posix) (tip: CONFIG_SHELL=/usr/xpg4/bin/sh) &lt;br /&gt;
*bootstrapping requires to change subprocess shell (see patch below) &lt;br /&gt;
*filesystem.c needs to be patched for NAME_MAX&lt;br /&gt;
&lt;br /&gt;
Blocking: &lt;br /&gt;
&lt;br /&gt;
*Lots of &#039;&#039;if (p==NULL) msgDbg(&amp;quot;foo&amp;amp;nbsp;%s&amp;quot;, p)&#039;&#039; in the code segfaults in multiple places. Developers have assumed that&amp;amp;nbsp;%s is fixed as &amp;quot;(null)&amp;quot; like Glibc does. Not available on sparc. &lt;br /&gt;
*crashes at network/httpd.c at poll() level.&lt;br /&gt;
&lt;br /&gt;
===== Boostrapping process required packages  =====&lt;br /&gt;
&lt;br /&gt;
Some old packages exists [http://www.blastwave.org/jir/search.fam?qs=vlc] &lt;br /&gt;
&amp;lt;pre&amp;gt;CSWautoconf  autoconf - an extensible package of M4 macros&lt;br /&gt;
             (all) 2.65,REV=2009.11.30&lt;br /&gt;
CSWautomake  automake - GNU Makefile generator inspired by 4.4BSD make and include&lt;br /&gt;
             (all) 1.10.3,REV=2009.12.09&lt;br /&gt;
CSWggettext  ggettext - GNU gettext&lt;br /&gt;
             (sparc) 0.17,REV=2009.05.27&lt;br /&gt;
CSWgm4       gm4 - The GNU m4 implementation of the traditional Unix macro processor&lt;br /&gt;
             (sparc) 1.4.13,REV=2009.04.06&lt;br /&gt;
CSWiconv     libiconv - GNU libiconv is a Unicode conversion library&lt;br /&gt;
             (sparc) 1.13.1,REV=2009.07.01&lt;br /&gt;
CSWlibtool   libtool - Generic shared library support script&lt;br /&gt;
             (sparc) 1.5.26,REV=2008.12.22&lt;br /&gt;
CSWreadline  readline - GNU readline&lt;br /&gt;
             (sparc) 5.2,REV=2009.01.23&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Config &amp;amp;amp; Build process required packages  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;CSWlua  lua - a powerful light-weight programming language&lt;br /&gt;
        (sparc) 5.1.3,REV=2008.04.29&lt;br /&gt;
**&lt;br /&gt;
CSWffmpeg  ffmpeg - very fast video and audio converter (includes libavcodec) - binaries&lt;br /&gt;
           (sparc) 0.4.9,REV=2008.06.03_rev=svn12629&lt;br /&gt;
**&lt;br /&gt;
CSWliba52  liba52 - free ATSC A/52 stream decoder&lt;br /&gt;
           (sparc) 0.7.4,REV=2007.03.05&lt;br /&gt;
**&lt;br /&gt;
CSWlibmad  libmad - MPEG Audio Decoder&lt;br /&gt;
           (sparc) 0.15.1,REV=2005.03.26_rev=b&lt;br /&gt;
**&lt;br /&gt;
CSWlibpthreadstubs  libpthreadstubs - pthread stubs not provided by native libc&lt;br /&gt;
                    (sparc) 0.1,REV=2008.11.16&lt;br /&gt;
**&lt;br /&gt;
CSWx264             x264 - H264/AVC video encoder&lt;br /&gt;
                    (sparc) 1.0.0,REV=2009.12.13&lt;br /&gt;
**&lt;br /&gt;
CSWlibxcb  libxcb - The XCB library&lt;br /&gt;
           (sparc) 1.1,REV=2008.11.16&lt;br /&gt;
CSWlibxcbdev  libxcb_dev - The XCB library&lt;br /&gt;
              (sparc) 1.1,REV=2008.11.16&lt;br /&gt;
CSWlibxau     libxau - X11 authorisation library&lt;br /&gt;
              (sparc) 1.0.4,REV=2008.11.17&lt;br /&gt;
CSWlibxaudev  libxau_dev - X11 authorisation library&lt;br /&gt;
              (sparc) 1.0.4,REV=2008.11.17&lt;br /&gt;
CSWxproto  xproto - xproto&lt;br /&gt;
           (sparc) 7.0.14,REV=2008.11.15&lt;br /&gt;
CSWlibxdmcp     libxdmcp - X11 authorisation library&lt;br /&gt;
                (sparc) 1.0.2,REV=2008.11.16&lt;br /&gt;
CSWlibxdmcpdev  libxdmcp_dev - X11 authorisation library&lt;br /&gt;
                (sparc) 1.0.2,REV=2008.11.16&lt;br /&gt;
CSWfribidi  fribidi - a free implementation of the Unicode Bidirectional Algorithm&lt;br /&gt;
            (sparc) 0.19.2,REV=2009.09.25&lt;br /&gt;
**&lt;br /&gt;
CSWqt  qt - A Cross-platform application framework for desktop and embedded development&lt;br /&gt;
       (sparc) 4.4.3,REV=2009.01.16&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Sun Studio: We needed to build those up to date packages (installed in /opt/vlc, as seen in configuration) &lt;br /&gt;
&amp;lt;pre&amp;gt;VLCQt&lt;br /&gt;
VLCflac&lt;br /&gt;
VLClibxcb-devel&lt;br /&gt;
VLClibxcb&lt;br /&gt;
VLClua&lt;br /&gt;
VLCx264&lt;br /&gt;
VLCxcbproto&lt;br /&gt;
VLCxcbutil&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Setting up your environment  =====&lt;br /&gt;
&lt;br /&gt;
For Sun Studio Assuming compiler in /opt/sunstudio12.1 and some customly built packages in /opt/vlc &lt;br /&gt;
&amp;lt;pre&amp;gt;# Required for bootstrap &lt;br /&gt;
export ACLOCAL_ARGS=&amp;quot;-I /opt/csw/share/aclocal/&amp;quot; &lt;br /&gt;
&lt;br /&gt;
# Required for configure &lt;br /&gt;
export PATH=/opt/sunstudio12.1/bin::/opt/vlc/bin:/opt/csw/bin:/usr/xpg4/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb &lt;br /&gt;
&lt;br /&gt;
export LD_LIBRARY_PATH=/opt/vlc/lib:/opt/sunstudio12.1/lib:/opt/csw/lib&lt;br /&gt;
#:/opt/SUNWmlib/lib:/usr/openwin/sfw/lib&lt;br /&gt;
&lt;br /&gt;
export PKG_CONFIG_PATH=/opt/vlc/lib/pkgconfig:/opt/csw/lib/pkgconfig:/opt/vlc/qt/lib/pkgconfig:/usr/local/lib/pkgconfig &lt;br /&gt;
&lt;br /&gt;
export LUA_LIBS=&#039;-L/opt/vlc/lib -llua&#039; LUA_CFLAGS=&#039;-I/opt/vlc/include&#039;&lt;br /&gt;
&lt;br /&gt;
export MAKE=gmake &lt;br /&gt;
export CONFIG_SHELL=&#039;/usr/xpg4/bin/sh&#039; &lt;br /&gt;
export CCC=/opt/sunstudio12.1/bin/CC CC=/opt/sunstudio12.1/bin/cc MAKE=gmake&lt;br /&gt;
&lt;br /&gt;
export XLIB_XCB_CFLAGS=&#039;-I/opt/vlc/include/xcb/&#039; XLIB_XCB_LIBS=&#039;-L/opt/vlc/lib/&#039;&lt;br /&gt;
&lt;br /&gt;
# -D_XPG4_2 required for non-sparc code compatible network structs&lt;br /&gt;
export CFLAGS=&amp;quot;-I/opt/sunstudio12.1/include -I/usr/include -features=extensions -D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__&amp;quot; &lt;br /&gt;
export CXXFLAGS=&amp;quot;-I/opt/sunstudio12.1/include -features=extensions -D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Using GCC Assuming some customly built packages in /opt/vlc &lt;br /&gt;
&amp;lt;pre&amp;gt;# Required for bootstrap &lt;br /&gt;
export ACLOCAL_ARGS=&amp;quot;-I /opt/csw/share/aclocal/&amp;quot; &lt;br /&gt;
&lt;br /&gt;
# Required for configure&lt;br /&gt;
export PATH=/opt/vlc/bin:/opt/csw/bin:/usr/xpg4/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb &lt;br /&gt;
&lt;br /&gt;
export LD_LIBRARY_PATH=/opt/vlc/lib:/opt/csw/lib:/opt/SUNWmlib/lib:/usr/openwin/sfw/lib&lt;br /&gt;
&lt;br /&gt;
export PKG_CONFIG_PATH=/opt/vlc/lib/pkgconfig:/opt/csw/lib/pkgconfig:/opt/vlc/qt/lib/pkgconfig:/usr/local/lib/pkgconfig &lt;br /&gt;
&lt;br /&gt;
export LUA_LIBS=&#039;-L/opt/vlc/lib -llua&#039; LUA_CFLAGS=&#039;-I/opt/vlc/include&#039;&lt;br /&gt;
&lt;br /&gt;
export MAKE=gmake &lt;br /&gt;
export CONFIG_SHELL=&#039;/usr/xpg4/bin/sh&#039;&lt;br /&gt;
&lt;br /&gt;
# -D_XPG4_2 required for non-sparc code compatible network structs&lt;br /&gt;
export CFLAGS=&amp;quot;-D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__&amp;quot; &lt;br /&gt;
export CXXFLAGS=$CFLAGS &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Bootstrapping  =====&lt;br /&gt;
&lt;br /&gt;
Boostrap script needs to be able to run same subshells as parent. If bootstrap fails on genmf, then the subshell has fallen back to the default /bin/sh which isn&#039;t posix compliant. In that case, you need to patch as follow: &lt;br /&gt;
&amp;lt;pre&amp;gt;@@ -97,7 +97,7 @@ AC_DEFUN([PKG_CHECK_MODULES],[ifelse([\$4], ,&amp;amp;nbsp;:, [\$4])])&lt;br /&gt;
 EOF&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
-modules/genmf `sed -ne &#039;s,modules/\(.*\)/Makefile,\1,p&#039; configure.ac`&lt;br /&gt;
+$SHELL modules/genmf `sed -ne &#039;s,modules/\(.*\)/Makefile,\1,p&#039; configure.ac`&lt;br /&gt;
&amp;lt;/pre&amp;gt; &amp;lt;pre&amp;gt;ACLOCAL_ARGS=&amp;quot;-I /usr/local/share/aclocal/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
export ACLOCAL_ARGS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/usr/xpg4/bin/sh bootstrap&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Configure  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/xpg4/bin/sh configure  --with-a52=/opt/csw/ --with-mad=/opt/csw/ --disable-libgcrypt --disable-remoteosd --disable-skins2 --disable-glx&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
--with-gnu-ld might also be required (check configure result!) &lt;br /&gt;
&lt;br /&gt;
Sun Studio: Add --disable-qt4 if required. (Qt 4.6.0 Currently fails) &lt;br /&gt;
&lt;br /&gt;
=== Qt4 Interface module  ===&lt;br /&gt;
&lt;br /&gt;
Trolltech only supports SunStudio builds. QT4 Interface is mainly C++, and creates ABI dependencies with Qt libs. Kde-solaris (bionicmutton) project packages offers the Sun ABI. If you wish to build the Qt4 Module, you need to build vlc with SunStudio, or build your own Qt library with GCC. &lt;br /&gt;
&lt;br /&gt;
You should run into a without prototype &#039;wcsstr&#039; issue in /opt/sunstudio12.1/prod/include/CC/Cstd/rw/traits Only fix known: Replace wcsstr with wcswcs in that file. &lt;br /&gt;
&lt;br /&gt;
=== libxcb  ===&lt;br /&gt;
&lt;br /&gt;
Libxcb must currently be disabled or you&#039;ll need to use custome build as there&#039;s no official support. It might make it into the official repository as the package went past the fasttrack process. &lt;br /&gt;
&lt;br /&gt;
=== Fully patched code repository  ===&lt;br /&gt;
&lt;br /&gt;
All patches are on this fork. (until they make it into the main repository) &lt;br /&gt;
&amp;lt;pre&amp;gt;git clone git://repo.or.cz/vlc/solaris.git vlcsolaris&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Patches on master branch are kept on top of this fork using rebase and forced pushes. Don&#039;t expect to pull later updates without rebasing.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;br /&gt;
[[Category:Operating systems]]&lt;/div&gt;</summary>
		<author><name>Tomsolaris</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Solaris&amp;diff=29981</id>
		<title>Solaris</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Solaris&amp;diff=29981"/>
		<updated>2015-05-14T17:22:36Z</updated>

		<summary type="html">&lt;p&gt;Tomsolaris: Add note &amp;quot;outdated&amp;quot; because sfe.openindiana.org is *not* maintained for a very long time&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Build VLC on Solaris / OpenSolaris  ==&lt;br /&gt;
&lt;br /&gt;
=== Status  ===&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;200&amp;quot; cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;color:black;background-color:white;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| Oracle Solaris 11 x86 &lt;br /&gt;
| Solaris 10 x86 &lt;br /&gt;
| Solaris 10 SPARC &lt;br /&gt;
| &lt;br /&gt;
OpenSolaris&amp;amp;nbsp;x86 &lt;br /&gt;
&lt;br /&gt;
2009/06 &lt;br /&gt;
&lt;br /&gt;
| OpenSolaris SPARC &lt;br /&gt;
2009/06 &lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
OpenSolaris&amp;amp;nbsp;x86 &lt;br /&gt;
&lt;br /&gt;
2010/03 &lt;br /&gt;
&lt;br /&gt;
| OpenSolaris SPARC &lt;br /&gt;
2010/03 &lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
OpenIndiana x86 &lt;br /&gt;
&lt;br /&gt;
snv_134 &lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
OpenIndiana x86 oi151a8&lt;br /&gt;
&lt;br /&gt;
| OpenIndiana SPARC&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| (videolan 2.x.x&lt;br /&gt;
| style=&amp;quot;background:#8BE09F;&amp;quot; | Yes (last tested 2.1.1)&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| style=&amp;quot;background:#8BE09F;&amp;quot; | Yes (last tested 2.1.1)&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| master (videolan) &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| 1.x forks (videolan) &lt;br /&gt;
| &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| [http://repo.or.cz/w/vlc/solaris.git master (repocz/solaris)] &lt;br /&gt;
| &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 06/02/11)&#039;&#039; &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| [http://repo.or.cz/w/vlc/solaris.git/shortlog/refs/heads/solaris-vlc-1.1 1.1 branch (repocz/solaris)] &lt;br /&gt;
| &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.6-git rel 1.1.7)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.10)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
(1) requirements: CSWautomake &amp;amp;gt;= 1.11.1 / pkg://openindiana.org/developer/build/automake-111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &#039;&#039;&#039;Important Note&#039;&#039;&#039;: Because of changes in VLC making xcb mandatory, video output modules relying on X11/XCB can&#039;t work until Solaris ships libxcb. Video output is currently done using SDL and will open on a separate window. Blastwave latest SDL builds uses xcb and are also unusable (referenced by sdl/aout). Configuring --disable-sdl makes builds possible, but you&#039;ll loose the sdl video output module too.&lt;br /&gt;
&lt;br /&gt;
===== Up-to-date Binary Packages =====&lt;br /&gt;
(20150514)&lt;br /&gt;
A few repositories with binary packages exist (including QT).&lt;br /&gt;
If you want to build exactly those packages yourself or report packaging bugs,&lt;br /&gt;
then please check out the instructions on http://pkgbuild.wiki.sourceforge.net &lt;br /&gt;
&lt;br /&gt;
If you want to directly install binary packages, then follow the instructions in the links below. The IPS repository setup instructions are listed there.&lt;br /&gt;
&lt;br /&gt;
VLC 2.1.5 for OpenIndiana OI151a8 / OI151a9: &lt;br /&gt;
http://sfe.opencsw.org/localhostoi151a8 (hosting kindly provided by the OpenCSW project)&lt;br /&gt;
&lt;br /&gt;
VLC 2.1.5 Oracle Solaris 11 (TM)&lt;br /&gt;
http://sfe.opencsw.org/localhosts11 (hosting kindly provided by the OpenCSW project)&lt;br /&gt;
&lt;br /&gt;
=== Building on OpenIndiana ===&lt;br /&gt;
&lt;br /&gt;
===== Config &amp;amp;amp; Build process required packages  =====&lt;br /&gt;
&lt;br /&gt;
Start by adding the [http://wiki.openindiana.org/oi/Spec+Files+Extra+Repository extra repositories]:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
(outdated!) pkg set-publisher -p http://pkg.openindiana.org/sfe&lt;br /&gt;
(outdated!) pkg set-publisher -p http://pkg.openindiana.org/sfe-encumbered&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Required packages for build:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pkg:/developer/build/automake-110&lt;br /&gt;
pkg:/developer/build/autoconf&lt;br /&gt;
pkg-config&lt;br /&gt;
pkg:/developer/gnome/gettext&lt;br /&gt;
pkg:/developer/build/libtool&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For modules:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pkg:/library/video/ffmpeg@0.8.5-0.151.1&lt;br /&gt;
pkg:/library/desktop/g++/qt@4.7.3-0.151.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting up your environment  =====&lt;br /&gt;
&lt;br /&gt;
===== Configure  =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== OpenSolaris (Deprecated) ===&lt;br /&gt;
&lt;br /&gt;
Mostly follows Solaris instructions. &lt;br /&gt;
&lt;br /&gt;
Note that despite the configure stage could be configured to call GNU&#039;s ld, the official gcc build always rely on collect2 and call the Sun linker. &lt;br /&gt;
&lt;br /&gt;
If you get undefined retain-symbol-file errors, your path haven&#039;t been fixed for the configure step (must look into /usr/ccs/bin/ first) and the build process is applying gnu&#039;s options to sun&#039;s linker. &lt;br /&gt;
&lt;br /&gt;
To use GNU&#039;s linker (optional): Either use the &amp;quot;LD_ALTEXEC=/opt/gnu/bin/gld&amp;quot; environment variable, or use a custom gcc build to use /opt/gnu/bin/gld. (vlc would fail on some gld only options like retain-symbols-file) &lt;br /&gt;
&lt;br /&gt;
( your gcc -v output must not contain: --with-ld=/usr/ccs/bin/ld --without-gnu-ld ) &lt;br /&gt;
&lt;br /&gt;
An alternative to LD_ALTEXEC would be to symlink /usr/ccs/bin/ld to /opt/gnu/bin/gld&lt;br /&gt;
&lt;br /&gt;
===== Config &amp;amp;amp; Build process required packages  =====&lt;br /&gt;
&lt;br /&gt;
Blastwave&#039;s additional packages &lt;br /&gt;
&amp;lt;pre&amp;gt;CSWfaac&lt;br /&gt;
CSWfaad2&lt;br /&gt;
CSWffmpeglib&lt;br /&gt;
CSWgcc4corert&lt;br /&gt;
CSWgcc4g++rt&lt;br /&gt;
CSWggettext&lt;br /&gt;
CSWiconv&lt;br /&gt;
CSWisaexec&lt;br /&gt;
CSWlame&lt;br /&gt;
CSWlibogg&lt;br /&gt;
CSWlibxcbdev&lt;br /&gt;
CSWncurses&lt;br /&gt;
CSWpkgutil&lt;br /&gt;
CSWstl4&lt;br /&gt;
CSWsunmath&lt;br /&gt;
CSWtheora&lt;br /&gt;
CSWvorbis&lt;br /&gt;
CSWx264&lt;br /&gt;
CSWxvid&lt;br /&gt;
CSWzlib&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Setting up your environment  =====&lt;br /&gt;
&lt;br /&gt;
For Sun Studio &lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=/usr/ccs/bin:/opt/sunstudio12.1/bin:/opt/csw/bin:/usr/xpg4/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb &lt;br /&gt;
export LD_LIBRARY_PATH=/opt/sunstudio12.1/lib:/usr/openwin/lib/X11/:/opt/kde4/lib&lt;br /&gt;
export PKG_CONFIG_PATH=/opt/kde4/lib/pkgconfig:/opt/csw/lib/pkgconfig/&lt;br /&gt;
export CFLAGS=&amp;quot;-D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__ -features=extensions -fast&amp;quot;&lt;br /&gt;
export CXXFLAGS=$CFLAGS&lt;br /&gt;
export CCC=/opt/sunstudio12.1/bin/CC CC=/opt/sunstudio12.1/bin/cc MAKE=gmake&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
For GCC &lt;br /&gt;
&lt;br /&gt;
Untested. See Solaris/Sparc. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===== Configure  =====&lt;br /&gt;
&lt;br /&gt;
Bootsrap has no problems since Osol uses bash. &lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --disable-libgcrypt --disable-remoteosd --disable-glx --disable-lua --disable-mad --disable-swscale --disable-postproc --disable-a52 --disable-fribidi --with-gnu-ld=no --enable-qt4 --disable-xcb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Solaris 10, x86  ===&lt;br /&gt;
&lt;br /&gt;
To be done. &lt;br /&gt;
&lt;br /&gt;
=== Solaris 10, SPARC  ===&lt;br /&gt;
&lt;br /&gt;
Sparc builds outside GCC, are currently unstable. &lt;br /&gt;
&lt;br /&gt;
*Many bugs fixed (until now). &lt;br /&gt;
*all shells must point to /usr/xpg4/bin/sh instead of /bin/sh (not fully posix) (tip: CONFIG_SHELL=/usr/xpg4/bin/sh) &lt;br /&gt;
*bootstrapping requires to change subprocess shell (see patch below) &lt;br /&gt;
*filesystem.c needs to be patched for NAME_MAX&lt;br /&gt;
&lt;br /&gt;
Blocking: &lt;br /&gt;
&lt;br /&gt;
*Lots of &#039;&#039;if (p==NULL) msgDbg(&amp;quot;foo&amp;amp;nbsp;%s&amp;quot;, p)&#039;&#039; in the code segfaults in multiple places. Developers have assumed that&amp;amp;nbsp;%s is fixed as &amp;quot;(null)&amp;quot; like Glibc does. Not available on sparc. &lt;br /&gt;
*crashes at network/httpd.c at poll() level.&lt;br /&gt;
&lt;br /&gt;
===== Boostrapping process required packages  =====&lt;br /&gt;
&lt;br /&gt;
Some old packages exists [http://www.blastwave.org/jir/search.fam?qs=vlc] &lt;br /&gt;
&amp;lt;pre&amp;gt;CSWautoconf  autoconf - an extensible package of M4 macros&lt;br /&gt;
             (all) 2.65,REV=2009.11.30&lt;br /&gt;
CSWautomake  automake - GNU Makefile generator inspired by 4.4BSD make and include&lt;br /&gt;
             (all) 1.10.3,REV=2009.12.09&lt;br /&gt;
CSWggettext  ggettext - GNU gettext&lt;br /&gt;
             (sparc) 0.17,REV=2009.05.27&lt;br /&gt;
CSWgm4       gm4 - The GNU m4 implementation of the traditional Unix macro processor&lt;br /&gt;
             (sparc) 1.4.13,REV=2009.04.06&lt;br /&gt;
CSWiconv     libiconv - GNU libiconv is a Unicode conversion library&lt;br /&gt;
             (sparc) 1.13.1,REV=2009.07.01&lt;br /&gt;
CSWlibtool   libtool - Generic shared library support script&lt;br /&gt;
             (sparc) 1.5.26,REV=2008.12.22&lt;br /&gt;
CSWreadline  readline - GNU readline&lt;br /&gt;
             (sparc) 5.2,REV=2009.01.23&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Config &amp;amp;amp; Build process required packages  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;CSWlua  lua - a powerful light-weight programming language&lt;br /&gt;
        (sparc) 5.1.3,REV=2008.04.29&lt;br /&gt;
**&lt;br /&gt;
CSWffmpeg  ffmpeg - very fast video and audio converter (includes libavcodec) - binaries&lt;br /&gt;
           (sparc) 0.4.9,REV=2008.06.03_rev=svn12629&lt;br /&gt;
**&lt;br /&gt;
CSWliba52  liba52 - free ATSC A/52 stream decoder&lt;br /&gt;
           (sparc) 0.7.4,REV=2007.03.05&lt;br /&gt;
**&lt;br /&gt;
CSWlibmad  libmad - MPEG Audio Decoder&lt;br /&gt;
           (sparc) 0.15.1,REV=2005.03.26_rev=b&lt;br /&gt;
**&lt;br /&gt;
CSWlibpthreadstubs  libpthreadstubs - pthread stubs not provided by native libc&lt;br /&gt;
                    (sparc) 0.1,REV=2008.11.16&lt;br /&gt;
**&lt;br /&gt;
CSWx264             x264 - H264/AVC video encoder&lt;br /&gt;
                    (sparc) 1.0.0,REV=2009.12.13&lt;br /&gt;
**&lt;br /&gt;
CSWlibxcb  libxcb - The XCB library&lt;br /&gt;
           (sparc) 1.1,REV=2008.11.16&lt;br /&gt;
CSWlibxcbdev  libxcb_dev - The XCB library&lt;br /&gt;
              (sparc) 1.1,REV=2008.11.16&lt;br /&gt;
CSWlibxau     libxau - X11 authorisation library&lt;br /&gt;
              (sparc) 1.0.4,REV=2008.11.17&lt;br /&gt;
CSWlibxaudev  libxau_dev - X11 authorisation library&lt;br /&gt;
              (sparc) 1.0.4,REV=2008.11.17&lt;br /&gt;
CSWxproto  xproto - xproto&lt;br /&gt;
           (sparc) 7.0.14,REV=2008.11.15&lt;br /&gt;
CSWlibxdmcp     libxdmcp - X11 authorisation library&lt;br /&gt;
                (sparc) 1.0.2,REV=2008.11.16&lt;br /&gt;
CSWlibxdmcpdev  libxdmcp_dev - X11 authorisation library&lt;br /&gt;
                (sparc) 1.0.2,REV=2008.11.16&lt;br /&gt;
CSWfribidi  fribidi - a free implementation of the Unicode Bidirectional Algorithm&lt;br /&gt;
            (sparc) 0.19.2,REV=2009.09.25&lt;br /&gt;
**&lt;br /&gt;
CSWqt  qt - A Cross-platform application framework for desktop and embedded development&lt;br /&gt;
       (sparc) 4.4.3,REV=2009.01.16&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Sun Studio: We needed to build those up to date packages (installed in /opt/vlc, as seen in configuration) &lt;br /&gt;
&amp;lt;pre&amp;gt;VLCQt&lt;br /&gt;
VLCflac&lt;br /&gt;
VLClibxcb-devel&lt;br /&gt;
VLClibxcb&lt;br /&gt;
VLClua&lt;br /&gt;
VLCx264&lt;br /&gt;
VLCxcbproto&lt;br /&gt;
VLCxcbutil&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Setting up your environment  =====&lt;br /&gt;
&lt;br /&gt;
For Sun Studio Assuming compiler in /opt/sunstudio12.1 and some customly built packages in /opt/vlc &lt;br /&gt;
&amp;lt;pre&amp;gt;# Required for bootstrap &lt;br /&gt;
export ACLOCAL_ARGS=&amp;quot;-I /opt/csw/share/aclocal/&amp;quot; &lt;br /&gt;
&lt;br /&gt;
# Required for configure &lt;br /&gt;
export PATH=/opt/sunstudio12.1/bin::/opt/vlc/bin:/opt/csw/bin:/usr/xpg4/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb &lt;br /&gt;
&lt;br /&gt;
export LD_LIBRARY_PATH=/opt/vlc/lib:/opt/sunstudio12.1/lib:/opt/csw/lib&lt;br /&gt;
#:/opt/SUNWmlib/lib:/usr/openwin/sfw/lib&lt;br /&gt;
&lt;br /&gt;
export PKG_CONFIG_PATH=/opt/vlc/lib/pkgconfig:/opt/csw/lib/pkgconfig:/opt/vlc/qt/lib/pkgconfig:/usr/local/lib/pkgconfig &lt;br /&gt;
&lt;br /&gt;
export LUA_LIBS=&#039;-L/opt/vlc/lib -llua&#039; LUA_CFLAGS=&#039;-I/opt/vlc/include&#039;&lt;br /&gt;
&lt;br /&gt;
export MAKE=gmake &lt;br /&gt;
export CONFIG_SHELL=&#039;/usr/xpg4/bin/sh&#039; &lt;br /&gt;
export CCC=/opt/sunstudio12.1/bin/CC CC=/opt/sunstudio12.1/bin/cc MAKE=gmake&lt;br /&gt;
&lt;br /&gt;
export XLIB_XCB_CFLAGS=&#039;-I/opt/vlc/include/xcb/&#039; XLIB_XCB_LIBS=&#039;-L/opt/vlc/lib/&#039;&lt;br /&gt;
&lt;br /&gt;
# -D_XPG4_2 required for non-sparc code compatible network structs&lt;br /&gt;
export CFLAGS=&amp;quot;-I/opt/sunstudio12.1/include -I/usr/include -features=extensions -D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__&amp;quot; &lt;br /&gt;
export CXXFLAGS=&amp;quot;-I/opt/sunstudio12.1/include -features=extensions -D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Using GCC Assuming some customly built packages in /opt/vlc &lt;br /&gt;
&amp;lt;pre&amp;gt;# Required for bootstrap &lt;br /&gt;
export ACLOCAL_ARGS=&amp;quot;-I /opt/csw/share/aclocal/&amp;quot; &lt;br /&gt;
&lt;br /&gt;
# Required for configure&lt;br /&gt;
export PATH=/opt/vlc/bin:/opt/csw/bin:/usr/xpg4/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb &lt;br /&gt;
&lt;br /&gt;
export LD_LIBRARY_PATH=/opt/vlc/lib:/opt/csw/lib:/opt/SUNWmlib/lib:/usr/openwin/sfw/lib&lt;br /&gt;
&lt;br /&gt;
export PKG_CONFIG_PATH=/opt/vlc/lib/pkgconfig:/opt/csw/lib/pkgconfig:/opt/vlc/qt/lib/pkgconfig:/usr/local/lib/pkgconfig &lt;br /&gt;
&lt;br /&gt;
export LUA_LIBS=&#039;-L/opt/vlc/lib -llua&#039; LUA_CFLAGS=&#039;-I/opt/vlc/include&#039;&lt;br /&gt;
&lt;br /&gt;
export MAKE=gmake &lt;br /&gt;
export CONFIG_SHELL=&#039;/usr/xpg4/bin/sh&#039;&lt;br /&gt;
&lt;br /&gt;
# -D_XPG4_2 required for non-sparc code compatible network structs&lt;br /&gt;
export CFLAGS=&amp;quot;-D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__&amp;quot; &lt;br /&gt;
export CXXFLAGS=$CFLAGS &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Bootstrapping  =====&lt;br /&gt;
&lt;br /&gt;
Boostrap script needs to be able to run same subshells as parent. If bootstrap fails on genmf, then the subshell has fallen back to the default /bin/sh which isn&#039;t posix compliant. In that case, you need to patch as follow: &lt;br /&gt;
&amp;lt;pre&amp;gt;@@ -97,7 +97,7 @@ AC_DEFUN([PKG_CHECK_MODULES],[ifelse([\$4], ,&amp;amp;nbsp;:, [\$4])])&lt;br /&gt;
 EOF&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
-modules/genmf `sed -ne &#039;s,modules/\(.*\)/Makefile,\1,p&#039; configure.ac`&lt;br /&gt;
+$SHELL modules/genmf `sed -ne &#039;s,modules/\(.*\)/Makefile,\1,p&#039; configure.ac`&lt;br /&gt;
&amp;lt;/pre&amp;gt; &amp;lt;pre&amp;gt;ACLOCAL_ARGS=&amp;quot;-I /usr/local/share/aclocal/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
export ACLOCAL_ARGS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/usr/xpg4/bin/sh bootstrap&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Configure  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/xpg4/bin/sh configure  --with-a52=/opt/csw/ --with-mad=/opt/csw/ --disable-libgcrypt --disable-remoteosd --disable-skins2 --disable-glx&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
--with-gnu-ld might also be required (check configure result!) &lt;br /&gt;
&lt;br /&gt;
Sun Studio: Add --disable-qt4 if required. (Qt 4.6.0 Currently fails) &lt;br /&gt;
&lt;br /&gt;
=== Qt4 Interface module  ===&lt;br /&gt;
&lt;br /&gt;
Trolltech only supports SunStudio builds. QT4 Interface is mainly C++, and creates ABI dependencies with Qt libs. Kde-solaris (bionicmutton) project packages offers the Sun ABI. If you wish to build the Qt4 Module, you need to build vlc with SunStudio, or build your own Qt library with GCC. &lt;br /&gt;
&lt;br /&gt;
You should run into a without prototype &#039;wcsstr&#039; issue in /opt/sunstudio12.1/prod/include/CC/Cstd/rw/traits Only fix known: Replace wcsstr with wcswcs in that file. &lt;br /&gt;
&lt;br /&gt;
=== libxcb  ===&lt;br /&gt;
&lt;br /&gt;
Libxcb must currently be disabled or you&#039;ll need to use custome build as there&#039;s no official support. It might make it into the official repository as the package went past the fasttrack process. &lt;br /&gt;
&lt;br /&gt;
=== Fully patched code repository  ===&lt;br /&gt;
&lt;br /&gt;
All patches are on this fork. (until they make it into the main repository) &lt;br /&gt;
&amp;lt;pre&amp;gt;git clone git://repo.or.cz/vlc/solaris.git vlcsolaris&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Patches on master branch are kept on top of this fork using rebase and forced pushes. Don&#039;t expect to pull later updates without rebasing.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;br /&gt;
[[Category:Operating systems]]&lt;/div&gt;</summary>
		<author><name>Tomsolaris</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Solaris&amp;diff=29980</id>
		<title>Solaris</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Solaris&amp;diff=29980"/>
		<updated>2015-05-14T17:21:22Z</updated>

		<summary type="html">&lt;p&gt;Tomsolaris: update SFE section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Build VLC on Solaris / OpenSolaris  ==&lt;br /&gt;
&lt;br /&gt;
=== Status  ===&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;200&amp;quot; cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;color:black;background-color:white;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| Oracle Solaris 11 x86 &lt;br /&gt;
| Solaris 10 x86 &lt;br /&gt;
| Solaris 10 SPARC &lt;br /&gt;
| &lt;br /&gt;
OpenSolaris&amp;amp;nbsp;x86 &lt;br /&gt;
&lt;br /&gt;
2009/06 &lt;br /&gt;
&lt;br /&gt;
| OpenSolaris SPARC &lt;br /&gt;
2009/06 &lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
OpenSolaris&amp;amp;nbsp;x86 &lt;br /&gt;
&lt;br /&gt;
2010/03 &lt;br /&gt;
&lt;br /&gt;
| OpenSolaris SPARC &lt;br /&gt;
2010/03 &lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
OpenIndiana x86 &lt;br /&gt;
&lt;br /&gt;
snv_134 &lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
OpenIndiana x86 oi151a8&lt;br /&gt;
&lt;br /&gt;
| OpenIndiana SPARC&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| (videolan 2.x.x&lt;br /&gt;
| style=&amp;quot;background:#8BE09F;&amp;quot; | Yes (last tested 2.1.1)&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| style=&amp;quot;background:#8BE09F;&amp;quot; | Yes (last tested 2.1.1)&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| master (videolan) &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| 1.x forks (videolan) &lt;br /&gt;
| &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| [http://repo.or.cz/w/vlc/solaris.git master (repocz/solaris)] &lt;br /&gt;
| &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 06/02/11)&#039;&#039; &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| [http://repo.or.cz/w/vlc/solaris.git/shortlog/refs/heads/solaris-vlc-1.1 1.1 branch (repocz/solaris)] &lt;br /&gt;
| &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.6-git rel 1.1.7)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.10)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
(1) requirements: CSWautomake &amp;amp;gt;= 1.11.1 / pkg://openindiana.org/developer/build/automake-111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &#039;&#039;&#039;Important Note&#039;&#039;&#039;: Because of changes in VLC making xcb mandatory, video output modules relying on X11/XCB can&#039;t work until Solaris ships libxcb. Video output is currently done using SDL and will open on a separate window. Blastwave latest SDL builds uses xcb and are also unusable (referenced by sdl/aout). Configuring --disable-sdl makes builds possible, but you&#039;ll loose the sdl video output module too.&lt;br /&gt;
&lt;br /&gt;
===== Up-to-date Binary Packages =====&lt;br /&gt;
(20150514)&lt;br /&gt;
A few repositories with binary packages exist (including QT).&lt;br /&gt;
If you want to build exactly those packages yourself or report packaging bugs,&lt;br /&gt;
then please check out the instructions on http://pkgbuild.wiki.sourceforge.net &lt;br /&gt;
&lt;br /&gt;
If you want to directly install binary packages, then follow the instructions in the links below. The IPS repository setup instructions are listed there.&lt;br /&gt;
&lt;br /&gt;
VLC 2.1.5 for OpenIndiana OI151a8 / OI151a9: &lt;br /&gt;
http://sfe.opencsw.org/localhostoi151a8 (hosting kindly provided by the OpenCSW project)&lt;br /&gt;
&lt;br /&gt;
VLC 2.1.5 Oracle Solaris 11 (TM)&lt;br /&gt;
http://sfe.opencsw.org/localhosts11 (hosting kindly provided by the OpenCSW project)&lt;br /&gt;
&lt;br /&gt;
=== Building on OpenIndiana ===&lt;br /&gt;
&lt;br /&gt;
===== Config &amp;amp;amp; Build process required packages  =====&lt;br /&gt;
&lt;br /&gt;
Start by adding the [http://wiki.openindiana.org/oi/Spec+Files+Extra+Repository extra repositories]:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pkg set-publisher -p http://pkg.openindiana.org/sfe&lt;br /&gt;
pkg set-publisher -p http://pkg.openindiana.org/sfe-encumbered&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Required packages for build:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pkg:/developer/build/automake-110&lt;br /&gt;
pkg:/developer/build/autoconf&lt;br /&gt;
pkg-config&lt;br /&gt;
pkg:/developer/gnome/gettext&lt;br /&gt;
pkg:/developer/build/libtool&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For modules:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pkg:/library/video/ffmpeg@0.8.5-0.151.1&lt;br /&gt;
pkg:/library/desktop/g++/qt@4.7.3-0.151.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting up your environment  =====&lt;br /&gt;
&lt;br /&gt;
===== Configure  =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== OpenSolaris (Deprecated) ===&lt;br /&gt;
&lt;br /&gt;
Mostly follows Solaris instructions. &lt;br /&gt;
&lt;br /&gt;
Note that despite the configure stage could be configured to call GNU&#039;s ld, the official gcc build always rely on collect2 and call the Sun linker. &lt;br /&gt;
&lt;br /&gt;
If you get undefined retain-symbol-file errors, your path haven&#039;t been fixed for the configure step (must look into /usr/ccs/bin/ first) and the build process is applying gnu&#039;s options to sun&#039;s linker. &lt;br /&gt;
&lt;br /&gt;
To use GNU&#039;s linker (optional): Either use the &amp;quot;LD_ALTEXEC=/opt/gnu/bin/gld&amp;quot; environment variable, or use a custom gcc build to use /opt/gnu/bin/gld. (vlc would fail on some gld only options like retain-symbols-file) &lt;br /&gt;
&lt;br /&gt;
( your gcc -v output must not contain: --with-ld=/usr/ccs/bin/ld --without-gnu-ld ) &lt;br /&gt;
&lt;br /&gt;
An alternative to LD_ALTEXEC would be to symlink /usr/ccs/bin/ld to /opt/gnu/bin/gld&lt;br /&gt;
&lt;br /&gt;
===== Config &amp;amp;amp; Build process required packages  =====&lt;br /&gt;
&lt;br /&gt;
Blastwave&#039;s additional packages &lt;br /&gt;
&amp;lt;pre&amp;gt;CSWfaac&lt;br /&gt;
CSWfaad2&lt;br /&gt;
CSWffmpeglib&lt;br /&gt;
CSWgcc4corert&lt;br /&gt;
CSWgcc4g++rt&lt;br /&gt;
CSWggettext&lt;br /&gt;
CSWiconv&lt;br /&gt;
CSWisaexec&lt;br /&gt;
CSWlame&lt;br /&gt;
CSWlibogg&lt;br /&gt;
CSWlibxcbdev&lt;br /&gt;
CSWncurses&lt;br /&gt;
CSWpkgutil&lt;br /&gt;
CSWstl4&lt;br /&gt;
CSWsunmath&lt;br /&gt;
CSWtheora&lt;br /&gt;
CSWvorbis&lt;br /&gt;
CSWx264&lt;br /&gt;
CSWxvid&lt;br /&gt;
CSWzlib&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Setting up your environment  =====&lt;br /&gt;
&lt;br /&gt;
For Sun Studio &lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=/usr/ccs/bin:/opt/sunstudio12.1/bin:/opt/csw/bin:/usr/xpg4/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb &lt;br /&gt;
export LD_LIBRARY_PATH=/opt/sunstudio12.1/lib:/usr/openwin/lib/X11/:/opt/kde4/lib&lt;br /&gt;
export PKG_CONFIG_PATH=/opt/kde4/lib/pkgconfig:/opt/csw/lib/pkgconfig/&lt;br /&gt;
export CFLAGS=&amp;quot;-D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__ -features=extensions -fast&amp;quot;&lt;br /&gt;
export CXXFLAGS=$CFLAGS&lt;br /&gt;
export CCC=/opt/sunstudio12.1/bin/CC CC=/opt/sunstudio12.1/bin/cc MAKE=gmake&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
For GCC &lt;br /&gt;
&lt;br /&gt;
Untested. See Solaris/Sparc. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===== Configure  =====&lt;br /&gt;
&lt;br /&gt;
Bootsrap has no problems since Osol uses bash. &lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --disable-libgcrypt --disable-remoteosd --disable-glx --disable-lua --disable-mad --disable-swscale --disable-postproc --disable-a52 --disable-fribidi --with-gnu-ld=no --enable-qt4 --disable-xcb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Solaris 10, x86  ===&lt;br /&gt;
&lt;br /&gt;
To be done. &lt;br /&gt;
&lt;br /&gt;
=== Solaris 10, SPARC  ===&lt;br /&gt;
&lt;br /&gt;
Sparc builds outside GCC, are currently unstable. &lt;br /&gt;
&lt;br /&gt;
*Many bugs fixed (until now). &lt;br /&gt;
*all shells must point to /usr/xpg4/bin/sh instead of /bin/sh (not fully posix) (tip: CONFIG_SHELL=/usr/xpg4/bin/sh) &lt;br /&gt;
*bootstrapping requires to change subprocess shell (see patch below) &lt;br /&gt;
*filesystem.c needs to be patched for NAME_MAX&lt;br /&gt;
&lt;br /&gt;
Blocking: &lt;br /&gt;
&lt;br /&gt;
*Lots of &#039;&#039;if (p==NULL) msgDbg(&amp;quot;foo&amp;amp;nbsp;%s&amp;quot;, p)&#039;&#039; in the code segfaults in multiple places. Developers have assumed that&amp;amp;nbsp;%s is fixed as &amp;quot;(null)&amp;quot; like Glibc does. Not available on sparc. &lt;br /&gt;
*crashes at network/httpd.c at poll() level.&lt;br /&gt;
&lt;br /&gt;
===== Boostrapping process required packages  =====&lt;br /&gt;
&lt;br /&gt;
Some old packages exists [http://www.blastwave.org/jir/search.fam?qs=vlc] &lt;br /&gt;
&amp;lt;pre&amp;gt;CSWautoconf  autoconf - an extensible package of M4 macros&lt;br /&gt;
             (all) 2.65,REV=2009.11.30&lt;br /&gt;
CSWautomake  automake - GNU Makefile generator inspired by 4.4BSD make and include&lt;br /&gt;
             (all) 1.10.3,REV=2009.12.09&lt;br /&gt;
CSWggettext  ggettext - GNU gettext&lt;br /&gt;
             (sparc) 0.17,REV=2009.05.27&lt;br /&gt;
CSWgm4       gm4 - The GNU m4 implementation of the traditional Unix macro processor&lt;br /&gt;
             (sparc) 1.4.13,REV=2009.04.06&lt;br /&gt;
CSWiconv     libiconv - GNU libiconv is a Unicode conversion library&lt;br /&gt;
             (sparc) 1.13.1,REV=2009.07.01&lt;br /&gt;
CSWlibtool   libtool - Generic shared library support script&lt;br /&gt;
             (sparc) 1.5.26,REV=2008.12.22&lt;br /&gt;
CSWreadline  readline - GNU readline&lt;br /&gt;
             (sparc) 5.2,REV=2009.01.23&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Config &amp;amp;amp; Build process required packages  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;CSWlua  lua - a powerful light-weight programming language&lt;br /&gt;
        (sparc) 5.1.3,REV=2008.04.29&lt;br /&gt;
**&lt;br /&gt;
CSWffmpeg  ffmpeg - very fast video and audio converter (includes libavcodec) - binaries&lt;br /&gt;
           (sparc) 0.4.9,REV=2008.06.03_rev=svn12629&lt;br /&gt;
**&lt;br /&gt;
CSWliba52  liba52 - free ATSC A/52 stream decoder&lt;br /&gt;
           (sparc) 0.7.4,REV=2007.03.05&lt;br /&gt;
**&lt;br /&gt;
CSWlibmad  libmad - MPEG Audio Decoder&lt;br /&gt;
           (sparc) 0.15.1,REV=2005.03.26_rev=b&lt;br /&gt;
**&lt;br /&gt;
CSWlibpthreadstubs  libpthreadstubs - pthread stubs not provided by native libc&lt;br /&gt;
                    (sparc) 0.1,REV=2008.11.16&lt;br /&gt;
**&lt;br /&gt;
CSWx264             x264 - H264/AVC video encoder&lt;br /&gt;
                    (sparc) 1.0.0,REV=2009.12.13&lt;br /&gt;
**&lt;br /&gt;
CSWlibxcb  libxcb - The XCB library&lt;br /&gt;
           (sparc) 1.1,REV=2008.11.16&lt;br /&gt;
CSWlibxcbdev  libxcb_dev - The XCB library&lt;br /&gt;
              (sparc) 1.1,REV=2008.11.16&lt;br /&gt;
CSWlibxau     libxau - X11 authorisation library&lt;br /&gt;
              (sparc) 1.0.4,REV=2008.11.17&lt;br /&gt;
CSWlibxaudev  libxau_dev - X11 authorisation library&lt;br /&gt;
              (sparc) 1.0.4,REV=2008.11.17&lt;br /&gt;
CSWxproto  xproto - xproto&lt;br /&gt;
           (sparc) 7.0.14,REV=2008.11.15&lt;br /&gt;
CSWlibxdmcp     libxdmcp - X11 authorisation library&lt;br /&gt;
                (sparc) 1.0.2,REV=2008.11.16&lt;br /&gt;
CSWlibxdmcpdev  libxdmcp_dev - X11 authorisation library&lt;br /&gt;
                (sparc) 1.0.2,REV=2008.11.16&lt;br /&gt;
CSWfribidi  fribidi - a free implementation of the Unicode Bidirectional Algorithm&lt;br /&gt;
            (sparc) 0.19.2,REV=2009.09.25&lt;br /&gt;
**&lt;br /&gt;
CSWqt  qt - A Cross-platform application framework for desktop and embedded development&lt;br /&gt;
       (sparc) 4.4.3,REV=2009.01.16&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Sun Studio: We needed to build those up to date packages (installed in /opt/vlc, as seen in configuration) &lt;br /&gt;
&amp;lt;pre&amp;gt;VLCQt&lt;br /&gt;
VLCflac&lt;br /&gt;
VLClibxcb-devel&lt;br /&gt;
VLClibxcb&lt;br /&gt;
VLClua&lt;br /&gt;
VLCx264&lt;br /&gt;
VLCxcbproto&lt;br /&gt;
VLCxcbutil&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Setting up your environment  =====&lt;br /&gt;
&lt;br /&gt;
For Sun Studio Assuming compiler in /opt/sunstudio12.1 and some customly built packages in /opt/vlc &lt;br /&gt;
&amp;lt;pre&amp;gt;# Required for bootstrap &lt;br /&gt;
export ACLOCAL_ARGS=&amp;quot;-I /opt/csw/share/aclocal/&amp;quot; &lt;br /&gt;
&lt;br /&gt;
# Required for configure &lt;br /&gt;
export PATH=/opt/sunstudio12.1/bin::/opt/vlc/bin:/opt/csw/bin:/usr/xpg4/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb &lt;br /&gt;
&lt;br /&gt;
export LD_LIBRARY_PATH=/opt/vlc/lib:/opt/sunstudio12.1/lib:/opt/csw/lib&lt;br /&gt;
#:/opt/SUNWmlib/lib:/usr/openwin/sfw/lib&lt;br /&gt;
&lt;br /&gt;
export PKG_CONFIG_PATH=/opt/vlc/lib/pkgconfig:/opt/csw/lib/pkgconfig:/opt/vlc/qt/lib/pkgconfig:/usr/local/lib/pkgconfig &lt;br /&gt;
&lt;br /&gt;
export LUA_LIBS=&#039;-L/opt/vlc/lib -llua&#039; LUA_CFLAGS=&#039;-I/opt/vlc/include&#039;&lt;br /&gt;
&lt;br /&gt;
export MAKE=gmake &lt;br /&gt;
export CONFIG_SHELL=&#039;/usr/xpg4/bin/sh&#039; &lt;br /&gt;
export CCC=/opt/sunstudio12.1/bin/CC CC=/opt/sunstudio12.1/bin/cc MAKE=gmake&lt;br /&gt;
&lt;br /&gt;
export XLIB_XCB_CFLAGS=&#039;-I/opt/vlc/include/xcb/&#039; XLIB_XCB_LIBS=&#039;-L/opt/vlc/lib/&#039;&lt;br /&gt;
&lt;br /&gt;
# -D_XPG4_2 required for non-sparc code compatible network structs&lt;br /&gt;
export CFLAGS=&amp;quot;-I/opt/sunstudio12.1/include -I/usr/include -features=extensions -D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__&amp;quot; &lt;br /&gt;
export CXXFLAGS=&amp;quot;-I/opt/sunstudio12.1/include -features=extensions -D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Using GCC Assuming some customly built packages in /opt/vlc &lt;br /&gt;
&amp;lt;pre&amp;gt;# Required for bootstrap &lt;br /&gt;
export ACLOCAL_ARGS=&amp;quot;-I /opt/csw/share/aclocal/&amp;quot; &lt;br /&gt;
&lt;br /&gt;
# Required for configure&lt;br /&gt;
export PATH=/opt/vlc/bin:/opt/csw/bin:/usr/xpg4/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb &lt;br /&gt;
&lt;br /&gt;
export LD_LIBRARY_PATH=/opt/vlc/lib:/opt/csw/lib:/opt/SUNWmlib/lib:/usr/openwin/sfw/lib&lt;br /&gt;
&lt;br /&gt;
export PKG_CONFIG_PATH=/opt/vlc/lib/pkgconfig:/opt/csw/lib/pkgconfig:/opt/vlc/qt/lib/pkgconfig:/usr/local/lib/pkgconfig &lt;br /&gt;
&lt;br /&gt;
export LUA_LIBS=&#039;-L/opt/vlc/lib -llua&#039; LUA_CFLAGS=&#039;-I/opt/vlc/include&#039;&lt;br /&gt;
&lt;br /&gt;
export MAKE=gmake &lt;br /&gt;
export CONFIG_SHELL=&#039;/usr/xpg4/bin/sh&#039;&lt;br /&gt;
&lt;br /&gt;
# -D_XPG4_2 required for non-sparc code compatible network structs&lt;br /&gt;
export CFLAGS=&amp;quot;-D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__&amp;quot; &lt;br /&gt;
export CXXFLAGS=$CFLAGS &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Bootstrapping  =====&lt;br /&gt;
&lt;br /&gt;
Boostrap script needs to be able to run same subshells as parent. If bootstrap fails on genmf, then the subshell has fallen back to the default /bin/sh which isn&#039;t posix compliant. In that case, you need to patch as follow: &lt;br /&gt;
&amp;lt;pre&amp;gt;@@ -97,7 +97,7 @@ AC_DEFUN([PKG_CHECK_MODULES],[ifelse([\$4], ,&amp;amp;nbsp;:, [\$4])])&lt;br /&gt;
 EOF&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
-modules/genmf `sed -ne &#039;s,modules/\(.*\)/Makefile,\1,p&#039; configure.ac`&lt;br /&gt;
+$SHELL modules/genmf `sed -ne &#039;s,modules/\(.*\)/Makefile,\1,p&#039; configure.ac`&lt;br /&gt;
&amp;lt;/pre&amp;gt; &amp;lt;pre&amp;gt;ACLOCAL_ARGS=&amp;quot;-I /usr/local/share/aclocal/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
export ACLOCAL_ARGS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/usr/xpg4/bin/sh bootstrap&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Configure  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/xpg4/bin/sh configure  --with-a52=/opt/csw/ --with-mad=/opt/csw/ --disable-libgcrypt --disable-remoteosd --disable-skins2 --disable-glx&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
--with-gnu-ld might also be required (check configure result!) &lt;br /&gt;
&lt;br /&gt;
Sun Studio: Add --disable-qt4 if required. (Qt 4.6.0 Currently fails) &lt;br /&gt;
&lt;br /&gt;
=== Qt4 Interface module  ===&lt;br /&gt;
&lt;br /&gt;
Trolltech only supports SunStudio builds. QT4 Interface is mainly C++, and creates ABI dependencies with Qt libs. Kde-solaris (bionicmutton) project packages offers the Sun ABI. If you wish to build the Qt4 Module, you need to build vlc with SunStudio, or build your own Qt library with GCC. &lt;br /&gt;
&lt;br /&gt;
You should run into a without prototype &#039;wcsstr&#039; issue in /opt/sunstudio12.1/prod/include/CC/Cstd/rw/traits Only fix known: Replace wcsstr with wcswcs in that file. &lt;br /&gt;
&lt;br /&gt;
=== libxcb  ===&lt;br /&gt;
&lt;br /&gt;
Libxcb must currently be disabled or you&#039;ll need to use custome build as there&#039;s no official support. It might make it into the official repository as the package went past the fasttrack process. &lt;br /&gt;
&lt;br /&gt;
=== Fully patched code repository  ===&lt;br /&gt;
&lt;br /&gt;
All patches are on this fork. (until they make it into the main repository) &lt;br /&gt;
&amp;lt;pre&amp;gt;git clone git://repo.or.cz/vlc/solaris.git vlcsolaris&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Patches on master branch are kept on top of this fork using rebase and forced pushes. Don&#039;t expect to pull later updates without rebasing.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;br /&gt;
[[Category:Operating systems]]&lt;/div&gt;</summary>
		<author><name>Tomsolaris</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Solaris&amp;diff=26327</id>
		<title>Solaris</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Solaris&amp;diff=26327"/>
		<updated>2013-12-30T16:53:52Z</updated>

		<summary type="html">&lt;p&gt;Tomsolaris: refine binary packages section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Build VLC on Solaris / OpenSolaris  ==&lt;br /&gt;
&lt;br /&gt;
=== Status  ===&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;200&amp;quot; cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;color:black;background-color:white;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| Oracle Solaris 11 x86 &lt;br /&gt;
| Solaris 10 x86 &lt;br /&gt;
| Solaris 10 SPARC &lt;br /&gt;
| &lt;br /&gt;
OpenSolaris&amp;amp;nbsp;x86 &lt;br /&gt;
&lt;br /&gt;
2009/06 &lt;br /&gt;
&lt;br /&gt;
| OpenSolaris SPARC &lt;br /&gt;
2009/06 &lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
OpenSolaris&amp;amp;nbsp;x86 &lt;br /&gt;
&lt;br /&gt;
2010/03 &lt;br /&gt;
&lt;br /&gt;
| OpenSolaris SPARC &lt;br /&gt;
2010/03 &lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
OpenIndiana x86 &lt;br /&gt;
&lt;br /&gt;
snv_134 &lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
OpenIndiana x86 oi151a8&lt;br /&gt;
&lt;br /&gt;
| OpenIndiana SPARC&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| (videolan 2.x.x&lt;br /&gt;
| style=&amp;quot;background:#8BE09F;&amp;quot; | Yes (last tested 2.1.1)&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| style=&amp;quot;background:#8BE09F;&amp;quot; | Yes (last tested 2.1.1)&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| master (videolan) &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| 1.x forks (videolan) &lt;br /&gt;
| &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| [http://repo.or.cz/w/vlc/solaris.git master (repocz/solaris)] &lt;br /&gt;
| &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 06/02/11)&#039;&#039; &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| [http://repo.or.cz/w/vlc/solaris.git/shortlog/refs/heads/solaris-vlc-1.1 1.1 branch (repocz/solaris)] &lt;br /&gt;
| &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.6-git rel 1.1.7)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.10)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
(1) requirements: CSWautomake &amp;amp;gt;= 1.11.1 / pkg://openindiana.org/developer/build/automake-111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &#039;&#039;&#039;Important Note&#039;&#039;&#039;: Because of changes in VLC making xcb mandatory, video output modules relying on X11/XCB can&#039;t work until Solaris ships libxcb. Video output is currently done using SDL and will open on a separate window. Blastwave latest SDL builds uses xcb and are also unusable (referenced by sdl/aout). Configuring --disable-sdl makes builds possible, but you&#039;ll loose the sdl video output module too.&lt;br /&gt;
&lt;br /&gt;
===== Binary Packages =====&lt;br /&gt;
(20131230)&lt;br /&gt;
A few repositories with binary packages exist (including QT).&lt;br /&gt;
If you want to build exactly those packages yourself or report packaging bugs,&lt;br /&gt;
then please check out the instructions on http://pkgbuild.wiki.sourceforge.net &lt;br /&gt;
&lt;br /&gt;
If you want to directly install binary packages, then follow the instructions in the links below. The IPS repository setup instructions are listed there.&lt;br /&gt;
&lt;br /&gt;
OpenIndiana: &lt;br /&gt;
http://sfe.opencsw.org (hosting kindly provided by the OpenCSW project)&lt;br /&gt;
&lt;br /&gt;
Oracle Solaris 11 (TM)&lt;br /&gt;
http://sfe.opencsw.org (hosting kindly provided by the OpenCSW project)&lt;br /&gt;
&lt;br /&gt;
=== Building on OpenIndiana ===&lt;br /&gt;
&lt;br /&gt;
===== Config &amp;amp;amp; Build process required packages  =====&lt;br /&gt;
&lt;br /&gt;
Start by adding the [http://wiki.openindiana.org/oi/Spec+Files+Extra+Repository extra repositories]:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pkg set-publisher -p http://pkg.openindiana.org/sfe&lt;br /&gt;
pkg set-publisher -p http://pkg.openindiana.org/sfe-encumbered&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Required packages for build:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pkg:/developer/build/automake-110&lt;br /&gt;
pkg:/developer/build/autoconf&lt;br /&gt;
pkg-config&lt;br /&gt;
pkg:/developer/gnome/gettext&lt;br /&gt;
pkg:/developer/build/libtool&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For modules:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pkg:/library/video/ffmpeg@0.8.5-0.151.1&lt;br /&gt;
pkg:/library/desktop/g++/qt@4.7.3-0.151.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting up your environment  =====&lt;br /&gt;
&lt;br /&gt;
===== Configure  =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== OpenSolaris (Deprecated) ===&lt;br /&gt;
&lt;br /&gt;
Mostly follows Solaris instructions. &lt;br /&gt;
&lt;br /&gt;
Note that despite the configure stage could be configured to call GNU&#039;s ld, the official gcc build always rely on collect2 and call the Sun linker. &lt;br /&gt;
&lt;br /&gt;
If you get undefined retain-symbol-file errors, your path haven&#039;t been fixed for the configure step (must look into /usr/ccs/bin/ first) and the build process is applying gnu&#039;s options to sun&#039;s linker. &lt;br /&gt;
&lt;br /&gt;
To use GNU&#039;s linker (optional): Either use the &amp;quot;LD_ALTEXEC=/opt/gnu/bin/gld&amp;quot; environment variable, or use a custom gcc build to use /opt/gnu/bin/gld. (vlc would fail on some gld only options like retain-symbols-file) &lt;br /&gt;
&lt;br /&gt;
( your gcc -v output must not contain: --with-ld=/usr/ccs/bin/ld --without-gnu-ld ) &lt;br /&gt;
&lt;br /&gt;
An alternative to LD_ALTEXEC would be to symlink /usr/ccs/bin/ld to /opt/gnu/bin/gld&lt;br /&gt;
&lt;br /&gt;
===== Config &amp;amp;amp; Build process required packages  =====&lt;br /&gt;
&lt;br /&gt;
Blastwave&#039;s additional packages &lt;br /&gt;
&amp;lt;pre&amp;gt;CSWfaac&lt;br /&gt;
CSWfaad2&lt;br /&gt;
CSWffmpeglib&lt;br /&gt;
CSWgcc4corert&lt;br /&gt;
CSWgcc4g++rt&lt;br /&gt;
CSWggettext&lt;br /&gt;
CSWiconv&lt;br /&gt;
CSWisaexec&lt;br /&gt;
CSWlame&lt;br /&gt;
CSWlibogg&lt;br /&gt;
CSWlibxcbdev&lt;br /&gt;
CSWncurses&lt;br /&gt;
CSWpkgutil&lt;br /&gt;
CSWstl4&lt;br /&gt;
CSWsunmath&lt;br /&gt;
CSWtheora&lt;br /&gt;
CSWvorbis&lt;br /&gt;
CSWx264&lt;br /&gt;
CSWxvid&lt;br /&gt;
CSWzlib&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Setting up your environment  =====&lt;br /&gt;
&lt;br /&gt;
For Sun Studio &lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=/usr/ccs/bin:/opt/sunstudio12.1/bin:/opt/csw/bin:/usr/xpg4/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb &lt;br /&gt;
export LD_LIBRARY_PATH=/opt/sunstudio12.1/lib:/usr/openwin/lib/X11/:/opt/kde4/lib&lt;br /&gt;
export PKG_CONFIG_PATH=/opt/kde4/lib/pkgconfig:/opt/csw/lib/pkgconfig/&lt;br /&gt;
export CFLAGS=&amp;quot;-D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__ -features=extensions -fast&amp;quot;&lt;br /&gt;
export CXXFLAGS=$CFLAGS&lt;br /&gt;
export CCC=/opt/sunstudio12.1/bin/CC CC=/opt/sunstudio12.1/bin/cc MAKE=gmake&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
For GCC &lt;br /&gt;
&lt;br /&gt;
Untested. See Solaris/Sparc. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===== Configure  =====&lt;br /&gt;
&lt;br /&gt;
Bootsrap has no problems since Osol uses bash. &lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --disable-libgcrypt --disable-remoteosd --disable-glx --disable-lua --disable-mad --disable-swscale --disable-postproc --disable-a52 --disable-fribidi --with-gnu-ld=no --enable-qt4 --disable-xcb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Solaris 10, x86  ===&lt;br /&gt;
&lt;br /&gt;
To be done. &lt;br /&gt;
&lt;br /&gt;
=== Solaris 10, SPARC  ===&lt;br /&gt;
&lt;br /&gt;
Sparc builds outside GCC, are currently unstable. &lt;br /&gt;
&lt;br /&gt;
*Many bugs fixed (until now). &lt;br /&gt;
*all shells must point to /usr/xpg4/bin/sh instead of /bin/sh (not fully posix) (tip: CONFIG_SHELL=/usr/xpg4/bin/sh) &lt;br /&gt;
*bootstrapping requires to change subprocess shell (see patch below) &lt;br /&gt;
*filesystem.c needs to be patched for NAME_MAX&lt;br /&gt;
&lt;br /&gt;
Blocking: &lt;br /&gt;
&lt;br /&gt;
*Lots of &#039;&#039;if (p==NULL) msgDbg(&amp;quot;foo&amp;amp;nbsp;%s&amp;quot;, p)&#039;&#039; in the code segfaults in multiple places. Developers have assumed that&amp;amp;nbsp;%s is fixed as &amp;quot;(null)&amp;quot; like Glibc does. Not available on sparc. &lt;br /&gt;
*crashes at network/httpd.c at poll() level.&lt;br /&gt;
&lt;br /&gt;
===== Boostrapping process required packages  =====&lt;br /&gt;
&lt;br /&gt;
Some old packages exists [http://www.blastwave.org/jir/search.fam?qs=vlc] &lt;br /&gt;
&amp;lt;pre&amp;gt;CSWautoconf  autoconf - an extensible package of M4 macros&lt;br /&gt;
             (all) 2.65,REV=2009.11.30&lt;br /&gt;
CSWautomake  automake - GNU Makefile generator inspired by 4.4BSD make and include&lt;br /&gt;
             (all) 1.10.3,REV=2009.12.09&lt;br /&gt;
CSWggettext  ggettext - GNU gettext&lt;br /&gt;
             (sparc) 0.17,REV=2009.05.27&lt;br /&gt;
CSWgm4       gm4 - The GNU m4 implementation of the traditional Unix macro processor&lt;br /&gt;
             (sparc) 1.4.13,REV=2009.04.06&lt;br /&gt;
CSWiconv     libiconv - GNU libiconv is a Unicode conversion library&lt;br /&gt;
             (sparc) 1.13.1,REV=2009.07.01&lt;br /&gt;
CSWlibtool   libtool - Generic shared library support script&lt;br /&gt;
             (sparc) 1.5.26,REV=2008.12.22&lt;br /&gt;
CSWreadline  readline - GNU readline&lt;br /&gt;
             (sparc) 5.2,REV=2009.01.23&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Config &amp;amp;amp; Build process required packages  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;CSWlua  lua - a powerful light-weight programming language&lt;br /&gt;
        (sparc) 5.1.3,REV=2008.04.29&lt;br /&gt;
**&lt;br /&gt;
CSWffmpeg  ffmpeg - very fast video and audio converter (includes libavcodec) - binaries&lt;br /&gt;
           (sparc) 0.4.9,REV=2008.06.03_rev=svn12629&lt;br /&gt;
**&lt;br /&gt;
CSWliba52  liba52 - free ATSC A/52 stream decoder&lt;br /&gt;
           (sparc) 0.7.4,REV=2007.03.05&lt;br /&gt;
**&lt;br /&gt;
CSWlibmad  libmad - MPEG Audio Decoder&lt;br /&gt;
           (sparc) 0.15.1,REV=2005.03.26_rev=b&lt;br /&gt;
**&lt;br /&gt;
CSWlibpthreadstubs  libpthreadstubs - pthread stubs not provided by native libc&lt;br /&gt;
                    (sparc) 0.1,REV=2008.11.16&lt;br /&gt;
**&lt;br /&gt;
CSWx264             x264 - H264/AVC video encoder&lt;br /&gt;
                    (sparc) 1.0.0,REV=2009.12.13&lt;br /&gt;
**&lt;br /&gt;
CSWlibxcb  libxcb - The XCB library&lt;br /&gt;
           (sparc) 1.1,REV=2008.11.16&lt;br /&gt;
CSWlibxcbdev  libxcb_dev - The XCB library&lt;br /&gt;
              (sparc) 1.1,REV=2008.11.16&lt;br /&gt;
CSWlibxau     libxau - X11 authorisation library&lt;br /&gt;
              (sparc) 1.0.4,REV=2008.11.17&lt;br /&gt;
CSWlibxaudev  libxau_dev - X11 authorisation library&lt;br /&gt;
              (sparc) 1.0.4,REV=2008.11.17&lt;br /&gt;
CSWxproto  xproto - xproto&lt;br /&gt;
           (sparc) 7.0.14,REV=2008.11.15&lt;br /&gt;
CSWlibxdmcp     libxdmcp - X11 authorisation library&lt;br /&gt;
                (sparc) 1.0.2,REV=2008.11.16&lt;br /&gt;
CSWlibxdmcpdev  libxdmcp_dev - X11 authorisation library&lt;br /&gt;
                (sparc) 1.0.2,REV=2008.11.16&lt;br /&gt;
CSWfribidi  fribidi - a free implementation of the Unicode Bidirectional Algorithm&lt;br /&gt;
            (sparc) 0.19.2,REV=2009.09.25&lt;br /&gt;
**&lt;br /&gt;
CSWqt  qt - A Cross-platform application framework for desktop and embedded development&lt;br /&gt;
       (sparc) 4.4.3,REV=2009.01.16&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Sun Studio: We needed to build those up to date packages (installed in /opt/vlc, as seen in configuration) &lt;br /&gt;
&amp;lt;pre&amp;gt;VLCQt&lt;br /&gt;
VLCflac&lt;br /&gt;
VLClibxcb-devel&lt;br /&gt;
VLClibxcb&lt;br /&gt;
VLClua&lt;br /&gt;
VLCx264&lt;br /&gt;
VLCxcbproto&lt;br /&gt;
VLCxcbutil&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Setting up your environment  =====&lt;br /&gt;
&lt;br /&gt;
For Sun Studio Assuming compiler in /opt/sunstudio12.1 and some customly built packages in /opt/vlc &lt;br /&gt;
&amp;lt;pre&amp;gt;# Required for bootstrap &lt;br /&gt;
export ACLOCAL_ARGS=&amp;quot;-I /opt/csw/share/aclocal/&amp;quot; &lt;br /&gt;
&lt;br /&gt;
# Required for configure &lt;br /&gt;
export PATH=/opt/sunstudio12.1/bin::/opt/vlc/bin:/opt/csw/bin:/usr/xpg4/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb &lt;br /&gt;
&lt;br /&gt;
export LD_LIBRARY_PATH=/opt/vlc/lib:/opt/sunstudio12.1/lib:/opt/csw/lib&lt;br /&gt;
#:/opt/SUNWmlib/lib:/usr/openwin/sfw/lib&lt;br /&gt;
&lt;br /&gt;
export PKG_CONFIG_PATH=/opt/vlc/lib/pkgconfig:/opt/csw/lib/pkgconfig:/opt/vlc/qt/lib/pkgconfig:/usr/local/lib/pkgconfig &lt;br /&gt;
&lt;br /&gt;
export LUA_LIBS=&#039;-L/opt/vlc/lib -llua&#039; LUA_CFLAGS=&#039;-I/opt/vlc/include&#039;&lt;br /&gt;
&lt;br /&gt;
export MAKE=gmake &lt;br /&gt;
export CONFIG_SHELL=&#039;/usr/xpg4/bin/sh&#039; &lt;br /&gt;
export CCC=/opt/sunstudio12.1/bin/CC CC=/opt/sunstudio12.1/bin/cc MAKE=gmake&lt;br /&gt;
&lt;br /&gt;
export XLIB_XCB_CFLAGS=&#039;-I/opt/vlc/include/xcb/&#039; XLIB_XCB_LIBS=&#039;-L/opt/vlc/lib/&#039;&lt;br /&gt;
&lt;br /&gt;
# -D_XPG4_2 required for non-sparc code compatible network structs&lt;br /&gt;
export CFLAGS=&amp;quot;-I/opt/sunstudio12.1/include -I/usr/include -features=extensions -D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__&amp;quot; &lt;br /&gt;
export CXXFLAGS=&amp;quot;-I/opt/sunstudio12.1/include -features=extensions -D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Using GCC Assuming some customly built packages in /opt/vlc &lt;br /&gt;
&amp;lt;pre&amp;gt;# Required for bootstrap &lt;br /&gt;
export ACLOCAL_ARGS=&amp;quot;-I /opt/csw/share/aclocal/&amp;quot; &lt;br /&gt;
&lt;br /&gt;
# Required for configure&lt;br /&gt;
export PATH=/opt/vlc/bin:/opt/csw/bin:/usr/xpg4/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb &lt;br /&gt;
&lt;br /&gt;
export LD_LIBRARY_PATH=/opt/vlc/lib:/opt/csw/lib:/opt/SUNWmlib/lib:/usr/openwin/sfw/lib&lt;br /&gt;
&lt;br /&gt;
export PKG_CONFIG_PATH=/opt/vlc/lib/pkgconfig:/opt/csw/lib/pkgconfig:/opt/vlc/qt/lib/pkgconfig:/usr/local/lib/pkgconfig &lt;br /&gt;
&lt;br /&gt;
export LUA_LIBS=&#039;-L/opt/vlc/lib -llua&#039; LUA_CFLAGS=&#039;-I/opt/vlc/include&#039;&lt;br /&gt;
&lt;br /&gt;
export MAKE=gmake &lt;br /&gt;
export CONFIG_SHELL=&#039;/usr/xpg4/bin/sh&#039;&lt;br /&gt;
&lt;br /&gt;
# -D_XPG4_2 required for non-sparc code compatible network structs&lt;br /&gt;
export CFLAGS=&amp;quot;-D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__&amp;quot; &lt;br /&gt;
export CXXFLAGS=$CFLAGS &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Bootstrapping  =====&lt;br /&gt;
&lt;br /&gt;
Boostrap script needs to be able to run same subshells as parent. If bootstrap fails on genmf, then the subshell has fallen back to the default /bin/sh which isn&#039;t posix compliant. In that case, you need to patch as follow: &lt;br /&gt;
&amp;lt;pre&amp;gt;@@ -97,7 +97,7 @@ AC_DEFUN([PKG_CHECK_MODULES],[ifelse([\$4], ,&amp;amp;nbsp;:, [\$4])])&lt;br /&gt;
 EOF&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
-modules/genmf `sed -ne &#039;s,modules/\(.*\)/Makefile,\1,p&#039; configure.ac`&lt;br /&gt;
+$SHELL modules/genmf `sed -ne &#039;s,modules/\(.*\)/Makefile,\1,p&#039; configure.ac`&lt;br /&gt;
&amp;lt;/pre&amp;gt; &amp;lt;pre&amp;gt;ACLOCAL_ARGS=&amp;quot;-I /usr/local/share/aclocal/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
export ACLOCAL_ARGS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/usr/xpg4/bin/sh bootstrap&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Configure  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/xpg4/bin/sh configure  --with-a52=/opt/csw/ --with-mad=/opt/csw/ --disable-libgcrypt --disable-remoteosd --disable-skins2 --disable-glx&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
--with-gnu-ld might also be required (check configure result!) &lt;br /&gt;
&lt;br /&gt;
Sun Studio: Add --disable-qt4 if required. (Qt 4.6.0 Currently fails) &lt;br /&gt;
&lt;br /&gt;
=== Qt4 Interface module  ===&lt;br /&gt;
&lt;br /&gt;
Trolltech only supports SunStudio builds. QT4 Interface is mainly C++, and creates ABI dependencies with Qt libs. Kde-solaris (bionicmutton) project packages offers the Sun ABI. If you wish to build the Qt4 Module, you need to build vlc with SunStudio, or build your own Qt library with GCC. &lt;br /&gt;
&lt;br /&gt;
You should run into a without prototype &#039;wcsstr&#039; issue in /opt/sunstudio12.1/prod/include/CC/Cstd/rw/traits Only fix known: Replace wcsstr with wcswcs in that file. &lt;br /&gt;
&lt;br /&gt;
=== libxcb  ===&lt;br /&gt;
&lt;br /&gt;
Libxcb must currently be disabled or you&#039;ll need to use custome build as there&#039;s no official support. It might make it into the official repository as the package went past the fasttrack process. &lt;br /&gt;
&lt;br /&gt;
=== Fully patched code repository  ===&lt;br /&gt;
&lt;br /&gt;
All patches are on this fork. (until they make it into the main repository) &lt;br /&gt;
&amp;lt;pre&amp;gt;git clone git://repo.or.cz/vlc/solaris.git vlcsolaris&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Patches on master branch are kept on top of this fork using rebase and forced pushes. Don&#039;t expect to pull later updates without rebasing.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Tomsolaris</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Solaris&amp;diff=26326</id>
		<title>Solaris</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Solaris&amp;diff=26326"/>
		<updated>2013-12-30T16:51:48Z</updated>

		<summary type="html">&lt;p&gt;Tomsolaris: repair accidentially removed sections&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Build VLC on Solaris / OpenSolaris  ==&lt;br /&gt;
&lt;br /&gt;
=== Status  ===&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;200&amp;quot; cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;color:black;background-color:white;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| Oracle Solaris 11 x86 &lt;br /&gt;
| Solaris 10 x86 &lt;br /&gt;
| Solaris 10 SPARC &lt;br /&gt;
| &lt;br /&gt;
OpenSolaris&amp;amp;nbsp;x86 &lt;br /&gt;
&lt;br /&gt;
2009/06 &lt;br /&gt;
&lt;br /&gt;
| OpenSolaris SPARC &lt;br /&gt;
2009/06 &lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
OpenSolaris&amp;amp;nbsp;x86 &lt;br /&gt;
&lt;br /&gt;
2010/03 &lt;br /&gt;
&lt;br /&gt;
| OpenSolaris SPARC &lt;br /&gt;
2010/03 &lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
OpenIndiana x86 &lt;br /&gt;
&lt;br /&gt;
snv_134 &lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
OpenIndiana x86 oi151a8&lt;br /&gt;
&lt;br /&gt;
| OpenIndiana SPARC&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| (videolan 2.x.x&lt;br /&gt;
| style=&amp;quot;background:#8BE09F;&amp;quot; | Yes (last tested 2.1.1)&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| style=&amp;quot;background:#8BE09F;&amp;quot; | Yes (last tested 2.1.1)&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| master (videolan) &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| 1.x forks (videolan) &lt;br /&gt;
| &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| [http://repo.or.cz/w/vlc/solaris.git master (repocz/solaris)] &lt;br /&gt;
| &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 06/02/11)&#039;&#039; &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| [http://repo.or.cz/w/vlc/solaris.git/shortlog/refs/heads/solaris-vlc-1.1 1.1 branch (repocz/solaris)] &lt;br /&gt;
| &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.6-git rel 1.1.7)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.10)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
(1) requirements: CSWautomake &amp;amp;gt;= 1.11.1 / pkg://openindiana.org/developer/build/automake-111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &#039;&#039;&#039;Important Note&#039;&#039;&#039;: Because of changes in VLC making xcb mandatory, video output modules relying on X11/XCB can&#039;t work until Solaris ships libxcb. Video output is currently done using SDL and will open on a separate window. Blastwave latest SDL builds uses xcb and are also unusable (referenced by sdl/aout). Configuring --disable-sdl makes builds possible, but you&#039;ll loose the sdl video output module too.&lt;br /&gt;
&lt;br /&gt;
===== Binary Packages =====&lt;br /&gt;
(20131230)&lt;br /&gt;
A few repositories with binary packages exist (including QT).&lt;br /&gt;
If you want to build exactly those packages yourself or report pakaging bugs,&lt;br /&gt;
then please check out the instructions on http://pkgbuild.wiki.sourceforge.net &lt;br /&gt;
&lt;br /&gt;
OpenIndiana: &lt;br /&gt;
http://sfe.opencsw.org (hosting kindly provided by the OpenCSW project)&lt;br /&gt;
&lt;br /&gt;
Oracle Solaris 11 (TM)&lt;br /&gt;
http://sfe.opencsw.org (hosting kindly provided by the OpenCSW project)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Building on OpenIndiana ===&lt;br /&gt;
&lt;br /&gt;
===== Config &amp;amp;amp; Build process required packages  =====&lt;br /&gt;
&lt;br /&gt;
Start by adding the [http://wiki.openindiana.org/oi/Spec+Files+Extra+Repository extra repositories]:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pkg set-publisher -p http://pkg.openindiana.org/sfe&lt;br /&gt;
pkg set-publisher -p http://pkg.openindiana.org/sfe-encumbered&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Required packages for build:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pkg:/developer/build/automake-110&lt;br /&gt;
pkg:/developer/build/autoconf&lt;br /&gt;
pkg-config&lt;br /&gt;
pkg:/developer/gnome/gettext&lt;br /&gt;
pkg:/developer/build/libtool&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For modules:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pkg:/library/video/ffmpeg@0.8.5-0.151.1&lt;br /&gt;
pkg:/library/desktop/g++/qt@4.7.3-0.151.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting up your environment  =====&lt;br /&gt;
&lt;br /&gt;
===== Configure  =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== OpenSolaris (Deprecated) ===&lt;br /&gt;
&lt;br /&gt;
Mostly follows Solaris instructions. &lt;br /&gt;
&lt;br /&gt;
Note that despite the configure stage could be configured to call GNU&#039;s ld, the official gcc build always rely on collect2 and call the Sun linker. &lt;br /&gt;
&lt;br /&gt;
If you get undefined retain-symbol-file errors, your path haven&#039;t been fixed for the configure step (must look into /usr/ccs/bin/ first) and the build process is applying gnu&#039;s options to sun&#039;s linker. &lt;br /&gt;
&lt;br /&gt;
To use GNU&#039;s linker (optional): Either use the &amp;quot;LD_ALTEXEC=/opt/gnu/bin/gld&amp;quot; environment variable, or use a custom gcc build to use /opt/gnu/bin/gld. (vlc would fail on some gld only options like retain-symbols-file) &lt;br /&gt;
&lt;br /&gt;
( your gcc -v output must not contain: --with-ld=/usr/ccs/bin/ld --without-gnu-ld ) &lt;br /&gt;
&lt;br /&gt;
An alternative to LD_ALTEXEC would be to symlink /usr/ccs/bin/ld to /opt/gnu/bin/gld&lt;br /&gt;
&lt;br /&gt;
===== Config &amp;amp;amp; Build process required packages  =====&lt;br /&gt;
&lt;br /&gt;
Blastwave&#039;s additional packages &lt;br /&gt;
&amp;lt;pre&amp;gt;CSWfaac&lt;br /&gt;
CSWfaad2&lt;br /&gt;
CSWffmpeglib&lt;br /&gt;
CSWgcc4corert&lt;br /&gt;
CSWgcc4g++rt&lt;br /&gt;
CSWggettext&lt;br /&gt;
CSWiconv&lt;br /&gt;
CSWisaexec&lt;br /&gt;
CSWlame&lt;br /&gt;
CSWlibogg&lt;br /&gt;
CSWlibxcbdev&lt;br /&gt;
CSWncurses&lt;br /&gt;
CSWpkgutil&lt;br /&gt;
CSWstl4&lt;br /&gt;
CSWsunmath&lt;br /&gt;
CSWtheora&lt;br /&gt;
CSWvorbis&lt;br /&gt;
CSWx264&lt;br /&gt;
CSWxvid&lt;br /&gt;
CSWzlib&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Setting up your environment  =====&lt;br /&gt;
&lt;br /&gt;
For Sun Studio &lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=/usr/ccs/bin:/opt/sunstudio12.1/bin:/opt/csw/bin:/usr/xpg4/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb &lt;br /&gt;
export LD_LIBRARY_PATH=/opt/sunstudio12.1/lib:/usr/openwin/lib/X11/:/opt/kde4/lib&lt;br /&gt;
export PKG_CONFIG_PATH=/opt/kde4/lib/pkgconfig:/opt/csw/lib/pkgconfig/&lt;br /&gt;
export CFLAGS=&amp;quot;-D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__ -features=extensions -fast&amp;quot;&lt;br /&gt;
export CXXFLAGS=$CFLAGS&lt;br /&gt;
export CCC=/opt/sunstudio12.1/bin/CC CC=/opt/sunstudio12.1/bin/cc MAKE=gmake&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
For GCC &lt;br /&gt;
&lt;br /&gt;
Untested. See Solaris/Sparc. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===== Configure  =====&lt;br /&gt;
&lt;br /&gt;
Bootsrap has no problems since Osol uses bash. &lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --disable-libgcrypt --disable-remoteosd --disable-glx --disable-lua --disable-mad --disable-swscale --disable-postproc --disable-a52 --disable-fribidi --with-gnu-ld=no --enable-qt4 --disable-xcb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Solaris 10, x86  ===&lt;br /&gt;
&lt;br /&gt;
To be done. &lt;br /&gt;
&lt;br /&gt;
=== Solaris 10, SPARC  ===&lt;br /&gt;
&lt;br /&gt;
Sparc builds outside GCC, are currently unstable. &lt;br /&gt;
&lt;br /&gt;
*Many bugs fixed (until now). &lt;br /&gt;
*all shells must point to /usr/xpg4/bin/sh instead of /bin/sh (not fully posix) (tip: CONFIG_SHELL=/usr/xpg4/bin/sh) &lt;br /&gt;
*bootstrapping requires to change subprocess shell (see patch below) &lt;br /&gt;
*filesystem.c needs to be patched for NAME_MAX&lt;br /&gt;
&lt;br /&gt;
Blocking: &lt;br /&gt;
&lt;br /&gt;
*Lots of &#039;&#039;if (p==NULL) msgDbg(&amp;quot;foo&amp;amp;nbsp;%s&amp;quot;, p)&#039;&#039; in the code segfaults in multiple places. Developers have assumed that&amp;amp;nbsp;%s is fixed as &amp;quot;(null)&amp;quot; like Glibc does. Not available on sparc. &lt;br /&gt;
*crashes at network/httpd.c at poll() level.&lt;br /&gt;
&lt;br /&gt;
===== Boostrapping process required packages  =====&lt;br /&gt;
&lt;br /&gt;
Some old packages exists [http://www.blastwave.org/jir/search.fam?qs=vlc] &lt;br /&gt;
&amp;lt;pre&amp;gt;CSWautoconf  autoconf - an extensible package of M4 macros&lt;br /&gt;
             (all) 2.65,REV=2009.11.30&lt;br /&gt;
CSWautomake  automake - GNU Makefile generator inspired by 4.4BSD make and include&lt;br /&gt;
             (all) 1.10.3,REV=2009.12.09&lt;br /&gt;
CSWggettext  ggettext - GNU gettext&lt;br /&gt;
             (sparc) 0.17,REV=2009.05.27&lt;br /&gt;
CSWgm4       gm4 - The GNU m4 implementation of the traditional Unix macro processor&lt;br /&gt;
             (sparc) 1.4.13,REV=2009.04.06&lt;br /&gt;
CSWiconv     libiconv - GNU libiconv is a Unicode conversion library&lt;br /&gt;
             (sparc) 1.13.1,REV=2009.07.01&lt;br /&gt;
CSWlibtool   libtool - Generic shared library support script&lt;br /&gt;
             (sparc) 1.5.26,REV=2008.12.22&lt;br /&gt;
CSWreadline  readline - GNU readline&lt;br /&gt;
             (sparc) 5.2,REV=2009.01.23&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Config &amp;amp;amp; Build process required packages  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;CSWlua  lua - a powerful light-weight programming language&lt;br /&gt;
        (sparc) 5.1.3,REV=2008.04.29&lt;br /&gt;
**&lt;br /&gt;
CSWffmpeg  ffmpeg - very fast video and audio converter (includes libavcodec) - binaries&lt;br /&gt;
           (sparc) 0.4.9,REV=2008.06.03_rev=svn12629&lt;br /&gt;
**&lt;br /&gt;
CSWliba52  liba52 - free ATSC A/52 stream decoder&lt;br /&gt;
           (sparc) 0.7.4,REV=2007.03.05&lt;br /&gt;
**&lt;br /&gt;
CSWlibmad  libmad - MPEG Audio Decoder&lt;br /&gt;
           (sparc) 0.15.1,REV=2005.03.26_rev=b&lt;br /&gt;
**&lt;br /&gt;
CSWlibpthreadstubs  libpthreadstubs - pthread stubs not provided by native libc&lt;br /&gt;
                    (sparc) 0.1,REV=2008.11.16&lt;br /&gt;
**&lt;br /&gt;
CSWx264             x264 - H264/AVC video encoder&lt;br /&gt;
                    (sparc) 1.0.0,REV=2009.12.13&lt;br /&gt;
**&lt;br /&gt;
CSWlibxcb  libxcb - The XCB library&lt;br /&gt;
           (sparc) 1.1,REV=2008.11.16&lt;br /&gt;
CSWlibxcbdev  libxcb_dev - The XCB library&lt;br /&gt;
              (sparc) 1.1,REV=2008.11.16&lt;br /&gt;
CSWlibxau     libxau - X11 authorisation library&lt;br /&gt;
              (sparc) 1.0.4,REV=2008.11.17&lt;br /&gt;
CSWlibxaudev  libxau_dev - X11 authorisation library&lt;br /&gt;
              (sparc) 1.0.4,REV=2008.11.17&lt;br /&gt;
CSWxproto  xproto - xproto&lt;br /&gt;
           (sparc) 7.0.14,REV=2008.11.15&lt;br /&gt;
CSWlibxdmcp     libxdmcp - X11 authorisation library&lt;br /&gt;
                (sparc) 1.0.2,REV=2008.11.16&lt;br /&gt;
CSWlibxdmcpdev  libxdmcp_dev - X11 authorisation library&lt;br /&gt;
                (sparc) 1.0.2,REV=2008.11.16&lt;br /&gt;
CSWfribidi  fribidi - a free implementation of the Unicode Bidirectional Algorithm&lt;br /&gt;
            (sparc) 0.19.2,REV=2009.09.25&lt;br /&gt;
**&lt;br /&gt;
CSWqt  qt - A Cross-platform application framework for desktop and embedded development&lt;br /&gt;
       (sparc) 4.4.3,REV=2009.01.16&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Sun Studio: We needed to build those up to date packages (installed in /opt/vlc, as seen in configuration) &lt;br /&gt;
&amp;lt;pre&amp;gt;VLCQt&lt;br /&gt;
VLCflac&lt;br /&gt;
VLClibxcb-devel&lt;br /&gt;
VLClibxcb&lt;br /&gt;
VLClua&lt;br /&gt;
VLCx264&lt;br /&gt;
VLCxcbproto&lt;br /&gt;
VLCxcbutil&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Setting up your environment  =====&lt;br /&gt;
&lt;br /&gt;
For Sun Studio Assuming compiler in /opt/sunstudio12.1 and some customly built packages in /opt/vlc &lt;br /&gt;
&amp;lt;pre&amp;gt;# Required for bootstrap &lt;br /&gt;
export ACLOCAL_ARGS=&amp;quot;-I /opt/csw/share/aclocal/&amp;quot; &lt;br /&gt;
&lt;br /&gt;
# Required for configure &lt;br /&gt;
export PATH=/opt/sunstudio12.1/bin::/opt/vlc/bin:/opt/csw/bin:/usr/xpg4/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb &lt;br /&gt;
&lt;br /&gt;
export LD_LIBRARY_PATH=/opt/vlc/lib:/opt/sunstudio12.1/lib:/opt/csw/lib&lt;br /&gt;
#:/opt/SUNWmlib/lib:/usr/openwin/sfw/lib&lt;br /&gt;
&lt;br /&gt;
export PKG_CONFIG_PATH=/opt/vlc/lib/pkgconfig:/opt/csw/lib/pkgconfig:/opt/vlc/qt/lib/pkgconfig:/usr/local/lib/pkgconfig &lt;br /&gt;
&lt;br /&gt;
export LUA_LIBS=&#039;-L/opt/vlc/lib -llua&#039; LUA_CFLAGS=&#039;-I/opt/vlc/include&#039;&lt;br /&gt;
&lt;br /&gt;
export MAKE=gmake &lt;br /&gt;
export CONFIG_SHELL=&#039;/usr/xpg4/bin/sh&#039; &lt;br /&gt;
export CCC=/opt/sunstudio12.1/bin/CC CC=/opt/sunstudio12.1/bin/cc MAKE=gmake&lt;br /&gt;
&lt;br /&gt;
export XLIB_XCB_CFLAGS=&#039;-I/opt/vlc/include/xcb/&#039; XLIB_XCB_LIBS=&#039;-L/opt/vlc/lib/&#039;&lt;br /&gt;
&lt;br /&gt;
# -D_XPG4_2 required for non-sparc code compatible network structs&lt;br /&gt;
export CFLAGS=&amp;quot;-I/opt/sunstudio12.1/include -I/usr/include -features=extensions -D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__&amp;quot; &lt;br /&gt;
export CXXFLAGS=&amp;quot;-I/opt/sunstudio12.1/include -features=extensions -D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Using GCC Assuming some customly built packages in /opt/vlc &lt;br /&gt;
&amp;lt;pre&amp;gt;# Required for bootstrap &lt;br /&gt;
export ACLOCAL_ARGS=&amp;quot;-I /opt/csw/share/aclocal/&amp;quot; &lt;br /&gt;
&lt;br /&gt;
# Required for configure&lt;br /&gt;
export PATH=/opt/vlc/bin:/opt/csw/bin:/usr/xpg4/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb &lt;br /&gt;
&lt;br /&gt;
export LD_LIBRARY_PATH=/opt/vlc/lib:/opt/csw/lib:/opt/SUNWmlib/lib:/usr/openwin/sfw/lib&lt;br /&gt;
&lt;br /&gt;
export PKG_CONFIG_PATH=/opt/vlc/lib/pkgconfig:/opt/csw/lib/pkgconfig:/opt/vlc/qt/lib/pkgconfig:/usr/local/lib/pkgconfig &lt;br /&gt;
&lt;br /&gt;
export LUA_LIBS=&#039;-L/opt/vlc/lib -llua&#039; LUA_CFLAGS=&#039;-I/opt/vlc/include&#039;&lt;br /&gt;
&lt;br /&gt;
export MAKE=gmake &lt;br /&gt;
export CONFIG_SHELL=&#039;/usr/xpg4/bin/sh&#039;&lt;br /&gt;
&lt;br /&gt;
# -D_XPG4_2 required for non-sparc code compatible network structs&lt;br /&gt;
export CFLAGS=&amp;quot;-D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__&amp;quot; &lt;br /&gt;
export CXXFLAGS=$CFLAGS &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Bootstrapping  =====&lt;br /&gt;
&lt;br /&gt;
Boostrap script needs to be able to run same subshells as parent. If bootstrap fails on genmf, then the subshell has fallen back to the default /bin/sh which isn&#039;t posix compliant. In that case, you need to patch as follow: &lt;br /&gt;
&amp;lt;pre&amp;gt;@@ -97,7 +97,7 @@ AC_DEFUN([PKG_CHECK_MODULES],[ifelse([\$4], ,&amp;amp;nbsp;:, [\$4])])&lt;br /&gt;
 EOF&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
-modules/genmf `sed -ne &#039;s,modules/\(.*\)/Makefile,\1,p&#039; configure.ac`&lt;br /&gt;
+$SHELL modules/genmf `sed -ne &#039;s,modules/\(.*\)/Makefile,\1,p&#039; configure.ac`&lt;br /&gt;
&amp;lt;/pre&amp;gt; &amp;lt;pre&amp;gt;ACLOCAL_ARGS=&amp;quot;-I /usr/local/share/aclocal/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
export ACLOCAL_ARGS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/usr/xpg4/bin/sh bootstrap&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Configure  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/xpg4/bin/sh configure  --with-a52=/opt/csw/ --with-mad=/opt/csw/ --disable-libgcrypt --disable-remoteosd --disable-skins2 --disable-glx&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
--with-gnu-ld might also be required (check configure result!) &lt;br /&gt;
&lt;br /&gt;
Sun Studio: Add --disable-qt4 if required. (Qt 4.6.0 Currently fails) &lt;br /&gt;
&lt;br /&gt;
=== Qt4 Interface module  ===&lt;br /&gt;
&lt;br /&gt;
Trolltech only supports SunStudio builds. QT4 Interface is mainly C++, and creates ABI dependencies with Qt libs. Kde-solaris (bionicmutton) project packages offers the Sun ABI. If you wish to build the Qt4 Module, you need to build vlc with SunStudio, or build your own Qt library with GCC. &lt;br /&gt;
&lt;br /&gt;
You should run into a without prototype &#039;wcsstr&#039; issue in /opt/sunstudio12.1/prod/include/CC/Cstd/rw/traits Only fix known: Replace wcsstr with wcswcs in that file. &lt;br /&gt;
&lt;br /&gt;
=== libxcb  ===&lt;br /&gt;
&lt;br /&gt;
Libxcb must currently be disabled or you&#039;ll need to use custome build as there&#039;s no official support. It might make it into the official repository as the package went past the fasttrack process. &lt;br /&gt;
&lt;br /&gt;
=== Fully patched code repository  ===&lt;br /&gt;
&lt;br /&gt;
All patches are on this fork. (until they make it into the main repository) &lt;br /&gt;
&amp;lt;pre&amp;gt;git clone git://repo.or.cz/vlc/solaris.git vlcsolaris&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Patches on master branch are kept on top of this fork using rebase and forced pushes. Don&#039;t expect to pull later updates without rebasing.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Tomsolaris</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Solaris&amp;diff=26325</id>
		<title>Solaris</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Solaris&amp;diff=26325"/>
		<updated>2013-12-30T16:45:09Z</updated>

		<summary type="html">&lt;p&gt;Tomsolaris: empty cells if not really usefull combination&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Status  ===&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;200&amp;quot; cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;color:black;background-color:white;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| Oracle Solaris 11 x86 &lt;br /&gt;
| Solaris 10 x86 &lt;br /&gt;
| Solaris 10 SPARC &lt;br /&gt;
| &lt;br /&gt;
OpenSolaris&amp;amp;nbsp;x86 &lt;br /&gt;
&lt;br /&gt;
2009/06 &lt;br /&gt;
&lt;br /&gt;
| OpenSolaris SPARC &lt;br /&gt;
2009/06 &lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
OpenSolaris&amp;amp;nbsp;x86 &lt;br /&gt;
&lt;br /&gt;
2010/03 &lt;br /&gt;
&lt;br /&gt;
| OpenSolaris SPARC &lt;br /&gt;
2010/03 &lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
OpenIndiana x86 &lt;br /&gt;
&lt;br /&gt;
snv_134 &lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
OpenIndiana x86 oi151a8&lt;br /&gt;
&lt;br /&gt;
| OpenIndiana SPARC&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| (videolan 2.x.x&lt;br /&gt;
| style=&amp;quot;background:#8BE09F;&amp;quot; | Yes (last tested 2.1.1)&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| style=&amp;quot;background:#8BE09F;&amp;quot; | Yes (last tested 2.1.1)&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| master (videolan) &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| 1.x forks (videolan) &lt;br /&gt;
| &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| [http://repo.or.cz/w/vlc/solaris.git master (repocz/solaris)] &lt;br /&gt;
| &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 06/02/11)&#039;&#039; &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| [http://repo.or.cz/w/vlc/solaris.git/shortlog/refs/heads/solaris-vlc-1.1 1.1 branch (repocz/solaris)] &lt;br /&gt;
| &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.6-git rel 1.1.7)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.10)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
(1) requirements: CSWautomake &amp;amp;gt;= 1.11.1 / pkg://openindiana.org/developer/build/automake-111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &#039;&#039;&#039;Important Note&#039;&#039;&#039;: Because of changes in VLC making xcb mandatory, video output modules relying on X11/XCB can&#039;t work until Solaris ships libxcb. Video output is currently done using SDL and will open on a separate window. Blastwave latest SDL builds uses xcb and are also unusable (referenced by sdl/aout). Configuring --disable-sdl makes builds possible, but you&#039;ll loose the sdl video output module too.&lt;br /&gt;
&lt;br /&gt;
===== Binary Packages =====&lt;br /&gt;
(20131230)&lt;br /&gt;
A few repositories with binary packages exist (including QT).&lt;br /&gt;
If you want to build exactly those packages yourself or report pakaging bugs,&lt;br /&gt;
then please check out the instructions on http://pkgbuild.wiki.sourceforge.net &lt;br /&gt;
&lt;br /&gt;
OpenIndiana: &lt;br /&gt;
http://sfe.opencsw.org (hosting kindly provided by the OpenCSW project)&lt;br /&gt;
&lt;br /&gt;
Oracle Solaris 11 (TM)&lt;br /&gt;
http://sfe.opencsw.org (hosting kindly provided by the OpenCSW project)&lt;/div&gt;</summary>
		<author><name>Tomsolaris</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Solaris&amp;diff=26324</id>
		<title>Solaris</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Solaris&amp;diff=26324"/>
		<updated>2013-12-30T16:43:46Z</updated>

		<summary type="html">&lt;p&gt;Tomsolaris: add Oracle Solaris 11 /  OpenIndiana oi151a8 with videolan 2.1.1 to matrix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Status  ===&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;200&amp;quot; cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;color:black;background-color:white;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| Oracle Solaris 11 x86 &lt;br /&gt;
| Solaris 10 x86 &lt;br /&gt;
| Solaris 10 SPARC &lt;br /&gt;
| &lt;br /&gt;
OpenSolaris&amp;amp;nbsp;x86 &lt;br /&gt;
&lt;br /&gt;
2009/06 &lt;br /&gt;
&lt;br /&gt;
| OpenSolaris SPARC &lt;br /&gt;
2009/06 &lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
OpenSolaris&amp;amp;nbsp;x86 &lt;br /&gt;
&lt;br /&gt;
2010/03 &lt;br /&gt;
&lt;br /&gt;
| OpenSolaris SPARC &lt;br /&gt;
2010/03 &lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
OpenIndiana x86 &lt;br /&gt;
&lt;br /&gt;
snv_134 &lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
OpenIndiana x86 oi151a8&lt;br /&gt;
&lt;br /&gt;
| OpenIndiana SPARC&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| (videolan 2.x.x&lt;br /&gt;
| style=&amp;quot;background:#8BE09F;&amp;quot; | Yes (last tested 2.1.1)&lt;br /&gt;
| {{Untested}}&lt;br /&gt;
| {{Untested}}&lt;br /&gt;
| {{Untested}}&lt;br /&gt;
| {{Untested}}&lt;br /&gt;
| {{Untested}}&lt;br /&gt;
| {{Untested}}&lt;br /&gt;
| {{Untested}}&lt;br /&gt;
| style=&amp;quot;background:#8BE09F;&amp;quot; | Yes (last tested 2.1.1)&lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| master (videolan) &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| 1.x forks (videolan) &lt;br /&gt;
| &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| [http://repo.or.cz/w/vlc/solaris.git master (repocz/solaris)] &lt;br /&gt;
| &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 06/02/11)&#039;&#039; &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| [http://repo.or.cz/w/vlc/solaris.git/shortlog/refs/heads/solaris-vlc-1.1 1.1 branch (repocz/solaris)] &lt;br /&gt;
| &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.6-git rel 1.1.7)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.10)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
(1) requirements: CSWautomake &amp;amp;gt;= 1.11.1 / pkg://openindiana.org/developer/build/automake-111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &#039;&#039;&#039;Important Note&#039;&#039;&#039;: Because of changes in VLC making xcb mandatory, video output modules relying on X11/XCB can&#039;t work until Solaris ships libxcb. Video output is currently done using SDL and will open on a separate window. Blastwave latest SDL builds uses xcb and are also unusable (referenced by sdl/aout). Configuring --disable-sdl makes builds possible, but you&#039;ll loose the sdl video output module too.&lt;br /&gt;
&lt;br /&gt;
===== Binary Packages =====&lt;br /&gt;
(20131230)&lt;br /&gt;
A few repositories with binary packages exist (including QT).&lt;br /&gt;
If you want to build exactly those packages yourself or report pakaging bugs,&lt;br /&gt;
then please check out the instructions on http://pkgbuild.wiki.sourceforge.net &lt;br /&gt;
&lt;br /&gt;
OpenIndiana: &lt;br /&gt;
http://sfe.opencsw.org (hosting kindly provided by the OpenCSW project)&lt;br /&gt;
&lt;br /&gt;
Oracle Solaris 11 (TM)&lt;br /&gt;
http://sfe.opencsw.org (hosting kindly provided by the OpenCSW project)&lt;/div&gt;</summary>
		<author><name>Tomsolaris</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Solaris&amp;diff=26323</id>
		<title>Solaris</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Solaris&amp;diff=26323"/>
		<updated>2013-12-30T16:14:35Z</updated>

		<summary type="html">&lt;p&gt;Tomsolaris: add informations about binary packages&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Build VLC on Solaris / OpenSolaris  ==&lt;br /&gt;
&lt;br /&gt;
=== Status  ===&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;200&amp;quot; cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| Solaris 10 x86 &lt;br /&gt;
| Solaris 10 SPARC &lt;br /&gt;
| &lt;br /&gt;
OpenSolaris&amp;amp;nbsp;x86 &lt;br /&gt;
&lt;br /&gt;
2009/06 &lt;br /&gt;
&lt;br /&gt;
| OpenSolaris SPARC &lt;br /&gt;
2009/06 &lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
OpenSolaris&amp;amp;nbsp;x86 &lt;br /&gt;
&lt;br /&gt;
2010/03 &lt;br /&gt;
&lt;br /&gt;
| OpenSolaris SPARC &lt;br /&gt;
2010/03 &lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
OpenIndiana x86 &lt;br /&gt;
&lt;br /&gt;
snv_134 &lt;br /&gt;
&lt;br /&gt;
| OpenIndiana SPARC&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| master (videolan) &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| 1.x forks (videolan) &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{No}} &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| [http://repo.or.cz/w/vlc/solaris.git master (repocz/solaris)] &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 06/02/11)&#039;&#039; &lt;br /&gt;
| {{Partial}} *(1) &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|-&lt;br /&gt;
| [http://repo.or.cz/w/vlc/solaris.git/shortlog/refs/heads/solaris-vlc-1.1 1.1 branch (repocz/solaris)] &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.4)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.6-git rel 1.1.7)&#039;&#039; &lt;br /&gt;
| {{Untested}} &lt;br /&gt;
| {{Yes}} &#039;&#039;(Last tested 1.1.10)&#039;&#039; &lt;br /&gt;
| {{Untested}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
(1) requirements: CSWautomake &amp;amp;gt;= 1.11.1 / pkg://openindiana.org/developer/build/automake-111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &#039;&#039;&#039;Important Note&#039;&#039;&#039;: Because of changes in VLC making xcb mandatory, video output modules relying on X11/XCB can&#039;t work until Solaris ships libxcb. Video output is currently done using SDL and will open on a separate window. Blastwave latest SDL builds uses xcb and are also unusable (referenced by sdl/aout). Configuring --disable-sdl makes builds possible, but you&#039;ll loose the sdl video output module too.&lt;br /&gt;
&lt;br /&gt;
===== Binary Packages =====&lt;br /&gt;
(20131230)&lt;br /&gt;
A few repositories with binary packages exist (including QT).&lt;br /&gt;
If you want to build exactly those packages yourself or report pakaging bugs,&lt;br /&gt;
then please check out the instructions on http://pkgbuild.wiki.sourceforge.net &lt;br /&gt;
&lt;br /&gt;
OpenIndiana: &lt;br /&gt;
http://sfe.opencsw.org (hosting kindly provided by the OpenCSW project)&lt;br /&gt;
&lt;br /&gt;
Oracle Solaris 11 (TM)&lt;br /&gt;
http://sfe.opencsw.org (hosting kindly provided by the OpenCSW project)&lt;br /&gt;
&lt;br /&gt;
=== Building on OpenIndiana ===&lt;br /&gt;
&lt;br /&gt;
===== Config &amp;amp;amp; Build process required packages  =====&lt;br /&gt;
&lt;br /&gt;
Start by adding the [http://wiki.openindiana.org/oi/Spec+Files+Extra+Repository extra repositories]:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pkg set-publisher -p http://pkg.openindiana.org/sfe&lt;br /&gt;
pkg set-publisher -p http://pkg.openindiana.org/sfe-encumbered&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Required packages for build:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pkg:/developer/build/automake-110&lt;br /&gt;
pkg:/developer/build/autoconf&lt;br /&gt;
pkg-config&lt;br /&gt;
pkg:/developer/gnome/gettext&lt;br /&gt;
pkg:/developer/build/libtool&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For modules:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pkg:/library/video/ffmpeg@0.8.5-0.151.1&lt;br /&gt;
pkg:/library/desktop/g++/qt@4.7.3-0.151.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting up your environment  =====&lt;br /&gt;
&lt;br /&gt;
===== Configure  =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== OpenSolaris (Deprecated) ===&lt;br /&gt;
&lt;br /&gt;
Mostly follows Solaris instructions. &lt;br /&gt;
&lt;br /&gt;
Note that despite the configure stage could be configured to call GNU&#039;s ld, the official gcc build always rely on collect2 and call the Sun linker. &lt;br /&gt;
&lt;br /&gt;
If you get undefined retain-symbol-file errors, your path haven&#039;t been fixed for the configure step (must look into /usr/ccs/bin/ first) and the build process is applying gnu&#039;s options to sun&#039;s linker. &lt;br /&gt;
&lt;br /&gt;
To use GNU&#039;s linker (optional): Either use the &amp;quot;LD_ALTEXEC=/opt/gnu/bin/gld&amp;quot; environment variable, or use a custom gcc build to use /opt/gnu/bin/gld. (vlc would fail on some gld only options like retain-symbols-file) &lt;br /&gt;
&lt;br /&gt;
( your gcc -v output must not contain: --with-ld=/usr/ccs/bin/ld --without-gnu-ld ) &lt;br /&gt;
&lt;br /&gt;
An alternative to LD_ALTEXEC would be to symlink /usr/ccs/bin/ld to /opt/gnu/bin/gld&lt;br /&gt;
&lt;br /&gt;
===== Config &amp;amp;amp; Build process required packages  =====&lt;br /&gt;
&lt;br /&gt;
Blastwave&#039;s additional packages &lt;br /&gt;
&amp;lt;pre&amp;gt;CSWfaac&lt;br /&gt;
CSWfaad2&lt;br /&gt;
CSWffmpeglib&lt;br /&gt;
CSWgcc4corert&lt;br /&gt;
CSWgcc4g++rt&lt;br /&gt;
CSWggettext&lt;br /&gt;
CSWiconv&lt;br /&gt;
CSWisaexec&lt;br /&gt;
CSWlame&lt;br /&gt;
CSWlibogg&lt;br /&gt;
CSWlibxcbdev&lt;br /&gt;
CSWncurses&lt;br /&gt;
CSWpkgutil&lt;br /&gt;
CSWstl4&lt;br /&gt;
CSWsunmath&lt;br /&gt;
CSWtheora&lt;br /&gt;
CSWvorbis&lt;br /&gt;
CSWx264&lt;br /&gt;
CSWxvid&lt;br /&gt;
CSWzlib&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Setting up your environment  =====&lt;br /&gt;
&lt;br /&gt;
For Sun Studio &lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=/usr/ccs/bin:/opt/sunstudio12.1/bin:/opt/csw/bin:/usr/xpg4/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb &lt;br /&gt;
export LD_LIBRARY_PATH=/opt/sunstudio12.1/lib:/usr/openwin/lib/X11/:/opt/kde4/lib&lt;br /&gt;
export PKG_CONFIG_PATH=/opt/kde4/lib/pkgconfig:/opt/csw/lib/pkgconfig/&lt;br /&gt;
export CFLAGS=&amp;quot;-D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__ -features=extensions -fast&amp;quot;&lt;br /&gt;
export CXXFLAGS=$CFLAGS&lt;br /&gt;
export CCC=/opt/sunstudio12.1/bin/CC CC=/opt/sunstudio12.1/bin/cc MAKE=gmake&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
For GCC &lt;br /&gt;
&lt;br /&gt;
Untested. See Solaris/Sparc. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===== Configure  =====&lt;br /&gt;
&lt;br /&gt;
Bootsrap has no problems since Osol uses bash. &lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --disable-libgcrypt --disable-remoteosd --disable-glx --disable-lua --disable-mad --disable-swscale --disable-postproc --disable-a52 --disable-fribidi --with-gnu-ld=no --enable-qt4 --disable-xcb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Solaris 10, x86  ===&lt;br /&gt;
&lt;br /&gt;
To be done. &lt;br /&gt;
&lt;br /&gt;
=== Solaris 10, SPARC  ===&lt;br /&gt;
&lt;br /&gt;
Sparc builds outside GCC, are currently unstable. &lt;br /&gt;
&lt;br /&gt;
*Many bugs fixed (until now). &lt;br /&gt;
*all shells must point to /usr/xpg4/bin/sh instead of /bin/sh (not fully posix) (tip: CONFIG_SHELL=/usr/xpg4/bin/sh) &lt;br /&gt;
*bootstrapping requires to change subprocess shell (see patch below) &lt;br /&gt;
*filesystem.c needs to be patched for NAME_MAX&lt;br /&gt;
&lt;br /&gt;
Blocking: &lt;br /&gt;
&lt;br /&gt;
*Lots of &#039;&#039;if (p==NULL) msgDbg(&amp;quot;foo&amp;amp;nbsp;%s&amp;quot;, p)&#039;&#039; in the code segfaults in multiple places. Developers have assumed that&amp;amp;nbsp;%s is fixed as &amp;quot;(null)&amp;quot; like Glibc does. Not available on sparc. &lt;br /&gt;
*crashes at network/httpd.c at poll() level.&lt;br /&gt;
&lt;br /&gt;
===== Boostrapping process required packages  =====&lt;br /&gt;
&lt;br /&gt;
Some old packages exists [http://www.blastwave.org/jir/search.fam?qs=vlc] &lt;br /&gt;
&amp;lt;pre&amp;gt;CSWautoconf  autoconf - an extensible package of M4 macros&lt;br /&gt;
             (all) 2.65,REV=2009.11.30&lt;br /&gt;
CSWautomake  automake - GNU Makefile generator inspired by 4.4BSD make and include&lt;br /&gt;
             (all) 1.10.3,REV=2009.12.09&lt;br /&gt;
CSWggettext  ggettext - GNU gettext&lt;br /&gt;
             (sparc) 0.17,REV=2009.05.27&lt;br /&gt;
CSWgm4       gm4 - The GNU m4 implementation of the traditional Unix macro processor&lt;br /&gt;
             (sparc) 1.4.13,REV=2009.04.06&lt;br /&gt;
CSWiconv     libiconv - GNU libiconv is a Unicode conversion library&lt;br /&gt;
             (sparc) 1.13.1,REV=2009.07.01&lt;br /&gt;
CSWlibtool   libtool - Generic shared library support script&lt;br /&gt;
             (sparc) 1.5.26,REV=2008.12.22&lt;br /&gt;
CSWreadline  readline - GNU readline&lt;br /&gt;
             (sparc) 5.2,REV=2009.01.23&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Config &amp;amp;amp; Build process required packages  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;CSWlua  lua - a powerful light-weight programming language&lt;br /&gt;
        (sparc) 5.1.3,REV=2008.04.29&lt;br /&gt;
**&lt;br /&gt;
CSWffmpeg  ffmpeg - very fast video and audio converter (includes libavcodec) - binaries&lt;br /&gt;
           (sparc) 0.4.9,REV=2008.06.03_rev=svn12629&lt;br /&gt;
**&lt;br /&gt;
CSWliba52  liba52 - free ATSC A/52 stream decoder&lt;br /&gt;
           (sparc) 0.7.4,REV=2007.03.05&lt;br /&gt;
**&lt;br /&gt;
CSWlibmad  libmad - MPEG Audio Decoder&lt;br /&gt;
           (sparc) 0.15.1,REV=2005.03.26_rev=b&lt;br /&gt;
**&lt;br /&gt;
CSWlibpthreadstubs  libpthreadstubs - pthread stubs not provided by native libc&lt;br /&gt;
                    (sparc) 0.1,REV=2008.11.16&lt;br /&gt;
**&lt;br /&gt;
CSWx264             x264 - H264/AVC video encoder&lt;br /&gt;
                    (sparc) 1.0.0,REV=2009.12.13&lt;br /&gt;
**&lt;br /&gt;
CSWlibxcb  libxcb - The XCB library&lt;br /&gt;
           (sparc) 1.1,REV=2008.11.16&lt;br /&gt;
CSWlibxcbdev  libxcb_dev - The XCB library&lt;br /&gt;
              (sparc) 1.1,REV=2008.11.16&lt;br /&gt;
CSWlibxau     libxau - X11 authorisation library&lt;br /&gt;
              (sparc) 1.0.4,REV=2008.11.17&lt;br /&gt;
CSWlibxaudev  libxau_dev - X11 authorisation library&lt;br /&gt;
              (sparc) 1.0.4,REV=2008.11.17&lt;br /&gt;
CSWxproto  xproto - xproto&lt;br /&gt;
           (sparc) 7.0.14,REV=2008.11.15&lt;br /&gt;
CSWlibxdmcp     libxdmcp - X11 authorisation library&lt;br /&gt;
                (sparc) 1.0.2,REV=2008.11.16&lt;br /&gt;
CSWlibxdmcpdev  libxdmcp_dev - X11 authorisation library&lt;br /&gt;
                (sparc) 1.0.2,REV=2008.11.16&lt;br /&gt;
CSWfribidi  fribidi - a free implementation of the Unicode Bidirectional Algorithm&lt;br /&gt;
            (sparc) 0.19.2,REV=2009.09.25&lt;br /&gt;
**&lt;br /&gt;
CSWqt  qt - A Cross-platform application framework for desktop and embedded development&lt;br /&gt;
       (sparc) 4.4.3,REV=2009.01.16&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Sun Studio: We needed to build those up to date packages (installed in /opt/vlc, as seen in configuration) &lt;br /&gt;
&amp;lt;pre&amp;gt;VLCQt&lt;br /&gt;
VLCflac&lt;br /&gt;
VLClibxcb-devel&lt;br /&gt;
VLClibxcb&lt;br /&gt;
VLClua&lt;br /&gt;
VLCx264&lt;br /&gt;
VLCxcbproto&lt;br /&gt;
VLCxcbutil&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Setting up your environment  =====&lt;br /&gt;
&lt;br /&gt;
For Sun Studio Assuming compiler in /opt/sunstudio12.1 and some customly built packages in /opt/vlc &lt;br /&gt;
&amp;lt;pre&amp;gt;# Required for bootstrap &lt;br /&gt;
export ACLOCAL_ARGS=&amp;quot;-I /opt/csw/share/aclocal/&amp;quot; &lt;br /&gt;
&lt;br /&gt;
# Required for configure &lt;br /&gt;
export PATH=/opt/sunstudio12.1/bin::/opt/vlc/bin:/opt/csw/bin:/usr/xpg4/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb &lt;br /&gt;
&lt;br /&gt;
export LD_LIBRARY_PATH=/opt/vlc/lib:/opt/sunstudio12.1/lib:/opt/csw/lib&lt;br /&gt;
#:/opt/SUNWmlib/lib:/usr/openwin/sfw/lib&lt;br /&gt;
&lt;br /&gt;
export PKG_CONFIG_PATH=/opt/vlc/lib/pkgconfig:/opt/csw/lib/pkgconfig:/opt/vlc/qt/lib/pkgconfig:/usr/local/lib/pkgconfig &lt;br /&gt;
&lt;br /&gt;
export LUA_LIBS=&#039;-L/opt/vlc/lib -llua&#039; LUA_CFLAGS=&#039;-I/opt/vlc/include&#039;&lt;br /&gt;
&lt;br /&gt;
export MAKE=gmake &lt;br /&gt;
export CONFIG_SHELL=&#039;/usr/xpg4/bin/sh&#039; &lt;br /&gt;
export CCC=/opt/sunstudio12.1/bin/CC CC=/opt/sunstudio12.1/bin/cc MAKE=gmake&lt;br /&gt;
&lt;br /&gt;
export XLIB_XCB_CFLAGS=&#039;-I/opt/vlc/include/xcb/&#039; XLIB_XCB_LIBS=&#039;-L/opt/vlc/lib/&#039;&lt;br /&gt;
&lt;br /&gt;
# -D_XPG4_2 required for non-sparc code compatible network structs&lt;br /&gt;
export CFLAGS=&amp;quot;-I/opt/sunstudio12.1/include -I/usr/include -features=extensions -D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__&amp;quot; &lt;br /&gt;
export CXXFLAGS=&amp;quot;-I/opt/sunstudio12.1/include -features=extensions -D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Using GCC Assuming some customly built packages in /opt/vlc &lt;br /&gt;
&amp;lt;pre&amp;gt;# Required for bootstrap &lt;br /&gt;
export ACLOCAL_ARGS=&amp;quot;-I /opt/csw/share/aclocal/&amp;quot; &lt;br /&gt;
&lt;br /&gt;
# Required for configure&lt;br /&gt;
export PATH=/opt/vlc/bin:/opt/csw/bin:/usr/xpg4/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb &lt;br /&gt;
&lt;br /&gt;
export LD_LIBRARY_PATH=/opt/vlc/lib:/opt/csw/lib:/opt/SUNWmlib/lib:/usr/openwin/sfw/lib&lt;br /&gt;
&lt;br /&gt;
export PKG_CONFIG_PATH=/opt/vlc/lib/pkgconfig:/opt/csw/lib/pkgconfig:/opt/vlc/qt/lib/pkgconfig:/usr/local/lib/pkgconfig &lt;br /&gt;
&lt;br /&gt;
export LUA_LIBS=&#039;-L/opt/vlc/lib -llua&#039; LUA_CFLAGS=&#039;-I/opt/vlc/include&#039;&lt;br /&gt;
&lt;br /&gt;
export MAKE=gmake &lt;br /&gt;
export CONFIG_SHELL=&#039;/usr/xpg4/bin/sh&#039;&lt;br /&gt;
&lt;br /&gt;
# -D_XPG4_2 required for non-sparc code compatible network structs&lt;br /&gt;
export CFLAGS=&amp;quot;-D _XPG4_2 -D __SunOS -D __STDC_ISO_10646__ -D __EXTENSIONS__&amp;quot; &lt;br /&gt;
export CXXFLAGS=$CFLAGS &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Bootstrapping  =====&lt;br /&gt;
&lt;br /&gt;
Boostrap script needs to be able to run same subshells as parent. If bootstrap fails on genmf, then the subshell has fallen back to the default /bin/sh which isn&#039;t posix compliant. In that case, you need to patch as follow: &lt;br /&gt;
&amp;lt;pre&amp;gt;@@ -97,7 +97,7 @@ AC_DEFUN([PKG_CHECK_MODULES],[ifelse([\$4], ,&amp;amp;nbsp;:, [\$4])])&lt;br /&gt;
 EOF&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
-modules/genmf `sed -ne &#039;s,modules/\(.*\)/Makefile,\1,p&#039; configure.ac`&lt;br /&gt;
+$SHELL modules/genmf `sed -ne &#039;s,modules/\(.*\)/Makefile,\1,p&#039; configure.ac`&lt;br /&gt;
&amp;lt;/pre&amp;gt; &amp;lt;pre&amp;gt;ACLOCAL_ARGS=&amp;quot;-I /usr/local/share/aclocal/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
export ACLOCAL_ARGS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/usr/xpg4/bin/sh bootstrap&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
===== Configure  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/xpg4/bin/sh configure  --with-a52=/opt/csw/ --with-mad=/opt/csw/ --disable-libgcrypt --disable-remoteosd --disable-skins2 --disable-glx&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
--with-gnu-ld might also be required (check configure result!) &lt;br /&gt;
&lt;br /&gt;
Sun Studio: Add --disable-qt4 if required. (Qt 4.6.0 Currently fails) &lt;br /&gt;
&lt;br /&gt;
=== Qt4 Interface module  ===&lt;br /&gt;
&lt;br /&gt;
Trolltech only supports SunStudio builds. QT4 Interface is mainly C++, and creates ABI dependencies with Qt libs. Kde-solaris (bionicmutton) project packages offers the Sun ABI. If you wish to build the Qt4 Module, you need to build vlc with SunStudio, or build your own Qt library with GCC. &lt;br /&gt;
&lt;br /&gt;
You should run into a without prototype &#039;wcsstr&#039; issue in /opt/sunstudio12.1/prod/include/CC/Cstd/rw/traits Only fix known: Replace wcsstr with wcswcs in that file. &lt;br /&gt;
&lt;br /&gt;
=== libxcb  ===&lt;br /&gt;
&lt;br /&gt;
Libxcb must currently be disabled or you&#039;ll need to use custome build as there&#039;s no official support. It might make it into the official repository as the package went past the fasttrack process. &lt;br /&gt;
&lt;br /&gt;
=== Fully patched code repository  ===&lt;br /&gt;
&lt;br /&gt;
All patches are on this fork. (until they make it into the main repository) &lt;br /&gt;
&amp;lt;pre&amp;gt;git clone git://repo.or.cz/vlc/solaris.git vlcsolaris&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Patches on master branch are kept on top of this fork using rebase and forced pushes. Don&#039;t expect to pull later updates without rebasing.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Tomsolaris</name></author>
	</entry>
</feed>