Hi!

I am using the latest version of HDF5 - 1.8.1. I guess I should compile it with 
Visual Studio 2003 then, right? I got the following message:

* Found numpy 1.1.0 package installed.
* Found HDF5 headers at ``C:\tables-SVN\trunk\HDF5\include``, library at ``C:\t
bles-SVN\trunk\HDF5\dll``.
dll_file hdf5dll.dll C: ables-SVN       runk\HDF5\lib
* Could not find LZO 2 headers and library; disabling support for it.
* Could not find LZO 1 headers and library; disabling support for it.
* Could not find bzip2 headers and library; disabling support for it.
running build_ext
No module named msvccompiler in numpy.distutils; trying from distutils
error: Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin installed,
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.

Thanks for your reply!

Cheers, Dragan.





--- On Tue, 6/24/08, Francesc Alted <[EMAIL PROTECTED]> wrote:

> From: Francesc Alted <[EMAIL PROTECTED]>
> Subject: [Pytables-users] Fwd: Re:  instaling svn pytables version
> To: [email protected]
> Date: Tuesday, June 24, 2008, 10:22 AM
> Due to a mistake, I've sent this answer to the mail
> author only.  I'm 
> sending this to list for the records.
> 
> 
> ----------  Missatge transmès  ----------
> 
> Subject: Re: [Pytables-users] instaling svn pytables
> version
> Date: Friday 20 June 2008
> From: Francesc Alted <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> 
> A Friday 20 June 2008, dragan savic escrigué:
> > Hi!
> >
> > I am trying to install PyTables from the svn server on
> WinXP.
> > I am using python 2.5.1 and MinGW compiler. Here is
> what I get during
> > the install. Can anybody help me? Is there any other
> easier way to
> > have a latest SVN version of PyTables on my system?
> >
> > compile options: '-DNDEBUG=1 -DWIN32=1
> -D_HDF5USEDLL_=1
> > -IC:\Python25\lib\site-p
> ackages\numpy\core\include
> > -IC:\tables-SVN\trunk\HDF5\include
> -IC:\Python25\incl ude
> > -IC:\Python25\PC -c'
> > extra options: '-DH5_USE_16_API'
> > gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes
> -DNDEBUG=1 -DWIN32=1
> > -D_HDF5USEDLL _=1
> -IC:\Python25\lib\site-packages\numpy\core\include
> > -IC:\tables-SVN\trunk\HDF 5\include
> -IC:\Python25\include
> > -IC:\Python25\PC -c src/utils.c -o
> build\temp.wi
> > n32-2.5\Release\src\utils.o
> -DH5_USE_16_API
> > Found executable C:\MinGW\bin\gcc.exe
> > In file included from
> C:/tables-SVN/trunk/HDF5/include/H5public.h:31,
> >                  from
> C:/tables-SVN/trunk/HDF5/include/hdf5.h:24,
> >                  from src/utils.h:3,
> >                  from src/utils.c:2:
> > C:/tables-SVN/trunk/HDF5/include/H5pubconf.h:203:38:
> warning: no
> > newline at end of file
> > In file included from
> C:/tables-SVN/trunk/HDF5/include/hdf5.h:24,
> >                  from src/utils.h:3,
> >                  from src/utils.c:2:
> > C:/tables-SVN/trunk/HDF5/include/H5public.h:136:
> error: conflicting
> > types for 's size_t'
> >
> C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/types.h
> >:104: error
> >
> > : previous declaration of 'ssize_t' was here
> >
> >
> C:/Python25/lib/site-packages/numpy/core/include/numpy/__multiarray_a
> >pi.h:959: w arning: '_import_array' defined but
> not used
> > error: Command "gcc -mno-cygwin -O2 -Wall
> -Wstrict-prototypes
> > -DNDEBUG=1 -DWIN32 =1 -D_HDF5USEDLL_=1
> >
> -IC:\Python25\lib\site-packages\numpy\core\include
> -IC:\tabl
> > es-SVN\trunk\HDF5\include
> -IC:\Python25\include -IC:\Python25\PC -c
> > src/utils.c -o
> build\temp.win32-2.5\Release\src\utils.o
> > -DH5_USE_16_API" failed with exit st atus 1
> 
> Mmm, this rather seems a problem with compiling HDF5 with
> MinGW, not 
> PyTables.  I remember to have tried this before too, with
> no luck.  I 
> also remember that I asked the HDF crew to support MinGW on
> Windows, 
> but I don't think they have addressed this issue. 
> Which version of 
> HDF5 are you trying out?  Perhaps using HDF5 1.8.1 (the
> latest) you can 
> have better luck.
> 
> Keep me informed on your progress, as I'm quite
> interested in being able 
> to have a version of PyTables that compiles with MinGW.
> 
> Cheers,
> 
> -- 
> Francesc Alted
> Freelance developer
> Tel +34-964-282-249
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Pytables-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pytables-users


      

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Pytables-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to