axiom-developer
[Top][All Lists]
Advanced

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

RE: [Axiom-developer] axiom did not compile on sparc solaris


From: Page, Bill
Subject: RE: [Axiom-developer] axiom did not compile on sparc solaris
Date: Tue, 14 Feb 2006 21:52:33 -0500

On Tuesday, February 14, 2006 7:05 AM Gianluca Gregori wrote:
> 
> I am trying to compile axiom on a sparc solaris machine but
> having lots of trouble (not to experienced as well).
> I was able to compile gcl-2.6.7 with the --enable-custreloc
> option (bfd did not compile). However, still axiom does not
> compile properly.
> Any help is appreciated. --Thanks, Gianluca
>

What release of Axiom are you trying to build and on
what version of solaris? Why did you choose to use
--enable-custreloc?

I am also trying to build Axiom from the September 2005 tarball:

http://axiom.axiom-developer.org/axiom-website/DOWNLOADS/axiom-Sept2005-
src.tgz

on Solaris 8 sparc (280R dual cpu) system. If I simply follow
the instructions of:

  ./configure

You must set your AXIOM and PATH variables. Type:

To build the rest of the system type:

export AXIOM=/export/disk0/dmprod/axiom/mnt/solaris9
export PATH=$AXIOM/bin:$PATH
make AWK=gawk TAR=gtar PATCH=gpatch

---------

The Axiom ./configure uses 'solaris9' even though my system
is actually Solaris 8. I don't think this a problem.

Although I have installed the complete GNU toolset, I did not
have any 'gtar' on my Solaris system. So in created a symbolic
link in /usr/bin to /usr/local/bin/tar.

In 'Makefile.solaris' it is clear that Axiom builds GCL with
the option --enable-locbfd.

But the build of GCL stops with the error:

...
gcc -c -Wall -DVOL=volatile -fsigned-char -pipe -O3 -fomit-frame-pointer
-I/export/disk0/dmprod/axiom/lsp/gcl-2.6.7/o -I../h -I../gcl-tk
run_process.c
run_process.c: In function `open_connection':
run_process.c:380: `SIOCSPGRP' undeclared (first use in this function)
run_process.c:380: (Each undeclared identifier is reported only once
run_process.c:380: for each function it appears in.)
make[4]: *** [run_process.o] Error 1
make[4]: Leaving directory `/export/disk0/dmprod/axiom/lsp/gcl-2.6.7/o'
make[3]: *** [unixport/saved_pre_gcl] Error 2
make[3]: Leaving directory `/export/disk0/dmprod/axiom/lsp/gcl-2.6.7'
/bin/sh: unixport/saved_gcl: No such file or directory
make[2]: *** [gcldir] Error 127
make[2]: Leaving directory `/export/disk0/dmprod/axiom/lsp'
make[1]: *** [lspdir] Error 2
make[1]: Leaving directory `/export/disk0/dmprod/axiom'
make: *** [all] Error 2
bash-2.05$

-------

I see from the following message that this is a known error:

http://lists.gnu.org/archive/html/gcl-devel/2005-09/msg00002.html
http://lists.gnu.org/archive/html/gcl-devel/2005-04/msg00001.html

From:   Raymond Toy
Subject:        [Gcl-devel] Building on solaris, and maxima
Date:   Sat, 02 Apr 2005 07:43:40 -0500

I tried building gcl cvs again on solaris yesterday. Everything went
smoothly, except run_process.c uses SIOCSPGRP. On Solaris, this isn't
defined unless you include sys/sockio.h I just added that to
run_process.c and it compiles up nicely.
 
------------

Perhaps you are also seeing this problem?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]