dev-590 compile from source : -lGLU, -lGL
[ dev-590 ] [ gcc 4.4.4 ] [ GNU/Linux 32-bit ] [ Ubuntu 10.10-ish ] * OpenGL/GLUT is of unstable nature* got an error compiling from source (see after sig). i tried using --openmp first, then --openmp --nogui in the same build directory and the error occurs both times. just trying this out, not critical - was interested to know if there's an easy workaround anyone might think of (besides touching GL/GLUT - shudder ). -Bryan /usr/bin/ld: cannot find -lGLU /usr/bin/ld: cannot find -lGL collect2: ld returned 1 exit status scons: *** [lib/gltbx_fonts_ext.so] Error 1
Hi Bryan, You could edit $PHENIX/cctbx_project/gltbx/SConscript and change if (env_etc.gltbx_has_opengl_headers): to if (0 and env_etc.gltbx_has_opengl_headers): Then run: $PHENIX/bin/recompile But it would be better to fix your machine. You seem to have the development headers for OpenGL but not the runtime libraries. Either remove the development header (with apt-get or similar) or install the runtime libraries. Ralf ----- Original Message ----
From: Bryan Lepore
To: PHENIX user mailing list Sent: Wed, November 24, 2010 1:26:13 PM Subject: [phenixbb] dev-590 compile from source : -lGLU, -lGL [ dev-590 ] [ gcc 4.4.4 ] [ GNU/Linux 32-bit ] [ Ubuntu 10.10-ish ] * OpenGL/GLUT is of unstable nature*
got an error compiling from source (see after sig). i tried using --openmp first, then --openmp --nogui in the same build directory and the error occurs both times.
just trying this out, not critical - was interested to know if there's an easy workaround anyone might think of (besides touching GL/GLUT - shudder ).
-Bryan
/usr/bin/ld: cannot find -lGLU /usr/bin/ld: cannot find -lGL collect2: ld returned 1 exit status scons: *** [lib/gltbx_fonts_ext.so] Error 1 _______________________________________________ phenixbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/phenixbb
Hi Ralf
On Wed, Nov 24, 2010 at 4:41 PM, Ralf W. Grosse-Kunstleve
You could edit $PHENIX/cctbx_project/gltbx/SConscript
i looked around in the *source* distribution, didn't find this - but did in the binary.
But it would be better to fix your machine.
does you mean that installation with --no-gui (not --nogui, i checked) still needs GL/OpenGL/GLUT/graphics related things, etc.? -Bryan
Hi Bryan,
i looked around in the *source* distribution, didn't find this - but did in the binary.
Yes, that's what I meant. $PHENIX is the directory created by the installer. I'm assuming the installer didn't fail completely.
does you mean that installation with --no-gui (not --nogui, i checked)
still needs GL/OpenGL/GLUT/graphics related things, etc.?
Yes and no: yes because the --no-gui isn't propagated to the part that compiles the gltbx, no because it is meant to adjust automatically. I'll look into changing the procedure that determines if OpenGL is usable. Ralf
to follow up on this thread : dev-595 compiled from source on the aforementioned setup with flags : --no-gui --no-apps --openmp phenix.refine varies between ~100% and ~200% CPU... now i can witness Amdahl's law first-hand. -Bryan
participants (2)
-
Bryan Lepore
-
Ralf W. Grosse-Kunstleve