#16554 closed defect (fixed)
Gnucash 2.2.5_1 does not build due to typos in gnc-module.c and gnc-exp-parser.c
Reported by: | pgijnxn02@… | Owned by: | mf2k (Frank Schima) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | build, typo | Cc: | jmroot (Joshua Root) |
Port: | gnucash |
Description
An extra < at the top of the files prevents gnucash from building.
error: <guile16/gh.h: No such file or directory
Removing the extra < resulted in success. Unfortunately I didn't think to capture a diff for you.
Attachments (2)
Change History (10)
comment:1 Changed 16 years ago by jmroot (Joshua Root)
Cc: | jmr@… added |
---|
comment:2 follow-up: 3 Changed 16 years ago by pgijnxn02@…
My Portfile line 66: reinplace "s|\\<guile\\/|\<guile16\\/|g" ${src_file}
I see that there are two
before <guile and only one \ before <guile16. Would that do it?
I don't have local modifications. What other information would be useful?
comment:3 Changed 16 years ago by pgijnxn02@…
This remains true in 2.2.7_1. gnc-module.c and gnc-exp-parser.c won't build until I modify the <guile16/gh.h line in each. After that, they're fine.
Changed 16 years ago by illogical1@…
Attachment: | gnucash-Portfile.diff added |
---|
diff against gnucash portfile with proposed fix
Changed 16 years ago by illogical1@…
Actual portfile so user can test if Portfile works
comment:4 Changed 16 years ago by pgijnxn02@…
Great, thanks!
Unfortunately I can't test this at the moment because it's not building for other reasons: the dependency gnome-desktop needs xrandr 1.2, which I don't seem to have, so it doesn't build.
...unless you know of a way to update my version of xrandr? I have Tiger 10.4.11 on PPC. But we're getting a bit off-topic now, aren't we? :)
comment:5 Changed 16 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to macsforever2000@… |
---|---|
Status: | new → assigned |
comment:6 Changed 16 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Committed revision r40485. Strangely it always worked for me without the patch, but adding this patch does not hurt anything for me. Thanks!
I can't reproduce this. If there's a problem, it would be in the reinplace on line 66 of the Portfile. You don't have any local modifications? Can you tweak the reinplace expression to get it to work?