ocsigen-start icon indicating copy to clipboard operation
ocsigen-start copied to clipboard

can not compile example : citext does not exist

Open william3 opened this issue 7 years ago • 2 comments

on Debian jessie, following 5min tutorial for ocaml-start : https://github.com/ocsigen/ocsigen-start/blob/master/template.distillery/README.md

make db-init -> ok make db-create -> ok make db-schema -> error

make db-schema psql -d myproject -f myproject.sql psql:myproject.sql:5: ERREUR: la base de données « ocsipersist_myproject » existe déjà psql:myproject.sql:7: ERREUR: n'a pas pu ouvrir le fichier de contrôle d'extension « /usr/share/postgresql/9.4/extension/citext.control » : Aucun fichier ou dossier de ce type psql:myproject.sql:51: ERREUR: le type « citext » n'existe pas LIGNE 6 : main_email citext NOT NULL, ^

william3 avatar Mar 31 '17 15:03 william3

We have an undeclared dependency on postgresql-contrib (to be fixed in opam-repository). Please install that.

vasilisp avatar Mar 31 '17 15:03 vasilisp

On, Ubuntu 14.04.5 LTS, you need to install postgresql-contrib-9.3

jrrk2 avatar May 02 '17 07:05 jrrk2