[#3109] Is divmod dangerous? — Dave Thomas <Dave@...>

14 messages 2000/06/06

[#3149] Retrieving the hostname and port in net/http — Roland Jesse <jesse@...>

Hi,

12 messages 2000/06/07

[#3222] Ruby coding standard? — Robert Feldt <feldt@...>

16 messages 2000/06/09

[#3277] Re: BUG or something? — Aleksi Niemel<aleksi.niemela@...>

> |I am new to Ruby and this brings up a question I have had

17 messages 2000/06/12
[#3281] Re: BUG or something? — Dave Thomas <Dave@...> 2000/06/12

Aleksi Niemel<aleksi.niemela@cinnober.com> writes:

[#3296] RE: about documentation — Aleksi Niemel<aleksi.niemela@...>

> I want to contribute to the ruby project in my spare time.

15 messages 2000/06/12

[#3407] Waffling between Python and Ruby — "Warren Postma" <embed@...>

I was looking at the Ruby editor/IDE for windows and was disappointed with

19 messages 2000/06/14

[#3410] Exercice: Translate into Ruby :-) — Jilani Khaldi <jilanik@...>

Hi All,

17 messages 2000/06/14

[#3415] Re: Waffling between Python and Ruby — Andrew Hunt <andy@...>

>Static typing..., hmm,...

11 messages 2000/06/14

[#3453] Re: Static Typing( Was: Waffling between Python and Ruby) — Andrew Hunt <andy@...>

32 messages 2000/06/16

[#3516] Deep copy? — Hugh Sasse Staff Elec Eng <hgs@...>

Given that I cannot overload =, how should I go about ensuring a deep

20 messages 2000/06/19

[#3694] Why it's quiet — hal9000@...

We are all busy learning the new language

26 messages 2000/06/29
[#3703] Re: Why it's quiet — "NAKAMURA, Hiroshi" <nahi@...> 2000/06/30

Hi,

[#3705] Re: Why it's quiet — matz@... (Yukihiro Matsumoto) 2000/06/30

Hi,

[ruby-talk:03098] Re: mod_ruby problem solved

From: ts <decoux@...>
Date: 2000-06-04 07:26:24 UTC
List: ruby-talk #3098
>>>>> "D" == Dave Thomas <Dave@thomases.com> writes:

D> RUBY_INSTALL_NAME = ruby
D> LIBRUBYARG = $(LIBRUBY_A)  <--------------------------------!
D> OBJS = mod_ruby.o ruby_config.o apachelib.o eruby.o


aestivum% head -1 Makefile.RB
#!/var/postgres/local/bin/ruby
aestivum% 

 Otherwise it use env to search ruby, and in my case it will retrieve
1.4.4


aestivum% cat Makefile
# Generated automatically by Makefile.RB.
 
CC = gcc
 
CFLAGS = -fPIC -I/var/postgres/local/lib/ruby/1.5/i686-linux -I/usr/include/apache-1.3 \
         -DLINUX=2 -DEAPI -DTARGET="apache" -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -O2 -fPIC
LIBS = -ldl -lcrypt -lm 
XLDFLAGS = 
LDSHARED = gcc -shared
DLDFLAGS = 
INSTALL_DLLIB = ruby -r ftools -e 'File.install ARGV[0], ARGV[1], 0555, true'
 
RUBY_INSTALL_NAME = ruby
LIBRUBYARG = -L/var/postgres/local/lib -l$(RUBY_INSTALL_NAME)
OBJS = mod_ruby.o ruby_config.o apachelib.o eruby.o
TARGET = mod_ruby.so
 
.c.o:
        $(CC) $(CFLAGS) -c $<
 
all: $(TARGET)
 
install: $(TARGET)
        $(INSTALL_DLLIB) $(TARGET) /usr/lib/apache/1.3
 
clean:
        rm -f $(TARGET) $(OBJS) *~
 
distclean: clean
        rm -f config.h mod_ruby.imp Makefile
 
$(TARGET): $(OBJS)
        $(LDSHARED) $(DLDFLAGS) $(XLDFLAGS) -o $(TARGET) $(OBJS) $(LIBRUBYARG) $(LIBS)
 
mod_ruby.o: mod_ruby.c mod_ruby.h ruby_config.h apachelib.h eruby.h config.h
ruby_config.o: ruby_config.c mod_ruby.h ruby_config.h
apachelib.o: apachelib.c apachelib.h
eruby.o: eruby.c eruby.h config.h
aestivum% 



aestivum% grep mod_ruby /var/log/apache/error.log
[Sun Jun  4 06:24:57 2000] [notice] Apache/1.3.12 (Unix) Debian/GNU mod_ruby/0.1.8 Ruby/1.5.4(2000-06-01) configured -- resuming normal operations
aestivum% 


Guy Decoux

In This Thread

Prev Next