Anyone having luck with this? The plexmediacenter-git AUR package doesn’t work, and I don’t know what package is being referred to above. Here’s my attempt so far:
<br />
pacman -S --needed wavpack libmpeg2 sdl_mixer sdl_image libmicrohttpd cmake gperf unzip zip yasm ffmpeg xbmc flac ccache libpng12<br />
<br />
# Install CrystalHD from AUR if needed<br />
<br />
# Change "AM_CONFIG_HEADER(" to "AC_CONFIG_HEADERS("<br />
# :%s/AM_CONFIG_HEADER(/AC_CONFIG_HEADERS(/g<br />
# in the following files:<br />
./lib/libcdio/configure.ac:AM_CONFIG_HEADER(config.h)<br />
./lib/enca/configure.ac:AM_CONFIG_HEADER(config.h)<br />
./lib/libmicrohttpd/configure.ac:AM_CONFIG_HEADER([MHD_config.h])<br />
./xbmc/lib/libid3tag/libid3tag/configure.ac:AM_CONFIG_HEADER([config.h])<br />
./xbmc/cores/dvdplayer/Codecs/libmad/configure.ac:AM_CONFIG_HEADER([config.h])<br />
./xbmc/cores/dvdplayer/Codecs/libdvd/libdvdcss/configure.ac:AM_CONFIG_HEADER(config.h)<br />
./xbmc/cores/dvdplayer/Codecs/libdvd/libdvdcss/autom4te.cache/traces.0t:m4trace:configure.ac:8: -1- AM_CONFIG_HEADER([config.h])<br />
./xbmc/cores/dvdplayer/Codecs/libdts/configure.ac:AM_CONFIG_HEADER(config.h)<br />
<br />
./bootstrap<br />
./configure<br />
<br />
# Change libpng15 to libpng12 in Makefile.include if necessary<br />
# (I'm guessing there's a ./configure option for this, but whatever)<br />
<br />
make #(no parallelism)<br />
And, here's the error I'm currently stuck on:
<br />
make[1]: Entering directory `/root/setup/plex/plex-linux/xbmc'<br />
/usr/bin/ccache g++ -MD -c -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall -O2 -D_LINUX -D_FILE_DEFINED -D__STDC_CONSTANT_MACROS -DBIN_INSTALL_PATH="\"/usr/local/lib/xbmc\"" -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_JOYSTICK -D'GIT_REV="ab12263"' -DHAVE_CONFIG_H -I../ -I. -Ilinux -Icores -I../guilib -Iutils -IFileSystem -I/usr/include/freetype2 -Icores/dvdplayer -Icores/dvdplayer/Codecs/ffmpeg -Ilib/libUPnP/Platinum/Source/Core -Ilib/libUPnP/Platinum/Source/Platinum -Ilib/libUPnP/Platinum/Source/Devices/MediaServer -Ilib/libUPnP/Platinum/Source/Devices/MediaConnect -Ilib/libUPnP/Platinum/Source/Devices/MediaRenderer -Ilib/libUPnP/Neptune/Source/System/Posix -Ilib/libUPnP/Neptune/Source/Core -Ilib/libcdio/libcdio/include -I../lib/jsoncpp/jsoncpp/include -Ilib/cpluff/libcpluff -I../plex -I../plex/Utility -I../plex/Network -I../plex/GUI -I../plex/FileSystem -I../plex/Players -D_GNU_SOURCE=1 -D_REENTRANT -I/root/setup/plex/plex-linux -I/usr/include/SDL -I/usr/include/alsa -I/usr/include/dbus-1.0 -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/libpng12 -I/usr/include/lzo -I/usr/include/mysql -I/usr/lib/dbus-1.0/include Application.cpp -o Application.o<br />
In file included from DetectDVDType.h:37:0,<br />
from Application.h:48,<br />
from Application.cpp:25:<br />
FileSystem/cdioSupport.h:111:12: error: field 'cdtext' has incomplete type<br />
In file included from DetectDVDType.h:37:0,<br />
from Application.h:48,<br />
from Application.cpp:25:<br />
FileSystem/cdioSupport.h:260:12: error: field 'm_cdtext' has incomplete type<br />
In file included from DetectDVDType.h:37:0,<br />
from Application.h:48,<br />
from Application.cpp:25:<br />
FileSystem/cdioSupport.h: In constructor 'MEDIA_DETECT::CCdInfo::CCdInfo()':<br />
FileSystem/cdioSupport.h:122:18: error: 'm_cdtext' was not declared in this scope<br />
FileSystem/cdioSupport.h:124:28: error: 'MEDIA_DETECT::trackinfo' has no member named 'cdtext'<br />
FileSystem/cdioSupport.h: In destructor 'virtual MEDIA_DETECT::CCdInfo::~CCdInfo()':<br />
FileSystem/cdioSupport.h:130:21: error: 'm_cdtext' was not declared in this scope<br />
FileSystem/cdioSupport.h:132:31: error: 'MEDIA_DETECT::trackinfo' has no member named 'cdtext'<br />
FileSystem/cdioSupport.h: In member function 'cdtext_t MEDIA_DETECT::CCdInfo::GetDiscCDTextInformation()':<br />
FileSystem/cdioSupport.h:136:39: error: return type 'cdtext_t {aka struct cdtext_s}' is incomplete<br />
FileSystem/cdioSupport.h:136:48: error: 'm_cdtext' was not declared in this scope<br />
In file included from DetectDVDType.h:37:0,<br />
from Application.h:48,<br />
from Application.cpp:25:<br />
FileSystem/cdioSupport.h: In member function 'void MEDIA_DETECT::CCdInfo::SetDiscCDTextInformation(cdtext_t)':<br />
FileSystem/cdioSupport.h:239:6: error: 'cdtext' has incomplete type<br />
In file included from /usr/include/cdio/cdio.h:58:0,<br />
from FileSystem/cdioSupport.h:40,<br />
from DetectDVDType.h:37,<br />
from Application.h:48,<br />
from Application.cpp:25:<br />
/usr/include/cdio/cdtext.h:201:16: error: forward declaration of 'cdtext_t {aka struct cdtext_s}'<br />
In file included from DetectDVDType.h:37:0,<br />
from Application.h:48,<br />
from Application.cpp:25:<br />
FileSystem/cdioSupport.h:239:52: error: 'm_cdtext' was not declared in this scope<br />
In file included from PlayList.h:23:0,<br />
from Application.cpp:83:<br />
FileItem.h: In constructor 'MediaPart::MediaPart(int, const string&, int)':<br />
FileItem.h:107:15: warning: 'MediaPart::key' will be initialized after [-Wreorder]<br />
FileItem.h:106:7: warning: 'int MediaPart::duration' [-Wreorder]<br />
FileItem.h:102:3: warning: when initialized here [-Wreorder]<br />
In file included from ./ThumbLoader.h:24:0,<br />
from ./PictureThumbLoader.h:24,<br />
from ../plex/PlexContentWorker.h:19,<br />
from GUIWindowHome.h:28,<br />
from Application.cpp:143:<br />
./BackgroundInfoLoader.h: In constructor 'CBackgroundRunnerGroup::CBackgroundRunnerGroup(CBackgroundInfoLoader*, CFileItemList&, int, int)':<br />
./BackgroundInfoLoader.h:284:7: warning: 'CBackgroundRunnerGroup::m_nActiveThreads' will be initialized after [-Wreorder]<br />
./BackgroundInfoLoader.h:282:26: warning: 'CBackgroundInfoLoader* CBackgroundRunnerGroup::m_loader' [-Wreorder]<br />
In file included from ./ThumbLoader.h:24:0,<br />
from ./PictureThumbLoader.h:24,<br />
from ../plex/PlexContentWorker.h:19,<br />
from GUIWindowHome.h:28,<br />
from Application.cpp:143:<br />
./BackgroundInfoLoader.h:154:3: warning: when initialized here [-Wreorder]<br />
In file included from ../plex/MyPlexManager.h:22:0,<br />
from Application.cpp:281:<br />
../plex/PlexLibrarySectionManager.h: In member function 'void PlexLibrarySectionManager::addLocalSections(const string&, std::vector<boost::shared_ptr<CFileItem> >&)':<br />
../plex/PlexLibrarySectionManager.h:44:82: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<boost::shared_ptr<CFileItem> >::size_type {aka long unsigned int}' [-Wformat]<br />
In file included from ../plex/MyPlexManager.h:23:0,<br />
from Application.cpp:281:<br />
../plex/PlexServerManager.h: In constructor 'PlexServer::PlexServer(const string&, const string&, const string&, short unsigned int, const string&)':<br />
../plex/PlexServerManager.h:128:18: warning: 'PlexServer::port' will be initialized after [-Wreorder]<br />
../plex/PlexServerManager.h:126:10: warning: 'std::string PlexServer::token' [-Wreorder]<br />
../plex/PlexServerManager.h:38:3: warning: when initialized here [-Wreorder]<br />
In file included from ../plex/MyPlexManager.h:23:0,<br />
from Application.cpp:281:<br />
../plex/PlexServerManager.h: In member function 'void PlexServerManager::updateServer(const string&, const string&, const string&, short unsigned int, time_t)':<br />
../plex/PlexServerManager.h:224:125: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t {aka long int}' [-Wformat]<br />
../plex/PlexServerManager.h: In member function 'void PlexServerManager::setRemoteServers(const std::vector<boost::shared_ptr<PlexServer> >&)':<br />
../plex/PlexServerManager.h:258:153: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<boost::shared_ptr<PlexServer> >::size_type {aka long unsigned int}' [-Wformat]<br />
../plex/PlexServerManager.h:258:153: warning: format '%d' expects argument of type 'int', but argument 4 has type 'std::set<std::basic_string<char> >::size_type {aka long unsigned int}' [-Wformat]<br />
../plex/PlexServerManager.h:258:153: warning: format '%d' expects argument of type 'int', but argument 5 has type 'std::set<boost::shared_ptr<PlexServer> >::size_type {aka long unsigned int}' [-Wformat]<br />
Application.cpp: In destructor 'virtual CApplication::~CApplication()':<br />
Application.cpp:374:10: warning: deleting object of abstract class type 'LaunchHost' which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor]<br />
make[1]: *** [Application.o] Error 1<br />
make[1]: Leaving directory `/root/setup/plex/plex-linux/xbmc'<br />
make: *** [xbmc/xbmc.a] Error 2<br />