Re: [ROOT] Error Building Root 3.03/02 Win32

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Feb 27 2002 - 21:38:07 MET


Hi Ed,

My guess is that you are likely the first user of ROOT with Postgressql on
Windows.

I suggest to replace the line in TPgSQLResult.h
#include <sys/time.h>
by
#include <time.h>


Rene Brun


On Wed, 27 Feb 2002, Ed Oltman wrote:

> Hello,
>   I am unable to build debug or release versions of win32 root from the
> sources:
> 
>   I downloaded root_v3.03.02.source.tar.gz to my machine and attempted to
> build
> for Win32 using Visual C++ 6 (sp5) and cygwin (I'm running Windows 2k)
> I did the followinging after untarring:
> 
>    ./configure win32
>   [export ROOTBUILD="debug"] <-- tried w/ and w/out
>    make
> 
> Here's the last bit of output:
> 
> 
> 
>    Creating library lib/libRGL.lib and object lib/libRGL.exp
> build/win/ld.sh -DLL -nologo -incremental:no -debug -pdb:none -nodefaultlib:
> libc
> .lib -nodefaultlib:dfor.lib -o bin/libRGL.dll gl/src/TGLKernel.o
> gl/src/TWin32GL
> Kernel.o gl/src/TWin32GLViewerImp.o lib/libRGL.exp lib/libGraf3d.lib
> lib/libWin3
> 2.lib Glu32.lib Opengl32.lib lib/libCore.lib lib/libCint.lib msvcrt.lib
> oldnames
> .lib kernel32.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib
> winspool.lib co
> mctl32.lib
> ==> lib/libRGL.dll done
> build/win/cxx.sh -Z7 -G5 -GR -MD -DWIN32 -D_WINDOWS -DWINVER=0x0400 -nologo 
> -DCR
> TAPI1=_cdecl -DCRTAPI2=_cdecl -D_X86_=1 -D_DLL -DVISUAL_CPLUSPLUS -Iinclude 
>  -I/
> usr/include/postgresql -o pgsql/src/TPgSQLResult.o -c
> pgsql/src/TPgSQLResult.cxx
> 
> TPgSQLResult.cxx
> include\TPgSQLResult.h(20) : fatal error C1083: Cannot open include file:
> 'sys/t
> ime.h': No such file or directory
> make: *** [pgsql/src/TPgSQLResult.o] Error 2
> 
> Any idea what I might be doing wrong?
> 
> Ed
> 
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:43 MET