#9979: Cliquer fails to install on AIX 5.3 as getopt.h does not exist
----------------------------------+-----------------------------------------
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: |
----------------------------------+-----------------------------------------
Using the following system:
* 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 fair wide mixture of disks sizes (3 x 9 GB, 1 x 18 GB, 2 x 36 GB and
1 x 73 GB)
* AIX 5.3 (A POSIX certified operating system)
* gcc 4.2.4 downloaded from [http://pware.hvcc.edu/ pware]
* DDS-4 tape drive
Cliquer failed to install due to a lack of {{{getopt.h}}} It can't
determine the platform, which probably does not help the situation.
{{{
Cannot determine your platform or it is not supported
Since SAGE_PORT is set, setting SAGESOFLAGS to Linux defaults.
make[2]: Entering directory
`/home/users/drkirkby/sage-4.6.alpha1/spkg/build/cliquer-1.2.p7/src'
make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent
make rule.
gcc -O2 -g -Wall -fomit-frame-pointer -funroll-loops -c -fPIC
-DENABLE_LONG_OPTIONS -o cl.o -c cl.c
cl.c:7:20: error: getopt.h: No such file or directory
cl.c: In function 'read_options':
cl.c:324: error: array type has incomplete element type
cl.c:325: error: 'no_argument' undeclared (first use in this function)
cl.c:325: error: (Each undeclared identifier is reported only once
cl.c:325: error: for each function it appears in.)
cl.c:328: error: 'required_argument' undeclared (first use in this
function)
cl.c:339: warning: implicit declaration of function 'getopt_long'
cl.c:324: warning: unused variable 'long_options'
}}}
It's quite possible that an installation of an AIX fileset would include
the file {{{getopt.h}}}, but it looks like its a header will should at
least consider checking for. However, comments on #9870 suggest we do not
need the Cliquer executable (only the libraries), in which case there's no
need for {{{getopt}}}.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9979>
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.