#3603 closed defect (fixed)
Trunk does not compile on Mac
Reported by: | cmbarton | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | Default | Version: | svn-trunk |
Keywords: | calc, nviz | Cc: | |
CPU: | Unspecified | Platform: | MacOSX |
Description
I have not been able to compile GRASS trunk since last week. I did a fresh checkout this morning to try it again with r72966. There are errors in:
/lib/nviz (new this morning) /lib/calc (as was the case last week) /misc/m.nviz.image (does not make because /lib/nviz does not make)
I am attaching the error output for both items. We can split ticket if needed.
Attachments (2)
Change History (13)
by , 6 years ago
Attachment: | nviz_error.txt added |
---|
follow-up: 4 comment:2 by , 6 years ago
Replying to cmbarton:
I have not been able to compile GRASS trunk since last week. I did a fresh checkout this morning to try it again with r72966. There are errors in:
/lib/nviz (new this morning) /lib/calc (as was the case last week)
do you have
extern func_t f_ceil; extern func_t f_floor;
in
Applications/GRASS-7.5.app/Contents/Resources/include/defs/calc.h
and also in
Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin17.6.0/include/grass/defs/calc.h
?
/misc/m.nviz.image (does not make because /lib/nviz does not make)
I am attaching the error output for both items. We can split ticket if needed.
follow-up: 5 comment:3 by , 6 years ago
follow-up: 6 comment:4 by , 6 years ago
Replying to mmetz:
Replying to cmbarton:
I have not been able to compile GRASS trunk since last week. I did a fresh checkout this morning to try it again with r72966. There are errors in:
/lib/nviz (new this morning) /lib/calc (as was the case last week)
do you have
extern func_t f_ceil; extern func_t f_floor;in
Applications/GRASS-7.5.app/Contents/Resources/include/defs/calc.h
and also in
Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin17.6.0/include/grass/defs/calc.h
?
Yes to both questions
/misc/m.nviz.image (does not make because /lib/nviz does not make)
I am attaching the error output for both items. We can split ticket if needed.
comment:5 by , 6 years ago
follow-up: 7 comment:6 by , 6 years ago
Replying to cmbarton:
Replying to mmetz:
Replying to cmbarton:
I have not been able to compile GRASS trunk since last week. I did a fresh checkout this morning to try it again with r72966. There are errors in:
/lib/nviz (new this morning) /lib/calc (as was the case last week)
do you have
extern func_t f_ceil; extern func_t f_floor;in
Applications/GRASS-7.5.app/Contents/Resources/include/defs/calc.h
and also in
Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin17.6.0/include/grass/defs/calc.h
?
Yes to both questions
This is not possible. The error message suggests:
/Applications/GRASS-7.5.app/Contents/Resources/include/grass/defs/calc.h:63:15: note: 'f_float' declared here extern func_t f_float;
but f_float is now in line 65, two lines further down, because the two new functions f_ceil and f_floor have been added. That means
/Applications/GRASS-7.5.app/Contents/Resources/include/grass/defs/calc.h
is not up to date.
Why is
Applications/GRASS-7.5.app/Contents/Resources/include
included at all? The location of GRASS includes at compile time should be
Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin17.6.0/include
without alternative locations.
follow-up: 8 comment:7 by , 6 years ago
Replying to mmetz:
Replying to cmbarton:
Replying to mmetz:
Replying to cmbarton:
I have not been able to compile GRASS trunk since last week. I did a fresh checkout this morning to try it again with r72966. There are errors in:
/lib/nviz (new this morning) /lib/calc (as was the case last week)
do you have
extern func_t f_ceil; extern func_t f_floor;in
Applications/GRASS-7.5.app/Contents/Resources/include/defs/calc.h
I do NOT have anything in Applications/GRASS-7.5.app/Contents/Resources/include/defs/ because source won't compile
and also in
Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin17.6.0/include/grass/defs/calc.h
I do have it here
?
Yes to both questions
This is not possible. The error message suggests:
/Applications/GRASS-7.5.app/Contents/Resources/include/grass/defs/calc.h:63:15: note: 'f_float' declared here extern func_t f_float;but f_float is now in line 65, two lines further down, because the two new functions f_ceil and f_floor have been added. That means
/Applications/GRASS-7.5.app/Contents/Resources/include/grass/defs/calc.his not up to date.
Why is
Applications/GRASS-7.5.app/Contents/Resources/includeincluded at all? The location of GRASS includes at compile time should be
Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin17.6.0/includewithout alternative locations.
comment:8 by , 6 years ago
Replying to cmbarton:
I do NOT have anything in Applications/GRASS-7.5.app/Contents/Resources/include/defs/ because source won't compile
citing from calc_error.txt posted by yourself:
/Applications/GRASS-7.5.app/Contents/Resources/include/grass/defs/calc.h:63:15: note: 'f_float' declared here
follow-up: 11 comment:9 by , 6 years ago
That's the install path, but I have not been able to do a make install. I will delete the app and try again.
comment:10 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Figure it out. Somehow make was finding the old version in the install path. Deleting the app made it compile without errors. Thanks.
comment:11 by , 6 years ago
Replying to cmbarton:
That's the install path, but I have not been able to do a make install. I will delete the app and try again.
Why is the install path
Applications/GRASS-7.5.app/Contents/Resources/include
included at all? The location of GRASS includes at compile time should be
Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin17.6.0/include
without alternative locations.
This path
Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin17.6.0/include
can be outdated, please also double-check
Users/cmbarton/grass_source/trunk/include
nviz compile error