Ticket #568 (new Defect)

Opened 2 years ago

Last modified 3 months ago

Test for /usr/bin/g++ when building the graphical parts of the API

Reported by: ChristianB Assigned to: korpela
Priority: Trivial Milestone: Undetermined
Component: BOINC - API Version:
Keywords: make glut warning graphics API Cc:

Description

On some Linux distros the symbolic link /usr/bin/g++ is not created when installing g++ so the graphical parts can't be compiled. The error produced by the make script is: Can't find GL/GLU/GLUT libraries which is wrong because they are installed. There should be a test if /usr/bin/g++ is available and the script should terminate if not (saying that it needs /usr/bin/g++ to compile the graphics-part).

Additionally the warning that is shown on screen during the make run (GLUT libs are not available. Building the non-graphical parts only) should also be available at the end of the log. I always miss this warning because the script scrolls so fast.

Change History

03/01/08 09:25:48 changed by Nicolas

Note that GL/GLU/GLUT detection is made by fairly standard autoconf macros, it's not something written for BOINC.

01/15/09 06:47:25 changed by Nicolas

  • owner changed from davea to korpela.

01/15/09 09:13:17 changed by korpela

Nicolas is correct, the path of g++ in not explictly specified anywhere in the configuration files. As long as g++ (or another C++ compiler) is in the path, configure should work.

@Christian: Can you post the section of config.log that contains this error? Thanks.

05/30/09 12:28:13 changed by Nicolas

  • component changed from Server - Setup to BOINC - API.

If this page is incomplete or incorrect, please edit it or add it to the wiki to-do list. To do this, you must be logged in; click Login or Register above.