NetPBM thing!!!

BigV

Joined: 2002-09-19
Posts: 2
Posted: Fri, 2002-09-20 00:13

I am not expecting too many responses to this post because I have scanned other posts and realise that I am not the only person with NetPBM issues. Can not find the damned thing :mad: I have uploaded it ,in every flavour,into every orifice I have access to on my shared server and the damned installation wizard (or"warlock")will not find it.I can manually locate it by navigating my way to it,so I know it is up there eg:http://www.primal.info/gallery/netpbm-9.9/, but same old message via wizard:

$gallery->app->pnmDir = "/home/primali/public_html/gallery/netpbm-9.9";
Error: I can't find NetPBM at the location you provided. Gallery prefers NetPBM version 9.9 and up. You can install just the binaries Gallery needs from Gallery on SourceForge or, you can compile and install the entire NetPBM package from NetPBM on SourceForge. Note: You can install the binaries from the Gallery site even if you don't have root access on your box!

If anybody can see something obvious that I am overlooking please point it out to me,because as it says on the second page of the install. wiz.:"Your installation has warnings, but life is short so let's GO" and there is far too many gallery scripts to be bogged down with one that wont go in.

:roll: :roll: :roll: :roll: :roll: :roll: :eek: :eek:

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2002-09-21 08:22

Every request for help in this forum gets an answer.

Two things:
1. Did you remember to make the NetPBM binaries executable?

Quote:
cd netpbm
chmod 755 *

should do the trick.

2. Did you try the NetPBM diagnostic from the Config wizard?

I can't be more specific than that because you didn't provide any info about your setup (see the "help" page for a list of info that we would find useful here).

 
BigV

Joined: 2002-09-19
Posts: 2
Posted: Sun, 2002-09-22 08:04

OK, I've re-checked permissions to where "netpbm-9.9" is installed (this is what I have called directory), path to is: /home/primali/public_html/gallery/netpbm-9.9, I have also tried putting it in:/ public_html/netpbm-9.9
Other relevent factors are:
The version of Gallery: $gallery->version = "1.3.1";
$gallery->config_version = 30;
$gallery->album_version = 4;
$gallery->remote_protocol_version = 1;
$gallery->url = "http://gallery.sourceforge.net";

The version of PHP:PHP v4.2.2 is OK
the version of Apache: The site <!-- BBCode Start --><A HREF="http://www.primal.info" TARGET="_blank">www.primal.info</A><!-- BBCode End --> is running Apache/1.3.26 (Unix) mod_log_bytes/0.3 mod_bwlimited/1.0 PHP/4.2.2 FrontPage/5.0.2.2510 mod_ssl/2.8.9 OpenSSL/0.9.6b on Linux

Your operating system and hardware: I am not sure what this question refers to, I am using windows98 on my computer.
(if applicable) the web browser and version you are using: browser type:IE6

I hope this info helps you to help me,. Regards,BigV.

 
ldl

Joined: 2002-09-22
Posts: 3
Posted: Sun, 2002-09-22 18:48

$gallery->app->pnmDir = "/home/primali/public_html/gallery/netpbm-9.9";

I had the same problem untill I added a trailing slash in the config wizard.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sun, 2002-09-22 21:17

Also, follow FAQ C.2 and post your debug info here.

 
joycejane

Joined: 2002-09-25
Posts: 5
Posted: Wed, 2002-09-25 23:36
Quote:
$gallery->app->pnmDir = "/home/primali/public_html/gallery/netpbm-9.9";

I had the same problem untill I added a trailing slash in the config wizard.

I tried adding a trailing slash, but I still got an error...

$gallery->app->pnmDir = "/home/iokenet/public_html/gallery/netpbm/";
Error: I can't find NetPBM at the location you provided. Gallery prefers NetPBM version 9.9 and up. You can install just the binaries Gallery needs from Gallery on SourceForge or, you can compile and install the entire NetPBM package from NetPBM on SourceForge. Note: You can install the binaries from the Gallery site even if you don't have root access on your box!

:???:

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2002-09-26 03:10

joycejane,

What are the contents of this dir: /home/iokenet/public_html/gallery/netpbm/
Use "ls -al" and post the results here. What happens if you run "pnmfile --version"
(or any other NetPBM binary) from a shell prompt?

 
joycejane

Joined: 2002-09-25
Posts: 5
Posted: Thu, 2002-09-26 04:56

i don't have shell access, but what i did was download the files from the <!-- BBCode Start --><A HREF="http://sourceforge.net/projects/gallery" TARGET="_blank">Project::Gallery on SourceForge.net</A><!-- BBCode End --> and then unziped the file and ftp-ed it into the netpbm directory that i have sitting on my server space.

files:
giftopnm
jpegtopnm
pngtopnm
pnmcut
pnmfile
pnmflip
pnmrotate
pnmscale
pnmtopng
ppmquant
ppmtogif
ppmtojpeg

i assume that these are the latest versions? i had intended to compile the whole netpdm 10.9 files, but without the shell access, i don't know how to go about doing that.

thanks :lol:

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2002-09-26 06:05

Did you remember to chmod them? This is discussed in FAQ B

 
joycejane

Joined: 2002-09-25
Posts: 5
Posted: Thu, 2002-09-26 06:28

yes i did... rwxr-xr-x is what i have them set.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2002-09-28 02:31

Hmm. Perhaps the path is not what you think it is (some ISPs remap the path without telling you). Put this in a file called "dir.php" in your NetPBM directory:

<?php
system("pwd");
?>

Then open that file in your web browser. It'll tell you what PHP thinks the path is to your NetPBM directory. Make sure that matches what you entered in the wizard.