Обсуждение: CVS can't be built on mingw

Поиск
Список
Период
Сортировка

CVS can't be built on mingw

От
"Jaime Casanova"
Дата:
Hi,

IIRC, ^M is the EOL character on windows. latest cvs failed to compile
in my mingw env because src/backend/utils/Gen_dummy_probes.sed had
that character, i had to manually remove it to continue.

Besides, http://archives.postgresql.org/pgsql-committers/2008-11/msg00175.php
added the need of having perl to build on mingw. That wasn't the case
before, maybe we need a warning in the configure just as we do now
with bison and flex?

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157


Re: CVS can't be built on mingw

От
Andrew Dunstan
Дата:

Jaime Casanova wrote:
> Hi,
>
> IIRC, ^M is the EOL character on windows. latest cvs failed to compile
> in my mingw env because src/backend/utils/Gen_dummy_probes.sed had
> that character, i had to manually remove it to continue.
>
> Besides, http://archives.postgresql.org/pgsql-committers/2008-11/msg00175.php
> added the need of having perl to build on mingw. That wasn't the case
> before, maybe we need a warning in the configure just as we do now
> with bison and flex?
>
>   
If there is a ^M in that file then your cvs program probably put it 
there. It is not present in my copy on mingw. Which cvs program are you 
using?

(EOL in text files on Windows is ^M^J in fact, not ^M alone.)

Perl has been required for a long time to build from CVS. It is used to 
build psql help. This is not a new requirement.

cheers

andrew




Re: CVS can't be built on mingw

От
Tom Lane
Дата:
"Jaime Casanova" <jcasanov@systemguards.com.ec> writes:
> IIRC, ^M is the EOL character on windows. latest cvs failed to compile
> in my mingw env because src/backend/utils/Gen_dummy_probes.sed had
> that character, i had to manually remove it to continue.

There's no such character in my copy.

> Besides, http://archives.postgresql.org/pgsql-committers/2008-11/msg00175.php
> added the need of having perl to build on mingw.

No, you needed perl long before now.  Look at psql's sql_help.h.
        regards, tom lane


Re: CVS can't be built on mingw

От
"Jaime Casanova"
Дата:
On Sun, Nov 16, 2008 at 9:52 AM, Andrew Dunstan <andrew@dunslane.net> wrote:
>
> If there is a ^M in that file then your cvs program probably put it there.
> It is not present in my copy on mingw. Which cvs program are you using?
>
> (EOL in text files on Windows is ^M^J in fact, not ^M alone.)
>

ok, i will look at my cvs program... but, i think i have used it
before without such a problem... but given that i reinstalled mingw +
msys some days ago i'm not so sure...

> Perl has been required for a long time to build from CVS. It is used to
> build psql help. This is not a new requirement.
>

well, i haven't had perl on windows from several years and i have been
building postgres for testing since last month and this is the first
time i got this error. Maybe psql's sql_help.h is not mandatory to the
building process?

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157