Hi Jason,

I tried what you said and the error occurs right at the beginning.
Btw, shall we move this to the devel group?

I get the following error messages:

uname: illegal option -- i
usage: uname [-amnprsv]
SACLIB Warning: Could not determine processor type!
SACLIB Warning: Could not determine OS type!

when executing bin/sconf, which calls mksysdep.pl, where the relevant
lines are:

### Get architecture type
$ptype = "unknown";
$uname = `uname -mpi`;
if ($uname =~ /i\S*86/ or $uname =~ /x86_64/)
{
    $ptype = "x86";
}
elsif ($uname =~ /Sun|sun|SUN|Sparc|sparc|SPARC/)
{
    $ptype = "sparc";
}
else
{
    print "SACLIB Warning: Could not determine processor type!\n";
}

### Get OS type
$ostype = "unknown";
$uname = `uname -s`;
if ($uname =~ /linux|Linux|LINUX/)
{
    $ostype = "linux";
}
elsif ($uname =~ /Sun|sun|SUN|solaris|Solaris/)
{
    $ostype = "solaris";
}
else
{
    print "SACLIB Warning: Could not determine OS type!\n";
}



Could mksysdep.pl be changed somehow to run on a mac?

Stan

On Oct 27, 3:48 pm, Jason Grout <[EMAIL PROTECTED]> wrote:

> If you could get qepcad to compile on OSX (just by itself), I think we
> could get what you did to work in Sage.
>
> To get the QEPCAD sources that Sage uses, download the spkg, then in a
> terminal do:
>
> tar -xjvf qepcad-1.50.spkg
>
> Then the sources should be in the qepcad-1.50/src/ directory.  The
> instructions on the qepcad webpage then apply.  To see what Sage is
> doing to build qepcad, just look in qepcad-1.50/spkg-install.
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to