Alan Winston - SSRL Central Computing <[EMAIL PROTECTED]> wrote:
> Martin kindly wrote:
> > Alan Winston - SSRL Central Computing <[EMAIL PROTECTED]>
wrote:
> > > Has anybody out there got GD and Chart::Plot working on VMS?
> > > Any hints or kinks?
> >
> > It's been some time I've looked into GD but as far as I remember
> > I never had any problems (neither with libgd nor with GD.pm).
>
> I can't figure out how to tell the GD.PM installation where
> to find the GD libraries. (I've got libgd and libjpeg handy
> from the Analog installation.)
> Anyway, makefile.pl ends up building an MMS file that looks
> for them in USR, which I don't have defined. Is there a magic
> incantation to fake USR:[LOCAL] to the directory I need, or some
> place where I can copy the directory I need so
> that MMS/LINK can find it?
I admit this can be a bit of a hassle: you have to adjust Makefile.PL
WRT the paths to libgd etc. In mine this looks like
<QUOTE>
# =====> PATHS: CHECK AND ADJUST <=====
system('define/job/translation=conceal lib_root
disk$data:[software.lib.]')
if $^O eq 'VMS';
my @INC = qw(
-I/lib_root/gd-1_8_4
-I/lib_root/libpng-1_0_11
-I/lib_root/zlib-1_1_4
-I/lib_root/jpeg-6b
-I/lib_root/freetype-1_3_1/lib
);
my @LIBPATH = qw(
-L/lib_root/gd-1_8_4
-L/lib_root/libpng-1_0_11
-L/lib_root/zlib-1_1_4
-L/lib_root/jpeg-6b
-L/lib_root/freetype-1_3_1
);
my @LIBS = qw(-llibgd.olb -llibpng.olb -llibz.olb);
</QUOTE>
(I have an all-singing, all-dancing GD.pm v1.33)
cu,
Martin
--
One OS to rule them all | Martin Vorlaender | VMS & WNT
programmer
One OS to find them | work: [EMAIL PROTECTED]
One OS to bring them all |
http://www.pdv-systeme.de/users/martinv/
And in the Darkness bind them.| home: [EMAIL PROTECTED]