.plrc on fedora 12- initialization file for searching prolog lib/external lib

.plrc on fedora 12- initialization file for searching prolog lib/external lib

Post by giris » Tue, 16 Mar 2010 20:22:00


I have downloaded the source and compiled and installed the latest
version of swi-pl on fedora 12. I am now looking for a .plrc that will
work with the http and semweb library examples. Would be grateful for
any guidance.
Thanks
Girish
 
 
 

.plrc on fedora 12- initialization file for searching prolog lib/external lib

Post by Jan Wielem » Wed, 17 Mar 2010 05:51:01


.plrc is for personal setup. Its is totally unrelated to semweb or http.
What are you after?

--- Jan

 
 
 

.plrc on fedora 12- initialization file for searching prolog lib/external lib

Post by giris » Wed, 17 Mar 2010 16:49:47


Hi Jan
I was attempting to create a semantic web server similar to the one
that you had created. I found I had to compile the libraries
individually for it to work.
Thanks.
Girish
 
 
 

.plrc on fedora 12- initialization file for searching prolog lib/external lib

Post by Jan Wielem » Wed, 17 Mar 2010 17:16:16


Sure, you must create a file with a bunch of :- use_module(library(...))
in it, as well as your application code. See the HTTP howto for various
examples. This has nothing to do with .plrc. That is there for preferences
only (load some popular development stuff, etc.).

Cheers --- Jan