Installing gd.pm

2002-10-27 Thread Brigham Mecham
I am trying to install gd.pm.  I have successfully installed gd with 
jpeg and png support as outlined in the article at stepwise.com.  I 
then tried to use CPAN to install gd.pm, however it complained that 
about an error in the make step.  So, I tried to do it manually.  First 
I went to the directory and did the following:

 bhmecham% perl Makefile.pl
 This command complained about an error in the file regarding an email 
address that was improperly typed in the file.   So I fixed it and 
again typed perl Makfile.pl.  This time it worked fine.  However when I 
type make I get the following.

bhmecham% make
cc -c -I/usr/local/include -I/usr/local/include/gd -g -pipe -pipe 
-fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE 
-fno-strict-aliasing -Os -DVERSION=\2.02\ -DXS_VERSION=\2.02\  
-I/System/Library/Perl/darwin/CORE -DHAVE_JPEG GD.c
cc1: warning: changing search order for system directory 
/usr/local/include
cc1: warning:   as it has already been specified as a non-system 
directory
GD.xs: In function `gd_cloneDim':
GD.xs:365: structure has no member named `alpha'
GD.xs:365: structure has no member named `alpha'
GD.xs:371: structure has no member named `thick'
GD.xs:371: structure has no member named `thick'
GD.xs: In function `XS_GD__Image_copyRotate90':
GD.xs:933: invalid lvalue in assignment
GD.xs:933: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyRotate180':
GD.xs:954: invalid lvalue in assignment
GD.xs:954: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyRotate270':
GD.xs:975: invalid lvalue in assignment
GD.xs:975: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyFlipHorizontal':
GD.xs:996: invalid lvalue in assignment
GD.xs:996: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyFlipVertical':
GD.xs:1017: invalid lvalue in assignment
GD.xs:1017: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyTranspose':
GD.xs:1038: invalid lvalue in assignment
GD.xs:1038: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyReverseTranspose':
GD.xs:1059: invalid lvalue in assignment
GD.xs:1059: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_rotate180':
GD.xs:1079: invalid lvalue in assignment
GD.xs:1079: invalid lvalue in assignment
GD.xs:1080: invalid lvalue in assignment
GD.xs:1080: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_flipHorizontal':
GD.xs:1097: invalid lvalue in assignment
GD.xs:1097: invalid lvalue in assignment
GD.xs:1098: invalid lvalue in assignment
GD.xs:1098: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_flipVertical':
GD.xs:1115: invalid lvalue in assignment
GD.xs:1115: invalid lvalue in assignment
GD.xs:1116: invalid lvalue in assignment
GD.xs:1116: invalid lvalue in assignment
make: *** [GD.o] Error 1


I do not understand what this error means or how I can get around it or 
if I need to.  Can anyone help?



What up with the mac

2002-10-10 Thread Brigham Mecham

Hello

Perhaps someone can fill me in on this one.  I am comparing the run time 
of a perl program I wrote.  Using my Mac G4 which has a 1.5 ghz 
processor and a 1.3 ghz PC computer (processor chip type I don't know 
but could find out) I am seeing that the Mac takes 14 seconds to 
complete what the PC does in 6!  What's up with that?




CPAN errors

2002-10-01 Thread Brigham Mecham

Hello

I have had some problems the past couple of days using CPAN and am not 
sure what happened.  Basically CPAN hangs up a lot on servers and some 
times can't find a module that I know exists.  Another error I am 
getting is when it tries to use lynx to access a start file.  Here is 
the error message:

lynx: Can't access startfile

Any idea what is the problem?

Brig




Re: camelbones-related question

2002-07-06 Thread Brigham Mecham

Hello Sherm and Co

I have started to use the Camelbones framework and am very grateful for 
your help and hard work Sherm.  One thing that I personally still need 
is either more examples or a link to a site where I can get more help 
using it.  For example, how do you open a new window? Use a combo box?  
Play a movie?  If my guess is right I need to learn cocoa or something, 
but I was hoping I can do it in perl with something like a 
$self-{'movie'}-play;  or a $self-{'combobox'}-comboValue; command.  
Is there a file already included that clearly explains this, or am I 
screwed.  Either way thanks for your help.

Brig




Graphics in Perl

2002-06-27 Thread Brigham Mecham

I would like to develop some software using perl and cannot seem to find 
any information on how to create windows, buttons, etc.  Can anybody 
help?