Results 1 to 6 of 6

Thread: IceRuby 3.2 on OSX

  1. #1
    ctennis is offline Registered User
    Name: Caleb Tennis
    Organization: AEI
    Project: Project GINA
    Join Date
    Mar 2006
    Posts
    123

    IceRuby 3.2 on OSX

    I've been working on upgrading some of my "test" systems to play with the new Ice. Ran into one "gotcha" so far:

    I used the prebuilt package of OSX. I next installed IceCS, and that worked great. Next I tried to build IceRuby, but it complained:

    caleb-tennis-computer:~/Desktop/IceRuby-3.2b caleb$ make
    config/Make.rules:131: /opt/Ice-3.2b/config/Make.rules.Darwin: No such file or directory
    config/Make.rules:177: *** You need to define mkshlib in Make.rules.Darwin. Stop.

    It seems that the binary package for OSX doesn't come with a Darwin config file that IceRuby would like to have for the install.
    Caleb Tennis
    Analytical Engineering, Inc.
    http://www.aei-tech.com
    Project: Our facility infrastructure heavily utilizes Ice

    Gentoo ebuild maintainer for Ice, IceRuby, etc.

  2. #2
    ctennis is offline Registered User
    Name: Caleb Tennis
    Organization: AEI
    Project: Project GINA
    Join Date
    Mar 2006
    Posts
    123
    Note that I simply copied Make.rules.Darwin over from the source package into my Ice's config directory and all worked great.
    Caleb Tennis
    Analytical Engineering, Inc.
    http://www.aei-tech.com
    Project: Our facility infrastructure heavily utilizes Ice

    Gentoo ebuild maintainer for Ice, IceRuby, etc.

  3. #3
    fmoya is offline Registered User
    Name: Francisco Moya
    Organization: UCLM
    Project: Debian packages
    Join Date
    Oct 2004
    Posts
    51

    Build system coupling

    The build system used in most Ice packages assume that an existing Ice for C++ is available at ICE_HOME. This is a bit unfortunate for binary packagers. We must deal with these on a case by case basis unless we use a single source package for all of Ice packages.

    If I understood correctly this is on purpose and indeed 3.2b increases such build-time dependencies (IcePHP is now built from a hand-made makefile instead of phpize).

    This is against what I believe it is the usual packaging policy at ZeroC. For example you may see the Slice source files replicated on all Ice packages and the makefile selects the private copy only if Ice for C++ is not available.

    I wonder if ZeroC is willing to accept patches that also reduce coupling in the build system if Ice for C++ is not available.
    Last edited by fmoya; 03-09-2007 at 07:57 AM.
    Francisco Moya Fernandez
    Computer Architecture and Tecnology Group
    University of Castilla-La Mancha

    Debian Maintainer of ZeroC Ice packages.

  4. #4
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Ice for Python, PHP and Ruby depend on Ice for C++ -- you can't build or run any of them if you don't have Ice for C++. Including the slice files in these source distributions was a mistake which has been corrected for 3.2.0.

    Cheers,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  5. #5
    ctennis is offline Registered User
    Name: Caleb Tennis
    Organization: AEI
    Project: Project GINA
    Join Date
    Mar 2006
    Posts
    123
    Right, but I have Ice for C++. I just have the prebuilt binary version.

    So what you're saying is that these utilities require Ice for C++, but the version that has to be built from source?
    Caleb Tennis
    Analytical Engineering, Inc.
    http://www.aei-tech.com
    Project: Our facility infrastructure heavily utilizes Ice

    Gentoo ebuild maintainer for Ice, IceRuby, etc.

  6. #6
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    You can build Ice for Ruby (PHP, Python) from source using an Ice for C++ binary distribution (or your own installation).

    However in Ice 3.2b, this did not work with an Ice RPM installation; this bug is now fixed.

    Cheers,
    Bernard
    Bernard Normier
    ZeroC, Inc.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Compiling Ice v3.4.0 on OSX/Snow Leopard
    By jsgoecke in forum Help Center
    Replies: 2
    Last Post: 03-29-2010, 04:03 PM
  2. Using IceRuby 3.2.1 on OSX
    By Tylo in forum Help Center
    Replies: 12
    Last Post: 03-06-2008, 09:30 PM
  3. Possible IceRuby bug?
    By jesse@mind.net in forum Bug Reports
    Replies: 2
    Last Post: 01-04-2007, 04:55 PM
  4. OSX package on Intel MAC
    By ctennis in forum Bug Reports
    Replies: 2
    Last Post: 11-23-2006, 08:32 PM
  5. Replies: 2
    Last Post: 12-16-2005, 10:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •