#10288: Experimental package 'CHomP' fails to install on OpenSolaris x86
------------------------+---------------------------------------------------
   Reporter:  drkirkby  |       Owner:  drkirkby    
       Type:  defect    |      Status:  needs_review
   Priority:  major     |   Milestone:  sage-4.6.1  
  Component:  solaris   |    Keywords:              
     Author:            |    Upstream:  N/A         
   Reviewer:            |      Merged:              
Work_issues:            |  
------------------------+---------------------------------------------------
Changes (by jhpalmieri):

  * status:  needs_work => needs_review


Old description:

> Trying to install this experiemental package on a Sun Ultra 27 (3.33 GHz
> Intel Xeon) running !OpenSolaris 06/2009, it fails as it can't reconise
> the system.
>
> I've not tried it, but I would also expect it to fail on a Solaris 10
> machine with an x86 processor such as 'fulvia' on Skynet.
>
> I've not tried a 64-bit build (i.e. with {{{SAGE64=yes}}}).
>
> {{{
> g++ -O2 -ansi -pedantic -Wall -I../include  -o ../obj/capd-
> homengin/engines.o -c \
>         ../src/capd-homengin/engines.cpp
> In file included from ../include/capd/auxil/clock.h:18:0,
>                  from ../include/capd/auxil/Stopwatch.h:19,
>                  from
> ../include/capd/homologicalAlgebra/homAlgFunctors.hpp:27,
>                  from
> ../include/capd/homologicalAlgebra/cubSetFunctors.hpp:22,
>                  from ../include/capd/multiEngHom/MultiEngHomT.h:30,
>                  from ../src/capd-homengin/engines.cpp:35:
> ../include/capd/capd/operatingSystemSetting.h:73:2: error: #error Your
> system cannot be determined automatically by the KRAK package.Please edit
> the configuration file appropriately.
> In file included from ../include/capd/auxil/Stopwatch.h:19:0,
>                  from
> ../include/capd/homologicalAlgebra/homAlgFunctors.hpp:27,
>                  from
> ../include/capd/homologicalAlgebra/cubSetFunctors.hpp:22,
>                  from ../include/capd/multiEngHom/MultiEngHomT.h:30,
>                  from ../src/capd-homengin/engines.cpp:35:
> ../include/capd/auxil/clock.h: In function 'long double
> getWorldSeconds()':
> ../include/capd/auxil/clock.h:54:32: error: aggregate
> 'getWorldSeconds()::_timeb timebuffer' has incomplete type and cannot be
> defined
> In file included from ../include/capd/auxil/Stopwatch.h:19:0,
>                  from
> ../include/capd/homologicalAlgebra/homAlgFunctors.hpp:27,
>                  from
> ../include/capd/homologicalAlgebra/cubSetFunctors.hpp:22,
>                  from ../include/capd/multiEngHom/MultiEngHomT.h:30,
>                  from ../src/capd-homengin/engines.cpp:35:
> ../include/capd/auxil/clock.h:55:31: error: '_ftime' was not declared in
> this scope
> ../include/capd/auxil/clock.h:57:5: warning: control reaches end of non-
> void function
> make[2]: *** [../obj/capd-homengin/engines.o] Error 1
> make[2]: Leaving directory
> `/export/home/drkirkby/sage-4.6.1.alpha2/spkg/build/chomp-20100213.p1/src/make'
> :
> }}}

New description:

 Trying to install this experiemental package on a Sun Ultra 27 (3.33 GHz
 Intel Xeon) running !OpenSolaris 06/2009, it fails as it can't reconise
 the system.

 I've not tried it, but I would also expect it to fail on a Solaris 10
 machine with an x86 processor such as 'fulvia' on Skynet.

 I've not tried a 64-bit build (i.e. with {{{SAGE64=yes}}}).

 {{{
 g++ -O2 -ansi -pedantic -Wall -I../include  -o ../obj/capd-
 homengin/engines.o -c \
         ../src/capd-homengin/engines.cpp
 In file included from ../include/capd/auxil/clock.h:18:0,
                  from ../include/capd/auxil/Stopwatch.h:19,
                  from
 ../include/capd/homologicalAlgebra/homAlgFunctors.hpp:27,
                  from
 ../include/capd/homologicalAlgebra/cubSetFunctors.hpp:22,
                  from ../include/capd/multiEngHom/MultiEngHomT.h:30,
                  from ../src/capd-homengin/engines.cpp:35:
 ../include/capd/capd/operatingSystemSetting.h:73:2: error: #error Your
 system cannot be determined automatically by the KRAK package.Please edit
 the configuration file appropriately.
 In file included from ../include/capd/auxil/Stopwatch.h:19:0,
                  from
 ../include/capd/homologicalAlgebra/homAlgFunctors.hpp:27,
                  from
 ../include/capd/homologicalAlgebra/cubSetFunctors.hpp:22,
                  from ../include/capd/multiEngHom/MultiEngHomT.h:30,
                  from ../src/capd-homengin/engines.cpp:35:
 ../include/capd/auxil/clock.h: In function 'long double
 getWorldSeconds()':
 ../include/capd/auxil/clock.h:54:32: error: aggregate
 'getWorldSeconds()::_timeb timebuffer' has incomplete type and cannot be
 defined
 In file included from ../include/capd/auxil/Stopwatch.h:19:0,
                  from
 ../include/capd/homologicalAlgebra/homAlgFunctors.hpp:27,
                  from
 ../include/capd/homologicalAlgebra/cubSetFunctors.hpp:22,
                  from ../include/capd/multiEngHom/MultiEngHomT.h:30,
                  from ../src/capd-homengin/engines.cpp:35:
 ../include/capd/auxil/clock.h:55:31: error: '_ftime' was not declared in
 this scope
 ../include/capd/auxil/clock.h:57:5: warning: control reaches end of non-
 void function
 make[2]: *** [../obj/capd-homengin/engines.o] Error 1
 make[2]: Leaving directory
 `/export/home/drkirkby/sage-4.6.1.alpha2/spkg/build/chomp-20100213.p1/src/make'
 :
 }}}

 There is an spkg available at

 [http://sage.math.washington.edu/home/palmieri/SPKG/chomp-20100213.p2.spkg]

--

Comment:

 Replying to [comment:6 drkirkby]:

 > then $MAKE CXX=$CXX CXXFLAGS=$CXXFLAGS etc should solve it.

 I can't get this to work on my Mac; instead I'm using
 {{{
 $MAKE target=$target COMPILE="${CXX} ${CXXFLAGS}"
 }}}

 > Do we know for sure the package can't be built in parallel, so one must
 set j=1, or was that just a safe choice?

 It actually says not to use "make -j..." on one of the web pages.  I've
 added a citation to spkg-install and to SPKG.txt.

 > One other point i forgot to make. The 'prereq' script checks that the
 version of make is GNU, so arguably this does not need repeating. But I
 guess this being optional, the hardware/software might have changed, so
 recheking is not a bad idea.

 Okay.

 > However, despite what spkg-install says, the version number of gnu make
 is not checked.

 You're right.  Version 3.77 of make was released in 1998, so I'm inclined
 to remove the check altogether.

 I've updating the spkg and the patch.  This is still pretty experimental,
 but I'll mark it as "needs review" anyway.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10288#comment:8>
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.

Reply via email to