| Posted on 2007-05-07 18:42:07-07 by bfnpmsz |
| PelMagick compile errors using GCC |
|
I am in the process on installing ImageMagick. When the install go to the PerlMagic portion, it would crap out. I used the --no-perl option to get around this problem and I have ImageMagick installed and I'm moving on to tackle the PerlMagick install. Below if the output from my attempt to make the PerlMagick module.
# make CC='gcc'
gcc -c -I../ -I.. -I/usr/local/include/freetype2 -I/usr/local/include -I/opt/freeware/include/libxml2 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -g -O2 -O -DVERSION=\"6.3.2\" -DXS_VERSION=\"6.3.2\" "-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" -D_FILE_OFFSET_BITS=unknown -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
gcc: unrecognized option `-qmaxmem=16384'
gcc: unrecognized option `-qnoansialias'
gcc: unrecognized option `-q32'
gcc: unrecognized option `-qlonglong'
In file included from /usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/perl.h:2071,
from Magick.xs:61:
/usr/include/pthread.h:582: error: parse error before '*' token
/usr/include/pthread.h:585: error: parse error before '*' token
/usr/include/pthread.h:589: error: parse error before '*' token
/usr/include/pthread.h:592: error: parse error before '*' token
/usr/include/pthread.h:595: error: parse error before '*' token
/usr/include/pthread.h:598: error: parse error before '*' token
/usr/include/pthread.h:601: error: parse error before '*' token
/usr/include/pthread.h:604: error: parse error before '*' token
/usr/include/pthread.h:607: error: parse error before '*' token
/usr/include/pthread.h:611: error: parse error before '*' token
/usr/include/pthread.h:614: error: parse error before '*' token
/usr/include/pthread.h:625: error: parse error before '*' token
/usr/include/pthread.h:629: error: parse error before '*' token
/usr/include/pthread.h:652: error: parse error before '*' token
/usr/include/pthread.h:655: error: parse error before '*' token
/usr/include/pthread.h:658: error: parse error before '*' token
/usr/include/pthread.h:661: error: parse error before '*' token
/usr/include/pthread.h:664: error: parse error before '*' token
/usr/include/pthread.h:672: error: parse error before '*' token
/usr/include/pthread.h:675: error: parse error before '*' token
/usr/include/pthread.h:678: error: parse error before '*' token
/usr/include/pthread.h:681: error: parse error before '*' token
/usr/include/pthread.h:689: error: parse error before '*' token
/usr/include/pthread.h:693: error: parse error before '*' token
/usr/include/pthread.h:696: error: parse error before '*' token
In file included from /usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/op.h:484,
from /usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/perl.h:2344,
from Magick.xs:61:
/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.h:619: error: field `_drand48_struct' has incomplete type
/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.h:727: error: field `_random_struct' has incomplete type
/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.h:775: error: field `_srandom_struct' has incomplete type
/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.h:779: confused by earlier errors, bailing out
make: 1254-004 The error code from the last command is 1.
Stop.
Any ideas?
bfnpmsz
|
| Direct Responses: Write a response |