[phenixbb] dev-590 compile from source : -lGLU, -lGL

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Wed Nov 24 13:41:04 PST 2010


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 <bryanlepore at gmail.com>
> To: PHENIX user mailing list <phenixbb at phenix-online.org>
> 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
> phenixbb at phenix-online.org
> http://phenix-online.org/mailman/listinfo/phenixbb
> 



More information about the phenixbb mailing list