J
Joe Young
Problem:: I can't install cpan DBD::mysql (have tried several c
compilers, inc Oracle Sol Studio)
and am on my second version of perl
==========================================
Solaris 10x86
gcc version 3.4.6
perl 5, version 14, subversion 1 (v5.14.1)
make
cc -c -I/usr/local/lib/perl5/site_perl/5.14.1/i86pc-solaris/auto/DBI -
I/usr/sfw/include/mysql -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-
aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"4.019\" -
DXS_VERSION=\"4.019\" -fPIC "-I/usr/local/lib/perl5/5.14.1/i86pc-
solaris/CORE" dbdimp.c
dbdimp.c:3481: error: syntax error before "if"
dbdimp.c:3495: error: syntax error before '->' token
dbdimp.c:3510: error: syntax error before '(' token
dbdimp.c:3510: error: conflicting types for 'PerlIO_printf'
dbdimp.c:3510: note: a parameter list with an ellipsis can't match an
empty parameter name list declaration
/usr/local/lib/perl5/5.14.1/i86pc-solaris/CORE/perlio.h:287: error:
previous declaration of 'PerlIO_printf' was here
dbdimp.c:3510: error: conflicting types for 'PerlIO_printf'
dbdimp.c:3510: note: a parameter list with an ellipsis can't match an
empty parameter name list declaration
/usr/local/lib/perl5/5.14.1/i86pc-solaris/CORE/perlio.h:287: error:
previous declaration of 'PerlIO_printf' was here
make: *** [dbdimp.o] Error 1
PS: cc is a symlink to /usr/local/bin/gcc
compilers, inc Oracle Sol Studio)
and am on my second version of perl
==========================================
Solaris 10x86
gcc version 3.4.6
perl 5, version 14, subversion 1 (v5.14.1)
make
cc -c -I/usr/local/lib/perl5/site_perl/5.14.1/i86pc-solaris/auto/DBI -
I/usr/sfw/include/mysql -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-
aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"4.019\" -
DXS_VERSION=\"4.019\" -fPIC "-I/usr/local/lib/perl5/5.14.1/i86pc-
solaris/CORE" dbdimp.c
dbdimp.c:3481: error: syntax error before "if"
dbdimp.c:3495: error: syntax error before '->' token
dbdimp.c:3510: error: syntax error before '(' token
dbdimp.c:3510: error: conflicting types for 'PerlIO_printf'
dbdimp.c:3510: note: a parameter list with an ellipsis can't match an
empty parameter name list declaration
/usr/local/lib/perl5/5.14.1/i86pc-solaris/CORE/perlio.h:287: error:
previous declaration of 'PerlIO_printf' was here
dbdimp.c:3510: error: conflicting types for 'PerlIO_printf'
dbdimp.c:3510: note: a parameter list with an ellipsis can't match an
empty parameter name list declaration
/usr/local/lib/perl5/5.14.1/i86pc-solaris/CORE/perlio.h:287: error:
previous declaration of 'PerlIO_printf' was here
make: *** [dbdimp.o] Error 1
PS: cc is a symlink to /usr/local/bin/gcc