Error building LO on local system

Markus Mohrhard markus.mohrhard at googlemail.com
Mon Dec 26 20:18:47 UTC 2016


Hey,

On Mon, Dec 26, 2016 at 4:56 PM, Huzaifa Iftikhar <huzaifa3196 at gmail.com>
wrote:

> Hi,
> I updated my master branch today with the command ./g pull -r and after
> that when I tried to build LibreOffice with the make command it doesn't
> build anymore and shows the following error
>
> /home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/
> include/epoxy/egl_generated.h:10:29: fatal error: EGL/eglplatform.h: No
> such file or directory
>  #include "EGL/eglplatform.h"
>
> Earlier the master used to build successfully and I always create a
> separate branch for patches and don't make changes on Branch master itself.
>
>
> I have pasted the logs of my terminal below and also attached a txt file
> of the same.
>
>
> huzaifa at HP-Pavilion-g6-Notebook-PC:~$ cd libreoffice/
> huzaifa at HP-Pavilion-g6-Notebook-PC:~/libreoffice$ ./g pull -r
> Current branch master is up to date.
> huzaifa at HP-Pavilion-g6-Notebook-PC:~/libreoffice$ make
> mkdir -p /home/huzaifa/libreoffice/instdir
> /home/huzaifa/libreoffice/solenv/bin/install-gdb-printers -a
> /home/huzaifa/libreoffice/instdir -c
> make -j 4  -rs -f /home/huzaifa/libreoffice/Makefile.gbuild    all
> [build DEP] LNK:Executable/bestreversemap
> [build DEP] LNK:Library/libstorelo.so
> [build DEP] LNK:Library/libuno_salhelpergcc3.so.3
> [build DEP] LNK:Library/libsal_textenclo.so
> [build DEP] LNK:Library/libuno_sal.so.3
> [build DEP] LNK:Library/libreglo.so
> [build DEP] LNK:StaticLibrary/libcodemaker_cpp.a
> [build DEP] LNK:StaticLibrary/libcodemaker.a
> [build DEP] LNK:Library/libuno_sal.so.3
> [build LNK] Library/libuno_sal.so.3
> [build DEP] LNK:StaticLibrary/libcodemaker_cpp.a
> [build LNK] StaticLibrary/libcodemaker_cpp.a
> [build DEP] LNK:StaticLibrary/libcodemaker.a
> [build LNK] StaticLibrary/libcodemaker.a
> [build C  ] UnpackedTarball/epoxy/src/dispatch_common.c
> [build C  ] UnpackedTarball/epoxy/src/gl_generated_dispatch.c
> [build C  ] UnpackedTarball/epoxy/src/dispatch_glx.c
> [build C  ] UnpackedTarball/epoxy/src/glx_generated_dispatch.c
> [build C  ] UnpackedTarball/epoxy/src/dispatch_egl.c
> In file included from /home/huzaifa/libreoffice/
> workdir/UnpackedTarball/epoxy/include/epoxy/egl.h:46:0,
>                  from /home/huzaifa/libreoffice/
> workdir/UnpackedTarball/epoxy/src/dispatch_common.h:53,
>                  from /home/huzaifa/libreoffice/
> workdir/UnpackedTarball/epoxy/src/dispatch_glx.c:28:
> /home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/
> include/epoxy/egl_generated.h:10:29: fatal error: EGL/eglplatform.h: No
> such file or directory
>  #include "EGL/eglplatform.h"
>                              ^
> compilation terminated.
> In file included from /home/huzaifa/libreoffice/
> workdir/UnpackedTarball/epoxy/include/epoxy/egl.h:46:0,
>                  from /home/huzaifa/libreoffice/
> workdir/UnpackedTarball/epoxy/src/dispatch_common.h:53,
>                  from /home/huzaifa/libreoffice/
> workdir/UnpackedTarball/epoxy/src/gl_generated_dispatch.c:31:
> /home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/
> include/epoxy/egl_generated.h:10:29: fatal error: EGL/eglplatform.h: No
> such file or directory
>  #include "EGL/eglplatform.h"
>                              ^
> compilation terminated.
> In file included from /home/huzaifa/libreoffice/
> workdir/UnpackedTarball/epoxy/include/epoxy/egl.h:46:0,
>                  from /home/huzaifa/libreoffice/
> workdir/UnpackedTarball/epoxy/src/dispatch_common.h:53,
>                  from /home/huzaifa/libreoffice/
> workdir/UnpackedTarball/epoxy/src/dispatch_common.c:103:
> /home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/
> include/epoxy/egl_generated.h:10:29: fatal error: EGL/eglplatform.h: No
> such file or directory
>  #include "EGL/eglplatform.h"
>                              ^
> compilation terminated.
> In file included from /home/huzaifa/libreoffice/
> workdir/UnpackedTarball/epoxy/include/epoxy/egl.h:46:0,
>                  from /home/huzaifa/libreoffice/
> workdir/UnpackedTarball/epoxy/src/dispatch_common.h:53,
>                  from /home/huzaifa/libreoffice/
> workdir/UnpackedTarball/epoxy/src/glx_generated_dispatch.c:9:
> /home/huzaifa/libreoffice/workdir/UnpackedTarball/epoxy/
> include/epoxy/egl_generated.h:10:29: fatal error: EGL/eglplatform.h: No
> such file or directory
>  #include "EGL/eglplatform.h"
>                              ^
> compilation terminated.
> make[1]: *** [/home/huzaifa/libreoffice/workdir/GenCObject/
> UnpackedTarball/epoxy/src/dispatch_glx.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: *** [/home/huzaifa/libreoffice/workdir/GenCObject/
> UnpackedTarball/epoxy/src/glx_generated_dispatch.o] Error 1
> make[1]: *** [/home/huzaifa/libreoffice/workdir/GenCObject/
> UnpackedTarball/epoxy/src/gl_generated_dispatch.o] Error 1
> make[1]: *** [/home/huzaifa/libreoffice/workdir/GenCObject/
> UnpackedTarball/epoxy/src/dispatch_common.o] Error 1
> make: *** [build] Error 2
> huzaifa at HP-Pavilion-g6-Notebook-PC:~/libreoffice$
>
>
>
>
> Is this a problem with the master branch of LibreOffice or is this a
> problem in my local system only ?
>
> I hope someone will look into this.
>
>

This is a missing package in your system. After a git pull -r and calling
make again configure should now complain about the missing egl development
package. You need the mesa egl dev package (however it is called on your
system).

Regards,
Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20161226/23536d8c/attachment.html>


More information about the LibreOffice mailing list