PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old December 7th, 2004, 12:27 AM   #21 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
5. OK I am trying to install GD2 on my server. I am on this page: http://www.boutell.com/gd/manual2.0.1.html#buildgd and also following some steps in the readme I ran the ./configure command as it specified and then ran the make install

It scrolled all the text like it installed, but when I set my gallery software to use GD2 it gives this error:

Warning: dl(): Unable to load dynamic library './gd.so' - ./gd.so: cannot open shared object file: No such file or directory in /home/ggadmin/public_html/gallery/pp-inc.php on line 102

GD support enabled; but not installed on your server.
Please contact System Administrator.

Is there something I need to edit in the Makfile and if so what? I don't really know what I'm doing, just trying to follow text in readmes and instructions.
Johnny Doomo is offline   Reply With Quote
Old December 7th, 2004, 08:06 AM   #22 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
1. It does not matter that it was on your old server. Your new server does not have Imagemagick configured with the ability to correctly process png images

2. The both work well

3. GD is not an external call but I prefer Imagemagick since it is not part of php and does not have the ability to steal all php's memory like GD can

4. Yes you would


Your next thread on installing GD. To correctly install GD2 on a Linux Machine and have it recognized you must recompile php and restart the server. In most cases this is something your host would have to do.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 7th, 2004, 10:57 AM   #23 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
Can you help enable png support in ImageMagick? I am looking in the readme in 5.3.8 and it stats this:

Optional Packages:
--without-png disable PNG support

ImageMagick options represent either features to be enabled,
disabled, or packages to be included in the build. When a feature is
enabled (via --enable-something), it enables code already present in
ImageMagick. When a package is enabled (via --with-something), the
configure script will search for it, and if is is properly installed
and ready to use (headers and built libraries are found by compiler)
it will be included in the build. The configure script is delivered
with all features disabled and all packages enabled. In general, the
only reason to disable a package is if a package exists but it is
unsuitable for the build (perhaps an old version or not compiled with
the right compilation flags).



It sounds like I need to either change something in a config file or rerun the install with a switch to enable png support, but I'm unsure what exactly I need to do. Can you help me on how I would get ImageMagick to support a png watermark?

I tested imagemagick with a gif file and it was working, but it was way to blocky to use. I tried using a matte and it just didn't work as good as the png watermark I already have so I will go the ImageMagick route, also because you say it takes less memory, which I was in need of on my last server so I want to limit memory usage as much as possible.

If you can either direct me to some instructions or give me some yourself on what I need to do I would really appreciate it. The type of instructions on the ImageMagick page are great, because they go step by step for those (me) that don't know what the hell they are doing in telnet.

Thank you!
Johnny Doomo is offline   Reply With Quote
Old December 7th, 2004, 11:26 AM   #24 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
I suggest you use the latest imagemagick 6.1.6

You can compile ImageMagick using the root instructions if you have root access. If you do not have root access then you have to do a non-root install and will not have png support

The installations instructions for ImageMagick linked on our site allow png support if you install the png library
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 8th, 2004, 11:06 AM   #25 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
I followed the install instructions on this page: http://www.photopost.com/howtoinstall-php.html and I have root access and installed all of those other packs:

ImageMagick-5.3.8.2.tar.gz
jpegsrc.v6b.tar.gz
libpng-1.0.6.tar.gz
libtiff-lzw-compression-kit-1.1.tar.gz
tiff-v3.5.5.tar.gz

So I guess my question is, if I installed all those packs including the 5.3.8.2 version of ImageMagick and the libpng, why isn't my installation working?
Johnny Doomo is offline   Reply With Quote
Old December 8th, 2004, 11:15 AM   #26 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Like I suggested you should install the latest Imagemagick.

I can't tell you why it doesnt work other than to try it with the latest imagemagick.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 8th, 2004, 09:04 PM   #27 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
How do I install it? The instructions here at photopost say this:

$ cd ImageMagick-5.3.8
$ ./configure --enable-lzw=yes --enable-shared=yes --disable-static --without-perl
$ make
$ make install

When I run the config line it says: -bash: ./configure: No such file or directory

So there isn't even a configure directory there. When I find the instructions inside the compressed 6.1.6 it says this:

"Use the 'configure' script to automatically configure, build, and install ImageMagick. The configure script may be executed from the ImageMagick source directory (e.g ./configure) or from a seperate build directory by specifying the full path to configure (e.g. /src/ImageMagick-6.1.6/configure). The advantage of using a seperate build directory is that multiple ImageMagick builds may share the same ImageMagick source directory while allowing each build to use a unique set of options.

If you are willing to accept configure's default options, and build from within the source directory, type:

./configure

and watch the configure script output to verify that it finds everything that you think it should. If it does not, then adjust your environment so that it does."



That didn't work either. What is the problem or what directory do I need to be in when I run this command? I am trying it in the root of the newly created ImageMagick-6.1.6 directory it created when I ran the "tar -xvf ImageMagick-i686-pc-linux-gnu.tar" command

What do I do?

BTW this is the link to the file I downloaded if you want to take a look at its directory structure: http://www.imagemagick.org/download/...nux-gnu.tar.gz

Last edited by Johnny Doomo; December 8th, 2004 at 09:06 PM.
Johnny Doomo is offline   Reply With Quote
Old December 9th, 2004, 02:17 AM   #28 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Johnny your directory would not be ImageMagick-5.3.8 as your installing a different newer version

Most likely it would be ImageMagick-6.1.6 etc

You need to run the configure make and make install from within the ImageMagick directory

By the way you do not want binaries YOU WANT TO DOWNLOAD THE SOURCE.

http://www.imagemagick.net/download/...6.1.6-2.tar.gz
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 9th, 2004, 11:16 AM   #29 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
OK I uninstalled the old version (5.3.8) though before that I had installed 6.1.5 and it had some troubles... I got through the installation using the link you specified and when I do a locate mogrify it gives all this:

/home/cteadmin/imagemagick/ImageMagick-5.3.8/utilities/mogrify.c
/home/cteadmin/imagemagick/ImageMagick-5.3.8/utilities/mogrify.1
/home/cteadmin/imagemagick/ImageMagick-5.3.8/utilities/.deps/mogrify.Po
/home/cteadmin/imagemagick/ImageMagick-5.3.8/utilities/.libs/mogrify
/home/cteadmin/imagemagick/ImageMagick-5.3.8/utilities/mogrify.o
/home/cteadmin/imagemagick/ImageMagick-5.3.8/utilities/mogrify
/home/cteadmin/imagemagick/ImageMagick-5.3.8/www/mogrify.html
/home/cteadmin/imagemagick/ImageMagick-6.1.6/bin/mogrify
/home/cteadmin/imagemagick/ImageMagick-6.1.6/share/ImageMagick-6.1.6/www/mogrify.html
/home/cteadmin/imagemagick/ImageMagick-6.1.6/include/magick/mogrify.h
/home/cteadmin/imagemagick/ImageMagick-6.1.6/man/man1/mogrify.1
/home/cteadmin/imagemagick/ImageMagick-6.1.5/utilities/mogrify.1
/home/cteadmin/imagemagick/ImageMagick-6.1.5/utilities/mogrify.c
/home/cteadmin/imagemagick/ImageMagick-6.1.5/www/mogrify.html
/root/ImageMagick-6.1.5/bin/mogrify
/root/ImageMagick-6.1.5/share/ImageMagick-6.1.5/www/mogrify.html
/root/ImageMagick-6.1.5/include/magick/mogrify.h
/root/ImageMagick-6.1.5/man/man1/mogrify.1


I went into photopost and tried:
/root/ImageMagick-6.1.5/bin/mogrify
/ImageMagick-6.1.5/bin/mogrify
ImageMagick-6.1.5/bin/mogrify

and each time it kept returning this error when trying to process an image:

Error creating thumbnail! Error code: 127

Command: "ImageMagick-6.1.5/bin/mogrify" -size 150x113 -quality 60 -geometry 150x113 /home/ggadmin/public_html/gallery/data/1675/1painkiller-thumb.jpg

What can I do? I don't understand why it's putting 6.1.6 into the 6.1.5 directory? Still, if I give it the path to where it installed it should work. What can I do?
Johnny Doomo is offline   Reply With Quote
Old December 9th, 2004, 11:21 AM   #30 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Put of curiosity did you run the make and make install?

/home/cteadmin/imagemagick/ImageMagick-6.1.6/bin/mogrify

did you try this one?

You doing a root or a non-root install?

If your doing a root install you should end up with it installed at

/usr/bin/mogrify

/usr/local/bin/mogrify

/usr/X11R6/bin/mogrify

I do not know what else to tell you other than we offer installation server where we would install this for you. Those install docs are the same ones I use to compile Imagemagick on peoples servers.

You also sure you su in to become root on while installing?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 9th, 2004, 08:07 PM   #31 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
When I changed it to

/usr/local/bin/mogrify

I got this error:

Error creating watermarked original! Error code: 6

Command: "/usr/local/bin/composite" -compose over -gravity SouthEast /home/ggadmin/public_html/gallery/images/gg_watermark.png /home/ggadmin/public_html/gallery/data/1675/1painkiller.jpg /home/ggadmin/public_html/gallery/data/1675/1painkiller.jpg

Here is what I did to install 6.1.6
1. upload ImageMagick-6.1.6-2.tar.gz through Cuteftp to a using the cteadmin account. It's put at /home/cteadmin/imagemagick/ImageMagick-6.1.6-2.tar.gz

2. Then I run gunzip *.gz which renames the file to ImageMagick-6.1.6-2.tar

3. I then run tar -xvf ImageMagick-6.1.6-2.tar

4. Then I go into the directory it just created which is located at /home/cteadmin/imagemagick/ImageMagick-6.1.6

5. Then I run the ./configure --enable-lzw=yes --enable-shared=yes --disable-static --without-perl command

6. Still in the same directory I run the "make" command

7. Same directory I type "make install"

8. I run the locate command, copy and paste it here in this forum and whine to you that it doesn't work.

Any ideas? I've done what the instructions say. Should I be uploaded it somewhere else? When I first started it, I didn't know how to get a directory in the root of my drive, so I had to upload it through an account on the server, that's why it wound up in the /home/cteadmin direcory.

Do you have any other suggestions for me that I can try?
Johnny Doomo is offline   Reply With Quote
Old December 9th, 2004, 08:10 PM   #32 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
If your trying to write or install to the root files I stated you would need to SU to root.

If you are not logging in as the root user or using su to login using a root password you can not overwrite files in the base server level.

You would need to do a non-root install if thats the case and then you can not use a png image only jpg and gif
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 10th, 2004, 10:39 AM   #33 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
1. I have root

2. What is SU?

3. How do I get the file extracted to where it needs to be? I have the ftp addresses to the domains that are located on my server, but when you upload through Cuteftp to a domain it always puts it in /home/username Isn't that right?
Johnny Doomo is offline   Reply With Quote
Old December 10th, 2004, 10:45 AM   #34 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
No not right.

If your specify no install prefix it would install to either /usr/local/bin/mogrify or /usr/X11R6/bin/mogrify

su is a linux command

Usually when you have root access you have a normal password and a root one
you login and then type su and enter the root password so you can alter base server files
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:28 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0