netpbm not being reconized

epiphany

Joined: 2004-04-17
Posts: 14
Posted: Sat, 2004-04-17 20:31

Hey there
I've used gallery before on my old server... and I don't even remember netpbm being needed.... perhaps it was already on there. I am hosted on abnormis.com now... and am having issues with it reconizing that I uploaded the modules that are downloadble here.

http://precious-heart.net/netpbm this is my netpbm directory... I haven't a clue what I am doing wrong. I used the test php and aimed it at the right directory in installation.

Any help would really be appreciated :(

----

Gallery URL (optional but very useful): http://www.precious-heart.net/gallery
Gallery version: newest
Apache version: 1.3.29 (Unix)
PHP version (don't just say PHP 4, please): 4.3.3
Graphics Toolkit:
Operating system: Linux
Web browser/version (if applicable): IE

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sat, 2004-04-17 20:34

/home/epiphany/public_html/netpbm is your path. Just remember to chmod the directory and all files in it 755.

 
epiphany

Joined: 2004-04-17
Posts: 14
Posted: Sat, 2004-04-17 20:40

I did just what you said
and chmodded them all to 755 and when I go through the setup again I get this in red :

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 the Gallery Download Page. Or, you can compile and install the entire NetPBM package from the NetPBM website.
Note: You can install the binaries from the Gallery site even if you don't have root access on your box! If you can't get it working, try leaving the NetPBM path blank and using ImageMagick instead.

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sat, 2004-04-17 20:43

epiphany, thats weird. Did you use the path, or the url?

 
epiphany

Joined: 2004-04-17
Posts: 14
Posted: Sat, 2004-04-17 20:44

the path :/

it also says this :
Error: Can't find pnmfile!

but.. that file didn't come with the download....

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sat, 2004-04-17 21:19

epiphany, that is true - and we are looking into that at the moment. I'll let you know.

 
epiphany

Joined: 2004-04-17
Posts: 14
Posted: Sat, 2004-04-17 21:41

You think that is my main problem...?
The help will be appreciated :)

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sat, 2004-04-17 21:49

Not if you are using 1.4.3-RC3 or RC2. That file is optional.

 
epiphany

Joined: 2004-04-17
Posts: 14
Posted: Sat, 2004-04-17 22:47

ok... then I am using the version that wouldnt need that file....

so now I am just lost againO_o

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sat, 2004-04-17 23:15

epiphany, hang on while we figure out what is going on with the FreeBSD binaries.

 
faoronin

Joined: 2004-04-18
Posts: 1
Posted: Sun, 2004-04-18 04:36

same exact problem here. i've installed and chmod everything 755 and it's looking for this pnmfile in the config. (I don't seem to be able to use imagemagik since my host uses an older version)

Looking forward to your folks solution :)

BTW... VERY happy with other fixes/changes to RC3!! :) good work folks.

 
epiphany

Joined: 2004-04-17
Posts: 14
Posted: Sun, 2004-04-18 07:18

Awaiting a solution as well :) You can do it! *cheers!*

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Mon, 2004-04-19 11:36

For the time being, copy pamfile to pnmfile. We'll fix this in the tar file on the download page soon. Thanks for the catch.

 
epiphany

Joined: 2004-04-17
Posts: 14
Posted: Mon, 2004-04-26 21:40

I did as you said...
and it still doesn't work....

 
Aumelen

Joined: 2004-04-27
Posts: 7
Posted: Tue, 2004-04-27 16:03
alindeman wrote:
For the time being, copy pamfile to pnmfile. We'll fix this in the tar file on the download page soon. Thanks for the catch.

I was having the same exact problem, but this suggestion worked. Thank you.

 
epiphany

Joined: 2004-04-17
Posts: 14
Posted: Wed, 2004-04-28 20:51

Ok... so what exactly do you mean by that?

Copy the contents of pamfile into pnmfile?

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Wed, 2004-04-28 20:52

make a copy of the pamfile, and name it pnmfile.

 
epiphany

Joined: 2004-04-17
Posts: 14
Posted: Wed, 2004-04-28 21:35

Missing optional binary pnmcomp. Without pnmcomp gallery will not be able to watermark images, except you use ImageMagick and have the composite binary installed.

it says this is the one missing.... when I first go into set up
I copied the files that you told me to though

 
epiphany

Joined: 2004-04-17
Posts: 14
Posted: Wed, 2004-04-28 21:42

Ok, I got it working
but when I upload (Im in debug mode)

it can't make the thumb nail, and it gives me this error

sh: /home/epiphany/public_html/netpbm/pnmscale: /usr/libexec/ld-elf.so.1: bad ELF interpreter: No such file or directory

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Wed, 2004-04-28 22:01

epiphany, yes, actually I confirmed this 5 minutes ago. Download and use the 1.1 files from our downloads page, and use them. We are working on making some new FreeBSD binaries available.

 
epiphany

Joined: 2004-04-17
Posts: 14
Posted: Wed, 2004-04-28 22:20

hahah man, I am so sorry

I did what you said

and nowwww I just get this error

pnmscale: EOF / read error reading magic number

in debug mode

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Wed, 2004-04-28 22:28

oh man.... heh

I'm sorry about all of this - Your best bet is to wait unti we get our FreeBSD act together, or ask your host if they would mind installing ImageMagick system wide :)

 
epiphany

Joined: 2004-04-17
Posts: 14
Posted: Wed, 2004-04-28 22:31

I am guessing thats why I had an easy install on my last server.... I didn't even have to install netpbm or anything....

you think if I used version 1.3.4 it would work with the binaries you gave me?

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Wed, 2004-04-28 22:34

epiphany, no - the problem is the binaries, not Gallery as such. Or rather, it's the FreeBSD binaries.

 
epiphany

Joined: 2004-04-17
Posts: 14
Posted: Wed, 2004-04-28 22:37

Well, I will try to e-mail my host (abnormis.com) and see if they can install imagemagick... since I am guessing at neitsolutions.com they already had those installed, because I was using gallery 1.4.1 and it didn't have me install any binaries at all.

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Wed, 2004-04-28 23:21

epiphany, seems like the best way to go - for now at least. Sorry it took so long to figure out.

And your most likely right about your other host.

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2004-04-29 06:36

epiphany, hi again.... I just did some investigation, and it seems that you are infact hosted on a Linux platform. Try out the 1.4 NetPBMs for Intel/Linux and see if that doesn't help.
I don't know where I got FreeBSD from, since you state in your first post that you are indeed running Linux, and that is also confirmed my NetCraft.

 
HerrFlik

Joined: 2003-09-19
Posts: 3
Posted: Fri, 2004-04-30 11:51

I seem to be having a very similar problem, Gallery is neither able to locate pnmtojpeg nor ppmtojpeg. I have tried the suggestions given above, and using netpbm 1.1, but havent gotten any results. My server is running Apache/2.0.48 (Gentoo/Linux) PHP/4.3.4.

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2004-04-30 12:52

HerrFlik, what is the output of this command from the shell?

ls -al /path/to/netpbm

 
HerrFlik

Joined: 2003-09-19
Posts: 3
Posted: Fri, 2004-04-30 14:17

I obviously had not chmodded the files correctly, and by doing so i corrected the problem. Thanks for the help.

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2004-04-30 15:36

:)