Google Answers Logo
View Question
 
Q: installing netpbm ( Answered,   0 Comments )
Question  
Subject: installing netpbm
Category: Computers > Internet
Asked by: pickles-ga
List Price: $5.00
Posted: 28 May 2002 02:01 PDT
Expires: 04 Jun 2002 02:01 PDT
Question ID: 18432
Trying to install netpbm so I can run some photo editing softwhere on
my site called Gallery
(http://gallery.jacko.com/modules.php?op=modload&name=News&file=index).
Have installed Gallery ok, but when I've installed the binaries
(http://sourceforge.net/project/showfiles.php?group_id=7130) that I'm
told i need and placed them in a top level folder, the gallery
software doesn't seem to be able to find netpbm and therefore won't
work. any help appreciated

Request for Question Clarification by bookface-ga on 28 May 2002 02:15 PDT
So you want to know how and where to find netpbm?
Answer  
Subject: Re: installing netpbm
Answered By: bookface-ga on 28 May 2002 02:33 PDT
 
Well, although I requested a clarification (and then refreshed my
window so it appears I asked twice), I'm going to go ahead and answer
this one anyway, and you can ask for a clarification if it's not what
you need.

I'm going to assume you have perl installed on your server.

1. Get the netpbm Perl include files from:
http://telia.dl.sourceforge.net/sourceforge/netpbm/netpbm-9.25.tgz

Either download them directly on the server by using
wget http://telia.dl.sourceforge.net/sourceforge/netpbm/netpbm-9.25.tgz

or download on your local machine and upload to your server.

2. On the server, run the following lines:

  [If not running as root, start this with:]
 su
  [enter your root account password at the prompt]
  [in any case, continue with:]
 gunzip netpbm-9.25.tgz; tar -xf netpbm-9.25.tar
 cd netpbm-9.25
 ./configure

Follow the installation procedures, and just press enter for the
default if you don't know the answer to any question but the first--if
you don't know that, you should probably contact a more knowledgable
system administrator to tell you.

Then run:
 make
    [This will take some time, as it is the most processor intensive
part of
     the process.]
 make install
    [to place the files in their proper place]


Important notes on installing to consider, from the README file:
----
"The only tricky part about installing is setting up the shared
libraries
that are part of Netpbm.  'make install' copies them into place, but
that
may not be enough.  If you get mysterious "file not found" kinds of
errors and are not an expert with shared libraries, see the section
"SHARED LIBRARIES" below.

You may want to append the contents of the file 'magic' to your 'file'
database (typically /etc/magic).  This allows the 'file' program to
recognize a bunch of file formats, including the Netpbm formats.

The --keep-going option to Make is handy, because it causes Make to
make anything it can, as opposed to quitting as soon as something goes
wrong.  With so many parts having so many requirements, it's not
unusual for a few things to fail to build, but that doesn't affect
everything else.  You can work on the failed parts and repeat the make
and it will attempt to build whatever it hasn't successfully built
yet."
----

Please request clarification if this is not what you want to know.
Hope this answers your question!

Request for Answer Clarification by pickles-ga on 30 May 2002 02:38 PDT
Hi

Thanks for the detailed answer. Unfortunately I may need a little less
techinical explanation. I only have ftp access. I recently managed to
get the netpbm binaries working ok and it all looking in the right
direction, however the last snag seems to be the .htaccess file. When
uploading this I can't see it on the server and have found out from
the admin peeps that they don't let users see them for security
reasons. However, in the instructions i'm suposed to alter the
permissions of this file to chmod 777 - but i can't since i can't see
it.

also, it now seems to have completely buggered up my site and i have
an internal server error- http://www.chiles.org (i've made my admin
peeps aware of this)

thanks again

L

Clarification of Answer by bookface-ga on 30 May 2002 04:28 PDT
Either login from a command line FTP program, or find how to enter a
literal string in your favorite FTP program, and type the following
command in the appropriate directory:

quote site chmod 777 .htaccess

Hope this helps.
Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy