Re: Problem while installing PostgreSQL using make

2024-07-05 Thread Andrew Dunstan
On 2024-07-04 Th 6:22 AM, Mohab Yaser wrote: can you send me a link to download this version on windows as I didn't find anything other than the one I already have downloaded On Thu, Jul 4, 2024 at 1:21 PM Aleksander Alekseev wrote: Hi, > While I was trying to install PostgreSQL f

Re: Problem while installing PostgreSQL using make

2024-07-04 Thread Tom Lane
Daniel Gustafsson writes: > Flex/Bison are only required when building from a Git tree, downloading a > source archive and building from there might be easier to get started. > https://www.postgresql.org/ftp/source/ That's no longer true I think - as of v17 the source tarballs won't contain

Re: Problem while installing PostgreSQL using make

2024-07-04 Thread Alvaro Herrera
On 2024-Jul-04, Mohab Yaser wrote: > can you send me a link to download this version on windows as I didn't find > anything other than the one I already have downloaded Well, https://packages.msys2.org/package/flex has 2.6.4. I don't know what GnuWin32 is, but it looks abandoned. -- Álvaro He

Re: Problem while installing PostgreSQL using make

2024-07-04 Thread Daniel Gustafsson
> On 4 Jul 2024, at 12:34, Aleksander Alekseev wrote: >>> Sorry, I only have Linux and MacOS. Here are the scripts I use [2]. >>> Maybe someone who develops on Windows will answer your questions. >>> However IMO your learning curve will be less steep with a Linux >>> virtual machine. >> >> Flex/

Re: Problem while installing PostgreSQL using make

2024-07-04 Thread Aleksander Alekseev
Hi, >> > Flex/Bison are only required when building from a Git tree, downloading a >> > source archive and building from there might be easier to get started. >> > >> > https://www.postgresql.org/ftp/source/ >> >> It could work but personally I wouldn't recommend this path for >> someone w

Re: Problem while installing PostgreSQL using make

2024-07-04 Thread Aleksander Alekseev
Hi, > > We don't use top posing in this mailing list [1]. > > > > Sorry, I only have Linux and MacOS. Here are the scripts I use [2]. > > Maybe someone who develops on Windows will answer your questions. > > However IMO your learning curve will be less steep with a Linux > > virtual machine. > > F

Re: Problem while installing PostgreSQL using make

2024-07-04 Thread Daniel Gustafsson
> On 4 Jul 2024, at 12:27, Aleksander Alekseev wrote: > > Hi, > >>> Flex 2.5.4 is ancient. Version 2.5.39 was released in 2020 and I >>> didn't look further to figure out the exact release year of 2.5.4 >>> >>> You need something like flex 2.6.4 and bison >= 2.3. That's what I use. >> >> can y

Re: Problem while installing PostgreSQL using make

2024-07-04 Thread Aleksander Alekseev
Hi, >> Flex 2.5.4 is ancient. Version 2.5.39 was released in 2020 and I >> didn't look further to figure out the exact release year of 2.5.4 >> >> You need something like flex 2.6.4 and bison >= 2.3. That's what I use. > > can you send me a link to download this version on windows as I didn't find

Re: Problem while installing PostgreSQL using make

2024-07-04 Thread Mohab Yaser
can you send me a link to download this version on windows as I didn't find anything other than the one I already have downloaded On Thu, Jul 4, 2024 at 1:21 PM Aleksander Alekseev wrote: > Hi, > > > While I was trying to install PostgreSQL from the git repository to > start contributing I faced

Re: Problem while installing PostgreSQL using make

2024-07-04 Thread Aleksander Alekseev
Hi, > While I was trying to install PostgreSQL from the git repository to start > contributing I faced this issue. When I try to type ./configure it gives me > this error > > checking for a thread-safe mkdir -p... /usr/bin/mkdir -p > checking for bison... /c/GnuWin32/bin/bison > configure: using

Re: Problem while installing PostgreSQL using make

2024-07-04 Thread Daniel Gustafsson
> On 4 Jul 2024, at 12:16, Mohab Yaser wrote: > *** Flex version 2.5.35 or later is required, but this is > C:\GnuWin32\bin\flex.exe version 2.5.4. > $ flex --version > C:\GnuWin32\bin\flex.exe version 2.5.4 You have all the information you need right there, your Flex is 31 minor releases too

Problem while installing PostgreSQL using make

2024-07-04 Thread Mohab Yaser
While I was trying to install PostgreSQL from the git repository to start contributing I faced this issue. When I try to type ./configure it gives me this error checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for bison... /c/GnuWin32/bin/bison configure: using bison (GNU Bison) 2