[Image-SIG] Fw: Python/HP-UX problem...

Oluf Iversen niversen at csc.com
Wed May 3 14:39:17 CEST 2006


Hi,

I am trying to install Python Imaging Library on a HP-UX PA-RISC box 
running HP-UX 11.11 and I have great difficulties with the installation. 
Please find attacments and explanations in the following mails. 

I hope you are able to helt me out with this

Regards

Oluf Iversen
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please 
delete without copying and kindly advise us by e-mail of the mistake in 
delivery. NOTE: Regardless of content, this e-mail shall not operate to 
bind CSC to any order or other contract unless pursuant to explicit 
written agreement or government initiative expressly permitting the use of 
e-mail for such purpose.
----------------------------------------------------------------------------------------
----- Forwarded by Oluf Iversen/SCA/CSC on 03-05-2006 14:34 -----


Oluf Iversen
/SCA/CSC
03-05-2006 14:34
 
        To:     Domhnall Walsh <domhnall.walsh at astech.ie>
        cc:     Flemming Hargum/SCA/CSC at CSC
        Subject:        Fw: Python/HP-UX problem...

Hi Domhnall,

Update on the problem with Python Imaging Library

I have done some additional attempts to solve the problem.

Flemming and I installed a different Python from HP under internet 
express. It is installed in /opt/iexpress/python/bin. Following is the 
result of the "python setup.py install"

running install
running build
running build_py
running build_ext
building '_imaging' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O1 -Wall 
-Wstrict-prototypes -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DWORDS_BIGENDIAN 
-I/usr/local/include/freetype2 -IlibImaging -I/opt/iexpress/python/include 
-I/usr/local/include -I/usr/include 
-I/opt/iexpress/python/include/python2.4 -c _imaging.c -o 
build/temp.hp-ux-B.11.11-9000/800-2.4/_imaging.o
In file included from /opt/iexpress/python/include/python2.4/Python.h:55,
                 from _imaging.c:74:
/opt/iexpress/python/include/python2.4/pyport.h:116:24: error: 
sys/select.h: No such file or directory
error: command 'gcc' failed with exit status 1

As you see it seems now to locate Python.h, but we have a new problem with 
sys/select.h

We also tried to upgrade to PIL vcersion 1.1.6a1-20051211 with the same 
result.

Regards

Oluf
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please 
delete without copying and kindly advise us by e-mail of the mistake in 
delivery. NOTE: Regardless of content, this e-mail shall not operate to 
bind CSC to any order or other contract unless pursuant to explicit 
written agreement or government initiative expressly permitting the use of 
e-mail for such purpose.
----------------------------------------------------------------------------------------

----- Forwarded by Oluf Iversen/SCA/CSC on 03-05-2006 14:22 -----


Oluf Iversen
/SCA/CSC
02-05-2006 16:02

        To:     Domhnall Walsh <domhnall.walsh at astech.ie>
        cc: 
        Subject:        Re: Fw: Python/HP-UX problem...

Hi Domhnall,

I have located Python.h in /usr/local/include/python/

I have searched google and HP ITRC without luck. There are several 
references to installation of python-devel packages but I think there is 
somehow a reference problem between Python and the installation of Python 
Imaging Library rather than need for installation of additional packages. 
I am installing based on PIL version 1.1.5, which I downloaded from the 
web site you gave me a link to.

The output I sent you is the result of the command "python setup.py 
install" as specified in the README file. This command should take care of 
everything (configure, make and make install) as I understand it

I have also tried to download version 1.1.4 and install it. It gave 
similiar problems with the Python.h. However with version 1.1.4 you must 
configure and make according to the README file. The configure and make 
step completed succesfully  but the build step failed with the Python.h 
error

I attach output from version 1.1.4 configure and make 



Also find attachment of output from "python setup.py build"



Regards

Oluf
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please 
delete without copying and kindly advise us by e-mail of the mistake in 
delivery. NOTE: Regardless of content, this e-mail shall not operate to 
bind CSC to any order or other contract unless pursuant to explicit 
written agreement or government initiative expressly permitting the use of 
e-mail for such purpose.
----------------------------------------------------------------------------------------





Domhnall Walsh <domhnall.walsh
@astech.ie>
02-05-2006 14:56
 
        To:     Oluf Iversen/SCA/CSC at CSC
        cc: 
        Subject:        Re: Fw: Python/HP-UX problem...


Hi Oluf:

Sorry about the slow reply, had some e-mail difficulties here. Looking 
at the log, I'd expect that there'd be a "Python.h" somewhere in the 
included folders, presumably in /usr/local/include/python2.4 - is this 
the case?

Also, could you send me the output of the configure script? (as in a 
dump of what it prints to STDOUT?) I want to see if it picks up 
everything correctly.

Thanks,
Domhnall.

Oluf Iversen wrote:

>
> Hi Domhnall,
>
> I have tried once again to install PIL, but unfortunately I get the 
> same error as before when Python was installed via the binary package
>
>
>
> I will continue investigating. If you have any ideas you are welcome.
>
> Regards
>
> Oluf
> 
----------------------------------------------------------------------------------------
> This is a PRIVATE message. If you are not the intended recipient, 
> please delete without copying and kindly advise us by e-mail of the 
> mistake in delivery. NOTE: Regardless of content, this e-mail shall 
> not operate to bind CSC to any order or other contract unless pursuant 
> to explicit written agreement or government initiative expressly 
> permitting the use of e-mail for such purpose.
> 
----------------------------------------------------------------------------------------
>
>
>
>
>                *Domhnall Walsh <domhnall.walsh
> @astech.ie>*
>
> 28-04-2006 14:08
>
> 
>         To:        Oluf Iversen/SCA/CSC at CSC
>         cc:        Lavinia Raducan <lavinia.raducan at astech.ie>, Paul 
> Nolan <paul at astech.ie>, Thomas Jobs <thomas.jobs at sas.se>, Flemming 
> Hargum/SCA/CSC at CSC
>         Subject:        Re: Fw: Python/HP-UX problem...
>
>
>
>
> Hi Oluf:
>
> That's great news - I assume the background-related hang was because
> "make" was expecting some sort of user input from you?
>
> Let me know how you get on with building PIL...
>
> Best Regards,
> Domhnall
>
> Oluf Iversen wrote:
>
> >
> > Hi Domhnall,
> >
> > I never heard anything from hpux at connect.org.uk.
> >
> > However I did continue to do some investigation and since the db
> > module seemed to be the problem I uninstalled the current version,
> > since it is fairly new and dowgraded it to version 3.1.14
> >
> > After that I tried to configure and make again and I did run into some
> > other problems with a "hang" of the make process, which I did in
> > background. I have now done it in foreground and it works. I did a
> > rerun of everything on the original setup.py and it still works.
> >
> > I have now a successfull installation of Python 2.4.2 from source.
> >
> > I will continue to do the setup of the Python Imaging Library.
> >
> > Regards
> >
> > Oluf
> > 
> 
----------------------------------------------------------------------------------------
> > This is a PRIVATE message. If you are not the intended recipient,
> > please delete without copying and kindly advise us by e-mail of the
> > mistake in delivery. NOTE: Regardless of content, this e-mail shall
> > not operate to bind CSC to any order or other contract unless pursuant
> > to explicit written agreement or government initiative expressly
> > permitting the use of e-mail for such purpose.
> > 
> 
----------------------------------------------------------------------------------------
> >
> >
> >
> >
> >                  *Domhnall Walsh <domhnall.walsh
> > @astech.ie>*
> >
> > 26-04-2006 14:36
> >
> > 
> >         To:        Oluf Iversen/SCA/CSC at CSC
> >         cc:        Lavinia Raducan <lavinia.raducan at astech.ie>, Paul
> > Nolan <paul at astech.ie>, Thomas Jobs <thomas.jobs at sas.se>
> >         Subject:        Re: Fw: Python/HP-UX problem...
> >
> >
> >
> >
> > Oluf:
> >
> > I think that's all we can do for now - I'm eager to hear what kind of
> > response you get (if any).
> >
> > Thanks,
> > Domhnall.
> >
> > Oluf Iversen wrote:
> >
> > >
> > > Hi Domhnall,
> > >
> > > There was a file Lib/distutils/sysconfig.py.cln. I made a copy of 
the
> > > file to sysconfig.py.termplate and executed the configure step again
> > > without errors. However the gmake phase failed again.
> > >
> > > I have sent an email to hpux at connect.org.uk (contact email on
> > > http://hpux.cs.utah.edu/) and explained the problem and asked if 
they
> > > can help.
> > >
> > > Regards
> > >
> > > Oluf
> > >
> > 
> 
----------------------------------------------------------------------------------------
> > > This is a PRIVATE message. If you are not the intended recipient,
> > > please delete without copying and kindly advise us by e-mail of the
> > > mistake in delivery. NOTE: Regardless of content, this e-mail shall
> > > not operate to bind CSC to any order or other contract unless 
pursuant
> > > to explicit written agreement or government initiative expressly
> > > permitting the use of e-mail for such purpose.
> > >
> > 
> 
----------------------------------------------------------------------------------------
> > >
> > >
> > >
> > >
> > >                  *Domhnall Walsh <domhnall.walsh
> > > @astech.ie>*
> > >
> > > 26-04-2006 12:08
> > >
> > > 
> > >         To:        Oluf Iversen/SCA/CSC at CSC
> > >         cc:        Thomas Jobs <thomas.jobs at sas.se>, Paul Nolan
> > > <paul at astech.ie>, Lavinia Raducan <lavinia.raducan at astech.ie>
> > >         Subject:        Re: Fw: Python/HP-UX problem...
> > >
> > >
> > >
> > >
> > > Hi Oluf:
> > >
> > > This missing file is important in the configuration of Python at 
build
> > > time. I checked to see if the web-based tar interface on a couple 
> of the
> > > HP package repositories (one in Utah, the other in the UK) could
> > > retrieve it - no joy, it appears to be missing from the archive 
> they are
> > > distributing for some reason.
> > >
> > > If the configure script is going wrong in this way (because of the
> > > missing script), it may well explain why we are having the problems
> > > we're having. Is there someone you can contact (for example) in HP 
> that
> > > can investigate this?
> > >
> > > Best Regards,
> > > Domhnall Walsh
> > > ASTech
> > >
> > > Oluf Iversen wrote:
> > >
> > > >
> > > > Hi Domhnall,
> > > >
> > > > One thing I did not mention to you is the following error show 
> in the
> > > > forst line of the screen output from ./configure.
> > > >
> > > > ./configure[397]: Lib/distutils/sysconfig.py.template: Cannot 
> find or
> > > > open the file.
> > > >
> > > > The file is not there, but the configure step completed 
successfully
> > > > in all the tests so far, so I did not find it that important. 
> However
> > > > I see now there is a reference to that file in the HPUX.Install 
> file.
> > > >
> > > > I will try to investigate that further.
> > > >
> > > > Regards
> > > >
> > > > Oluf
> > > >
> > >
> > 
> 
----------------------------------------------------------------------------------------
> > > > This is a PRIVATE message. If you are not the intended recipient,
> > > > please delete without copying and kindly advise us by e-mail of 
the
> > > > mistake in delivery. NOTE: Regardless of content, this e-mail 
shall
> > > > not operate to bind CSC to any order or other contract unless 
> pursuant
> > > > to explicit written agreement or government initiative expressly
> > > > permitting the use of e-mail for such purpose.
> > > >
> > >
> > 
> 
----------------------------------------------------------------------------------------
> > > >
> > > > ----- Forwarded by Oluf Iversen/SCA/CSC on 26-04-2006 10:57 -----
> > > >
> > > >                  *Oluf Iversen
> > > > /SCA/CSC*
> > > >
> > > > 26-04-2006 09:27
> > > >
> > > > 
> > > >         To:        Domhnall Walsh <domhnall.walsh at astech.ie>
> > > >         cc: 
> > > >         Subject:        Re: Python/HP-UX problem...Link
> > > >
> > >
> > 
> <
Notes:///C12565DB0025504E/32547D7F59F9E7E38525613200556E77/3B4C600DD82C529E8525715B004FD518
> 
>
> >
> > >
> > > >
> > > >
> > > >
> > > >
> > > > Hi Domhnall,
> > > >
> > > > I have done what you suggested also using gmake rather than make.
> > > >
> > > > Resullt is the same, maybe there is a little difference in the 
> output,
> > > > which I think is due to use of gmake rather than make
> > > >
> > > > Regards
> > > >
> > > > Oluf
> > > >
> > > > gcc -pthread -fno-strict-aliasing -DNDEBUG -O -D_POSIX_THREADS
> > > > -I/usr/local/include/ncurses -I. -I./Include  -DPy_BUILD_CORE
> > > >  -I/usr/local/include -c ./Modules/_bsddb.c -o Modules/_bsddb.o
> > > > ./Modules/_bsddb.c: In function 'DBEnv_lock_stat':
> > > > ./Modules/_bsddb.c:4104: error: 'DB_LOCK_STAT' has no member named
> > > > 'st_nnowaits'
> > > > ./Modules/_bsddb.c:4105: error: 'DB_LOCK_STAT' has no member named
> > > > 'st_nconflicts'
> > > > ./Modules/_bsddb.c: In function 'init_bsddb':
> > > > ./Modules/_bsddb.c:4941: error: 'DB_LOCK_DIRTY' undeclared 
> (first use
> > > > in this function)
> > > > ./Modules/_bsddb.c:4941: error: (Each undeclared identifier is
> > > > reported only once
> > > > ./Modules/_bsddb.c:4941: error: for each function it appears in.)
> > > > gmake: *** [Modules/_bsddb.o] Error 1
> > > >
> > >
> > 
> 
----------------------------------------------------------------------------------------
> > > > This is a PRIVATE message. If you are not the intended recipient,
> > > > please delete without copying and kindly advise us by e-mail of 
the
> > > > mistake in delivery. NOTE: Regardless of content, this e-mail 
shall
> > > > not operate to bind CSC to any order or other contract unless 
> pursuant
> > > > to explicit written agreement or government initiative expressly
> > > > permitting the use of e-mail for such purpose.
> > > >
> > >
> > 
> 
----------------------------------------------------------------------------------------
> > > >
> > > >
> > > >
> > > >
> > > >                  *Domhnall Walsh <domhnall.walsh
> > > > @astech.ie>*
> > > >
> > > > 25-04-2006 16:33
> > > >
> > > > 
> > > >         To:        Oluf Iversen/SCA/CSC at CSC
> > > >         cc: 
> > > >         Subject:        Re: Python/HP-UX problem...
> > > >
> > > >
> > > >
> > > >
> > > > Oluf:
> > > >
> > > > One last thing to try for today, if you don't mind; it looks 
> like the
> > > > "--without-bsddb" configure switch might work, so please try that 
so
> > > > that we can see what's going on here.
> > > >
> > > > =======================================
> > > >
> > > > $ configure --without-bsddb
> > > > $ gmake
> > > >
> > > > =======================================
> > > >
> > > > Hopefully this will work.
> > > > Best Regards,
> > > > Domhnall Walsh
> > > > ASTech
> > > >
> > > > Oluf Iversen wrote:
> > > >
> > > > >
> > > > > Hi Domhnall
> > > > >
> > > > > Files as requested are attached
> > > > >
> > > > >
> > > > >
> > > > > Regards
> > > > >
> > > > > Oluf
> > > > >
> > > >
> > >
> > 
> 
----------------------------------------------------------------------------------------
> > > > > This is a PRIVATE message. If you are not the intended 
recipient,
> > > > > please delete without copying and kindly advise us by e-mail 
> of the
> > > > > mistake in delivery. NOTE: Regardless of content, this e-mail 
> shall
> > > > > not operate to bind CSC to any order or other contract unless
> > pursuant
> > > > > to explicit written agreement or government initiative expressly
> > > > > permitting the use of e-mail for such purpose.
> > > > >
> > > >
> > >
> > 
> 
----------------------------------------------------------------------------------------
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >                  *Domhnall Walsh <domhnall.walsh
> > > > > @astech.ie>*
> > > > >
> > > > > 25-04-2006 14:40
> > > > >
> > > > > 
> > > > >         To:        Oluf Iversen/SCA/CSC at CSC
> > > > >         cc: 
> > > > >         Subject:        Re: Python/HP-UX problem...
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Hi Oluf:
> > > > >
> > > > > Okay, I'll call you in a little bit (30 minutes or so, probably
> > less),
> > > > > but I just want to check some things first to try to be better
> > > prepared.
> > > > >
> > > > > Until then, can you try again, but when you run the configure
> > script,
> > > > > specify "--without-dbm" as an option?
> > > > >
> > > > > In other words (from the directory containing the source files):
> > > > >
> > > > > ==============================
> > > > >
> > > > > $ ./configure --without-dbm
> > > > > $ make
> > > > > (etc.)
> > > > >
> > > > > ==============================
> > > > >
> > > > > Thanks,
> > > > > Domhnall Walsh
> > > > > ASTech
> > > > >
> > > > > Oluf Iversen wrote:
> > > > >
> > > > > >
> > > > > > Hi Domnhall,
> > > > > >
> > > > > > Sorry but same result again. Maybe you could give me a call
> > > > > >
> > > > > > Regards
> > > > > >
> > > > > > Oluf
> > > > > >
> > > > > > +45 2923 6543
> > > > > >
> > > > >
> > > >
> > >
> > 
> 
----------------------------------------------------------------------------------------
> > > > > > This is a PRIVATE message. If you are not the intended 
> recipient,
> > > > > > please delete without copying and kindly advise us by e-mail
> > of the
> > > > > > mistake in delivery. NOTE: Regardless of content, this e-mail
> > shall
> > > > > > not operate to bind CSC to any order or other contract unless
> > > pursuant
> > > > > > to explicit written agreement or government initiative 
expressly
> > > > > > permitting the use of e-mail for such purpose.
> > > > > >
> > > > >
> > > >
> > >
> > 
> 
----------------------------------------------------------------------------------------
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >                  *Domhnall Walsh <domhnall.walsh
> > > > > > @astech.ie>*
> > > > > >
> > > > > > 25-04-2006 11:50
> > > > > >
> > > > > > 
> > > > > >         To:        Oluf Iversen/SCA/CSC at CSC
> > > > > >         cc:        Lavinia Raducan
> > <lavinia.raducan at astech.ie>, Paul
> > > > > > Nolan <paul at astech.ie>, Thomas Jobs <thomas.jobs at sas.se>
> > > > > >         Subject:        Re: Python/HP-UX problem...
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Oluf:
> > > > > >
> > > > > > Can I ask you to try to add a couple more entries to the 
> disabled
> > > > > > modules list I pointed out to you earlier?
> > > > > >
> > > > > > I want you to add the "bsddb3" and "pybsddb" modules, so that
> > > the line
> > > > > > in "setup.py" (as mentioned in my last e-mail) now reads:
> > > > > >
> > > > > > =========================================================
> > > > > >
> > > > > > disabled_module_list = ['dbm', 'gdbm', 'bsddb', 'bsddb3',
> > 'pybsddb']
> > > > > >
> > > > > > =========================================================
> > > > > >
> > > > > > ... and let me know how that goes?
> > > > > >
> > > > > > Sorry about the guesswork, I'm afraid I don't have access to a
> > HP-UX
> > > > > > machine at the moment...
> > > > > >
> > > > > > Best Regards,
> > > > > > Domhnall Walsh
> > > > > > ASTech
> > > > > >
> > > > > > Oluf Iversen wrote:
> > > > > >
> > > > > > >
> > > > > > > Hi Domhnall
> > > > > > >
> > > > > > > I have tried out your suggestion. However the result is the
> > same.
> > > > > > >
> > > > > > > Do you have any other ideas.
> > > > > > >
> > > > > > > Regards
> > > > > > >
> > > > > > > Oluf
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> > 
> 
----------------------------------------------------------------------------------------
> > > > > > > This is a PRIVATE message. If you are not the intended
> > recipient,
> > > > > > > please delete without copying and kindly advise us by e-mail
> > > of the
> > > > > > > mistake in delivery. NOTE: Regardless of content, this 
e-mail
> > > shall
> > > > > > > not operate to bind CSC to any order or other contract 
unless
> > > > pursuant
> > > > > > > to explicit written agreement or government initiative 
> expressly
> > > > > > > permitting the use of e-mail for such purpose.
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> > 
> 
----------------------------------------------------------------------------------------
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >                  *Domhnall Walsh <domhnall.walsh
> > > > > > > @astech.ie>*
> > > > > > >
> > > > > > > 24-04-2006 16:30
> > > > > > >
> > > > > > > 
> > > > > > >         To:        Oluf Iversen/SCA/CSC at CSC
> > > > > > >         cc:        Paul Nolan <paul at astech.ie>, Lavinia 
> Raducan
> > > > > > > <lavinia.raducan at astech.ie>, Thomas Jobs 
<thomas.jobs at sas.se>
> > > > > > >         Subject:        Re: Python/HP-UX problem...
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Hi Oluf:
> > > > > > >
> > > > > > > The error appears to be related to a Python database 
interface
> > > > layer;
> > > > > > > as ASTech's Python-based software doesn't use this layer, 
the
> > > > easiest
> > > > > > > solution may be to disable it.
> > > > > > >
> > > > > > > To do this, edit a file called "setup.py" in the root
> > directory of
> > > > > > > your unpacked source files (the same directory you were 
> running
> > > > > > > "configure" and "make" from). I'm looking at the source
> > > tarball for
> > > > > > > Python 2.4.3 here, and in that distribution, the important
> > line is
> > > > > > > line 18, which looks like this:
> > > > > > >
> > > > > > > =========================================================
> > > > > > >
> > > > > > > disabled_module_list = []
> > > > > > >
> > > > > > > =========================================================
> > > > > > >
> > > > > > > (The exact line number may be different in other versions, 
but
> > > this
> > > > > > > line will only appear once, close to the top of the file)
> > > > > > > I suggest that you change this to:
> > > > > > >
> > > > > > > =========================================================
> > > > > > >
> > > > > > > disabled_module_list = ['dbm', 'gdbm', 'bsddb']
> > > > > > >
> > > > > > > =========================================================
> > > > > > >
> > > > > > > ...and then "configure" and "make" Python again (this should
> > > disable
> > > > > > > the problem modules and allow the build to proceed)
> > > > > > >
> > > > > > > Let me know how this goes for you - if you're still having
> > > problems,
> > > > > > > we'll try to resolve them as quickly as possible.
> > > > > > >
> > > > > > > Best Regards,
> > > > > > > Domhnall Walsh
> > > > > > > ASTech
> > > > > > >
> > > > > > > Oluf Iversen wrote:
> > > > > > >
> > > > > > > Hi Domnhall,
> > > > > > >
> > > > > > > I have removed the python software (binary package) from the
> > > server,
> > > > > > > downloaded the source and done the configure part without
> > > problems.
> > > > > > > However there seems to be problems during the "make" phase
> > > > > > >
> > > > > > > If you have a hint you are welcome.
> > > > > > >
> > > > > > > I attch the screen output  from the  make command
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Regards
> > > > > > >
> > > > > > > Oluf
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> > 
> 
----------------------------------------------------------------------------------------
> > > > > > > This is a PRIVATE message. If you are not the intended
> > recipient,
> > > > > > > please delete without copying and kindly advise us by e-mail
> > > of the
> > > > > > > mistake in delivery. NOTE: Regardless of content, this 
e-mail
> > > shall
> > > > > > > not operate to bind CSC to any order or other contract 
unless
> > > > pursuant
> > > > > > > to explicit written agreement or government initiative 
> expressly
> > > > > > > permitting the use of e-mail for such purpose.
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> > 
> 
----------------------------------------------------------------------------------------
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >                  *Domhnall Walsh <domhnall.walsh
> > > > > > > @astech.ie>*
> > > > > > >
> > > > > > > 06-04-2006 13:59
> > > > > > >
> > > > > > > 
> > > > > > >        To:        Oluf Iversen/SCA/CSC at CSC
> > > > > > >        cc:        Paul Nolan _<paul.nolan at astech.ie>_
> > > > > > > <mailto:paul.nolan at astech.ie>, Lavinia Raducan
> > > > > > > _<lavinia.raducan at astech.ie>_ 
> <mailto:lavinia.raducan at astech.ie>
> > > > > > >        Subject:        Re: Python/HP-UX problem...
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Hi Oluf:
> > > > > > >
> > > > > > > Having looked through the log file you sent me, I noticed in
> > > > > particular
> > > > > > > an issue on line 7:
> > > > > > >
> > > > > > > _imaging.c:74:20: error: Python.h: No such file or directory
> > > > > > >
> > > > > > > This seems to suggest that the version of Python that you
> > > > > installed does
> > > > > > > not include the development libraries - as PIL is compiled
> > against
> > > > > these
> > > > > > > libraries, you'll need to get them.
> > > > > > >
> > > > > > > I believe that the best strategy here is to compile Python 
> from
> > > > source
> > > > > > > rather than (as I'm guesing you did) install a binary 
package
> > > > (depot)
> > > > > > > for Python - omitting development files from binary 
> packages is
> > > > > quite a
> > > > > > > common practice, unfortunately.
> > > > > > >
> > > > > > > The URL you sent me
> > > > > > >
> > (_http://gatekeep.cs.utah.edu/hppd/hpux/Languages/python-2.4.2/_)
> > > > > has a
> > > > > > > source package you can download (the fourth download option
> > at the
> > > > > > > bottom of the screen, package type is "Tarred/Gzipped Source
> > > Code").
> > > > > > > Python itself is written in C/C++, so you'll have to untar 
and
> > > > "make"
> > > > > > > the program in the usual way (having removed the binary 
> package
> > > > > first!),
> > > > > > > and then you should be able to build PIL against that 
without
> > > > > incident.
> > > > > > >
> > > > > > > Let me know how this goes for you, and if you have any 
further
> > > > issues,
> > > > > > > problems or questions, don't hesitate to contact me.
> > > > > > >
> > > > > > > Best Regards,
> > > > > > > Domhnall Walsh.
> > > > > > >
> > > > > > > Oluf Iversen wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > Hi Donald,
> > > > > > > >
> > > > > > > > I managed to install Python 2.4.2 after download from 
> website
> > > > > > > > _http://hpux.cs.utah.edu/hppd/hpux/Languages/python-2.4.2_
> > > > > > > > A number of dependency products had to be installed. They
> > > were all
> > > > > > > > downloaded from the same web site and successfully 
> installed.
> > > > > > > >
> > > > > > > > After that I downloaded Python Imaging Library (PIL) 
1.1.5.
> > > > from the
> > > > > > > > web site you specified
> > > _http://www.pythonware.com/products/pil_. I
> > > > > > > found
> > > > > > > > that SHLIB_PATH had to be set to the location of the "db"
> > > > > software in
> > > > > > > > this case /usr/local/BerkeleyDB.4.4/lib. After correct
> > setup of
> > > > > > > > SHLIB_PATH it turned out that a lot of other dependency
> > > > products had
> > > > > > > > to be installed, which has been carried out successfully.
> > > > > > > >
> > > > > > > > I attach the output form "python setup.py install"
> > > > > > > >
> > > > > > > > I have searched google and HP ITRC forum, were I did find
> > > similiar
> > > > > > > > errors but not exactly the same problem as you will find
> > in the
> > > > > > > > attachment
> > > > > > > >
> > > > > > > > I hope this is detailed enough. If not you, are welcome 
> to ask
> > > > > me for
> > > > > > > > further information.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Regards
> > > > > > > >
> > > > > > > > Oluf
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> > 
> 
----------------------------------------------------------------------------------------
> > > > > > > > This is a PRIVATE message. If you are not the intended
> > > recipient,
> > > > > > > > please delete without copying and kindly advise us by 
e-mail
> > > > of the
> > > > > > > > mistake in delivery. NOTE: Regardless of content, this 
> e-mail
> > > > shall
> > > > > > > > not operate to bind CSC to any order or other contract 
> unless
> > > > > pursuant
> > > > > > > > to explicit written agreement or government initiative
> > expressly
> > > > > > > > permitting the use of e-mail for such purpose.
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> > 
> 
----------------------------------------------------------------------------------------
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >                  *Domhnall Walsh <domhnall.walsh
> > > > > > > > @astech.ie>*
> > > > > > > >
> > > > > > > > 04-04-2006 15:14
> > > > > > > >
> > > > > > > > 
> > > > > > > >         To:        Oluf Iversen/SCA/CSC at CSC
> > > > > > > >         cc: 
> > > > > > > >         Subject:        Python/HP-UX problem...
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Hi Oluf:
> > > > > > > >
> > > > > > > > I've just been in contact with Lavinia, and she informs me
> > that
> > > > > you're
> > > > > > > > having a problem with relation to the scanning system
> > > > > > (Python-related, I
> > > > > > > > believe). If you could send me on details of you 
> problem, I'll
> > > > > look in
> > > > > > > > to it.
> > > > > > > >
> > > > > > > > Best Regards,
> > > > > > > > Domhnall Walsh.
> > > > > > > >
> >
>
>
>------------------------------------------------------------------------
>
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006
> 
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/image-sig/attachments/20060503/245dec5d/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.out
Type: application/octet-stream
Size: 1253 bytes
Desc: not available
Url : http://mail.python.org/pipermail/image-sig/attachments/20060503/245dec5d/attachment-0003.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.out
Type: application/octet-stream
Size: 4474 bytes
Desc: not available
Url : http://mail.python.org/pipermail/image-sig/attachments/20060503/245dec5d/attachment-0004.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.out
Type: application/octet-stream
Size: 17012 bytes
Desc: not available
Url : http://mail.python.org/pipermail/image-sig/attachments/20060503/245dec5d/attachment-0005.obj 


More information about the Image-SIG mailing list