Обсуждение: meson vs Cygwin

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

meson vs Cygwin

От
Andrew Dunstan
Дата:
I've been trying to get meson working with Cygwin. On a fresh install 
(Cygwin 3.4.9, gcc 11.4.0, meson 1.0.2, ninja 1.11.1) I get a bunch of 
errors like this:

ERROR:  incompatible library 
"/home/andrew/bf/buildroot/HEAD/pgsql.build/tmp_install/home/andrew/bf/buildroot/HEAD/inst/lib/postgresql/plperl.dll":

missing magic block

Similar things happen if I try to build with python.

I'm not getting the same on a configure/make build. Not sure what would 
be different.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com




Re: meson vs Cygwin

От
Marco Atzeri
Дата:
On 22/11/2023 13:02, Andrew Dunstan wrote:
> 
> I've been trying to get meson working with Cygwin. On a fresh install 
> (Cygwin 3.4.9, gcc 11.4.0, meson 1.0.2, ninja 1.11.1) I get a bunch of 
> errors like this:
> 
> ERROR:  incompatible library 
>
"/home/andrew/bf/buildroot/HEAD/pgsql.build/tmp_install/home/andrew/bf/buildroot/HEAD/inst/lib/postgresql/plperl.dll":
missingmagic block
 
> 
> Similar things happen if I try to build with python.
> 
> I'm not getting the same on a configure/make build. Not sure what would 
> be different.
> 
> 
> cheers
> 
> 
> andrew
> 

Hi Andrew,
sorry for jumping on this request so late

how are you configuring the build ?

Marco Atzeri
Postgresql package manager for Cygwin






Re: meson vs Cygwin

От
Andrew Dunstan
Дата:
On 2024-02-13 Tu 7:00 AM, Marco Atzeri wrote:
> On 22/11/2023 13:02, Andrew Dunstan wrote:
>>
>> I've been trying to get meson working with Cygwin. On a fresh install 
>> (Cygwin 3.4.9, gcc 11.4.0, meson 1.0.2, ninja 1.11.1) I get a bunch 
>> of errors like this:
>>
>> ERROR:  incompatible library 
>>
"/home/andrew/bf/buildroot/HEAD/pgsql.build/tmp_install/home/andrew/bf/buildroot/HEAD/inst/lib/postgresql/plperl.dll":
 
>> missing magic block
>>
>> Similar things happen if I try to build with python.
>>
>> I'm not getting the same on a configure/make build. Not sure what 
>> would be different.
>>
>>
>> cheers
>>
>>
>> andrew
>>
>
> Hi Andrew,
> sorry for jumping on this request so late
>
> how are you configuring the build ?
>
>

Sorry for not replying in turn :-(

I just got this error again. All I did was:

     meson setup build .

     meson compile -C build

     meson test -C build


I don't get the error if I build using

     ./configure --with-perl --with-python

     make world-bin

     make check-world


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com