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
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to