Page 2 of 2 FirstFirst 1 2
Results 16 to 20 of 20

Thread: Building Ice (cpp) on Solaris 10 (sparc)

  1. #16
    dsessions's Avatar
    dsessions is offline Registered User
    Name: Darren Sessions
    Organization: Digium, Inc.
    Project: Asterisk Scalable Communications Framework
    Join Date
    Jan 2011
    Location
    Huntsville, AL
    Posts
    13
    I think I've found the problem . .

    bash-3.00$ ldd /usr/local/BerkeleyDB.4.8/lib/libdb_cxx.so
    libresolv.so.2 => /lib/libresolv.so.2
    librt.so.1 => /lib/librt.so.1
    libpthread.so.1 => /lib/libpthread.so.1
    libnsl.so.1 => /lib/libnsl.so.1
    libsocket.so.1 => /lib/libsocket.so.1
    libstdc++.so.6 => /usr/sfw/lib/libstdc++.so.6
    libm.so.2 => /lib/libm.so.2
    libgcc_s.so.1 => /usr/sfw/lib/libgcc_s.so.1
    libc.so.1 => /lib/libc.so.1
    libaio.so.1 => /lib/libaio.so.1
    libmd.so.1 => /lib/libmd.so.1
    libmp.so.2 => /lib/libmp.so.2
    libscf.so.1 => /lib/libscf.so.1
    libdoor.so.1 => /lib/libdoor.so.1
    libuutil.so.1 => /lib/libuutil.so.1
    libgen.so.1 => /lib/libgen.so.1
    /platform/SUNW,Sun-Fire-T200/lib/libc_psr.so.1
    /platform/SUNW,Sun-Fire-T200/lib/libmd_psr.so.1

  2. #17
    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
    Hi Darren,

    Hope you found the solution to these builds issues. Perhaps a problem with your LD_LIBRARY_PATH, or too many GCCs installed on your system?

    Once your build is working, it would be great if you could summarize the issues you encountered and associated solutions/work-arounds. We will then update our build instructions to highlight any potential pitfall.

    Thanks,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  3. #18
    dsessions's Avatar
    dsessions is offline Registered User
    Name: Darren Sessions
    Organization: Digium, Inc.
    Project: Asterisk Scalable Communications Framework
    Join Date
    Jan 2011
    Location
    Huntsville, AL
    Posts
    13
    Sure thing . .

    I had several issues, but certainly I spent the most time getting GCC for Sun Systems installed properly with the existing GCC installation (I installed Solaris with the 'Entire Distribution' system package). With Oracle's integration of Sun, documentation links from docs.sun.com (even the GCC for Sun Systems docs themselves) are either dead or getting redirected to an Oracle documentation search page (with sub-optimal results at best).

    The basis for this installation exercise is primarily to facilitate some easy to follow documentation for the Asterisk SCF project on our public wiki as well as getting a continuous build slave up and running so I've tried to make things as simple as possible. The results of all my work can be seen here (https://wiki.asterisk.org/wiki/displ...ding+-+Solaris).

    Several of my initial installations were all plagued by paths not being setup properly and by the fact that I'd installed all of these dependencies to support git and subversion. I certainly had the most grief with libiconv by a long way. While I'm sure time could have been spent making the system default and 3rd party libraries co-exist, I wanted to keep our documentation to a minimum.

    Starting with a fresh Solaris installation and working my way down with Sun GCC properly, and compiling everything else from source has seemingly solved 98% of my problems.

    I would suggest that the Solaris docs for Ice could be enhanced. Notes on an optimal system configuration would be most helpful (i.e. what system package works best on a fresh Solaris installation, paths, swap file size, etc.), so that someone fairly inexperienced with Solaris (or rusty in my case) can install Ice without referencing any other docs.

    Many thanks again for all the help, and I'll certainly keep this thread updated with any other findings / hints I come up with.

    - Darren

  4. #19
    dsessions's Avatar
    dsessions is offline Registered User
    Name: Darren Sessions
    Organization: Digium, Inc.
    Project: Asterisk Scalable Communications Framework
    Join Date
    Jan 2011
    Location
    Huntsville, AL
    Posts
    13
    Asterisk SCF - Master - ice - Solaris 10 - sparc 8: Build Log - Atlassian Bamboo (at the bottom)

    I'm currently getting 'ld: fatal: file /dev/zero: mmap anon failed: Not enough space' on the automated builds. If I'm manually building Ice and simply re-run the gmake command, the build continues.

    I've not googled this one extensively just yet, but will let you know what I come up with.

    Thanks,

    - Darren

  5. #20
    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
    Hi Darren,

    Hope you found a solution to this build problem.

    We had to increase the swap space on our Solaris box to build Ice; you may need to do likewise on your system:

    Swap Space and Virtual Memory

    Cheers,
    Bernard
    Bernard Normier
    ZeroC, Inc.

Page 2 of 2 FirstFirst 1 2

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Building Solaris 10 with Gcc tool chain.
    By JohnB in forum Help Center
    Replies: 7
    Last Post: 07-28-2009, 05:31 PM
  2. Solaris 8 (SPARC) or Solaris 10 x86 support?
    By Ian James in forum Help Center
    Replies: 3
    Last Post: 06-29-2007, 10:16 AM
  3. Replies: 13
    Last Post: 06-09-2007, 11:01 AM
  4. Building ICE 3.0.1 on Solaris 10, Sun CC 5.8, AMD64
    By Markus Bernhard in forum Help Center
    Replies: 2
    Last Post: 06-25-2006, 09:40 PM
  5. Replies: 1
    Last Post: 11-17-2005, 09:17 AM

Posting Permissions

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