Help with RT3 and Statistics 3

I’m running a box with the following :-
Redhat 9.0
Perl 5.8.0
RT 3.0.9
gd-devel 1.8.4.11
gd-1.8.4.11
libgd-2-0.22-1
I trying to install Statistics 3, I think i have all the reqirements
installed but when a run the make in the GD-2.12 I get the following
error:-
[root@phillip GD-2.12]# make
gcc -c -I/usr/local/include -I/usr/local/include/gd -D_REENTRANT
-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686
-DVERSION="2.12" -DXS_VERSION="2.12" -fPIC
“-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE” GD.c
GD.xs: In function newDynamicCtx': GD.xs:430: structure has no member named gd_free’
GD.xs: In function gd_cloneDim': GD.xs:450: structure has no member named alpha’
GD.xs:450: structure has no member named alpha' GD.xs:456: structure has no member named thick’
GD.xs:456: structure has no member named thick' GD.xs: In function XS_GD__Image_newFromPngData’:
GD.xs:584: structure has no member named gd_free' GD.xs: In function XS_GD__Image_newFromGdData’:
GD.xs:603: structure has no member named gd_free' GD.xs: In function XS_GD__Image_newFromGd2Data’:
GD.xs:620: structure has no member named gd_free' GD.xs: In function XS_GD__Image_newFromWBMPData’:
GD.xs:665: structure has no member named gd_free' GD.xs: In function XS_GD__Image_copyRotate90’:
GD.xs:1026: invalid lvalue in assignment
GD.xs:1026: invalid lvalue in assignment
GD.xs: In function XS_GD__Image_copyRotate180': GD.xs:1047: invalid lvalue in assignment GD.xs:1047: invalid lvalue in assignment GD.xs: In function XS_GD__Image_copyRotate270’:
GD.xs:1068: invalid lvalue in assignment
GD.xs:1068: invalid lvalue in assignment
GD.xs: In function XS_GD__Image_copyFlipHorizontal': GD.xs:1089: invalid lvalue in assignment GD.xs:1089: invalid lvalue in assignment GD.xs: In function XS_GD__Image_copyFlipVertical’:
GD.xs:1110: invalid lvalue in assignment
GD.xs:1110: invalid lvalue in assignment
GD.xs: In function XS_GD__Image_copyTranspose': GD.xs:1131: invalid lvalue in assignment GD.xs:1131: invalid lvalue in assignment GD.xs: In function XS_GD__Image_copyReverseTranspose’:
GD.xs:1152: invalid lvalue in assignment
GD.xs:1152: invalid lvalue in assignment
GD.xs: In function XS_GD__Image_rotate180': GD.xs:1172: invalid lvalue in assignment GD.xs:1172: invalid lvalue in assignment GD.xs:1173: invalid lvalue in assignment GD.xs:1173: invalid lvalue in assignment GD.xs: In function XS_GD__Image_flipHorizontal’:
GD.xs:1190: invalid lvalue in assignment
GD.xs:1190: invalid lvalue in assignment
GD.xs:1191: invalid lvalue in assignment
GD.xs:1191: invalid lvalue in assignment
GD.xs: In function XS_GD__Image_flipVertical': GD.xs:1208: invalid lvalue in assignment GD.xs:1208: invalid lvalue in assignment GD.xs:1209: invalid lvalue in assignment GD.xs:1209: invalid lvalue in assignment GD.xs: In function XS_GD__Image_stringFT’:
GD.xs:1858: gdFTStringExtra' undeclared (first use in this function) GD.xs:1858: (Each undeclared identifier is reported only once GD.xs:1858: for each function it appears in.) GD.xs:1858: parse error before "strex" GD.xs:1877: strex’ undeclared (first use in this function)
GD.xs:1881: gdFTEX_LINESPACE' undeclared (first use in this function) GD.xs:1885: gdFTEX_CHARMAP’ undeclared (first use in this function)
GD.xs:1887: gdFTEX_Unicode' undeclared (first use in this function) GD.xs:1889: gdFTEX_Shift_JIS’ undeclared (first use in this function)
GD.xs:1891: `gdFTEX_Big5’ undeclared (first use in this function)
GD.xs:1895: warning: assignment makes pointer from integer without a cast
make: *** [GD.o] Error 1
[root@phillip GD-2.12]# rpm -qa|grep gd
gdk-pixbuf-0.22.0-6.1.0
gdbm-1.8.0-20
sysklogd-1.4.1-12
gdm-2.4.1.3-5.1
gdbm-devel-1.8.0-20
gdk-pixbuf-gnome-0.22.0-6.1.0
gd-1.8.4-11
gdb-5.3post-0.20021129.18
gd-devel-1.8.4-11
libgd-2.0.22-1

Kind Regards,
Phillip
Phillip Leremi
Tel: 011 884 7633
Fax: 011 883 5805
phillip@reportstar.net

I’m running a box with the following :-
Redhat 9.0
Perl 5.8.0
RT 3.0.9
gd-devel 1.8.4.11
gd-1.8.4.11
libgd-2-0.22-1

SRPMS
http://rpmfind.net//linux/RPM/fedora/1/src/gd-2.0.15-1.src.html

RPMS
http://rpmfind.net//linux/RPM/fedora/1/i386/gd-2.0.15-1.i386.html
http://rpmfind.net//linux/RPM/fedora/1/i386/gd-devel-2.0.15-1.i386.html

install those RPMS and it should build. If not… try removeing libgd.

Paulo Matos

|Sys & Net Admin | Servi�o de Inform�tica |
|Faculdade de Ci�ncias e Tecnologia | Tel: +351-21-2948596 |
|Universidade Nova de Lisboa | Fax: +351-21-2948548 |
|P-2829-516 Caparica | e-Mail: pjsm@fct.unl.pt |


I think you’re going to want to have all 2.X’s for gd.

This is semi documented in the Statistics README.

“My installation works with GD version 2.0.15, GD::Graph is version 1.43
(current in CPAN as of September 2003).”

the gotcha there is CPAN’s GD::Graph actually is commented as being 1.53, but
versioning it shows its 1.43 . But its the same piece of code.

The other issue I see you have (other than running red hat, heh) is perl,
which MUST be 5.8.3 or issues develop. Not sure if it matters in your case
specific to libgd, but it would be a prudent move to get your system up to
recommended RT platform first.

So get your gd / libgd above 2, fix perl and then see what happens. Just
because it is the “latest” red hat doesn’t mean it is in any way current to the
rest of the perl coding world. RT tends to be somewhat cutting-edge with regard
to perl dependencies and related.

i’m even kind of wondering if its ok to run with a “libgd” of 2 but a “gd” and
“gd-devel” of 1.8. Scary stuff. But I don’t run redhat / rpm, so that might be
ok, but its worth checking into.

Working this stuff out took me over a week, much trial and error, and I’m a
lowly system admin, not a perl programmer. If I can get it figured out you
probably can too.

Good luck!

I’m running a box with the following :-
Redhat 9.0
Perl 5.8.0
RT 3.0.9
gd-devel 1.8.4.11
gd-1.8.4.11
libgd-2-0.22-1
I trying to install Statistics 3, I think i have all the reqirements
installed but when a run the make in the GD-2.12 I get the following
error:-
[root@phillip GD-2.12]# make
gcc -c -I/usr/local/include -I/usr/local/include/gd -D_REENTRANT
-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686
-DVERSION="2.12" -DXS_VERSION="2.12" -fPIC
“-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE” GD.c
GD.xs: In function newDynamicCtx': GD.xs:430: structure has no member named gd_free’
GD.xs: In function gd_cloneDim': GD.xs:450: structure has no member named alpha’
GD.xs:450: structure has no member named alpha' GD.xs:456: structure has no member named thick’
GD.xs:456: structure has no member named thick' GD.xs: In function XS_GD__Image_newFromPngData’:
GD.xs:584: structure has no member named gd_free' GD.xs: In function XS_GD__Image_newFromGdData’:
GD.xs:603: structure has no member named gd_free' GD.xs: In function XS_GD__Image_newFromGd2Data’:
GD.xs:620: structure has no member named gd_free' GD.xs: In function XS_GD__Image_newFromWBMPData’:
GD.xs:665: structure has no member named gd_free' GD.xs: In function XS_GD__Image_copyRotate90’:
GD.xs:1026: invalid lvalue in assignment
GD.xs:1026: invalid lvalue in assignment
GD.xs: In function XS_GD__Image_copyRotate180': GD.xs:1047: invalid lvalue in assignment GD.xs:1047: invalid lvalue in assignment GD.xs: In function XS_GD__Image_copyRotate270’:
GD.xs:1068: invalid lvalue in assignment
GD.xs:1068: invalid lvalue in assignment
GD.xs: In function XS_GD__Image_copyFlipHorizontal': GD.xs:1089: invalid lvalue in assignment GD.xs:1089: invalid lvalue in assignment GD.xs: In function XS_GD__Image_copyFlipVertical’:
GD.xs:1110: invalid lvalue in assignment
GD.xs:1110: invalid lvalue in assignment
GD.xs: In function XS_GD__Image_copyTranspose': GD.xs:1131: invalid lvalue in assignment GD.xs:1131: invalid lvalue in assignment GD.xs: In function XS_GD__Image_copyReverseTranspose’:
GD.xs:1152: invalid lvalue in assignment
GD.xs:1152: invalid lvalue in assignment
GD.xs: In function XS_GD__Image_rotate180': GD.xs:1172: invalid lvalue in assignment GD.xs:1172: invalid lvalue in assignment GD.xs:1173: invalid lvalue in assignment GD.xs:1173: invalid lvalue in assignment GD.xs: In function XS_GD__Image_flipHorizontal’:
GD.xs:1190: invalid lvalue in assignment
GD.xs:1190: invalid lvalue in assignment
GD.xs:1191: invalid lvalue in assignment
GD.xs:1191: invalid lvalue in assignment
GD.xs: In function XS_GD__Image_flipVertical': GD.xs:1208: invalid lvalue in assignment GD.xs:1208: invalid lvalue in assignment GD.xs:1209: invalid lvalue in assignment GD.xs:1209: invalid lvalue in assignment GD.xs: In function XS_GD__Image_stringFT’:
GD.xs:1858: gdFTStringExtra' undeclared (first use in this function) GD.xs:1858: (Each undeclared identifier is reported only once GD.xs:1858: for each function it appears in.) GD.xs:1858: parse error before "strex" GD.xs:1877: strex’ undeclared (first use in this function)
GD.xs:1881: gdFTEX_LINESPACE' undeclared (first use in this function) GD.xs:1885: gdFTEX_CHARMAP’ undeclared (first use in this function)
GD.xs:1887: gdFTEX_Unicode' undeclared (first use in this function) GD.xs:1889: gdFTEX_Shift_JIS’ undeclared (first use in this function)
GD.xs:1891: `gdFTEX_Big5’ undeclared (first use in this function)
GD.xs:1895: warning: assignment makes pointer from integer without a cast
make: *** [GD.o] Error 1
[root@phillip GD-2.12]# rpm -qa|grep gd
gdk-pixbuf-0.22.0-6.1.0
gdbm-1.8.0-20
sysklogd-1.4.1-12
gdm-2.4.1.3-5.1
gdbm-devel-1.8.0-20
gdk-pixbuf-gnome-0.22.0-6.1.0
gd-1.8.4-11
gdb-5.3post-0.20021129.18
gd-devel-1.8.4-11
libgd-2.0.22-1


Kind Regards,
Phillip
Phillip Leremi
Tel: 011 884 7633
Fax: 011 883 5805
phillip@reportstar.net
www.reportstar.net