[sldev] [Compiling/Error] Error: the command 'make' exited with status 2

Carsten Juttner carjay at gmx.net
Mon Dec 29 05:27:29 PST 2008


Hello Mikkel,

the important error is obviously this:

[ 31%] Building CXX object llrender/CMakeFiles/llrender.dir/llcubemap.o
In file included from /home/xuxiix/Desktop/asdf/linden/indra/llrender/llglheaders.h:70,
                 from /home/xuxiix/Desktop/asdf/linden/indra/llrender/llgl.h:48,
                 from /home/xuxiix/Desktop/asdf/linden/indra/llrender/llcubemap.h:35,
                 from /home/xuxiix/Desktop/asdf/linden/indra/llrender/llcubemap.cpp:35:
/home/xuxiix/Desktop/asdf/linden/indra/../libraries/i686-linux/include/GL/glx.h:38:22: error: X11/Xlib.h: No such file or directory
/home/xuxiix/Desktop/asdf/linden/indra/../libraries/i686-linux/include/GL/glx.h:39:23: error: X11/Xutil.h: No such file or directory


It can't find the X11 headers. Usually these are installed with a 
development package like libxt-dev.

See "Prerequisites for Linux" on 
http://wiki.secondlife.com/wiki/User:Michelle2_Zenovka/cmake

They should pull in all required packages at least on debian.


Carsten



Mikkel Hansen wrote:
> Hi,
>
> sorry, again, for the slow(er) response! I'm somewhat limited to the 
> internet at this moment, so...
>
> Anyway, I've attached the log. I noticed that there are way more 
> errors there, than in the terminal, for some reason.
>
> Mikkel
>
>
> 2008/12/27 Carsten Juttner <carjay at gmx.net <mailto:carjay at gmx.net>>
>
>     Hello Mikkel,
>
>     easiest is to simply redirect any (stdout and stderr) output to a
>     file by typing this:
>     make > log.txt 2>&1
>
>
>     Carsten
>
>
>
>     Mikkel Hansen wrote:
>
>         Hi, sorry about the slow response.
>
>         How do I post the complete log? I only see a few lines in the
>         terminal.
>
>         Thanks,
>         Mikkel
>
>         Carsten Juttner wrote
>
>
>            Hello Mikkel,
>
>            could you please post the complete log?
>
>            It only shows that make stops but it does not say where and
>         why.
>
>            Sometimes the position of the error is several lines before
>         make
>            actually stops.
>
>
>            Regards,
>            Carsten
>
>
>
>            Mikkel Hansen wrote:
>
>                Well, I'm relatively new to C++, compiling, mailinglists,
>                etc... Anyway, when I try to compile the viewer I get an
>                error. I'm on Linux Mint using cmake-SL to build the
>         client.
>                I've applied one patch
>                (https://jira.secondlife.com/browse/VWR-10001) to get
>         past an
>                error earlier, however, now I'm stuck again. D:
>
>                I get the following error:
>
>                ...
>                [ 31%] Building CXX object
>                llmessage/CMakeFiles/llmessage.dir/patch_dct.o
>                [ 31%] Building CXX object
>                llmessage/CMakeFiles/llmessage.dir/patch_idct.o
>                Linking CXX static library libllmessage.a
>                make[2]: Leaving directory
>         `/usr/src/SL/indra/viewer-linux-i686'
>                [ 31%] Built target llmessage
>                make[1]: Leaving directory
>         `/usr/src/SL/indra/viewer-linux-i686'
>                make: *** [all] Error 2
>                make: Leaving directory
>         `/usr/src/SL/indra/viewer-linux-i686'
>                Error: the command 'make' exited with status 2
>
>
>                I am not sure if you need the version name/whatever I am
>                trying to compile, although if you do, I'll tell you. :p
>
>                Thanks
>              
>          ------------------------------------------------------------------------
>
>                _______________________________________________
>                Policies and (un)subscribe information available here:
>                http://wiki.secondlife.com/wiki/SLDev
>                Please read the policies before posting to keep unmoderated
>                posting privileges
>
>
>            _______________________________________________
>            Policies and (un)subscribe information available here:
>            http://wiki.secondlife.com/wiki/SLDev
>            Please read the policies before posting to keep unmoderated
>            posting privileges
>
>
>
>     _______________________________________________
>     Policies and (un)subscribe information available here:
>     http://wiki.secondlife.com/wiki/SLDev
>     Please read the policies before posting to keep unmoderated
>     posting privileges
>
>



More information about the SLDev mailing list