मैं चल रहा हूँ इस पर msys2 64 बिट MINGW65 खोल ।
मैं भागा
$source/configure --host=x86_64-w64-mingw32 --prefix=$dist && make
और जब तक सब कुछ को बनाने के लिए ठीक से चलता है. के बाद हो रही है बनाने के मुद्दे और साथ टिंकर करने के लिए इस मुद्दे को हाजिर मैं चल रहा रखने के लिए बनाने के लिए एक ही मुद्दे के नीचे.
फिर जब मैं रन बनाने के लिए फ़ोल्डर पर.
यह चल रहा है ठीक है जब तक यह हिट इस भाग
make[2]: Leaving directory '/c/builds/build/REL_11_8/src/backend/utils'
make -C storage/lmgr lwlocknames.h lwlocknames.c
make[2]: Entering directory '/c/builds/build/REL_11_8/src/backend/storage/lmgr'
'/usr/bin/perl' /c/builds/source/src/backend/storage/lmgr/generate-lwlocknames.pl
/c/builds/source/src/backend/storage/lmgr/lwlocknames.txt
unable to parse lwlocknames.txt at /c/builds/source/src/backend/storage/lmgr/generate-
lwlocknames.pl line 36, <$lwlocknames> line 8.
make[2]: *** [Makefile:33: lwlocknames.h] Error 255
make[2]: Leaving directory '/c/builds/build/REL_11_8/src/backend/storage/lmgr'
make[1]: *** [Makefile:137: storage/lmgr/lwlocknames.h] Error 2
make[1]: Leaving directory '/c/builds/build/REL_11_8/src/backend'
make: *** [src/Makefile.global:372: submake-generated-headers] Error 2
में generate-lwlocknames.pl
वहाँ निम्नलिखित है लाइन है कि यह स्पष्ट रूप से यह ट्रिगर. लेकिन मुझे पता नहीं क्यों यह यह ट्रिगर या कैसे इसे ठीक करने के लिए.
मैं करने की जरूरत है इस संकलन के निर्माण में सक्षम होने के लिए आदेश प्राप्त करने के लिए dll फ़ाइलें के लिए एक एक्सटेंशन के लिए windows मशीन है कि चल रहा है postgres.
while (<$lwlocknames>)
{
chomp;
# Skip comments
next if /^#/;
next if /^\s*$/;
die "unable to parse lwlocknames.txt"
unless /^(\w+)\s+(\d+)$/;
(my $lockname, my $lockidx) = ($1, $2);
die "lwlocknames.txt not in order" if $lockidx < $lastlockidx;
die "lwlocknames.txt has duplicates" if $lockidx == $lastlockidx;
while ($lastlockidx < $lockidx - 1)
{
++$lastlockidx;
printf $c "%s \"<unassigned:%d>\"", $continue, $lastlockidx;
$continue = ",\n";
}
printf $c "%s \"%s\"", $continue, $lockname;
$lastlockidx = $lockidx;
$continue = ",\n";
print $h "#define $lockname (&MainLWLockArray[$lockidx].lock)\n";
}