[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Axiom-developer] axiom for Darwin? (BSD in Mac OS)
From: |
Martin Snelgrove |
Subject: |
Re: [Axiom-developer] axiom for Darwin? (BSD in Mac OS) |
Date: |
Mon, 14 Feb 2005 00:24:30 -0500 |
Thanks for the quick & detailed response.
I cleaned out the axiom directory completely and recharged from the
tarfile, then set up the AXIOM and PATH vars
as per your note. I ran make with sudo, because it had been fooling
around with stuff in /sw/bin. which is where the
Fink project puts the fake Linux stuff. I've attached the console
output. As you say, it now gets much further. It now
blows up in axiom/int/lib/wct.c, complaining 6 times at line 301":
error: dereferencing pointer to incomplete type".
My C is lousy, but "int/lib/wct.c:299: warning: assignment makes
pointer from integer without a cast" worried me,
and /usr/include/time.h looked to me like struct tm was just fine,
thanks. I've also attached said /usr/include/time.h
in the hope that it will make sense to someone who knows what's going
on.
Feel free to use me as an e-mail-driven compile engine, given that
you're without Mac access.
regards
martin s.
temp
Description: Binary data
time.h
Description: Text document
On Feb 13, 2005, at 21.44, root wrote:
Martin Snelgrove,
Actually you want to try telling it the truth :-)
The top level level Makefile looks at the last portion of the AXIOM
shell variable to try to set up for the target system. You told it
you were using 'linux' but should say 'MACOSX'.
In your case you might want to try:
export AXIOM=`pwd`/mnt/MACOSX
export PATH=$AXIOM/bin:$PATH
make
Likely this will still fail but much further along.
There are two people on this list, Chuck Miller and Pierre Doucy,
who are also interested in the MAC OSX port.
The SIGCLD issue has to do with the C defined variable called
PLF (in the top level Makefile.pamphlet) which has the value
PLF=MACOSXplatform
for a MAC OSX build. MAC OSX is a BSD system and certain
incompatibilities arise.
Please try this, save the console output, and let me (and the
rest of the list) know how it fails. I don't have a MAC so I'm
working blind.
As to the configure script issue I'll add the "Darwin" string
to try to give hints about the AXIOM variable setting.
The configure script really doesn't do anything because there
is no obvious way to set a shell variable from a shell script
and have the change be permanent. So it just gives you advice.
Tim