Discussion:SPARQL Protocol and RDF Query Language/Travail pratique/Faire un serveur SPARQL

Le contenu de la page n’est pas pris en charge dans d’autres langues.
Une page de Wikiversité, la communauté pédagogique libre.

Install sur Oneiric à tester[modifier le wikicode]

Voici un retour de quelqu’un qui a installé 4store sur Oneiric :

Problème 1 :
 - Suite à la commande : sudo apt-get install 4store, l'installation n'a pas créé les répertoires /var/lib/4store ni /var/log/4store -> Création à la main en root.

Problème 2 :
 - yannick@LogOne:~$ sudo 4s-httpd -D test -p 8081
4store[7379]: httpd.c:1630 4store HTTP daemon v1.1.3 started on port 8081
4store[7380]: 4s-client.c:129 kb=test getaddrinfo failed for “fe80::216:36ff:fe69:89fc%eth0” with error: Address family for hostname not supported
 - Solution ici : http://groups.google.com/group/4store-support/browse_thread/thread/d6ca00173a8dcbed --> Désactivation de Ipv6 dans les paramètres réseau.
Problème 3 :
 - yannick@LogOne:~$ sudo service 4s-httpd start
 * Starting system 4s-httpd Daemon                                    /etc/init.d/4s-httpd: 51: /usr/local/bin/4s-backend: not found
 - Solution : Modifier le script de lancement car les binaires de 4s-backend sont dans /usr/bin, et non dans /usr/local/bin (certainement spécifique à l'installation de 4store sur Ubuntu 11.10)

Warning :
yannick@LogOne:~$ sudo update-rc.d 4s-httpd defaults
update-rc.d: warning: /etc/init.d/4s-httpd missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
 Adding system startup for /etc/init.d/4s-httpd ...
   /etc/rc0.d/K204s-httpd -> ../init.d/4s-httpd
   /etc/rc1.d/K204s-httpd -> ../init.d/4s-httpd
   /etc/rc6.d/K204s-httpd -> ../init.d/4s-httpd
   /etc/rc2.d/S204s-httpd -> ../init.d/4s-httpd
   /etc/rc3.d/S204s-httpd -> ../init.d/4s-httpd
   /etc/rc4.d/S204s-httpd -> ../init.d/4s-httpd
   /etc/rc5.d/S204s-httpd -> ../init.d/4s-httpd

Problème 4 (lors du test du service en utilisant la librairie php-4store)
 - yannick@LogOne:~/projets/test4store$ php query.php
Insert :PHP Fatal error:  Call to undefined function curl_init() in /usr/share/php/php4store/Curl.php on line 62
 - Solution : http://www.hotscripts.com/forums/php/26167-fatal-error-call-undefined-function-curl_init.html --> Installation de Curl et de php5-curl