![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
On Sunday 07 December 2003 12:48 am, Tom Lane wrote: Hmmm ... this is evidently a variant of ye olde "Gen_fmgrtab.sh script failed" problem, So far, this is what I have. I'm attaching fmgroids.h and fmgrtab.c ( I kno= w=20 these are fairly sizable...) |
|
Unfortunately, I am not familiar with the internals of awk and sed. If I=20 were hired to fix this for my platform (Fedora Core 1), I would probably=20 rewrite Gen_fmgrtab.sh in perl. |
|
The only other option I see is to distribute the pre-generated fmgroids.h and fmgrtab.c with the distribution. |
#2
| |||
| |||
|
|
In the absence of any brilliant insight, I'd suggest slogging through Gen_fmgrtab.sh to try to narrow down where functions are getting lost --- add code to save the various intermediate files, and see what's in 'em. If we knew exactly which step was losing the functions it'd be a leg up. |
#3
| |||
| |||
|
|
We could fall back in that direction if we had to. But I'd like to understand why we have to, first. Gen_fmgrtab.sh has worked on all our supported platforms for a long time, and I'm disinclined to assume that it's suddenly broken ... especially on what's presumably a modern platform. I'm having a real problem with the idea that Fedora incorporates a broken awk or sed. |
#4
| |||
| |||
|
|
Unfortunately, in testing the bugger, it accidentally worked. I find this most disturbing. However, I was pleasantly surprised that it failed at least one more time before working properly. |
![]() |
| Thread Tools | |
| Display Modes | |
| |