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

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Thu Feb 28 2002 - 18:19:25 MET


Hi Ed,

  try for the time being:

   ./configure win32 --disable-pgsql

Cheers, Fons.



On Wed, 2002-02-27 at 21:38, Rene Brun wrote:
> 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
> > 
> > 
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



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