Issue313

Title Included version of validate doesn't build on Mac OS
Priority wish Status resolved
Superseder Nosy List malte, rpgoldman
Assigned To malte Keywords
Optional summary

Created on 2012-01-05.18:03:37 by rpgoldman, last changed by malte.

Files
File name Uploaded Type Edit Remove
dynamic-linking-for-macosx.patch rpgoldman, 2012-01-05.20:23:11 application/octet-stream
re-patch-for-osx.patch rpgoldman, 2012-01-05.22:47:15 application/octet-stream
Messages
msg2026 (view) Author: rpgoldman Date: 2012-01-05.23:50:55
Thanks, yes, that did it.
msg2025 (view) Author: malte Date: 2012-01-05.23:31:12
I think the only part that was missing was setting "OS = auto" (the
search/preprocessor Makefiles have that somewhere close to the top).
Should work now.
msg2024 (view) Author: rpgoldman Date: 2012-01-05.22:47:15
That didn't quite work --- the OS detection block at the head was garbled (maybe I 
copied it wrong).  See the attached re-patch, which works for me.
msg2023 (view) Author: malte Date: 2012-01-05.21:51:47
Merged (with some small changes, so let me know if it doesn't work).
Thanks!
msg2022 (view) Author: rpgoldman Date: 2012-01-05.20:23:11
I believe that the attached patch (which I copied out of the same approach for 
preprocess) will do the trick.
msg2021 (view) Author: malte Date: 2012-01-05.18:28:32
OK. For reasons that would take a while to explain, it would be good to preserve
static linking as a default on Linux machines, so I'd suggest using conditional
compilation based on the target platform, like with the preprocessor and search
code. Would you be willing to work on a patch?
msg2020 (view) Author: rpgoldman Date: 2012-01-05.18:26:04
Yes, that does it, as far as I can tell.
msg2019 (view) Author: malte Date: 2012-01-05.18:11:49
Does removing the
    -static -static-libgcc
options for the VAL Makefile fix things?
msg2018 (view) Author: rpgoldman Date: 2012-01-05.18:08:02
Forgot to add Malte...
msg2017 (view) Author: rpgoldman Date: 2012-01-05.18:03:37
This is not a really high priority item, but seems worth a mention. I am able to 
build validate from upstream on the Mac, but not the version included with fast-
downward.

As far as I can tell, this is because the fast-downward copy wants a static 
build and Mac OS X doesn't support static linking.
History
Date User Action Args
2012-01-06 08:46:04maltesetstatus: chatting -> resolved
2012-01-05 23:50:56rpgoldmansetstatus: resolved -> chatting
messages: + msg2026
2012-01-05 23:31:13maltesetstatus: chatting -> resolved
messages: + msg2025
2012-01-05 22:47:15rpgoldmansetfiles: + re-patch-for-osx.patch
messages: + msg2024
2012-01-05 21:51:47maltesetassignedto: malte
messages: + msg2023
2012-01-05 20:23:11rpgoldmansetfiles: + dynamic-linking-for-macosx.patch
messages: + msg2022
2012-01-05 18:28:32maltesetmessages: + msg2021
2012-01-05 18:26:04rpgoldmansetmessages: + msg2020
2012-01-05 18:11:49maltesetmessages: + msg2019
2012-01-05 18:08:02rpgoldmansetstatus: unread -> chatting
nosy: + malte
messages: + msg2018
2012-01-05 18:03:37rpgoldmancreate