Building 1.0 on IRIX 6.2



Hello! I'm building Gnome 1.0 for use on a large group of SGI Indy's. Since
this wasn't listed as a supported platform, I was prepared for trouble. I
found it. ;-)

Gnome doesn't work yet, but lots of the required libraries compiled with a
little tweaking. The system in question:

  $ uname -a
  uname -a
  IRIX machinenamegoeshere 6.2 03131015 IP22
  $ gcc --version
  gcc --version
  2.7.0

I've attached a set of build notes for anybody else following this path.
They contain information about (often undocumented) dependencies between
GNU tools, strange errors and other crufty horrors.

These notes need to be cut into parts and submitted to various package
maintainers. I will do this when I have time. If you're writing
installation instructions for Gnome, some of this might be useful for you.

I'm still working on Gtk+ 1.2.

Cheers,
Eric

--- build notes ---

Also required:
 * GNU M4 by autoconf.
 * texinfo by GNU M4.
 * GNU tar by libtool.
 * Bison by ORBit.
 * GNU Make by ORBit.

GDBM doesn't include a BSD-compatible install and fails if it finds a
non-BSD-compatible install. The same problem occurs with indent.

indent's sys.h contains:

 #ifndef USG
 #define memcpy(dest,src,len) bcopy((src),(dest),len)
 #endif

Too bad this gets included before the header defining memcpy's prototype,
isn't it?

Compiling Guile:

  eval.c:1555: warning: argument `x' might be clobbered by `longjmp' or
    `vfork'
  eval.c:1556: warning: argument `env' might be clobbered by `longjmp' or
    `vfork'
  ... many more ...

Untarring ORBit:

  gtar: ORBit-0.4.0/docs/idl/CVS: Cannot change mode to 2755: Permission
    denied
  gtar: ORBit-0.4.0/docs/idl: Cannot change mode to 2755: Permission denied
  gtar: ORBit-0.4.0/docs/CVS: Cannot change mode to 2755: Permission denied

Compiling Bison:

  Bison wants to compile itself over and over again.

'make clean' in ORBit (works with 'gmake clean'):

  Making clean in IIOP
  make: file `Makefile' line 389: Syntax error
  *** Error code 1 (bu21)
  *** Error code 1 (bu21)

'make' in ORBit (gmake OK):

  Making all in libIDL
           bison -y -d -v 2>/dev/null 
  *** Error code 1 (bu21)
  *** Error code 1 (bu21)
  *** Error code 1 (bu21)

automake line 3228 should have '&' before function call:

  push_dist_common (@inputs);

Compiling ORBit:

  Need to pass -Dconst='' to GCC on local systems to work around different
  prototypes for readv in SGI uio.h and GNU unistd.h.

    /usr/local/lib/gcc-lib/mips-sgi-irix5.3/2.7.0/include/unistd.h:157:
      conflicting types for `readv'
    /usr/include/sys/uio.h:34: previous declaration of `readv'

  Need to pass -D_XOPEN_SOURCE_EXTENDED=0 to work around problems with
  _XOPEN4UX:

    #if _XOPEN4UX && _NO_ANSIMODE
    #define _XOPEN_IOV_MAX	16
    #endif /* _XOPEN4UX */

    /usr/include/limits.h:138: parse error

  I don't know why.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]