Re: Compiling swi-prolog 6.2.6 on OpenIndiana
Jan Wielemaker <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
On 07/05/2013 11:40 PM, Dmitry Geurkov wrote: > It seems that removing 3 lines starting from line 1516 in ./src/os/pl-os.c > > #if defined(HAVE_GETWD) && (defined(__sun__) || defined(__sun)) > #undef HAVE_GETCWD > #endif > > Solved my compilation problem Thanks for reporting. Not sure what to do with it. I compiled the current git version on SunOS 5.11/SPARC after various fixes (or more precisely `portability hacks'). Nothing was needed for this part of the code, although some fixes seem related: configure detected the availability of certain functions, but link errors resulted when actually trying to use them. If I recall well, this applied for signbit() and wcsdup(). There is a comment above the change you made why we want getwd() on Solaris. No idea whether that still holds. Cheers --- Jan