#9991: rubiks is failing to install proplerly on AIX as it's assuming the GNU
install program.
----------------------------------+-----------------------------------------
Reporter: drkirkby | Owner: drkirkby
Type: defect | Status: new
Priority: minor | Milestone: sage-4.6
Component: AIX or HP-UX ports | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------------------+-----------------------------------------
== Hardware and software ==
* IBM
[http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.pseries.doc/hardware_docs/rs6000_7025f50series.htm
RS/6000 7025 F50]
* 4 x 332 MHz 32-bit PowerPC CPUs
* 3 GB RAM
* A fairly wide mixture of disks sizes (3 x 9 GB, 1 x 18 GB, 2 x 36 GB
and 1 x 73 GB)
* DDS-4 tape drive
* AIX 5.3 (A POSIX certified operating system)
* gcc 4.2.4 downloaded from [http://pware.hvcc.edu/ pware]
* sage-4.6.alpha1
== The Problem ==
rubiks is failing to install. I believe it is believing the {{{install}}}
program is the {{{GNU install}}}, whereas in fact IBM provide their own on
AIX, which is not compatible.
This is the first {{{install}}} program in the PATH
{{{
-bash-4.1$ command -v install
/usr/bin/install
}}}
We can see this is not the GNU install program.
{{{
-bash-4.1$ /usr/bin/install -h
getopt: Not a recognized flag: h
Usage: install [-c DirectoryA] [-f DirectoryB] [-i] [-m] [-M Mode] [-O
Owner]
[-G Group] [-S] [-n DirectoryC] [-o] [-s] File [DirectoryX
...]
-bash-4.1$ /usr/bin/install --help
getopt: Not a recognized flag: -
getopt: Not a recognized flag: h
getopt: Not a recognized flag: e
getopt: Not a recognized flag: l
getopt: Not a recognized flag: p
Usage: install [-c DirectoryA] [-f DirectoryB] [-i] [-m] [-M Mode] [-O
Owner]
[-G Group] [-S] [-n DirectoryC] [-o] [-s] File [DirectoryX
...]
}}}
This results in some odd permission problems when rubiks tries to install
itself:
{{{
gcc -O -DLARGE_MEM -DVERBOSE -o sizekoc2 sizekoc2.o
size sizekoc2
sizekoc2: 48541 + 2387 + 409577660 + 2525 + 77886 = 409708999
make[3]: Leaving directory
`/home/users/drkirkby/sage-4.6.alpha1/spkg/build/rubiks-20070912.p12/src/dik'
make[3]: Entering directory
`/home/users/drkirkby/sage-4.6.alpha1/spkg/build/rubiks-20070912.p12/src/reid'
make[3]: warning: jobserver unavailable: using -j1. Add `+' to parent
make rule.
gcc -O2 -g -Wall optimal.c -o optimal
gcc -O2 -g -Wall twist.c -o twist
make[3]: Leaving directory
`/home/users/drkirkby/sage-4.6.alpha1/spkg/build/rubiks-20070912.p12/src/reid'
mkdir -p /home/users/drkirkby/sage-4.6.alpha1/local/bin
/usr/bin/install reid/optimal
/home/users/drkirkby/sage-4.6.alpha1/local/bin
find: cannot chdir to </etc/security> : Permission denied
find: cannot chdir to </etc/tunables> : Permission denied
find: cannot chdir to </etc/iscsi> : Permission denied
find: cannot chdir to </etc/ppp> : Permission denied
find: cannot chdir to </usr/lib/boot/network> : Permission denied
find: cannot chdir to </usr/lib/drivers/crypto> : Permission denied
install: File optimal was not found.
make[2]: *** [install] Error 2
make[2]: Leaving directory
`/home/users/drkirkby/sage-4.6.alpha1/spkg/build/rubiks-20070912.p12/src'
real 10m38.826s
user 5m19.612s
sys 0m8.383s
sage: An error occurred while installing rubiks-20070912.p12
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9991>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.