Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-115

OSError: mariadb_config not found.

    XMLWordPrintable

    Details

      Description

      when installing pypi pkg mariadb
      it fails with "OSError: mariadb_config not found"

      Wouldn't it be good to be able to install the package without this dependency (outside the package delivered files)?


      /bin/sh: mariadb_config: not found
      Traceback (most recent call last):
      File "<string>", line 5, in <module>
      File "setup.py", line 26, in <module>
      cfg = get_config(options)
      File "/build/mariadb-1.0.1/mariadb_posix.py", line 51, in get_config
      cc_version = mariadb_config(config_prg, "cc_version")
      File "/build/mariadb-1.0.1/mariadb_posix.py", line 28, in mariadb_config
      raise EnvironmentError(
      OSError: mariadb_config not found.
      Please make sure, that MariaDB Connector/C is installed on your system, edit the configuration file 'site.cfg' and set the 'mariadb_config'
      option, which should point to the mariadb_config utility.

        Attachments

          Activity

            People

            Assignee:
            georg Georg Richter
            Reporter:
            ingatz Martine Weber
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration