-
Notifications
You must be signed in to change notification settings - Fork 4
Setting Up Pacogen in Familiar
ahervieu edited this page Mar 23, 2013
·
5 revisions
Pacogen is plate forme dependant tool, if your system is not supported you have to generate a new runtime and add it in familiar. The purpose of this document is to describes the methodology to build a new runtime of Pacogen and how to add it in familiar.
- install sicstus prolog on your system (http://sicstus.sics.se/) if you are from inria a license is available.
- contact me to obtain the source file (aymeric.hervieu@gmail.com), once I will have fix licence issues, i will provide a link to the source file.
- Edit the source file, there is predicat save and change the path : save:-save_program('/the/path/you/want/Pacogen.sav').
- Set up the environment variable: on linux use the following command: export PATH=$PATH:/usr/local/sicstus4.2.0/bin
- start sictus prolog: sicstus-4.2.0
- enter the following commands:
- compile('Pacogen_Familiar.pro').
- y.
- y.
- save. 7. Exit sictus prolog and enter the following command line, it will generate the runtime: spld --output=Pacogen --static Pacogen.sav 8. copy paste the runtime at the root of the eclipse project 9. add your system as supported system in following java class /FAMILIAR/src/fr/unice/polytech/modalis/familiar/operations/PacogenLauncher.java and modify the method pacogenlauncher() 10. Test and Push