Skip to content

[vcpkg baseline][gdal] Fix configure error on OSX#17083

Merged
vicroms merged 5 commits intomicrosoft:masterfrom
JackBoosY:dev/jack/16990
Apr 6, 2021
Merged

[vcpkg baseline][gdal] Fix configure error on OSX#17083
vicroms merged 5 commits intomicrosoft:masterfrom
JackBoosY:dev/jack/16990

Conversation

@JackBoosY
Copy link
Contributor

Fixes #16990.

@JackBoosY JackBoosY added category:port-bug The issue is with a library, which is something the port should already support info:internal labels Apr 4, 2021
@JackBoosY
Copy link
Contributor Author

@cenit @Neumann-A do you have any suggestions about this?

Thanks.

@Neumann-A
Copy link
Contributor

Neumann-A commented Apr 4, 2021

https://lists.gnu.org/archive/html/bug-gettext/2011-10/msg00012.html.

Looking at the configure script it is only using AM_ICONV. Maybe touching the file is enough?

@vicroms
Copy link
Member

vicroms commented Apr 5, 2021

@Neumann-A

You mean like the original issue poster suggested?

execute_process(COMMAND touch ${SOURCE_PATH}/config.rpath)

@Neumann-A
Copy link
Contributor

@vicroms: Yes. But actually if we assume gettext[tools] is installed we can simply copy config.rpath from there. Seems like autopoint normally would install config.rpath but the gdal configure.ac file is not calling AM_GNU_GETTEXT([external]) before AM_ICONV

@JackBoosY
Copy link
Contributor Author

Works! Thanks @Neumann-A!

@JackBoosY
Copy link
Contributor Author

@strega-nil Ping for merge this PR quickly, this blocked many PRs.

Copy link
Contributor

@PhoebeHui PhoebeHui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, we don't have a better solution for this now, it's fine to apply this workaroud for me.

@JackBoosY JackBoosY added the info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label Apr 6, 2021
@vicroms vicroms merged commit 88f0e6a into microsoft:master Apr 6, 2021
@JackBoosY JackBoosY deleted the dev/jack/16990 branch April 6, 2021 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:port-bug The issue is with a library, which is something the port should already support info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[gdal:x64-osx] configuration failure: required file 'config.rpath' not found

4 participants