HP3000-L Archives

May 2001, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tom Emerson <[log in to unmask]>
Reply To:
Tom Emerson <[log in to unmask]>
Date:
Mon, 14 May 2001 12:20:05 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (40 lines)
I'm considering porting something to the HP3000 that makes use of Python.
While I see there is a "Python/iX" on Jazz, there are two problems with it:

   1) it is version 1.5.1 and the documentation for the program I'm working
on is quite adamant about needing version 1.5.2 [in particular, "with
threads"]

   2) the version on Jazz is binary only -- there doesn't seem to be any
notes on what the author did to get that version working on the 3000.

What I've tried so far:

   1) I've found and uploaded a copy of the 1.5.2 source, did the
standard "./configure" with the option "--with-threads" and this seemed to
work OK, but...
   2) one of the routines wouldn't compile because the size of the "stat"
structure was unknown -- tracing things around a little, it seems to be
because the "stat.h" in /usr/include has a test for "_POSIX_SOURCE" as a
defined macro -- while I thought that was a default when compiling from the
shell, I nevertheless added "-D_POSIX_SOURCE" to the Makefile and it seemed
to get past that point [but everything that includes /sys/types.h complains
about 4 "empty" declarations]
   3) On point one the operative word is "seemed" to work OK -- for some
reason one of the subordinate "Makefile"'s doesn't get built properly [it's
empty] so compilation just simply stops... :(

I suspect that ultimately the "with-threads" will trip me up, however I
noted from the doc/README.txt file that references to "threads" *could*
mean DCE threads, which would correspond to draft 4 [appearently there is
a "draft 10" version that was out for the HP, but had problems and has been
revoked...???] so I'm hoping that it won't take much to get version 1.5.2
to properly compile -- does anyone know offhand if the person who ported
v1.5.1 would consider looking into 1.5.2?  [or could they provide notes on
what they did to make 1.5.1 work?]

Tom

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2