Re: eruby installation remote
| Newsgroups | gmane.comp.apache.mod-ruby |
|---|---|
| Message-ID | <[email protected]> |
> > From: Shugo Maeda <[email protected]> > Date: 2004/02/26 Thu AM 09:24:53 CST > To: [email protected] (modruby ML) > Subject: Re: eruby installation remote > > Hi, > > At Tue, 24 Feb 2004 21:51:05 -0500, > Steven Ketcham <[email protected]> wrote: > > I cannot seem to be able to build eruby. I have full CGI rights on a > > remote linux box. I do not have linux available to me otherwise. > > > > > > I copied the extracted eruby tar file into my CGI folder. > > I changed configure.rb (permissions 755) (chabang pointing at the > > directory correct ruby directory). > > > > I ran configure.rb as a CGI script (I got the Makefile). > > I wrote a simple ruby script file to run make ( system("make") ). > > > > I do get: eruby_lib.o and liberuby.a but no eruby. > > Can you show me the compilation log (stdout and stderr)? > > Shugo Command: /usr/local/bin/ruby configure.rb checking whether we are using gcc... yes checking Ruby version... 1.8.1 checking for default charset... iso-8859-1 checking whether enable shared... no creating config.h creating Makefile Command: make gcc -g -O2 -fPIC -Wall -I. -I/usr/local/lib/ruby/1.8/i686-linux -c eruby_lib.c ar rcu liberuby.a eruby_lib.o /home/theketch/public_html/cgi-bin/eruby-1.0.5/bin2c /home/theketch/public_html/cgi-bin/eruby-1.0.5/eruby_logo.png From the Apache error log: make: execvp: /home/theketch/public_html/cgi-bin/eruby-1.0.5/bin2c: Permission denied using --bindir=(see below) gives me the same error. # Generated automatically by configure.rb. srcdir = /home/theketch/public_html/cgi-bin/eruby-1.0.5 topdir = $(rubylibdir)/$(arch) hdrdir = $(rubylibdir)/$(arch) VPATH = $(srcdir) arch = i686-linux sitearch = i686-linux ruby_version = 1.8 DESTDIR = prefix = $(DESTDIR)/usr/local exec_prefix = $(prefix) bindir = /home/theketch/public_html/cgi-bin/eruby-1.0.5 datadir = $(prefix)/share libdir = $(exec_prefix)/lib rubylibdir = $(libdir)/ruby/$(ruby_version) archdir = $(rubylibdir)/$(arch) sitedir = $(prefix)/lib/ruby/site_ruby sitelibdir = $(sitedir)/$(ruby_version) sitearchdir = $(sitelibdir)/$(sitearch) includedir = $(prefix)/include mandir = $(prefix)/man