[PPL-devel] Re: [SWIPL] Suggestion for the DarwinPorts version of SWI-Prolog
Paulo Moura
pmoura at di.ubi.pt
Wed Jun 8 14:41:52 CEST 2005
Hi Roberto,
> I may well be missing something, but it seems the life of people
> interfacing C/C++ and Prolog programs on MacOS would be simplified
> if SWI-Prolog.h and the other interface header file could be installed
> in some fixed place, such as /opt/local/include, as well as in
> /opt/local/lib/swipl-x.y.zz/include. This would match what happens
> on, e.g., the Linux version where these header files are installed
> in, say, /usr/local/include as well as in /usr/local/lib/swipl-
> x.y.zz/include.
On MacOS X, when installing SWI-Prolog using DarwinPorts (including
the installers available from the SWI-Prolog web site), the above
header files are installed on /opt/local/lib/swipl-x.y.zz/include/. A
possible solution would be to create links to the header files on /
opt/local/include/.
> P.S. BTW, why /opt/local instead of /usr/local?
To ensure that DarwinPorts installed software does not depend or
interfere with MacOS X provided software and libraries, creating a
nightmare of dependencies (not to mention that upgrading MacOS X can
wipe out /usr).
Cheers,
Paulo
-----------------------------------------------------------
Paulo Jorge Lopes de Moura
Dep. of Informatics Office 4.3 Ext. 3257
University of Beira Interior Phone: +351 275319700
6201-001 Covilhã Fax: +351 275319899
Portugal
<mailto:pmoura at di.ubi.pt>
<http://www.di.ubi.pt/~pmoura> <http://www.logtalk.org>
-----------------------------------------------------------
More information about the PPL-devel
mailing list