#6177: [with patch, needs work] Update PolyBoRi to newest upstream release
-------------------------+--------------------------------------------------
 Reporter:  malb         |       Owner:  malb          
     Type:  enhancement  |      Status:  new           
 Priority:  major        |   Milestone:  sage-4.1.1    
Component:  packages     |    Keywords:  M4RI, PolyBoRi
 Reviewer:               |      Author:                
   Merged:               |  
-------------------------+--------------------------------------------------

Comment(by PolyBoRi):

 doesn't build for me (Mac OS X, 64 BIT, but it's not an 64 BIT issue).
 I have to set FORCE_HASH_MAP=True via custom.py or construct argument.
 {{{
 g++ -o groebner/src/groebner.o -c -m64 -O3 -Wno-long-long -Wreturn-type -g
 -fPIC -ftemplate-depth-100 -g -fPIC -m64 -O3 -Wno-long-long -Wreturn-type
 -g -fPIC -DNDEBUG -DHAVE_TR1_UNORDERED_MAP -DPACKED -DHAVE_M4RI
 -DSIZEOF_VOID_P=8 -DSIZEOF_LONG=8 -DHAVE_IEEE_754
 
-I/Applications/sage/spkg/build/polybori-0.6.3-20090728/src/boost_1_34_1.cropped
 -I/Applications/sage/local/include
 -I/Applications/sage/local/include/python2.6 -Ipolybori/include -IM4RI
 -ICudd/obj -ICudd/util -ICudd/cudd -ICudd/mtr -ICudd/st -ICudd/epd
 groebner/src/groebner.cc
 /usr/include/c++/4.0.0/tr1/hashtable: In member function 'typename
 std::tr1::hashtable<Key, Value, Allocator, ExtractKey, Equal, H1, H2, H,
 RehashPolicy, cache_hash_code, mutable_iterators,
 unique_keys>::const_iterator std::tr1::hashtable<Key, Value, Allocator,
 ExtractKey, Equal, H1, H2, H, RehashPolicy, cache_hash_code,
 mutable_iterators, unique_keys>::find(const Key&) const [with Key =
 polybori::BooleExponent, Value = std::pair<const polybori::BooleExponent,
 int>, Allocator = std::allocator<std::pair<const polybori::BooleExponent,
 int> >, ExtractKey = Internal::extract1st<std::pair<const
 polybori::BooleExponent, int> >, Equal =
 std::equal_to<polybori::BooleExponent>, H1 =
 polybori::hashes<polybori::BooleExponent>, H2 =
 Internal::mod_range_hashing, H = Internal::default_ranged_hash,
 RehashPolicy = Internal::prime_rehash_policy, bool cache_hash_code =
 false, bool mutable_iterators = true, bool unique_keys = true]':
 groebner/src/groebner_alg.h:267:   instantiated from here
 /usr/include/c++/4.0.0/tr1/hashtable:1135: error: passing 'const
 std::tr1::hashtable<polybori::BooleExponent, std::pair<const
 polybori::BooleExponent, int>, std::allocator<std::pair<const
 polybori::BooleExponent, int> >, Internal::extract1st<std::pair<const
 polybori::BooleExponent, int> >, std::equal_to<polybori::BooleExponent>,
 polybori::hashes<polybori::BooleExponent>, Internal::mod_range_hashing,
 Internal::default_ranged_hash, Internal::prime_rehash_policy, false, true,
 true>' as 'this' argument of 'typename std::tr1::hashtable<Key, Value,
 Allocator, ExtractKey, Equal, H1, H2, H, RehashPolicy, cache_hash_code,
 mutable_iterators, unique_keys>::node* std::tr1::hashtable<Key, Value,
 Allocator, ExtractKey, Equal, H1, H2, H, RehashPolicy, cache_hash_code,
 mutable_iterators, unique_keys>::find_node(Internal::hash_node<Value,
 cache_hash_code>*, const Key&, typename std::tr1::hashtable<Key, Value,
 Allocator, ExtractKey, Equal, H1, H2, H, RehashPolicy, cache_hash_code,
 mutable_iterators, unique_keys>::hash_code_t) [with Key =
 polybori::BooleExponent, Value = std::pair<const polybori::BooleExponent,
 int>, Allocator = std::allocator<std::pair<const polybori::BooleExponent,
 int> >, ExtractKey = Internal::extract1st<std::pair<const
 polybori::BooleExponent, int> >, Equal =
 std::equal_to<polybori::BooleExponent>, H1 =
 polybori::hashes<polybori::BooleExponent>, H2 =
 Internal::mod_range_hashing, H = Internal::default_ranged_hash,
 RehashPolicy = Internal::prime_rehash_policy, bool cache_hash_code =
 false, bool mutable_iterators = true, bool unique_keys = true]' discards
 qualifiers
 scons: *** [groebner/src/groebner.o] Error 1
 }}}

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