#8521: Optional package libcocoa-0.9930 fails to install on Solaris 10 SPARC
---------------------------------+------------------------------------------
Reporter: drkirkby | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-4.3.4
Component: optional packages | Keywords: GNUism
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------------+------------------------------------------
== Hardware & associated software ==
* Sun Blade 1000
* 2 x 900 MHz UltraSPARC III+ CPUs
* 2 GB RAM
* Solaris 10 03/2005 (first release of Solaris 10)
* gcc 4.4.3 (uses Sun linker and assembler)
== Sage version ==
* 4.3.4.alpha1
* Patch #8509 removing the -o option to grep to allow packages to
install.
== The problem with the optional libcocoa-0.9930 ==
This looks at least partially, perhaps completely because of a GNUism, as
a non-POSIX option to 'ar' is used. Instead, only POSIX options should be
used for portability.
http://www.opengroup.org/onlinepubs/9699919799/
{{{
Compiling TmpFrobby.o
Compiling RegisterServerOpsFrobby.o
ar: bad option `S'
usage: ar -d[-vV] archive file ...
ar -m[-abivV] [posname] archive file ...
ar -p[-vV][-s] archive [file ...]
ar -q[-cuvV] [-abi] [posname] [file ...]
ar -r[-cuvV] [-abi] [posname] [file ...]
ar -t[-vV][-s] archive [file ...]
ar -x[-vV][-sCT] archive [file ...]
make[3]: *** [../../lib/libcocoa.a] Error 1
make[3]: Leaving directory
`/export/home/drkirkby/sage-4.3.4.alpha1/local/lib/cocoa-0.9930/src/src/AlgebraicCore'
*****[[Compilation[failed[in[CoCoA[library[source[subdirectory[AlgebraicCore/[[*****
***** Compilation failed in CoCoA library source subdirectory
AlgebraicCore/ *****
*****[[Compilation[failed[in[CoCoA[library[source[subdirectory[AlgebraicCore/[[*****
make[2]: *** [library] Error 1
make[2]: Leaving directory
`/export/home/drkirkby/sage-4.3.4.alpha1/local/lib/cocoa-0.9930/src/src'
make[1]: *** [library] Error 2
make[1]: Leaving directory
`/export/home/drkirkby/sage-4.3.4.alpha1/local/lib/cocoa-0.9930/src'
make: *** [default] Error 2
Doing the build in the following directory:
/export/home/drkirkby/sage-4.3.4.alpha1/local/lib/cocoa-0.9930
./configure --with-libgmp=$SAGE_LOCAL/lib/libgmp.so
Now running Make
make
There are known test failures that should be listed above.
They are literally 'not yet implemented' errors from the
CoCOA library. I.e., CoCOA releases purposely don't pass
their own test suite at present.
Error libcocoa.a did not build.
real 4m38.919s
user 4m13.797s
sys 0m21.777s
sage: An error occurred while installing libcocoa-0.9930
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8521>
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.