[SERVER-9190] Compile on OpenIndiana Created: 30/Mar/13  Updated: 11/Jul/16  Resolved: 01/Apr/13

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 2.4.1
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Serge Fonville Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

uname -srpiv
SunOS 5.11 oi_151a7 i386 i86pc


Attachments: Text File mongodb_on_oi157a7._build_output.log    
Participants:

 Description   

I'm trying to build MongoDB 2.4.1 on OpenIndiana 157a7
I installed scons 2.3.0 and python 2.7.3
And tried compiling with "scons --prefix=/usr/mongodb/2.4 --release --64 --cxx=/usr/bin/g++ --cc=/usr/bin/gcc"
I got the following output:
Attached the buld output



 Comments   
Comment by Eliot Horowitz (Inactive) [ 01/Apr/13 ]

Seems to be working.
Looks like the other gcc version was old?

Comment by Serge Fonville [ 30/Mar/13 ]

I retried with a specific version and now it compiles fine:

scons --64 --release --cxx=/usr/gcc/4.6/bin/g++ --cc=/usr/gcc/4.6/bin/gcc

Generated at Thu Feb 08 03:19:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.