I’m following the installation instructions for an open-source audio identification server here:
https://github.com/lalinsky/acoustid-server/blob/master/README#L40
With some modifications to the initial steps here’s what I’ve done so far
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
sudo apt-get install postgresql postgresql-contrib postgresql-server-dev-8.4
sudo apt-get install python-sqlalchemy python-werkzeug python-jinja2
sudo apt-get install python-openid python-markdown python-acoustid
sudo apt-get install python-psycopg2 python-redis
However for the next step where i need to Compile and install the included PostgreSQL extension: using the following command
$ cd postgresql
$ sudo make install clean
$ cd ..
When I run $ cd postgresql I get bash: cd: postgresql: No such file or directory
Running whereis postgresql returns these directories postgresql: /etc/postgresql /usr/lib/postgresql /usr/include/postgresql /usr/share/postgresql However I could not find the place to run sudo make install clean in any of these directories.
I’m running ubuntu 12.04 from an ec2 instance here: http://cloud-images.ubuntu.com/precise/current/
Where is the makefile located in order to install PostgreSQL extensions?
You must check the source code out from
gitbefore you can compile it.(the last give lines are equivalent to the three lines
cd postgresql,sudo make clean installandcd ..in the README).