Ok, I've finally taken some time to test autobuild, too. On 01/28/2011 12:41 AM, Oz Linden (Scott Lawrence) wrote: > > To begin experimenting with this new way of doing things, you'll need > to check out autobuild itself (it's written in python, and is open > source) from: > > https://bitbucket.org/lindenlab/autobuild > > You can either run it directly from the checkout, or install it as a > normal python package using the command: > > setup.py install > With the current (9ee2db08d677 <https://bitbucket.org/lindenlab/autobuild/changeset/9ee2db08d677>) autobuild, this command won't work on UNIX-like systems for two reasons (see OPEN-10 <https://jira.secondlife.com/browse/OPEN-10>). Workaround is to prepend python, i.e. call
python setup.py install or, because this tries to write into system directories sudo python setup.py install > A "standalone" non-Linden developer build: > > autobuild configure -c OpenSourceStandaloneRelWithDebInfo > This won't work with the current (00453191c1b9 <https://bitbucket.org/mani_linden/viewer-autobuild/changeset/00453191c1b9>) viewer-autobuild code: "standalone" has to be CamelCased, too: autobuild configure -c OpenSourceStand*A*loneRelWithDebInfo Then, I had to merge in my VWR-24520 <https://jira.secondlife.com/browse/VWR-24520> fix or I'd hit that bug, just as I would in unmodified viewer-development. After that, configuring yields: $ autobuild configure -c OpenSourceStandAloneRelWithDebInfo -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Using autobuild at: /usr/bin/autobuild -- checking for module 'ogg' -- found ogg, version 1.2.0 -- checking for module 'vorbis' -- found vorbis, version 1.3.1 -- checking for module 'vorbisenc' -- found vorbisenc, version 1.3.1 -- checking for module 'vorbisfile' -- found vorbisfile, version 1.3.1 -- checking for module 'openal' -- found openal, version 1.11.753 -- checking for module 'freealut' -- found freealut, version 1.1.0 -- Building with OpenAL audio support -- Found Google BreakPad: /usr/lib64/libbreakpad_client.so *CMake Error at cmake/Copy3rdPartyLibs.cmake:263 (copy_if_different): COPY_IF_DIFFERENT Macro invoked with incorrect arguments for macro named: COPY_IF_DIFFERENT Call Stack (most recent call first): llcommon/CMakeLists.txt:14 (include)* -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib64/libX11.so -- checking for module 'freetype2' -- found freetype2, version 12.1.6 -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_PTHREAD_H - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- checking for module 'atk' -- found atk, version 1.30.0 -- checking for module 'cairo' -- found cairo, version 1.8.10 -- checking for module 'gdk-2.0' -- found gdk-2.0, version 2.20.1 -- checking for module 'gdk-pixbuf-2.0' -- found gdk-pixbuf-2.0, version 2.20.1 -- checking for module 'glib-2.0' -- found glib-2.0, version 2.24.2 -- checking for module 'gmodule-2.0' -- found gmodule-2.0, version 2.24.2 -- checking for module 'gtk+-2.0' -- found gtk+-2.0, version 2.20.1 -- checking for module 'gthread-2.0' -- found gthread-2.0, version 2.24.2 -- checking for module 'libpng' -- found libpng, version 1.4.5 -- checking for module 'pango' -- found pango, version 1.28.3 -- checking for module 'pangoft2' -- found pangoft2, version 1.28.3 -- checking for module 'pangox' -- found pangox, version 1.28.3 -- checking for module 'pangoxft' -- found pangoxft, version 1.28.3 -- checking for module 'sdl' -- found sdl, version 1.2.13 -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt-Version 4.6.3 (using /usr/bin/qmake) -- Looking for _POSIX_TIMERS -- Looking for _POSIX_TIMERS - found -- checking for module 'libllqtwebkit' -- package 'libllqtwebkit' not found -- Found LLQTWEBKIT: /usr/lib64/libllqtwebkit.a -- checking for module 'gstreamer-0.10' -- found gstreamer-0.10, version 0.10.29 -- checking for module 'gstreamer-plugins-base-0.10' -- found gstreamer-plugins-base-0.10, version 0.10.29 -- Found PythonInterp: /usr/bin/python -- checking for module 'dbus-glib-1' -- found dbus-glib-1, version 0.88 -- Building with OpenAL audio support -- Found NDOF: Library in '/usr/lib64/libndofdev.a' and header in '/usr/include' -- Version of viewer is 2.6.0.0 -- Configuring incomplete, errors occurred! *ERROR: default configuration returned 1 For more information: try re-running your command with --verbose or --debug* (*Emphasis* by me.) Changing line 264 <https://bitbucket.org/mani_linden/viewer-autobuild/src/00453191c1b9/indra/cmake/Copy3rdPartyLibs.cmake#cl-264> by placing double quotes around ${debug_src_dir} gets rid of this, but I have to wonder whether the other similar calls in that file would need the same treatment. I'll cover building in a separate mail (maybe tomorrow). Cheers, Boroondas
_______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges