DataShades / ckan-galleries

A package of extensions for the CKAN open data platform for storing and referencing image and video assets.
Other
3 stars 2 forks source link

Installation error on mysql-python #1

Closed florianm closed 9 years ago

florianm commented 9 years ago

During a source install of CKAN Galleries on Ubuntu 14.04 LTS, python setup.py install might run into problems when running pip install mysql-python: EnvironmentError: mysql_config not found

Stackoverflow user amarillion suggests installing a system package: sudo apt-get install libmariadbclient-dev worked for me.

Suggestion: add this step to installation description?

MrkGrgsn commented 9 years ago

I'm not sure why mysql-python is required. @smotornyuk, @iaroslav13 , or @and-deryabkin can you comment?

florianm commented 9 years ago

Using datacats, the installation happens inside a docker container. There, I was able to satisfy the requirement for mysql_config only through apt-get install libmysqlclient-dev, while libmariadbclient-dev did not work. See PR.

maxious commented 9 years ago

MySQL is for the drupal auth plugin which AFAIK is identical to https://github.com/ckan/ckanext-drupal7/ so should not be be included in this repo.

florianm commented 9 years ago

datacats have included the dependency libmysqlclient-dev into their image, and normal CKAN installs get away with apt-get installing it. Closing issue as it's only a cosmetic change.