[Mongrel] Broken installation of mongrel 0.3.13.4 on Sun OS 5.9

DGeorgie at wiley.com DGeorgie at wiley.com
Tue Oct 17 10:12:53 EDT 2006


Hi Johan,

The use of gnu install helped complete the installation but I have 
different problem now. Mongrel server can start now, but it takes forever 
to answer to a request. Actually mongrel never finished the response.  I 
cannot load the first page into the browser.

>From the load files I can tell mongrel received the request  and started 
processing it:

this is the output from mongrel_debug/rails.log
--- !map:Mongrel::HttpParams 
SERVER_NAME: orion.wiley.com
PATH_INFO: /
HTTP_ACCEPT_ENCODING: gzip,deflate
HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
SCRIPT_NAME: /
SERVER_PROTOCOL: HTTP/1.1
HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5
HTTP_HOST: orion.wiley.com:85
REMOTE_ADDR: 10.4.32.135
SERVER_SOFTWARE: Mongrel 0.3.13.4
HTTP_KEEP_ALIVE: "300"
REQUEST_PATH: /
HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_VERSION: HTTP/1.1
REQUEST_URI: /
SERVER_PORT: "85"
GATEWAY_INTERFACE: CGI/1.2
HTTP_ACCEPT: 
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_CONNECTION: keep-alive
REQUEST_METHOD: GET

and this is from mongrel_debug/files.log
Tue Oct 17 09:44:55 EDT 2006 FILES OPEN BEFORE REQUEST /
--- 
/edugen_monitor/autolog/config/../log/production.log: 1
log/mongrel_debug/objects.log: 2
log/mongrel_debug/params.log: 1
log/mongrel_debug/rails.log: 1
log/mongrel_debug/threads.log: 1
log/mongrel_debug/files.log: 1
log/mongrel.pid: 1


It looks like Solaris is not the platform of choice for mongrel.  On 
Fedora Linux it worked flawlessly from the moment I installed it.

thanks for the help,

Dimitar 




Johan Sorensen <johan at textdrive.com> 
Sent by: mongrel-users-bounces at rubyforge.org
10/16/2006 01:41 PM
Please respond to
mongrel-users at rubyforge.org


To
mongrel-users at rubyforge.org
cc

Subject
Re: [Mongrel] Broken installation of mongrel 0.3.13.4 on Sun OS 5.9






Hi, 

On 16 okt 2006, at 17.19, DGeorgie at wiley.com wrote:

This is the output of gem install mongrel
Building native extensions.  This could take a while...
make: ./install-sh: Command not found
make: *** 
[/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/http11.so] Error 
127
ruby extconf.rb install mongrel
checking for main() in -lc... yes
creating Makefile

Yeah, I get something like that too (it failing to find the proper install 
bin).

Haven't had the time to track it down proper, so I just edit the Makefile 
(/opt/csw/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/ext/http11/Makefile if 
you're using blastwave) and edit the INSTALL var to use the gnu install:
INSTALL = /opt/csw/gnu/install -c

then make install

JS
_______________________________________________
Mongrel-users mailing list
Mongrel-users at rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users



More information about the Mongrel-users mailing list