WebFaction
Community site: login faq

I'm trying to get my local Sails app running live on my Webfaction server. I'm using a custom app rather than having selected a node app, because this way I can define the file structure. So far, so good... the app is running and the database works, and all the modules work except for Graphics Magick.

Graphics Magick as a node module ('gm') seems to depend on a separate, deeper installation of Graphics Magick on the system. I'm trying to do this in HOME/src, the same as I (successfully) did to install Node. I downloaded the tar.gz, unzipped it, ran the 'make' command successfully... but when I do 'make install' it says I don't have permission. I don't know what to do about this.

This is the command line output (with personal information replaced):

Makefile:9955: warning: overriding recipe for target `PerlMagick/Magick.pm'
Makefile:4520: warning: ignoring old recipe for target `PerlMagick/Magick.pm'
make  install-am
make[1]: Entering directory `/home/USERNAME/src/GraphicsMagick-1.3.23'
Makefile:9955: warning: overriding recipe for target `PerlMagick/Magick.pm'
Makefile:4520: warning: ignoring old recipe for target `PerlMagick/Magick.pm'
make[2]: Entering directory `/home/USERNAME/src/GraphicsMagick-1.3.23'
Makefile:9955: warning: overriding recipe for target `PerlMagick/Magick.pm'
Makefile:4520: warning: ignoring old recipe for target `PerlMagick/Magick.pm'
 /usr/bin/mkdir -p '/usr/local/lib'
 /bin/sh ./libtool   --mode=install /usr/bin/install -c   magick/libGraphicsMagick.la Magick++/lib/libGraphicsMagick++.la wand/libGraphicsMagickWand.la '/usr/local/lib'
libtool: install: /usr/bin/install -c magick/.libs/libGraphicsMagick.lai /usr/local/lib/libGraphicsMagick.la
/usr/bin/install: cannot create regular file '/usr/local/lib/libGraphicsMagick.la': Permission denied
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/home/USERNAME/src/GraphicsMagick-1.3.23'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/USERNAME/src/GraphicsMagick-1.3.23'
make: *** [install] Error 2

So what does it take to get GraphicsMagick fully installed on my system, so that nodejs can use it?

asked 03 Feb, 15:48

pattmayne
112
accept rate: 0%


Most binary distributions include a way to specify the path so you can build within user-space. We have documentation which covers how to do this for most things. If you are using make and make install you should be able to do this with the following flag,

./configure --prefix=$HOME
permanent link

answered 03 Feb, 22:40

johns ♦♦
5.3k212
accept rate: 23%

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:

×67
×47
×34
×1
×1

question asked: 03 Feb, 15:48

question was seen: 467 times

last updated: 03 Feb, 22:40

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2016 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