netpbm not being reconized
epiphany
Joined: 2004-04-17
Posts: 14 |
Posted: Sat, 2004-04-17 20:31 |
Hey there 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 |
|
Posts: 13451
/home/epiphany/public_html/netpbm is your path. Just remember to chmod the directory and all files in it 755.
Posts: 14
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.
Posts: 13451
epiphany, thats weird. Did you use the path, or the url?
Posts: 14
the path :/
it also says this :
Error: Can't find pnmfile!
but.. that file didn't come with the download....
Posts: 13451
epiphany, that is true - and we are looking into that at the moment. I'll let you know.
Posts: 14
You think that is my main problem...?
The help will be appreciated
Posts: 13451
Not if you are using 1.4.3-RC3 or RC2. That file is optional.
Posts: 14
ok... then I am using the version that wouldnt need that file....
so now I am just lost againO_o
Posts: 13451
epiphany, hang on while we figure out what is going on with the FreeBSD binaries.
Posts: 1
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.
Posts: 14
Awaiting a solution as well You can do it! *cheers!*
Posts: 8194
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.
Posts: 14
I did as you said...
and it still doesn't work....
Posts: 7
I was having the same exact problem, but this suggestion worked. Thank you.
Posts: 14
Ok... so what exactly do you mean by that?
Copy the contents of pamfile into pnmfile?
Posts: 13451
make a copy of the pamfile, and name it pnmfile.
Posts: 14
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
Posts: 14
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
Posts: 13451
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.
Posts: 14
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
Posts: 13451
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
Posts: 14
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?
Posts: 13451
epiphany, no - the problem is the binaries, not Gallery as such. Or rather, it's the FreeBSD binaries.
Posts: 14
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.
Posts: 13451
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.
Posts: 13451
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.
Posts: 3
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.
Posts: 8194
HerrFlik, what is the output of this command from the shell?
ls -al /path/to/netpbm
Posts: 3
I obviously had not chmodded the files correctly, and by doing so i corrected the problem. Thanks for the help.
Posts: 8194