Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

OpenOffice 2.3.1 on SGI IRIX (dream the impossible dream)

20 views
Skip to first unread message

corn

unread,
Jan 3, 2008, 3:05:02 PM1/3/08
to
Is anyone else out there working on making OpenOffice 2.3.x work on SGI IRIX?
Using the instructions below, I've managed to get to the step where OO's
modified version of dmake needs to be invoked. It promptly fails with

dmake: makefile.mk: line 78: Error: -- Detected circular dependency in graph at [dmake]

Thrilling. Here's the main problem so far otherwise: instead of using make
and other standard build tools, OO uses Apache Ant 1.6.0 or higher. To compile
Ant requires you to have Sun JDK 1.2 or later installed. And what version did
SGI leave us with before abandoning IRIX? JDK 1.1.8. So, I commented out the
sections in the ./configure script that look for Ant. Downloading and
compiling the OpenJDK or whatever Sun is calling it looks like a pretty big
project in itself, so that'll be put off until later...

If anyone has any ideas, I'll collect them all and post them to the OO IRIX
porting site, which has been dead since OO 1.0.3 so everyone can benefit.

What I've done so far:
Download and install:
1. ccache-2.4.tar.gz from http://ccache.samba.org
2. Archive-Zip-1.20.tar.gz from http://search.cpan.org/dist/Archive-Zip/
3. ftp://ftp.cs.man.ac.uk/pub/toby/gpc/gpc231.tar.Z
cp gpc231/gpc.c $SRC_ROOT/external/gpc
cp gpc231/gpc.h $SRC_ROOT/external/gpc
4. Apache Ant 1.6.5 from http://archive.apache.org/dist/ant/source/
or 1.7.x from http://ant.apache.org/srcdownload.cgi
Ant 1.6.x and 1.7.x say "For the current version of Ant, you will also
need a JDK installed on your system, version 1.2 or later." Naturally,
java_dev from SGI is Sun JDK 1.1.8
5. Nekoware at http://reality.sgiweb.org/nekochan/index.php?path=current/
to satisfy prereqs: neko_bzip2, neko_cyrus_sasl, neko_db4, neko_gconf,
neko_gmp, neko_gnomevfs, neko_krb5, neko_libbonobo, neko_libidl,
neko_libtool, neko_libxml2, neko_make, neko_ncurses, neko_openldap,
neko_openssl, neko_orbit2, neko_perl, neko_popt, neko_readline, neko_tar,
neko_tcsh, and neko_unixodbc.
6. gcc_403 from http://reality.sgiweb.org/nekochan/index.php?path=foetz/
or SGI Freeware gcc 3.3 from http://freeware.sgi.com
7. Xerces-J-src.2.9.1.tar.gz and Xerces-J-tools.2.9.1.tar.gz from
http://www.apache.org/dist/xerces/j/
8. From http://download.openoffice.org/2.3.1/source.html download:
OOo_2.3.1_src_binfilter.tar.bz2
OOo_2.3.1_src_system.tar.bz2
OOo_2.3.1_src_core.tar.bz2
OOo_2.3.1_src_l10n.tar.bz2

% ln -s /usr/nekoware/bin/gtar /usr/nekoware/bin/tar
% /usr/nekoware/bin/tcsh
> setenv PATH /usr/nekoware/bin:/usr/local/bin:/usr/java/bin:/usr/freeware/bin:/usr/bin:/usr/bin/X11:/usr/sbin:/usr/bsd:/bin:/etc:/usr/etc:.
> bunzip2 -c /sgitars/other/OOo_2.3.1_src_core.tar.bz2 | gtar -xvf -
> bunzip2 -c /sgitars/other/OOo_2.3.1_src_system.tar.bz2 | gtar -xvf -
> bunzip2 -c /sgitars/other/OOo_2.3.1_src_binfilter.tar.bz2 | gtar -xvf -
> bunzip2 -c /sgitars/other/OOo_2.3.1_src_l10n.tar.bz2 | gtar -xvf -
> setenv CC /usr/local/bin/gcc
> setenv CXX /usr/local/bin/g++
> setenv MAKE /usr/nekoware/bin/gmake
> setenv JAVA_HOME /usr/java
> rehash
> cd /usr/tmp/OOG680_m9/config_office
(comment out lots of ./configure dealing with finding ANT. After line 244442
you'll see
if test -z "$ANT"; then
{ { echo "$as_me:$LINENO: error: Ant not found - Make sure it's in the path or use --with-ant-home" >&5
echo "$as_me: error: Ant not found - Make sure it's in the path or use --with-ant-home" >&2;}

and I commented out those lines and everything down to

# { echo "$as_me:$LINENO: WARNING: Ant does not work - Some Java projects will not build!" >&5

#echo "$as_me: WARNING: Ant does not work - Some Java projects will not build!" >&2;}
ANT_HOME=""
# echo "Ant does not work - Some Java projects will not build!" >>warn
# fi
JAVA_HOME=$oldJAVA_HOME
# rm -f conftest* core core.* *.core
#fi
if test -z "$ANT_HOME"; then
ANT_HOME="NO_ANT_HOME"
fi

before running the script.

> ./configure --prefix=/usr/local/OOO230 --disable-mozilla --disable-epm --with-mingwin=no --with-jdk-home=/usr/java --disable-odk --disable-fontconfig --enable-sgistl --without-ant-home
> cd ..
> source IrixMipsEnv.Set
> ./bootstrap
> cd dmake
> mkdir IRIX
> cp ./unix/sysvr4/config.mk IRIX/ #having to do this is troubling.
> dmake
dmake: makefile.mk: line 78: Error: -- Detected circular dependency in graph at [dmake]
> vi +78 makefile.mk
# The main target, make sure the objects directory exists first.
# LDARGS is defined in config.mk file of each OS/OSRELEASE combination.
all : $(TARGET) $(MKCONFIG);
$(TARGET) : $(OBJDIR)
$(TARGET) : $(OBJECTS);$(LD) $(LDARGS) # this is line 78

--
Maybe the best way to summarize it is that it gets an A for theoretical
ambition but a C for actual execution. Sounds like my freshman year of
college...
-- rec.arts.startrek.reviews / 22 Jan 2005 16:30:29 CET

Atro Tossavainen

unread,
Jan 4, 2008, 8:32:43 AM1/4/08
to
corn <co...@dog.com> writes:

> Ant requires you to have Sun JDK 1.2 or later installed. And what version
> did SGI leave us with before abandoning IRIX? JDK 1.1.8.

machine:~> uname -aR
IRIX64 machine 6.5 6.5.30f 07202013 IP30
machine:~> java -version
java version "1.4.1_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_06)
Java HotSpot(TM) Client VM (build 1.4.1_06, mixed mode)
machine:~> versions 'java*'
...
I java2_eoe 01/30/2007 Java2 v1.4.1_06 Execution Environment (Sun
JRE v1.4.1_06)
...

--
Atro Tossavainen (Mr.) / The Institute of Biotechnology at
Systems Analyst, Techno-Amish & / the University of Helsinki, Finland,
+358-9-19158939 UNIX Dinosaur / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / > NO FILE ATTACHMENTS

0 new messages