Ticket #13731 (closed defect: fixed)
Mzscheme update from 360_1 to 371_1 fails due to error in include directory order
| Reported by: | jabial@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | Cc: | mcalhoun@…, jmr@… | |
| Port: | mzscheme |
Description
For an unknown reason (no time to check) the generated makefiles put -I/usr/local/include before the local include dirs in CFLAGS.
That causes no problem if you have no previous version of mzscheme installed, but if you do, then the old include files, with some missing types, get included instead of the new ones. This leads to parse errors, and the compilation fails.
The problem may be bypassed by editing all makefiles by hand after the config stage, or by simply uninstalling the old version before installing the new one.
The best solution would be to do whatever needs to be done so the CFLAGS are in the correct order.
Change History
Note: See
TracTickets for help on using
tickets.

