[#4766] Wiki — "Glen Stampoultzis" <trinexus@...>

21 messages 2000/09/04
[#4768] RE: Wiki — "NAKAMURA, Hiroshi" <nahi@...> 2000/09/04

Hi, Glen,

[#4783] Re: Wiki — Masatoshi SEKI <m_seki@...> 2000/09/04

[#4785] Re: Wiki — "NAKAMURA, Hiroshi" <nakahiro@...> 2000/09/05

Howdy,

[#4883] Re-binding a block — Dave Thomas <Dave@...>

16 messages 2000/09/12

[#4930] Perl 6 rumblings -- RFC 225 (v1) Data: Superpositions — Conrad Schneiker <schneik@...>

Hi,

11 messages 2000/09/15

[#4936] Ruby Book Eng. translation editor's questions — Jon Babcock <jon@...>

20 messages 2000/09/16

[#5045] Proposal: Add constants to Math — Robert Feldt <feldt@...>

15 messages 2000/09/21

[#5077] Crazy idea? infix method calls — hal9000@...

This is a generalization of the "in" operator idea which I

17 messages 2000/09/22

[#5157] Compile Problem with 1.6.1 — Scott Billings <aerogems@...>

When I try to compile Ruby 1.6.1, I get the following error:

15 messages 2000/09/27

[ruby-talk:5041] Re: ruby 1.6 install problem on AIX and HP (PR#59)

From: matz@... (Yukihiro Matsumoto)
Date: 2000-09-21 06:02:05 UTC
List: ruby-talk #5041
Hi,

In message "ruby 1.6 install problem on AIX and HP (PR#59)"
    on 00/09/21, wscott@ichips.intel.com <wscott@ichips.intel.com> writes:

|I installed the new ruby version 1.6.0 on a number of machines today
|and had problems with HPUX and AIX.
|
|On both machines, miniruby built and ran just fine but the code failed
|to build the extensions.  On both machines dbm failed to build because
|it couldn't find libgdbm.a
|
|What happened was this:
|
|The mkmf.rb script tested to see if it could find a library by
|building a test program using CONFIG['CC'] (gcc) and found libgdbm.a
|installed and working.  Our copy of gcc is installed in a site local
|area along with most extra software like gdbm.
|
|The when the dynamicly link module was actually created it was linked
|using LDSHARED.  LDSHARED in the system linked and doesn't know about
|the extra path to find libraries and fails.
|
|So the test for the library doesn't actually use the tools that will
|be used when building the module.
|
|Also I don't see any options to the ./configure script to specify and
|library and include paths to use in addition to the compiler defaults
|and the directory where ruby will be installed.  (This would have
|given me a work around.)
|
|I am happy to try out ideas and let you know what happens.
|
|-Wayne

You can specify the directory for the extra libraries to the configure
script (or extconf.rb too).  E.g.

  ./configure --with-xxx-yyy=DIR

where xxx is either

  opt		extra software path in general
  dbm           path for dbm library
  gdbm          path for gdbm library
  x11           ...for X11..
  tk            ...for Tk...
  tcl           ...for Tcl...

and yyy is either

  dir      	specifies -I DIR/include -L DIR/lib
  include       specifies -I DIR
  lib           specifies -L DIR

Hope this helps.

I should have document these somewhere.  I'll CC this mail to the
ruby-talk list for the record.

							matz

In This Thread

Prev Next