Opened 10 years ago
Closed 8 months ago
#9991 closed defect (invalid)
rubiks is failing to install proplerly on AIX as it's assuming the GNU install program.
Reported by: | drkirkby | Owned by: | drkirkby |
---|---|---|---|
Priority: | minor | Milestone: | sage-duplicate/invalid/wontfix |
Component: | porting: AIX or HP-UX | Keywords: | |
Cc: | chapoton | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
Hardware and software
- IBM 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 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
Attachments (1)
Change History (8)
Changed 10 years ago by
comment:1 Changed 8 years ago by
- Milestone changed from sage-5.11 to sage-5.12
comment:2 Changed 7 years ago by
- Milestone changed from sage-6.1 to sage-6.2
comment:3 Changed 7 years ago by
- Milestone changed from sage-6.2 to sage-6.3
comment:4 Changed 7 years ago by
- Milestone changed from sage-6.3 to sage-6.4
comment:5 Changed 2 years ago by
- Milestone changed from sage-6.4 to sage-wishlist
I don't believe anyone's been maintaining support for AIX or HP-UX for some time. Putting in sage-wishlist for now in case there is still a desire for it out there, otherwise these tickets should be closed (most of them are probably no longer relevant in any case but I have no obvious way to check this).
comment:6 Changed 8 months ago by
- Cc chapoton added
- Milestone changed from sage-wishlist to sage-duplicate/invalid/wontfix
- Status changed from new to needs_review
We should close this ticket as outdated.
comment:7 Changed 8 months ago by
- Resolution set to invalid
- Status changed from needs_review to closed
Build failure observed on an RS/6000 running AIX 5.3.