[HACKERS] Compiling Win32
I have started playing with the pre7.4 code to see if I can compile a win32 version with PostGIS support. So far, finding it a little hard. Is there a wee guide to compiling 7.4 native win32 around? Thanks, Paul -- __ / | Paul Ramsey | Refractions Research | Email: [EMAIL PROTECTED] | Phone: (250) 885-0632 \_ ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster
Re: [HACKERS] Compiling Win32
No, we are not there yet, but you can download Mingw and Msys to get started. --- Paul Ramsey wrote: > I have started playing with the pre7.4 code to see if I can compile a > win32 version with PostGIS support. So far, finding it a little hard. Is > there a wee guide to compiling 7.4 native win32 around? > Thanks, > Paul > > -- >__ > / > | Paul Ramsey > | Refractions Research > | Email: [EMAIL PROTECTED] > | Phone: (250) 885-0632 > \_ > > > ---(end of broadcast)--- > TIP 4: Don't 'kill -9' the postmaster > -- Bruce Momjian| http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup.| Newtown Square, Pennsylvania 19073 ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match
Re: [HACKERS] Compiling Win32
Yep, have done that... Configure even runs right through, but nothing after that. :/ P. Bruce Momjian wrote: No, we are not there yet, but you can download Mingw and Msys to get started. --- Paul Ramsey wrote: I have started playing with the pre7.4 code to see if I can compile a win32 version with PostGIS support. So far, finding it a little hard. Is there a wee guide to compiling 7.4 native win32 around? Thanks, Paul ---(end of broadcast)--- TIP 8: explain analyze is your friend
Re: [HACKERS] Compiling Win32
You should be able to compile, but not link the backend. --- Paul Ramsey wrote: > Yep, have done that... > Configure even runs right through, but nothing after that. :/ > P. > > Bruce Momjian wrote: > > No, we are not there yet, but you can download Mingw and Msys to get > > started. > > > > --- > > > > Paul Ramsey wrote: > > > >>I have started playing with the pre7.4 code to see if I can compile a > >>win32 version with PostGIS support. So far, finding it a little hard. Is > >>there a wee guide to compiling 7.4 native win32 around? > >>Thanks, > >>Paul > >> > > > > -- Bruce Momjian| http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup.| Newtown Square, Pennsylvania 19073 ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])
Re: [HACKERS] Compiling Win32
- Original Message - From: "Bruce Momjian" <[EMAIL PROTECTED]> To: "Paul Ramsey" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, June 14, 2003 1:02 AM Subject: Re: [HACKERS] Compiling Win32 > > You should be able to compile, but not link the backend. > But it does not ! At least not with current snapshot. src/Makefile.global:276: src/Makefile.port: No such file or directory make: *** No rule to make target `src/Makefile.port'. Stop. I can see the line: config.status: linking ./src/makefiles/Makefile.win32 to src/Makefile.port when running configure, but Makefile.port is not created ! I'll try to figure out what hapened (Maybe I am doing something wrong). Also I would like to know does it have any sense to try it to compile it now, or we are waiting some big patch from someone. Maybe I can help in some part ? (have Win2000) Regards ! ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly
Re: [HACKERS] Compiling Win32
I have not tested the Win32 compile in a few weeks, so it is possible it is broken at this point. It will not run because we need exec() handling that Jan is working on, and signal stuff. --- Darko Prenosil wrote: > > - Original Message - > From: "Bruce Momjian" <[EMAIL PROTECTED]> > To: "Paul Ramsey" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Saturday, June 14, 2003 1:02 AM > Subject: Re: [HACKERS] Compiling Win32 > > > > > > You should be able to compile, but not link the backend. > > > > But it does not ! At least not with current snapshot. > > src/Makefile.global:276: src/Makefile.port: No such file or directory > make: *** No rule to make target `src/Makefile.port'. Stop. > > I can see the line: > > config.status: linking ./src/makefiles/Makefile.win32 to > src/Makefile.port > > when running configure, but Makefile.port is not created ! > I'll try to figure out what hapened (Maybe I am doing something wrong). > Also I would like to know does it have any sense to try it to compile it > now, or we are waiting some big patch from someone. Maybe I can help in some > part ? (have Win2000) > > Regards ! > > -- Bruce Momjian| http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup.| Newtown Square, Pennsylvania 19073 ---(end of broadcast)--- TIP 8: explain analyze is your friend
Re: [HACKERS] Compiling Win32
Hi Jan, Do you have an ETA for this? :-) Regards and best wishes, Justin Clift Bruce Momjian wrote: I have not tested the Win32 compile in a few weeks, so it is possible it is broken at this point. It will not run because we need exec() handling that Jan is working on, and signal stuff. ---(end of broadcast)--- TIP 8: explain analyze is your friend
Re: [HACKERS] Compiling Win32
Justin Clift wrote: > Hi Jan, > > Do you have an ETA for this? I was going to report the Win32 status this week. As you know, I had to leave Win32 to catch up on email. The two big items left are exec() handlling and signals. If I can get those in by July 1, I can continue cleanup during beta and perhaps have a patch that people can test for Win32 later in the summer. -- Bruce Momjian| http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup.| Newtown Square, Pennsylvania 19073 ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])
Fw: [HACKERS] Compiling Win32
- Original Message - From: "Darko Prenosil" <[EMAIL PROTECTED]> To: "Bruce Momjian" <[EMAIL PROTECTED]>; "Paul Ramsey" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, June 13, 2003 5:12 PM Subject: Re: [HACKERS] Compiling Win32 > > - Original Message - > From: "Bruce Momjian" <[EMAIL PROTECTED]> > To: "Paul Ramsey" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Saturday, June 14, 2003 1:02 AM > Subject: Re: [HACKERS] Compiling Win32 > > > > > > You should be able to compile, but not link the backend. > > > > But it does not ! At least not with current snapshot. > > src/Makefile.global:276: src/Makefile.port: No such file or directory > make: *** No rule to make target `src/Makefile.port'. Stop. > > I can see the line: > > config.status: linking ./src/makefiles/Makefile.win32 to > src/Makefile.port > > when running configure, but Makefile.port is not created ! > I'll try to figure out what hapened (Maybe I am doing something wrong). > Also I would like to know does it have any sense to try it to compile it > now, or we are waiting some big patch from someone. Maybe I can help in some > part ? (have Win2000) > > Regards ! > Ok, here is what hapened : I have cygwin in the path !!! In the config log I found whole bunch of links to cygwin including gcc. I'll try to remove it and do the whole thing again. Regards ! ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
Re: [HACKERS] Compiling Win32
Bruce Momjian wrote: > Justin Clift wrote: Hi Jan, Do you have an ETA for this? I was going to report the Win32 status this week. As you know, I had to leave Win32 to catch up on email. The two big items left are exec() handlling and signals. If I can get those in by July 1, I can continue cleanup during beta and perhaps have a patch that people can test for Win32 later in the summer. Ok, how does that leave our status for the next release of PostgreSQL? :-) Regards and best wishes, Justin Clift ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org
Re: [HACKERS] Compiling Win32
Justin Clift wrote: > Bruce Momjian wrote: > > > > Justin Clift wrote: > > > >>Hi Jan, > >> > >>Do you have an ETA for this? > > > > I was going to report the Win32 status this week. As you know, I had to > > leave Win32 to catch up on email. The two big items left are exec() > > handlling and signals. If I can get those in by July 1, I can continue > > cleanup during beta and perhaps have a patch that people can test for > > Win32 later in the summer. > > Ok, how does that leave our status for the next release of PostgreSQL? Wish I knew --- I am realizing that I have trouble doing major development and keeping up with patches/email. -- Bruce Momjian| http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup.| Newtown Square, Pennsylvania 19073 ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match
Re: [HACKERS] Compiling Win32
Bruce Momjian wrote: > Justin Clift wrote: Bruce Momjian wrote: > Justin Clift wrote: Hi Jan, Do you have an ETA for this? I was going to report the Win32 status this week. As you know, I had to leave Win32 to catch up on email. The two big items left are exec() handlling and signals. If I can get those in by July 1, I can continue cleanup during beta and perhaps have a patch that people can test for Win32 later in the summer. Ok, how does that leave our status for the next release of PostgreSQL? Wish I knew --- I am realizing that I have trouble doing major development and keeping up with patches/email. Heh Heh Heh That's what it was like when I started doing the Techdocs site. Had to shelve my plans for doing coding, purely because 16 hours a days still didn't leave any time for it. :( Worth looking into delegating some of your workload? Regards and best wishes, Justin Clift ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html
Re: [HACKERS] Compiling Win32
Justin Clift wrote: > >>>I was going to report the Win32 status this week. As you know, I had to > >>>leave Win32 to catch up on email. The two big items left are exec() > >>>handlling and signals. If I can get those in by July 1, I can continue > >>>cleanup during beta and perhaps have a patch that people can test for > >>>Win32 later in the summer. > >> > >>Ok, how does that leave our status for the next release of PostgreSQL? > > > > > > Wish I knew --- I am realizing that I have trouble doing major > > development and keeping up with patches/email. > > Heh Heh Heh > > That's what it was like when I started doing the Techdocs site. Had to > shelve my plans for doing coding, purely because 16 hours a days still > didn't leave any time for it. > > :( > > Worth looking into delegating some of your workload? The problem is that all the hard stuff is left. Does someone want to try exec() and signal handling for Win32? -- Bruce Momjian| http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup.| Newtown Square, Pennsylvania 19073 ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org
Fw: [HACKERS] Compiling Win32
- Original Message - From: "Darko Prenosil" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 13, 2003 5:43 PM Subject: Fw: [HACKERS] Compiling Win32 > > - Original Message - > From: "Darko Prenosil" <[EMAIL PROTECTED]> > To: "Bruce Momjian" <[EMAIL PROTECTED]>; "Paul Ramsey" > <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Friday, June 13, 2003 5:12 PM > Subject: Re: [HACKERS] Compiling Win32 > > > > > > - Original Message - > > From: "Bruce Momjian" <[EMAIL PROTECTED]> > > To: "Paul Ramsey" <[EMAIL PROTECTED]> > > Cc: <[EMAIL PROTECTED]> > > Sent: Saturday, June 14, 2003 1:02 AM > > Subject: Re: [HACKERS] Compiling Win32 > > > > > > > > > > You should be able to compile, but not link the backend. > > > > > > > But it does not ! At least not with current snapshot. > > > > src/Makefile.global:276: src/Makefile.port: No such file or directory > > make: *** No rule to make target `src/Makefile.port'. Stop. > > > > I can see the line: > > > > config.status: linking ./src/makefiles/Makefile.win32 to > > src/Makefile.port > > > > when running configure, but Makefile.port is not created ! > > I'll try to figure out what hapened (Maybe I am doing something wrong). > > Also I would like to know does it have any sense to try it to compile it > > now, or we are waiting some big patch from someone. Maybe I can help in > some > > part ? (have Win2000) > > > > Regards ! > > > > Ok, here is what hapened : I have cygwin in the path !!! In the config log I > found whole bunch of links to cygwin including gcc. > I'll try to remove it and do the whole thing again. > > Regards ! > I removed the cygwin from path, but it does not help ! It looks like "ac_config_links" does not work with win2000 (MinGW-2.0.0.3), because none of the : src/backend/port/dynloader.c src/backend/port/pg_sema.c src/backend/port/pg_shmem.c src/include/dynloader.h src/include/pg_config_os.h src/Makefile.port are not created(linked) Acording to autoconf manual ac_config_links: "Makes a symbolic link if possible, otherwise a hard link." After manualy linking files with : ln src/makefiles/Makefile.win32 src/Makefile.port ln src/backend/port/dynloader/win32.c src/backend/port/dynloader.c ln src/backend/port/dynloader/win32.h src/include/dynloader.h ln src/include/port/win32.h src/include/pg_config_os.h ln src/backend/port/sysv_sema.c src/backend/port/pg_sema.c ln src/backend/port/sysv_shmem.c src/backend/port/pg_shmem.c it compiles ! I asume that this is not error in postgresql makefiles, but some problem with minGW. I'll try to figure it out, maybe question to minGW list would help. Regards ! ---(end of broadcast)--- TIP 8: explain analyze is your friend