[sldev] [HELP] C++ newbie needs help with first compilation

Carlo Wood carlo at alinoe.com
Fri May 29 04:18:01 PDT 2009


On Thu, May 28, 2009 at 09:04:56PM -0600, Andromeda Quonset wrote:
> Interesting.  I gave up trying to compile the viewer under the old 
> system, following the specific instructions in the wiki, and asking 
> questions here.  I took the new build system with a cup of salt, and 
> gave up on it.  If it wasn't for LL and a few 3rd parties building 
> clients, I would say the viewer can't be built.

One of the problems is that the build often fails ungraceful
when some development package is missing.

I made a list for another grid (and different viewer entirely, based
on the LL's one of course) (and for debian) of the required packages.
This list is what is needed according/for Debian testing (squeeze):

To get the source:

subversion [dragging in: ca-certificates libapr1 libaprutil1 libexpat1
 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0
 libneon27-gnutls libserf-0-0 libsvn1 libxml2 make openssl perl perl-modules
 sgml-base xml-core]

To run configure:

cmake pkg-config bison flex python [dragging in: binutils cmake-data cpp cpp-4.3
 emacsen-common gcc gcc-4.3 libc6-dev libcurl3 libcurl3-gnutls libglib2.0-0
 libglib2.0-data libgmp3c2 libidn11 libldap-2.4-2 libmpfr1ldbl libpcre3 libssh2-1
 libxmlrpc-c3 linux-libc-dev m4 shared-mime-info file libdb4.5 libicu40 libmagic1
 libsqlite3-0 mime-support python-minimal python2.5 python2.5-minimal]

To compile:

libapr1-dev libaprutil1-dev libssl-dev libexpat1-dev libmozjs-dev libopenjpeg-dev
 uuid-dev libnspr4-dev libdb-dev libsdl1.2-dev libxmlrpc-epi-dev libc-ares-dev
 libopenal-dev libboost-dev libogg-dev libvorbis-dev libalut-dev libgstreamer0.10-dev
 libgstreamer-plugins-base0.10-dev libatk1.0-dev libcairo2-dev libgtk2.0-dev
 libdbus-glib-1-dev [dragging in: build-essential bzip2 check comerr-dev cpp-4.1
 dbus dbus-x11 debhelper defoma dpkg-dev esound-clients esound-common fontconfig
 fontconfig-config g++ g++-4.1 g++-4.3 gcc-4.1 gcc-4.1-base gettext gettext-base
 hicolor-icon-theme html2text intltool-debian liba52-0.7.4 libaa1 libaa1-dev
 libalut0 libartsc0 libartsc0-dev libasound2 libasound2-dev libatk1.0-0
 libatk1.0-data libaudio-dev libaudio2 libaudiofile-dev libaudiofile0
 libboost-date-time-dev libboost-date-time1.34.1 libboost-doc
 libboost-filesystem-dev libboost-filesystem1.34.1 libboost-graph-dev
 libboost-graph1.34.1 libboost-iostreams-dev libboost-iostreams1.34.1
 libboost-program-options-dev libboost-program-options1.34.1 libboost-python-dev
 libboost-python1.34.1 libboost-regex-dev libboost-regex1.34.1
 libboost-serialization-dev libboost-serialization1.34.1 libboost-signals-dev
 libboost-signals1.34.1 libboost-test-dev libboost-test1.34.1
 libboost-thread-dev libboost-thread1.34.1 libboost-wave-dev libboost-wave1.34.1
 libc-ares2 libcaca-dev libcaca0 libcairo2 libcroco3 libcups2
 libdatrie1 libdb4.7-dev libdbus-1-3 libdbus-1-dev libdbus-glib-1-2
 libdes425-3 libdirectfb-1.2-0 libdirectfb-dev libdirectfb-extra libdrm2
 libesd0 libesd0-dev libfontconfig1 libfontconfig1-dev libfontenc1 libfreetype6
 libfreetype6-dev libgl1-mesa-dev libgl1-mesa-glx libglib2.0-dev libglu1-mesa
 libglu1-mesa-dev libgomp1 libgpm2 libgssrpc4 libgstreamer-plugins-base0.10-0
 libgstreamer0.10-0 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libice-dev
 libice6 libicu-dev libjasper1 libjpeg62 libjpeg62-dev libkadm5srv5 libkdb5-4
 libkrb5-dev libkrb53 libldap2-dev libmail-sendmail-perl libmozjs1d libmpeg3-1
 libmpeg3-dev libmysqlclient15-dev libmysqlclient15off libncurses5-dev
 libnspr4-0d libogg0 libopenal1 libopenjpeg2 libpango1.0-0 libpango1.0-common
 libpango1.0-dev libpcre3-dev libpcrecpp0 libpixman-1-0 libpixman-1-dev
 libpng12-0 libpng12-dev libpopt-dev libpq-dev libpq5 libpthread-stubs0
 libpthread-stubs0-dev libsdl1.2debian libsdl1.2debian-alsa libslang2-dev
 libsm-dev libsm6 libsqlite3-dev libstdc++6-4.1-dev libstdc++6-4.3-dev
 libsvga1 libsvga1-dev libsys-hostname-long-perl libsysfs-dev libsysfs2
 libthai-data libthai0 libtiff4 libtimedate-perl libts-0.0-0 libvorbis0a
 libvorbisenc2 libvorbisfile3 libx11-6 libx11-data libx11-dev libx86-1
 libxau-dev libxau6 libxcb-render-util0 libxcb-render-util0-dev libxcb-render0
 libxcb-render0-dev libxcb1 libxcb1-dev libxcomposite-dev libxcomposite1
 libxcursor-dev libxcursor1 libxdamage-dev libxdamage1 libxdmcp-dev libxdmcp6
 libxext-dev libxext6 libxfixes-dev libxfixes3 libxfont1 libxft-dev libxft2
 libxi-dev libxi6 libxinerama-dev libxinerama1 libxml2-dev libxml2-utils
 libxmlrpc-epi0 libxrandr-dev libxrandr2 libxrender-dev libxrender1
 libxt-dev libxt6 libxxf86vm1 mesa-common-dev mysql-common patch po-debconf
 python-dev python2.5-dev tsconf ttf-dejavu ttf-dejavu-core ttf-dejavu-extra
 ucf x-ttcidfont-conf x11-common x11proto-composite-dev x11proto-core-dev
 x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev
 x11proto-randr-dev x11proto-render-dev x11proto-xext-dev x11proto-xinerama-dev
 xfonts-encodings xfonts-utils xtrans-dev zlib1g-dev]

To compile (not in Debian Stable):

libxul-dev libcurl4-cares-dev libllmozlib2-dev [dragging in: dictionaries-common
 hunspell-en-us libcurl3-cares libgcrypt11-dev libgnutls-dev libgpg-error-dev
 libhunspell-1.2-0 libidl0 libidn11-dev libllmozlib2 libmozjs0d libnss3-1d
 libnss3-dev libtasn1-3-dev libxul-common libxul0d xulrunner]

To install and run:

gconf2 gconf2-common libgconf2-4 liborbit2 ttf-kochi-mincho [dragging in:
 psmisc ttf-sazanami-mincho]


-- 
Carlo Wood <carlo at alinoe.com>


More information about the SLDev mailing list