Changes between Version 1 and Version 2 of Ticket #40690, comment 2


Ignore:
Timestamp:
Oct 10, 2013, 8:37:40 AM (8 years ago)
Author:
mattbrocklehurst@…
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40690, comment 2

    v1 v2  
    3232Probably (well definitely) not the right solution but should hopefully get you a bit further.
    3333
     34Note:: i did actually get it passed the get_addr() error by changing the configure flag to --disable-ipv6 but then hit another problem later in the configuration step to do with PY_LONG_LONG not being defined... after some googling i found this patch
    3435
    3536
     37{{{
     38# The configure script assumes the %lld printf format is not available as it
     39# can't run its check script. For some reason python refuses to compile without
     40# this functionality, so we just assume that our printf supports %lld.
     41#
     42# Include/pyport.h:243:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"
     43
     44Index: Python-2.7.1/configure.in
     45===================================================================
     46--- Python-2.7.1.orig/configure.in
     47+++ Python-2.7.1/configure.in
     48@@ -4151,7 +4151,7 @@ then
     49   ]]])],
     50   [ac_cv_have_long_long_format=yes],
     51   [ac_cv_have_long_long_format=no],
     52-  [ac_cv_have_long_long_format=no])
     53+  [ac_cv_have_long_long_format=yes])
     54   )
     55   AC_MSG_RESULT($ac_cv_have_long_long_format)
     56 fi
     57}}}
     58
     59but couldn't get it working so resorted to the hack outlines above :)
     60
     61