Opened 16 years ago

Closed 14 years ago

#568 closed Defect (fixed)

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

Reported by: Christian Beer Owned by: Eric 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 (5)

comment:1 Changed 16 years ago by Nicolas

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

comment:2 Changed 15 years ago by Nicolas

Owner: changed from davea to Eric Korpela

comment:3 Changed 15 years ago by Eric 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.

comment:4 Changed 15 years ago by Nicolas

Component: Server - SetupBOINC - API

comment:5 Changed 14 years ago by Christian Beer

Resolution: fixed
Status: newclosed

I just tested server_stable and latest dev client and saw some checks for g++ so I'll close this bug as fixed.

Note: See TracTickets for help on using tickets.