users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PL_PATH and making CLIP


From: Daniel Diaz
Subject: Re: PL_PATH and making CLIP
Date: Tue, 06 May 2003 11:54:14 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01

Hi,

You don't give me enough information. Why do you need to recompile GNU Prolog ? You could use the auto-install executable is available at:
ftp://ftp.inria.fr/INRIA/Projects/contraintes/gprolog/setup-gprolog-1.2.16.exe

Normally, you don't need to set the PL_PATH variable. You simply need to set the PATH variable to include the GNU Prolog binaries directory (something like C:\GNU-Prolog\bin).

Under Win32, the prolog path is determined as follows:
 1) the PL_PATH variable is used if defined (and valid)
 2) the windows registry is consulted and used if valid
    (HKEY_CURRENT_USER\Software\GnuProlog\RootPath)
 3) the directory of the executable (determined with PATH) is used.


So, the PL_PATH is not needed. If you want to set it, it should include only ONE path: the root of the installed tree (e.g. C:\GNU-Prolog\).


address@hidden wrote:
I am helping the group from Brandeis University port the clip application from Linux to the Windows platform. I have been using cygwin and Microsoft Visual C++ as my development environment and compiler. I have gotten GNU Prolog to compile using the above, but put all the executables and libraries in the same directory (which I created) and have the PL_PATH variable pointing to that directory in order to get GNU Prolog to execute. I also have PL_PATH pointing to the parent directory of all the subdirectories created my the compile process that contain executables and libraries (i.e. C:\GNU_Prolog_Src\gprolog-1.2.16\src\TopComp for example), but can only get a text mode GNU Prolog that appears not to be able to access its libraries.

I can compile the smath directory of clip (see clip instructions), but when I execute the 'make clip' command', I get the error 'cannot find the path for GNU Prolog, set the environment variable PL_PATH'.

--
Ce message a subi une analyse antivirus par MailScanner <http://www.mailscanner.info/> ;
il est vraisemblablement sans danger.


------------------------------------------------------------------------

_______________________________________________
Users-prolog mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/users-prolog



--
Ce message a subi une analyse antivirus par MailScanner ; il est vraisemblablement
sans danger.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]