This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nobody
Recipients
Date 2001-10-12.11:53:36
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: NO 

To use curses (if GPL'd ncurses is not available) you have to make a patch and
you have to compile with:

   -DSTRICT_SYSV_CURSES   (some ncurses features are not available in this case)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** ../patch/py_curses.h        Fri Dec 22 22:51:10 2000
--- py_curses.h Wed Oct 10 15:06:40 2001
***************
*** 5,11 ****
--- 5,15 ----
  #ifdef HAVE_NCURSES_H
  #include <ncurses.h>
  #else
+ #if defined(__hpux)
+ #include <curses_colr/curses.h>
+ #else
  #include <curses.h>
+ #endif
  #endif
  
  #ifdef __cplusplus
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

To use threads on has to compile with:

   -D_POSIX_C_SOURCE=199506L     (reentrant fct. are defined then)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

To use ftello and fseeko (largefile) one has to compile with:

   -D_LARGEFILE_SOURCE

a new largefile API: ftello64 and fseeko64 (instead of ftell64 and fseek64 tested by configure) 
is available with:

   -D_LARGEFILE64_SOURCE   (at the moment there is no difference to -D_LARGEFILE_SOURCE)

/usr/share/doc/lg_files.txt contains the HPUX large file white paper

BTW in Makefile.pre.in if have replaced all occurences of:

   $(INSTALL) -d -m

with:

   mkdir -p -m 

- cmkl (cmkleffner@gmx.de)
History
Date User Action Args
2007-08-23 13:56:40adminlinkissue467145 messages
2007-08-23 13:56:40admincreate