[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing • View topic - How to install GD Library on Win2kServer?

Cheshire Cat Computing

Software support and information
It is currently Thu Nov 13, 2025 5:29 am

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next
Author Message
 Post subject:
PostPosted: Sun Nov 02, 2003 10:24 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
You probably know this one already, but for the benefit of others...

On previous versions of ActivePerl, you can use the 'ppm install GD' command (after setting the necessary environment variables, if you use a proxy server) to download and install the GD module. However, under the latest version, it appears that they have not yet provided the GD module in PPM format.

You may be able to use the files from the older version, if you have it installed, just by copying them over to the same location. No promises though, I have not tried this.

If you have a C compiler, you may well be able to get the GD source code from cpan.org and compile it up yourself.

Steve


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Wed Nov 12, 2003 10:49 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand


Top
 Profile Send private message  
 
PostPosted: Fri Feb 06, 2004 1:31 pm 
Offline
User

Joined: Fri Feb 06, 2004 12:09 pm
Posts: 8
Hi, Steve!

Your script rules and I love it. Just one thing. I am getting an error on the compact summary page indicating that the GD Perl Modules could not be found. I have followed the instructions in your previous post and have successfully installed the GD lib , however, the compact summary is still not available for some reason. When I used PPM to installt the GD lib, it indicated that it went to c:\perl\site\lib and have added this to my path. My info sheet still says, RRDs library found OK (Version 1.0.40)
GD library NOT FOUND. This would not be a problem if you had compact=no in the routers.conf. What am I missing? The files are all there. TIA!

~Drew


Top
 Profile Send private message  
 
 Post subject: One more thing
PostPosted: Fri Feb 06, 2004 1:35 pm 
Offline
User

Joined: Fri Feb 06, 2004 12:09 pm
Posts: 8
I tried to install the GD lib again and it returned:

ppm> install GD
Note: Package 'GD' is already installed.
ppm>

I'm pulling my hair out.


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Sun Feb 08, 2004 8:27 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
This is odd, usually if install.pl can find it then the info page can also.

Can you tell me the version of Perl you are using, and which operating system you run (windowns, linux, solaris, etc)?

Also, it may be that it has installed into an unexpected location. Find which directory on the system contains GD.pm -- it should be under site_perl in your Perl library install directory. Add this to the LibAdd: declaration in your .cfg files.

One possibility is that you have a very old GD library -- it may only support GIF and not PNG. This is usually only the case in older UNIX installs (particularly Linux Redhat 7.3 and earlier).

Steve


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Mon Feb 09, 2004 11:15 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
I read your post again -- properly this time.

Your error message is complaining about the RRDs.pm library. This is the RRDTool library -- I am guessing that it is not installed into the site-perl path, but you access it via the LibAdd in the various .cfg files.

It sounds as if GD is installed correctly, but you need to install RRD into site-perl so that the compact screen can find it (this is a 'feature' in that the compact routines should use any libadd directives they can find in the .cfg files).

Try the 'make site-perl' (unix) or equivalent for Windows to install the RRDs.pm and associated files into the site-perl path. This should fix it.

Steve


Top
 Profile Send private message  
 
 Post subject: Still can't get it
PostPosted: Wed Feb 11, 2004 8:41 am 
Offline
User

Joined: Fri Feb 06, 2004 12:09 pm
Posts: 8
Hi Steve

Thanks for your prompt responses. I guess I'm a little confused. First of all here is my machine info.

Active Perl 5.8.2 Build 808
WinXP SP1
RRDTool 1.0.38
Routers2.cgi 2.13a

Main *.cfg:
runasdaemon: yes
Logformat: rrdtool
PathAdd: d:\mrtg\rrdtool\src\tool_release\
#LibAdd: d:\perl\lib\
LibAdd: d:\mrtg\rrdtool\perl-shared\
WorkDir: d:\mrtg\data
include: 1stfloorswitch.cfg (note: the config files do not have the LibAdd, WorkDir, or PathAdd inlcuded in them)
...

Located in ..\perl-shared:
RRDs.bs
RRDs.c
RRDs.def
RRDs.pm
RRDs.ppd
RRDs.xs

The error according to routers2.cgi
RRDs library found OK (Version 1.0.40)
GD library NOT FOUND. This would not be a problem if you had compact=no in the routers.conf.

I'm a little new to this so your statement about the site-perl confuses me in regards to installing GD.pm and RRDs.pm. As far as I know the RRDs.pm is installed:
ppm> install rrds.ppd
Note: Package 'RRDs' is already installed.

I've tried to locate a GD.ppd file to install for Perl 5.8 but haven't had any success. The previous link is not available to download the GD.ppd file.

What else can I try or what other info do you need.

I really appreciate your help.

~Drew

You can send me email at andrewm@bigdogs.com instead if you wish.


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group