Re: [Rd] undefined type 'struct tms' when compiling for MinGW

2006-04-24 Thread Mike Leahy
you are finding that out the hard way. > > On Mon, 24 Apr 2006, Mike Leahy wrote: > >> >> Prof Brian Ripley wrote: >>> On Mon, 24 Apr 2006, Mike Leahy wrote: >>> >>>> Hello list, >>>> >>>> Out of interest, I've been tryin

Re: [Rd] undefined type 'struct tms' when compiling for MinGW

2006-04-24 Thread Mike Leahy
Prof Brian Ripley wrote: > On Mon, 24 Apr 2006, Mike Leahy wrote: > >> Hello list, >> >> Out of interest, I've been trying to compile R on WinXP with MinGW/MSYS. >> I've been following the instructions for compiling R on windows as >> closely as pos

[Rd] undefined type 'struct tms' when compiling for MinGW

2006-04-23 Thread Mike Leahy
Hello list, Out of interest, I've been trying to compile R on WinXP with MinGW/MSYS. I've been following the instructions for compiling R on windows as closely as possible. Below is my configure statement, which seems to work okay except that no browser or pdf viewer is found, and html docs will

Re: [Rd] Compiling PL/R against R.dll in Win32/MinGW

2006-04-08 Thread Mike Leahy
OK - I did try this with PostgreSQL 8.1.3 and got the same results. To use the CVS HEAD for PostgreSQL, I did have to make a couple changes to get it to compile, but it ends with the same results. Joe Conway wrote: > Mike Leahy wrote: >> Ok...well I've been hacking around with the

Re: [Rd] Compiling PL/R against R.dll in Win32/MinGW

2006-04-07 Thread Mike Leahy
undefined reference to `libpostgres_a_iname' nmth61.o(.idata$4+0x0): undefined reference to `_nm__pkglib_path' nmth64.o(.idata$4+0x0): undefined reference to `_nm__Dynamic_library_path' collect2: ld returned 1 exit status c:\MinGW\bin\dllwrap.exe: c:\MinGW\bin\gcc exited with

[Rd] Compiling PL/R against R.dll in Win32/MinGW

2006-04-07 Thread Mike Leahy
Hello list, I've been trying to get the PostgreSQL PL/R library to compile on windows (http://www.joeconway.com/plr/). The author of this library says the problem is likely because the distributed R.dll isn't compiled as a shared dll. Is this the case? If so, is there any way to compile it such