Hi,

I am trying to build mod_rails on a Joyent-hosted OSol (snv_67) x64 container.  
I installed SunStudio 12 compiler and 124864-03, 124868-04, 126498-05 patches.  
The ruby gem in question is called passenger (as in gem install passenger) and 
is being tried aout for  a part in a large facebook ruby-on-rails application 
stack. 

I rebuilt apache from scratch and now I am stopped here:
----------------------
[z14098CJ:/usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.1/ext/apache2] root# 
rake
(in /opt/local/lib/ruby/gems/1.8/gems/passenger-1.0.1)
### In ext/apache2:
CC -D_REENTRANT -D_XPG4_2 -Wall -g -I/usr/local/include  -KPIC -g 
-DPASSENGER_DEBUG -DSOLARIS2=11 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT 
-I/usr/local/apache2/include -m64 -I/usr/local/apache2/include -I.. -c 
mod_passenger.c
CC: Warning: Option -Wall passed to ld, if ld is invoked, ignored otherwise
"/usr/include/signal.h", line 95: Error: ")" expected instead of "*".
"/usr/local/apache2/include/apr_network_io.h", line 215: Error: In this 
declaration "sin6" is of an incomplete type "sockaddr_in6".
2 Error(s) detected.
rake aborted!
Command failed with status (2): [CC -D_REENTRANT -D_XPG4_2 -Wall -g -I/usr/...]
/opt/local/lib/ruby/gems/1.8/gems/passenger-1.0.1/Rakefile:162
(See full trace by running task with --trace)

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

Any pointers are welcome.

Thank you,

/David
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to