Looking for AIX 5.2 binaries, IS anyone running Ruby on AIX 5.2 ??

Discussion in 'Ruby' started by bww00amdahl@yahoo.com, Jul 7, 2005.

  1. Guest

    Looking for AIX 5.2 binaries, IS anyone running Ruby on AIX 5.2 ??


    Regards
    Bryan Webb
     
    , Jul 7, 2005
    #1
    1. Advertising

  2. Re: Looking for AIX 5.2 binaries, IS anyone running Ruby on AIX 5.2??

    On Fri, 8 Jul 2005 wrote:

    > Looking for AIX 5.2 binaries, IS anyone running Ruby on AIX 5.2 ??


    We are still running 5.1 here at work and planning to go directly to 5.3
    later on this year.

    -- Matt
    Nothing great was ever accomplished without _passion_
     
    Matt Lawrence, Jul 7, 2005
    #2
    1. Advertising

  3. wrote:
    > Looking for AIX 5.2 binaries, IS anyone running Ruby on AIX 5.2 ??
    >


    We are running ruby 1.8.3 on AIX 5.2.

    It's more easier to build ruby on AIX with the 1.8.3 version. But you will
    have to work around the configuration options specially with GCC compiler.

    Philippe Lucas.
     
    Philippe Lucas, Jul 7, 2005
    #3
  4. Guest

    Anyone have the GCC compiler options required ????



    Thanks
    Bryan

    Philippe Lucas wrote:
    > wrote:
    > > Looking for AIX 5.2 binaries, IS anyone running Ruby on AIX 5.2 ??
    > >

    >
    > We are running ruby 1.8.3 on AIX 5.2.
    >
    > It's more easier to build ruby on AIX with the 1.8.3 version. But you will
    > have to work around the configuration options specially with GCC compiler.
    >
    > Philippe Lucas.
     
    , Jul 7, 2005
    #4
  5. Austin Moody Guest

    A while back I asked the guys at Bull Freeware
    (http://www.bullfreeware.com/) if they could get Ruby 1.8.2 running on
    AIX 5.2 because I never could. Well... I could but without the socket
    library.

    They have a Ruby 1.8.2 binary posted there that you can install via
    SMIT. I'm running it now but it still has some problems. Most notably
    for me is the missing zlib library so I haven't been able to use
    rubygems.

    I haven't had a chance to try 1.8.3... if someone could post any
    options they had to use for GCC that would be great.
     
    Austin Moody, Jul 7, 2005
    #5
  6. ------=_NextPart_000_0049_01C583C4.934AAAE0
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: 7bit

    Austin Moody wrote:
    >
    > I haven't had a chance to try 1.8.3... if someone could post any
    > options they had to use for GCC that would be great.



    GCC :
    Reading specs from
    /usr11/home/local/gcc-344/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/3.4.4/specs
    Configured with:
    ../configure --prefix=/usr/local/gcc-344 --enable-threads=posix --enable-lan
    guages=c,c++,f77,java --disable-nls
    Thread model: aix
    gcc version 3.4.4


    RUBY 1.8.3 :
    ../configure
    INSTALL="/usr/bin/installbsd -c" --prefix=/usr/local/ruby-183 --enable-insta
    ll-doc --enable-shared --disable-ipv6


    See the attached file rbconfig.rb for GCC and ld parameters.

    See also messages sent a month ago to ruby-talk about Ruby 1.8.3 and AIX
    5.2.

    You have to do somes changes in configure.mk and configure.in.

    You can also build it in static mode.

    GCC parameters works for GCC > 2.9


    Philippe Lucas

    ------=_NextPart_000_0049_01C583C4.934AAAE0
    Content-Type: application/octet-stream;
    name="rbconfig.rb"
    Content-Transfer-Encoding: quoted-printable
    Content-Disposition: attachment;
    filename="rbconfig.rb"

    # This file was created by mkconfig.rb when ruby was built. Any
    # changes made to this file will be lost the next time ruby is built.

    module Config
    RUBY_VERSION =3D=3D "1.8.3" or
    raise "ruby lib version (1.8.3) doesn't match executable version =
    (#{RUBY_VERSION})"

    TOPDIR =3D =
    File.dirname(__FILE__).chomp!("/lib/ruby/1.8/powerpc-aix5.2.0.0")
    DESTDIR =3D '' unless defined? DESTDIR
    CONFIG =3D {}
    CONFIG["DESTDIR"] =3D DESTDIR
    CONFIG["INSTALL"] =3D "/usr/bin/installbsd -c"
    CONFIG["prefix"] =3D (TOPDIR || DESTDIR + "/usr/local/ruby-183")
    CONFIG["EXEEXT"] =3D ""
    CONFIG["ruby_install_name"] =3D "ruby"
    CONFIG["RUBY_INSTALL_NAME"] =3D "ruby"
    CONFIG["RUBY_SO_NAME"] =3D "ruby"
    CONFIG["SHELL"] =3D "/bin/sh"
    CONFIG["PATH_SEPARATOR"] =3D ":"
    CONFIG["PACKAGE_NAME"] =3D ""
    CONFIG["PACKAGE_TARNAME"] =3D ""
    CONFIG["PACKAGE_VERSION"] =3D ""
    CONFIG["PACKAGE_STRING"] =3D ""
    CONFIG["PACKAGE_BUGREPORT"] =3D ""
    CONFIG["exec_prefix"] =3D "$(prefix)"
    CONFIG["bindir"] =3D "$(exec_prefix)/bin"
    CONFIG["sbindir"] =3D "$(exec_prefix)/sbin"
    CONFIG["libexecdir"] =3D "$(exec_prefix)/libexec"
    CONFIG["datadir"] =3D "$(prefix)/share"
    CONFIG["sysconfdir"] =3D "$(prefix)/etc"
    CONFIG["sharedstatedir"] =3D "$(prefix)/com"
    CONFIG["localstatedir"] =3D "$(prefix)/var"
    CONFIG["libdir"] =3D "$(exec_prefix)/lib"
    CONFIG["includedir"] =3D "$(prefix)/include"
    CONFIG["oldincludedir"] =3D "/usr/include"
    CONFIG["infodir"] =3D "$(prefix)/info"
    CONFIG["mandir"] =3D "$(prefix)/man"
    CONFIG["build_alias"] =3D ""
    CONFIG["host_alias"] =3D ""
    CONFIG["target_alias"] =3D ""
    CONFIG["ECHO_C"] =3D "\\c"
    CONFIG["ECHO_N"] =3D ""
    CONFIG["ECHO_T"] =3D ""
    CONFIG["LIBS"] =3D "-ldl -lcrypt -lm "
    CONFIG["MAJOR"] =3D "1"
    CONFIG["MINOR"] =3D "8"
    CONFIG["TEENY"] =3D "3"
    CONFIG["build"] =3D "powerpc-ibm-aix5.2.0.0"
    CONFIG["build_cpu"] =3D "powerpc"
    CONFIG["build_vendor"] =3D "ibm"
    CONFIG["build_os"] =3D "aix5.2.0.0"
    CONFIG["host"] =3D "powerpc-ibm-aix5.2.0.0"
    CONFIG["host_cpu"] =3D "powerpc"
    CONFIG["host_vendor"] =3D "ibm"
    CONFIG["host_os"] =3D "aix5.2.0.0"
    CONFIG["target"] =3D "powerpc-ibm-aix5.2.0.0"
    CONFIG["target_cpu"] =3D "powerpc"
    CONFIG["target_vendor"] =3D "ibm"
    CONFIG["target_os"] =3D "aix5.2.0.0"
    CONFIG["CC"] =3D "gcc"
    CONFIG["CFLAGS"] =3D "-g -O2 "
    CONFIG["LDFLAGS"] =3D "-Wl,-brtl "
    CONFIG["CPPFLAGS"] =3D ""
    CONFIG["OBJEXT"] =3D "o"
    CONFIG["CPP"] =3D "gcc -E"
    CONFIG["EGREP"] =3D "grep -E"
    CONFIG["GNU_LD"] =3D "no"
    CONFIG["CPPOUTFILE"] =3D "-o conftest.i"
    CONFIG["OUTFLAG"] =3D "-o "
    CONFIG["YACC"] =3D "bison -y"
    CONFIG["RANLIB"] =3D "ranlib"
    CONFIG["AR"] =3D "ar"
    CONFIG["NM"] =3D "nm"
    CONFIG["WINDRES"] =3D ""
    CONFIG["DLLWRAP"] =3D ""
    CONFIG["OBJDUMP"] =3D ""
    CONFIG["LN_S"] =3D "ln -s"
    CONFIG["SET_MAKE"] =3D ""
    CONFIG["INSTALL_PROGRAM"] =3D "$(INSTALL)"
    CONFIG["INSTALL_SCRIPT"] =3D "$(INSTALL)"
    CONFIG["INSTALL_DATA"] =3D "$(INSTALL) -m 644"
    CONFIG["RM"] =3D "rm -f"
    CONFIG["CP"] =3D "cp"
    CONFIG["MAKEDIRS"] =3D "mkdir -p"
    CONFIG["LIBOBJS"] =3D " flock$(U).o"
    CONFIG["ALLOCA"] =3D ""
    CONFIG["DLDFLAGS"] =3D "-Wl,-brtl -eInit_$(TARGET) -Wl,-bM:SRE =
    -Wl,-T512 -Wl,-H512 "
    CONFIG["ARCH_FLAG"] =3D ""
    CONFIG["STATIC"] =3D ""
    CONFIG["CCDLFLAGS"] =3D ""
    CONFIG["LDSHARED"] =3D "$(CC) -shared"
    CONFIG["DLEXT"] =3D "so"
    CONFIG["DLEXT2"] =3D ""
    CONFIG["LIBEXT"] =3D "a"
    CONFIG["LINK_SO"] =3D ""
    CONFIG["LIBPATHFLAG"] =3D " -L\"%s\""
    CONFIG["RPATHFLAG"] =3D ""
    CONFIG["LIBPATHENV"] =3D "SHLIB_PATH"
    CONFIG["TRY_LINK"] =3D "$(CC) $(LDFLAGS) -oconftest $(INCFLAGS) =
    -I$(hdrdir) $(CPPFLAGS) $(CFLAGS) $(src) $(LIBPATH) $(LOCAL_LIBS) =
    $(LIBS)"
    CONFIG["STRIP"] =3D "strip"
    CONFIG["EXTSTATIC"] =3D ""
    CONFIG["setup"] =3D "Setup"
    CONFIG["MINIRUBY"] =3D "./miniruby$(EXEEXT)"
    CONFIG["PREP"] =3D "miniruby$(EXEEXT)"
    CONFIG["RUNRUBY"] =3D "$(MINIRUBY) $(srcdir)/runruby.rb =
    --extout=3D$(EXTOUT) --"
    CONFIG["EXTOUT"] =3D ".ext"
    CONFIG["ARCHFILE"] =3D "ruby.imp"
    CONFIG["RDOCTARGET"] =3D "install-doc"
    CONFIG["XCFLAGS"] =3D ""
    CONFIG["XLDFLAGS"] =3D " -Wl,-bE:ruby.imp -L."
    CONFIG["LIBRUBY_LDSHARED"] =3D "$(CC) -shared"
    CONFIG["LIBRUBY_DLDFLAGS"] =3D "-Wl,-bE:ruby.imp"
    CONFIG["rubyw_install_name"] =3D ""
    CONFIG["RUBYW_INSTALL_NAME"] =3D ""
    CONFIG["LIBRUBY_A"] =3D "lib$(RUBY_SO_NAME)-static.a"
    CONFIG["LIBRUBY_SO"] =3D =
    "lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR).$(TEENY)"
    CONFIG["LIBRUBY_ALIASES"] =3D "lib$(RUBY_SO_NAME).so"
    CONFIG["LIBRUBY"] =3D "$(LIBRUBY_SO)"
    CONFIG["LIBRUBYARG"] =3D "$(LIBRUBYARG_SHARED)"
    CONFIG["LIBRUBYARG_STATIC"] =3D "-l$(RUBY_SO_NAME)-static"
    CONFIG["LIBRUBYARG_SHARED"] =3D "-L$(libdir) -L. -l$(RUBY_SO_NAME)"
    CONFIG["SOLIBS"] =3D "-lm -lc"
    CONFIG["DLDLIBS"] =3D " -lc"
    CONFIG["ENABLE_SHARED"] =3D "yes"
    CONFIG["MAINLIBS"] =3D ""
    CONFIG["COMMON_LIBS"] =3D ""
    CONFIG["COMMON_MACROS"] =3D ""
    CONFIG["COMMON_HEADERS"] =3D ""
    CONFIG["EXPORT_PREFIX"] =3D ""
    CONFIG["MAKEFILES"] =3D "Makefile"
    CONFIG["arch"] =3D "powerpc-aix5.2.0.0"
    CONFIG["sitearch"] =3D "powerpc-aix5.2.0.0"
    CONFIG["sitedir"] =3D "$(prefix)/lib/ruby/site_ruby"
    CONFIG["configure_args"] =3D "'INSTALL=3D/usr/bin/installbsd -c' =
    '--prefix=3D/usr/local/ruby-183' '--enable-install-doc' =
    '--enable-shared' '--disable-ipv6'"
    CONFIG["NROFF"] =3D "/usr/bin/nroff"
    CONFIG["MANTYPE"] =3D "man"
    CONFIG["LTLIBOBJS"] =3D " flock$(U).lo"
    CONFIG["ruby_version"] =3D "$(MAJOR).$(MINOR)"
    CONFIG["rubylibdir"] =3D "$(libdir)/ruby/$(ruby_version)"
    CONFIG["archdir"] =3D "$(rubylibdir)/$(arch)"
    CONFIG["sitelibdir"] =3D "$(sitedir)/$(ruby_version)"
    CONFIG["sitearchdir"] =3D "$(sitelibdir)/$(sitearch)"
    CONFIG["topdir"] =3D File.dirname(__FILE__)
    MAKEFILE_CONFIG =3D {}
    CONFIG.each{|k,v| MAKEFILE_CONFIG[k] =3D v.dup}
    def Config::expand(val, config =3D CONFIG)
    val.gsub!(/\$\$|\$\(([^()]+)\)|\$\{([^{}]+)\}/) do |var|
    if !(v =3D $1 || $2)
    '$'
    elsif key =3D config[v]
    config[v] =3D false
    Config::expand(key, config)
    config[v] =3D key
    else
    var
    end
    end
    val
    end
    CONFIG.each_value do |val|
    Config::expand(val)
    end
    end
    CROSS_COMPILING =3D nil unless defined? CROSS_COMPILING

    ------=_NextPart_000_0049_01C583C4.934AAAE0--
     
    Philippe Lucas, Jul 8, 2005
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. KevinSimonson
    Replies:
    17
    Views:
    684
    KevinSimonson
    Sep 28, 2009
  2. Paul
    Replies:
    0
    Views:
    88
  3. Christopher Gibbons

    Compiling Ruby 1.8.4 on AIX HOWTO and Binaries

    Christopher Gibbons, Mar 7, 2006, in forum: Ruby
    Replies:
    0
    Views:
    149
    Christopher Gibbons
    Mar 7, 2006
  4. Replies:
    1
    Views:
    122
  5. Daya Sharma
    Replies:
    3
    Views:
    120
    Kamal Fariz
    Oct 7, 2006
Loading...

Share This Page