Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find gl.h #46

Open
rgg2 opened this issue Sep 22, 2021 · 5 comments
Open

Cannot find gl.h #46

rgg2 opened this issue Sep 22, 2021 · 5 comments

Comments

@rgg2
Copy link

rgg2 commented Sep 22, 2021

I am using easybuild 4.4.2 tryiung to install R-4.1.0
The issue is package with Xvfb-1.20.11-GCCcore-10.3.0.eb
The package fails on installing bundle component Xvfb v1.20.11 (9/9)
This is compiling xorg-server-1.20.11 which fails on build_log.py:169 ERROR EasyBuild crashed with an error (at easybuild/base/exceptions.py:124 in init): build failed (first 300 chars): cmd " make -j 2 V=1 SHA1_LIBS="$EBROOTNETTLE/lib*/libnettle.a" LIBUNWIND_LIBS="$EBROOTLIBUNWIND/lib*/libunwind.a $EBROOTXZ/lib*/liblzma.a"" exited with exit code 2 and output:
Making all in doc

easybuild-04rkw5zi.log

cd /home/rgg/.local/easybuild/build/Xvfb/1.20.11/GCCcore-10.3.0/xorg-server-1.20.11
and ran the command in the error log
. make -j 2 V=1 SHA1_LIBS="$EBROOTNETTLE/lib*/libnettle.a" LIBUNWIND_LIBS="$EBROOTLIBUNWIND/lib*/libunwind.a $EBROOTXZ/lib*/liblzma.a"

glxserver.h:49:10: fatal error: GL/gl.h: No such file or directory
#include <GL/gl.h>
^~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:814: indirect_dispatch.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:814: indirect_dispatch_swap.lo] Error 1
make[1]: Leaving directory '/home/rgg/.local/easybuild/build/Xvfb/1.20.11/GCCcore-10.3.0/xorg-server-1.20.11/glx'
make: *** [Makefile:817: all-recursive] Error 1

@rgg2
Copy link
Author

rgg2 commented Sep 23, 2021

Any help would be appreciated. Not sure what to do from here.

@tractatus
Copy link
Owner

tractatus commented Sep 23, 2021

Hi @rgg2 this issue has nothing to do with WholeBrain but with your current Linux set up. It might therefore not be the best place to seek advice here.

but anyway. You are missing a quite fundamental linux library related to OpenGL which handles graphics for you.

the fact that you are missing this strongly suggest you have even more things missing in your linux det up so I would spend some time getting your OS in order.

anyway, the header file in question gl/gl.h is installed among other things through:

sudo apt-get install libglfw3-dev libgl1-mesa-dev libglu1-mesa-dev

@rgg2
Copy link
Author

rgg2 commented Sep 23, 2021

This is the error message - which makes no sense to me.

easybuild-kbb471kr.log
build_log.py:169 ERROR EasyBuild crashed with an error (at easybuild/base/exceptions.py:124 in init): cmd " make -j 2 V=1 SHA1_LIBS="$EBROOTNETTLE/lib*/libnettle.a" LIBUNWIND_LIBS="$EBROOTLIBUNWIND/lib*/libunwind.a $EBROOTXZ/lib*/liblzma.a"" exited with exit code 2 and output:
Making all in doc
easybuild-kbb471kr.log

@rgg2
Copy link
Author

rgg2 commented Sep 23, 2021

Where is the "Place" to seek advice? for future reference. got past the GL/gl.h

@tractatus
Copy link
Owner

tractatus commented Sep 23, 2021

@rgg2 What university and group are you at? Maybe I can point you to someone that could help you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants