WebFaction
Community site: login faq

Hi, I've setup Postgresql and PostGIS following the instructions here, http://community.webfaction.com/questions/10220/installing-postgresql-with-postgis

I then tried to setup pgrouting following the directions here, http://pgrouting.org/docs/1.x/install_centos.html

I downloaded the cmake source and compiled and ran that. It couldn't find the lib and include paths for postgresql so I edited the FindPostgreSQL.cmake file to include those paths in it's list of paths to search. It then created the make file.

I then ran make (because another page on pgrouting's documentation says to), then make install.

That's where I hit this error: "[100%] Built target routing Install the project... -- Install configuration: "" CMake Error at core/src/cmake_install.cmake:42 (FILE): file cannot create directory: /usr/local/sh: /home/jamestrimble/bin/postgres/pg_config: Not a directory. Maybe need administrative privileges. Call Stack (most recent call first): core/cmake_install.cmake:37 (INCLUDE) cmake_install.cmake:38 (INCLUDE)

make: *** [install] Error 1"

If anyone has done this before, I'd really appreciate some guidance. I've been working on getting this installed for quite a while now. As a side question, does webfaction offer a service to pay someone to install this kind of thing?

*Also, I found an RPM for pgrouting, but when I tried installing it, it couldn't find postgresql, gdal, etc. http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/repoview/pgrouting_92.html

Any ideas?

Sincerely, James Trimble

asked 28 Dec '12, 14:38

jimmit
111
accept rate: 0%


You need to read the documentation or contact the developers of the package in question and ask/discover how to override the path info so it does not want to build in '/usr'. If you are using configure/make the command is normally,

--prefix=$HOME

You can not use a RPM or repo manager as RPMs assume you have root access, which you do not have. Documentation typically comes in the form of a README or INSTALL file (they are usually all caps) which would be in the source code's archive.

permanent link

answered 28 Dec '12, 17:12

johns
5.4k412
accept rate: 23%

edited 28 Dec '12, 17:14

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×109
×10
×1

question asked: 28 Dec '12, 14:38

question was seen: 2,825 times

last updated: 28 Dec '12, 17:14

                              
WEBFACTION
REACH US
SUPPORT
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM