bugGlobulation 2 - Bugs: bug #22225, scons does not check for g++

 
 

bug #22225: scons does not check for g++

Submitted by:  Leo Wandersleb <giszmo>
Submitted on:  Sun 03 Feb 2008 10:24:16 PM UTC  
Votes:  5  
 
Severity: 4 - ImportantStatus: Fixed
Assigned to: Bradley Arsenault <genixpro>Open/Closed: Closed
Release: NoneOperating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 26 Dec 2009 10:01:26 AM UTC, comment #5:

Fixed using CheckCC and CheckCXX in default (63694dbc4fb9) and beta5-rc (1d5720fec7a4). Once the compiler is installed, it seems that one must clear cache as Scons does not recheck this correctly. Maybe I have not used correctly CheckCC. Cleaning cache with:
rm -r .sconf_temp/ .sconsign.dblite options_cache.py
works.

Stephane Magnenat <nct>
Project Administrator
Sat 17 May 2008 12:33:22 AM UTC, comment #4:

Both myself and another user have still experienced problems with the beta3 g++ check in place. Needs a different approach.

-----------------------------------

(12:30:07 PM) joey101: I'm having compiling problems: http://pastebin.com/d3a472086 scons gets past checking for deps but fails shortly after
(12:30:24 PM) joey101: I'm on Ubunut
(12:30:27 PM) k776: gah, thought we fixed this
(12:30:35 PM) k776: you need to install g++
(12:30:40 PM) joey101: ok, thanks
(12:30:45 PM) k776: the check is there, but its obviously not working
(12:30:48 PM) joey101: (I have the beta3 source)
(12:30:55 PM) k776: yeer
(12:31:06 PM) k776: beta2 had no check, beta3 does, but clearly doesn't work
(12:31:09 PM) k776: I'll ticket it

Kieran <k776>
Project Administrator
Sat 15 Mar 2008 07:44:21 PM UTC, comment #3:

Doesn't seem to work on Windows, but it never gets that far. scons on windows uses g++ to create test files when searching for dependencies. Without g++, it doesn't get through the first check for SDL.

Perhaps moving the check before the other scons checks would work? (check for g++ first thing).

Will try on my Linux computer later.

Kieran <k776>
Project Administrator
Sat 15 Mar 2008 12:24:51 PM UTC, comment #2:

I have done the env['CC'] fix. It seems to work. The people who have computers without gcc need to double check to see if this works.

Bradley Arsenault <genixpro>
Project AdministratorIn charge of this item.
Tue 11 Mar 2008 06:42:46 AM UTC, comment #1:

a way suggested by a scons guy:

<jesterKing> maybe try something like: if env['CC'] == 'gcc'
<jesterKing> and run gcc --version, pipe the output, parse it and check

Apple <appleboy>
Project Member
Sun 03 Feb 2008 10:24:16 PM UTC, original submission:

it is very inconvenient to be left alone with esoteric messages like "sh: o: command not found".

Would be great if this could be fixed.

Leo Wandersleb <giszmo>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by nct (Updated the item)
  • -unavailable- added by genixpro (Posted a comment)
  • -unavailable- added by appleboy (Posted a comment)
  • -unavailable- added by k776 (Updated the item)
  • -unavailable- added by giszmo (Voted in favor of this item)
  • -unavailable- added by giszmo (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 5 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 26 Dec 2009 10:01:26 AM UTCnctStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Sat 26 Dec 2009 09:37:10 AM UTCnctSeverity3 - Normal=>4 - Important
    Sat 17 May 2008 12:33:22 AM UTCk776StatusReady For Test=>Confirmed
    Thu 20 Mar 2008 02:34:13 AM UTCk776StatusConfirmed=>Ready For Test
    Sat 15 Mar 2008 12:30:01 PM UTCgenixproStatusFixed=>Confirmed
    Sat 15 Mar 2008 12:24:51 PM UTCgenixproStatusConfirmed=>Fixed
    Wed 06 Feb 2008 05:22:00 AM UTCk776StatusNone=>Confirmed
      Assigned toNone=>genixpro
    Tue 05 Feb 2008 10:49:14 PM UTCgiszmoCarbon-Copy-=>Added giszmo

    Back to the top


    Powered by Savane 3.1-cleanup1