From: Dat Nguyen Date: 2001-08-05T00:47:36+09:00 Subject: [ruby-talk:19141] Re: Install Ruby on Unix

I installed on an AIX with the stable-snapshot.tar.gz dowmloaded from Ruby Homepage.

I observed the message compiling tcltklib, tcl, tk. Following are the first few lines of the Makefile. It still refers to LDSHARED = /usr/ccs/bin/ld, I wonder if the load failed had something to do with this.

I installed the same on Linux as root without any trouble.

- Dat

prefix = /users/dnguyen
CFLAGS = -g -O2
CPPFLAGS = -I. -I$(srcdir) -I${prefix}/include
LDFLAGS =  $(CFLAGS) -brtl
XLDFLAGS = -Wl,-bE:ruby.imp
EXTLIBS =
LIBS = -ldl -lm  $(EXTLIBS)
MISSING =  flock.o isinf.o
LDSHARED = /usr/ccs/bin/ld

>From: "Wolfgang Schorer"
>Reply-To: ruby-talk@ruby-lang.org
>To: ruby-talk@ruby-lang.org (ruby-talk ML)
>Subject: [ruby-talk:19112] Re: Install Ruby on Unix
>Date: Sat, 4 Aug 2001 16:22:39 +0900
>
>Did you install by source code?
>If so, do you have the header files tcl.h and tk.h on your system?
>
>Did you see that the tcltklib was compiled (one of the last sources
>which are being compiled)?
>
> > Do you have tcltklib.so?
> > Perhaps in /users/dnguyen/lib/ruby/1.6/i586-linux?
> >
> > (actual dir name under 'ruby/1.6' can vary)
> >
> >
> >
> > Thanks, did exactly that, but when I run the AntFarm.rb of Dave Thomas, I
> > got the following
> > error message:
> >
> > /users/dnguyen/lib/ruby/1.6/tk.rb:7:in `require': No such file to load --
> > tcltklib (LoadError)
> > from /users/dnguyen/lib/ruby/1.6/tk.rb:7
> > from antfarm.rb:2:in `require'
> > from antfarm.rb:2
> >
> > Even though /users/dnguyen/lib/ruby/1.6/tk.rb does exist.
> > What's still wrong?
> >
> > Dat
> >
> >
> > ----------------------------------------------------------------------------
> > --
> > Get your FREE download of MSN Explorer at http://explorer.msn.com
> >
> >
>
>
>Wolfgang.
>Phone 407-299-0273
>Fax 407-299-4058


Get your FREE download of MSN Explorer at http://explorer.msn.com