Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Perl DBI-1.633 installation on RHEL 5.7

by krisnaa1980 (Initiate)
on Jun 09, 2015 at 10:58 UTC ( #1129636=perlquestion: print w/replies, xml ) Need Help??

krisnaa1980 has asked for the wisdom of the Perl Monks concerning the following question:

Hi All, I am trying to install Perl DBI-1.633 on RHEL 5.7, the below errors are shown when I run the 'make' command as root user.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Skip blib/arch/auto/DBI/Driver_xst.h (unchanged) Skip blib/lib/DBI/Gofer/Response.pm (unchanged) Skip blib/lib/DBD/Proxy.pm (unchanged) Skip blib/lib/DBI/Util/_accessor.pm (unchanged) Skip blib/lib/DBI/Gofer/Transport/Base.pm (unchanged) Skip blib/lib/DBD/DBM.pm (unchanged) Skip blib/arch/auto/DBI/DBIXS.h (unchanged) Skip blib/lib/DBI/Gofer/Serializer/DataDumper.pm (unchanged) Skip blib/lib/DBI/Const/GetInfoType.pm (unchanged) Skip blib/lib/dbixs_rev.pl (unchanged) Skip blib/lib/DBI/DBD/Metadata.pm (unchanged) Skip blib/lib/DBI/Const/GetInfo/ODBC.pm (unchanged) Skip blib/lib/DBD/Gofer/Transport/pipeone.pm (unchanged) Skip blib/lib/DBI/ProfileDumper/Apache.pm (unchanged) Skip blib/arch/auto/DBI/Driver.xst (unchanged) Skip blib/lib/DBD/File.pm (unchanged) Skip blib/lib/DBD/File/Roadmap.pod (unchanged) Skip blib/lib/DBI/Util/CacheMemory.pm (unchanged) Skip blib/lib/DBI/ProfileSubs.pm (unchanged) Skip blib/lib/DBD/NullP.pm (unchanged) Skip blib/arch/auto/DBI/dbi_sql.h (unchanged) Skip blib/lib/DBD/Gofer.pm (unchanged) Skip blib/lib/DBD/File/HowTo.pod (unchanged) Skip blib/lib/DBI/DBD/SqlEngine/HowTo.pod (unchanged) Skip blib/arch/auto/DBI/dbd_xsh.h (unchanged) Skip blib/arch/auto/DBI/dbivport.h (unchanged) Skip blib/lib/DBI/FAQ.pm (unchanged) Skip blib/arch/auto/DBI/dbixs_rev.h (unchanged) Skip blib/lib/DBD/Gofer/Transport/Base.pm (unchanged) Skip blib/lib/DBD/Gofer/Transport/corostream.pm (unchanged) Skip blib/lib/DBD/Gofer/Policy/rush.pm (unchanged) Skip blib/lib/DBI/SQL/Nano.pm (unchanged) Skip blib/lib/DBI/Gofer/Request.pm (unchanged) Skip blib/lib/DBI/Const/GetInfo/ANSI.pm (unchanged) Skip blib/lib/DBD/Gofer/Transport/stream.pm (unchanged) Skip blib/lib/DBD/Gofer/Policy/classic.pm (unchanged) Skip blib/lib/DBI/Gofer/Transport/stream.pm (unchanged) Skip blib/lib/DBI/Gofer/Serializer/Storable.pm (unchanged) Skip blib/lib/DBI/Const/GetInfoReturn.pm (unchanged) Skip blib/lib/DBI.pm (unchanged) Skip blib/lib/DBD/Gofer/Policy/Base.pm (unchanged) Skip blib/lib/DBD/Sponge.pm (unchanged) Skip blib/lib/DBD/Gofer/Policy/pedantic.pm (unchanged) Skip blib/lib/DBI/W32ODBC.pm (unchanged) Skip blib/lib/DBI/Gofer/Transport/pipeone.pm (unchanged) Skip blib/lib/DBI/DBD/SqlEngine/Developers.pod (unchanged) Skip blib/lib/DBD/Gofer/Transport/null.pm (unchanged) Skip blib/lib/Bundle/DBI.pm (unchanged) Skip blib/lib/DBD/File/Developers.pod (unchanged) Skip blib/lib/DBI/Profile.pm (unchanged) Skip blib/lib/DBI/ProfileDumper.pm (unchanged) Skip blib/lib/DBI/ProxyServer.pm (unchanged) Skip blib/lib/DBI/Gofer/Serializer/Base.pm (unchanged) Skip blib/arch/auto/DBI/dbipport.h (unchanged) Skip blib/lib/DBI/Gofer/Execute.pm (unchanged) Skip blib/lib/DBI/DBD.pm (unchanged) Skip blib/lib/Win32/DBIODBC.pm (unchanged) Skip blib/lib/DBI/DBD/SqlEngine.pm (unchanged) Skip blib/lib/DBI/PurePerl.pm (unchanged) Skip blib/lib/DBD/ExampleP.pm (unchanged) Skip blib/lib/DBI/ProfileData.pm (unchanged) Running Mkbootstrap for DBI () chmod 644 "DBI.bs" gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdecla +ration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FI +LE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTI +FY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 +-m64 -mtune=generic -DVERSION=\"1.633\" -DXS_VERSION=\"1.633\" -fPI +C "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -W -Wall + -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare - +Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter Perl.c In file included from DBIXS.h:23, from Perl.xs:7: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:420:24: e +rror: sys/types.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:451:19: e +rror: ctype.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:463:23: e +rror: locale.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:480:20: e +rror: setjmp.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:486:26: e +rror: sys/param.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:491:23: e +rror: stdlib.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:496:23: e +rror: unistd.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:776:23: e +rror: string.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:925:27: e +rror: netinet/in.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:929:26: e +rror: arpa/inet.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:939:25: e +rror: sys/stat.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:961:21: e +rror: time.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:968:25: e +rror: sys/time.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:975:27: e +rror: sys/times.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:982:19: e +rror: errno.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:997:25: e +rror: sys/socket.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:1024:21: +error: netdb.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:1127:24: +error: sys/ioctl.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:1156:23: +error: dirent.h: No such file or directory In file included from /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/s +yslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/l +imits.h:11, from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi +/CORE/perl.h:1510, from DBIXS.h:23, from Perl.xs:7: /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/limits.h:122:61: error: + limits.h: No such file or directory In file included from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi +/CORE/perl.h:2120, from DBIXS.h:23, from Perl.xs:7: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/handy.h:136:25: +error: inttypes.h: No such file or directory In file included from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi +/CORE/perl.h:2284, from DBIXS.h:23, from Perl.xs:7: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/unixish.h:106:21 +: error: signal.h: No such file or directory In file included from DBIXS.h:23, from Perl.xs:7: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:2421:33: +error: pthread.h: No such file or directory In file included from DBIXS.h:23, from Perl.xs:7: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:2423: err +or: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__ +’ before ‘perl_os_thread’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:2424: err +or: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__ +’ before ‘perl_mutex’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:2425: err +or: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__ +’ before ‘perl_cond’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:2426: err +or: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__ +’ before ‘perl_key’ In file included from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi +/CORE/iperlsys.h:51, from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi +/CORE/perl.h:2733, from DBIXS.h:23, from Perl.xs:7: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perlio.h:65:19: +error: stdio.h: No such file or directory In file included from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi +/CORE/iperlsys.h:51, from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi +/CORE/perl.h:2733, from DBIXS.h:23, from Perl.xs:7: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perlio.h:259: er +ror: expected ‘)’ before ‘*’ token /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perlio.h:262: er +ror: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute_ +_’ before ‘*’ token /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perlio.h:265: er +ror: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute_ +_’ before ‘*’ token /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perlio.h:268: er +ror: expected declaration specifiers or ‘...’ before ‘FILE’ In file included from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi +/CORE/perl.h:2747, from DBIXS.h:23, from Perl.xs:7: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/sv.h:389: error: + expected specifier-qualifier-list before ‘DIR’ In file included from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi +/CORE/op.h:499, from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi +/CORE/perl.h:2754, from DBIXS.h:23, from Perl.xs:7: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/reentr.h:72:20: +error: pwd.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/reentr.h:75:20: +error: grp.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/reentr.h:85:26: +error: crypt.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/reentr.h:90:27: +error: shadow.h: No such file or directory In file included from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi +/CORE/op.h:499, from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi +/CORE/perl.h:2754, from DBIXS.h:23, from Perl.xs:7: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/reentr.h:612: er +ror: field ‘_crypt_struct’ has incomplete type /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/reentr.h:620: er +ror: field ‘_drand48_struct’ has incomplete type /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/reentr.h:624: er +ror: field ‘_grent_struct’ has incomplete type /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/reentr.h:635: er +ror: field ‘_hostent_struct’ has incomplete type /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/reentr.h:654: er +ror: field ‘_netent_struct’ has incomplete type /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/reentr.h:669: er +ror: field ‘_protoent_struct’ has incomplete type /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/reentr.h:684: er +ror: field ‘_pwent_struct’ has incomplete type /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/reentr.h:695: er +ror: field ‘_servent_struct’ has incomplete type /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/reentr.h:710: er +ror: field ‘_spent_struct’ has incomplete type /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/reentr.h:721: er +ror: field ‘_gmtime_struct’ has incomplete type /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/reentr.h:724: er +ror: field ‘_localtime_struct’ has incomplete type /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/reentr.h:771: er +ror: field ‘_random_struct’ has incomplete type /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/reentr.h:772: er +ror: expected specifier-qualifier-list before ‘int32_t’ In file included from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi +/CORE/perl.h:2756, from DBIXS.h:23, from Perl.xs:7: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/av.h:13: error: +expected specifier-qualifier-list before ‘ssize_t’ In file included from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi +/CORE/perl.h:2759, from DBIXS.h:23, from Perl.xs:7: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/scope.h:232: err +or: expected specifier-qualifier-list before ‘sigjmp_buf’ In file included from DBIXS.h:23, from Perl.xs:7: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:2931: err +or: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__ +’ before ‘getuid’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:2932: err +or: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__ +’ before ‘geteuid’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:2933: err +or: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__ +’ before ‘getgid’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:2934: err +or: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__ +’ before ‘getegid’ In file included from DBIXS.h:23, from Perl.xs:7: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:3238:22: +error: math.h: No such file or directory In file included from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi +/CORE/perl.h:3881, from DBIXS.h:23, from Perl.xs:7: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/thrdvar.h:85: er +ror: field ‘Tstatbuf’ has incomplete type /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/thrdvar.h:86: er +ror: field ‘Tstatcache’ has incomplete type /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/thrdvar.h:91: er +ror: field ‘Ttimesbuf’ has incomplete type In file included from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi +/CORE/perl.h:3883, from DBIXS.h:23, from Perl.xs:7: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/intrpvar.h:66: e +rror: expected specifier-qualifier-list before ‘time_t’ In file included from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi +/CORE/perl.h:3950, from DBIXS.h:23, from Perl.xs:7: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/proto.h:128: err +or: expected declaration specifiers or ‘...’ before ‘mode_t’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/proto.h:128: err +or: expected declaration specifiers or ‘...’ before ‘uid_t’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/proto.h:297: err +or: expected declaration specifiers or ‘...’ before ‘off64_t’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/proto.h:299: err +or: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__ +’ before ‘Perl_do_sysseek’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/proto.h:300: err +or: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__ +’ before ‘Perl_do_tell’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/proto.h:411: err +or: expected declaration specifiers or ‘...’ before ‘gid_t’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/proto.h:411: err +or: expected declaration specifiers or ‘...’ before ‘uid_t’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/proto.h:736: err +or: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__ +’ before ‘Perl_my_fork’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/proto.h:1020: er +ror: expected declaration specifiers or ‘...’ before ‘pid_t’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/proto.h:1302: er +ror: expected declaration specifiers or ‘...’ before ‘pid_t’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/proto.h:1458: er +ror: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute_ +_’ before ‘*’ token /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/proto.h:2006: er +ror: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute_ +_’ before ‘Perl_PerlIO_read’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/proto.h:2007: er +ror: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute_ +_’ before ‘Perl_PerlIO_write’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/proto.h:2008: er +ror: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute_ +_’ before ‘Perl_PerlIO_unread’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/proto.h:2009: er +ror: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute_ +_’ before ‘Perl_PerlIO_tell’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/proto.h:2010: er +ror: expected declaration specifiers or ‘...’ before ‘off64_t + In file included from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi +/CORE/perl.h:3988, from DBIXS.h:23, from Perl.xs:7: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perlvars.h:31: e +rror: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute +__’ before ‘PL_thr_key’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perlvars.h:48: e +rror: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute +__’ before ‘PL_op_mutex’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perlvars.h:52: e +rror: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute +__’ before ‘PL_dollarzero_mutex’ /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:4485:24: +error: sys/ipc.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:4486:24: +error: sys/sem.h: No such file or directory /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:4611:24: +error: sys/file.h: No such file or directory In file included from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi +/CORE/perlapi.h:38, from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi +/CORE/XSUB.h:349, from DBIXS.h:24, from Perl.xs:7: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/intrpvar.h:66: e +rror: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute +__’ before ‘*’ token /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/intrpvar.h:237: +error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribut +e__’ before ‘*’ token /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/intrpvar.h:238: +error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribut +e__’ before ‘*’ token /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/intrpvar.h:239: +error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribut +e__’ before ‘*’ token /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/intrpvar.h:240: +error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribut +e__’ before ‘*’ token In file included from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi +/CORE/perlapi.h:39, from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi +/CORE/XSUB.h:349, from DBIXS.h:24, from Perl.xs:7: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perlvars.h:31: e +rror: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute +__’ before ‘*’ token /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perlvars.h:48: e +rror: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute +__’ before ‘*’ token /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perlvars.h:52: e +rror: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute +__’ before ‘*’ token Perl.xs: In function ‘dbd_st_rows’: Perl.xs:43: warning: implicit declaration of function ‘pthread_getsp +ecific’ Perl.xs:43: warning: implicit declaration of function ‘Perl_Gthr_key +_ptr’ Perl.xs:43: error: invalid type argument of ‘unary *’ Perl.xs:43: warning: cast from function call of type ‘int’ to non- +matching type ‘struct PerlInterpreter *’ Perl.xs:43: warning: cast to pointer from integer of different size In file included from Perl.c:63: Driver_xst.h: In function ‘dbixst_bounce_method’: Driver_xst.h:19: error: invalid type argument of ‘unary *’ Driver_xst.h:19: warning: cast from function call of type ‘int’ to + non-matching type ‘struct PerlInterpreter *’ Driver_xst.h:19: warning: cast to pointer from integer of different si +ze Driver_xst.h: In function ‘dbdxst_bind_params’: Driver_xst.h:57: error: invalid type argument of ‘unary *’ Driver_xst.h:57: warning: cast from function call of type ‘int’ to + non-matching type ‘struct PerlInterpreter *’ Driver_xst.h:57: warning: cast to pointer from integer of different si +ze Driver_xst.h:70: warning: implicit declaration of function ‘sprintf + Driver_xst.h:70: warning: incompatible implicit declaration of built-i +n function ‘sprintf’ Driver_xst.h: In function ‘dbdxst_fetchall_arrayref’: Driver_xst.h:92: error: invalid type argument of ‘unary *’ Driver_xst.h:92: warning: cast from function call of type ‘int’ to + non-matching type ‘struct PerlInterpreter *’ Driver_xst.h:92: warning: cast to pointer from integer of different si +ze Driver_xst.h:97: warning: incompatible implicit declaration of built-i +n function ‘sprintf’ Driver_xst.h:114: error: ‘XPVAV’ has no member named ‘xav_fill + Perl.xsi: In function ‘XS_DBD__Perl__dr_data_sources’: Perl.xsi:67: error: ‘XPVAV’ has no member named ‘xav_fill’ Perl.xsi: In function ‘XS_DBD__Perl__db_selectrow_arrayref’: Perl.xsi:213: error: ‘XPVAV’ has no member named ‘xav_fill’ Perl.xsi: In function ‘XS_DBD__Perl__st_fetchrow_array’: Perl.xsi:645: error: ‘XPVAV’ has no member named ‘xav_fill’ Perl.c: In function ‘boot_DBD__Perl’: Perl.c:1182: warning: implicit declaration of function ‘strcmp’ make: *** [Perl.o] Error 1

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> regards, Kris

Replies are listed 'Best First'.
Re: Perl DBI-1.633 installation on RHEL 5.7
by marioroy (Parson) on Jun 09, 2015 at 11:25 UTC

    The glibc-headers package appears to be missing. The perl-devel package is likely needed as well and not sure if installed.

    yum install glibc-headers perl-devel
      Hi,

      And below is the output of the command: rpm --query --all --qf "%-30{NAME} - %{VERSION} - %{RELEASE}.%{ARCH}\n" | grep perl

      perl-HTML-Tagset - 3.10 - 2.1.1.noarch

      perl-Compress-Zlib - 1.42 - 1.fc6.x86_64

      perl-URI - 1.35 - 3.noarch

      perl - 5.8.8 - 32.el5_6.3.x86_64

      perl-String-CRC32 - 1.4 - 2.fc6.x86_64

      perl-libwww-perl - 5.805 - 1.1.1.noarch

      perl-HTML-Parser - 3.55 - 1.fc6.x86_64

      regards,

      Kris

        Hi All,

        Latest I have installed glibc-headers RPM and then again run the 'make' command. Now I see the below errors

        Skip blib/arch/auto/DBI/Driver_xst.h (unchanged) Skip blib/lib/DBI/Gofer/Response.pm (unchanged) Skip blib/lib/DBD/Proxy.pm (unchanged) Skip blib/lib/DBI/Util/_accessor.pm (unchanged) Skip blib/lib/DBI/Gofer/Transport/Base.pm (unchanged) Skip blib/lib/DBD/DBM.pm (unchanged) Skip blib/arch/auto/DBI/DBIXS.h (unchanged) Skip blib/lib/DBI/Gofer/Serializer/DataDumper.pm (unchanged) Skip blib/lib/DBI/Const/GetInfoType.pm (unchanged) Skip blib/lib/dbixs_rev.pl (unchanged) Skip blib/lib/DBI/DBD/Metadata.pm (unchanged) Skip blib/lib/DBI/Const/GetInfo/ODBC.pm (unchanged) Skip blib/lib/DBD/Gofer/Transport/pipeone.pm (unchanged) Skip blib/lib/DBI/ProfileDumper/Apache.pm (unchanged) Skip blib/arch/auto/DBI/Driver.xst (unchanged) Skip blib/lib/DBD/File.pm (unchanged) Skip blib/lib/DBD/File/Roadmap.pod (unchanged) Skip blib/lib/DBI/Util/CacheMemory.pm (unchanged) Skip blib/lib/DBI/ProfileSubs.pm (unchanged) Skip blib/lib/DBD/NullP.pm (unchanged) Skip blib/arch/auto/DBI/dbi_sql.h (unchanged) Skip blib/lib/DBD/Gofer.pm (unchanged) Skip blib/lib/DBD/File/HowTo.pod (unchanged) Skip blib/lib/DBI/DBD/SqlEngine/HowTo.pod (unchanged) Skip blib/arch/auto/DBI/dbd_xsh.h (unchanged) Skip blib/arch/auto/DBI/dbivport.h (unchanged) Skip blib/lib/DBI/FAQ.pm (unchanged) Skip blib/arch/auto/DBI/dbixs_rev.h (unchanged) Skip blib/lib/DBD/Gofer/Transport/Base.pm (unchanged) Skip blib/lib/DBD/Gofer/Transport/corostream.pm (unchanged) Skip blib/lib/DBD/Gofer/Policy/rush.pm (unchanged) Skip blib/lib/DBI/SQL/Nano.pm (unchanged) Skip blib/lib/DBI/Gofer/Request.pm (unchanged) Skip blib/lib/DBI/Const/GetInfo/ANSI.pm (unchanged) Skip blib/lib/DBD/Gofer/Transport/stream.pm (unchanged) Skip blib/lib/DBD/Gofer/Policy/classic.pm (unchanged) Skip blib/lib/DBI/Gofer/Transport/stream.pm (unchanged) Skip blib/lib/DBI/Gofer/Serializer/Storable.pm (unchanged) Skip blib/lib/DBI/Const/GetInfoReturn.pm (unchanged) Skip blib/lib/DBI.pm (unchanged) Skip blib/lib/DBD/Gofer/Policy/Base.pm (unchanged) Skip blib/lib/DBD/Sponge.pm (unchanged) Skip blib/lib/DBD/Gofer/Policy/pedantic.pm (unchanged) Skip blib/lib/DBI/W32ODBC.pm (unchanged) Skip blib/lib/DBI/Gofer/Transport/pipeone.pm (unchanged) Skip blib/lib/DBI/DBD/SqlEngine/Developers.pod (unchanged) Skip blib/lib/DBD/Gofer/Transport/null.pm (unchanged) Skip blib/lib/Bundle/DBI.pm (unchanged) Skip blib/lib/DBD/File/Developers.pod (unchanged) Skip blib/lib/DBI/Profile.pm (unchanged) Skip blib/lib/DBI/ProfileDumper.pm (unchanged) Skip blib/lib/DBI/ProxyServer.pm (unchanged) Skip blib/lib/DBI/Gofer/Serializer/Base.pm (unchanged) Skip blib/arch/auto/DBI/dbipport.h (unchanged) Skip blib/lib/DBI/Gofer/Execute.pm (unchanged) Skip blib/lib/DBI/DBD.pm (unchanged) Skip blib/lib/Win32/DBIODBC.pm (unchanged) Skip blib/lib/DBI/DBD/SqlEngine.pm (unchanged) Skip blib/lib/DBI/PurePerl.pm (unchanged) Skip blib/lib/DBD/ExampleP.pm (unchanged) Skip blib/lib/DBI/ProfileData.pm (unchanged) Running Mkbootstrap for DBI () chmod 644 "DBI.bs" gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdecla +ration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FI +LE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTI +FY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 +-m64 -mtune=generic -DVERSION=\"1.633\" -DXS_VERSION=\"1.633\" -fPI +C "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -W -Wall + -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare - +Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter Perl.c "/usr/bin/perl" "/usr/lib/perl5/5.8.8/ExtUtils/xsubpp" -typemap "/usr +/lib/perl5/5.8.8/ExtUtils/typemap" -typemap "typemap" DBI.xs > DBI.x +sc && mv DBI.xsc DBI.c gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdecla +ration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FI +LE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTI +FY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 +-m64 -mtune=generic -DVERSION=\"1.633\" -DXS_VERSION=\"1.633\" -fPI +C "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -W -Wall + -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare - +Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter DBI.c rm -f blib/arch/auto/DBI/DBI.so gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions - +fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic DBI.o + -o blib/arch/auto/DBI/DBI.so \ \ chmod 755 blib/arch/auto/DBI/DBI.so "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- DBI.bs bli +b/arch/auto/DBI/DBI.bs 644 "/usr/bin/perl" "-Iblib/arch" "-Iblib/lib" dbiprof.PL dbiprof Extracted dbiprof from dbiprof.PL with variable substitutions. cp dbiprof blib/script/dbiprof "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/db +iprof "/usr/bin/perl" "-Iblib/arch" "-Iblib/lib" dbiproxy.PL dbiproxy Extracted dbiproxy from dbiproxy.PL with variable substitutions. cp dbiproxy blib/script/dbiproxy "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/db +iproxy "/usr/bin/perl" "-Iblib/arch" "-Iblib/lib" dbilogstrip.PL dbilogstrip Extracted dbilogstrip from dbilogstrip.PL with variable substitutions. cp dbilogstrip blib/script/dbilogstrip "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/db +ilogstrip Manifying 3 pod documents Manifying 49 pod documents lib/DBD/Gofer.pm:841: Unknown command paragraph "=encoding ISO8859-1"

        Please advise on the above errors

        regards,

        Kris

Re: Perl DBI-1.633 installation on RHEL 5.7
by marto (Cardinal) on Jun 09, 2015 at 11:24 UTC

    Welcome to the monastery, you've posted in the wrong section of the site, and haven't followed the formatting rules displayed on screen. This makes it more difficult to read what you've posted. For future reference please read SoPW and PerlMonks for the Absolute Beginner.

    On to your problem. It looks as though the system is missing packages required. From a first glance I think you should install build-essential and libc-dev and try again. Note that these packages may be named slightly differently under RedHat.

    Update: fixed spelling mistake.

Re: Perl DBI-1.633 installation on RHEL 5.7
by roboticus (Chancellor) on Jun 09, 2015 at 11:17 UTC

    krisnaa1980:

    Please wrap the error message text in code tags (<code>code, error messages, data, etc. goes here.</code>) so people can make sense of it. There's absolutely no way I'd bother to dig through that huge rectangle to point you to clues or a solution.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

Re: Perl DBI-1.633 installation on RHEL 5.7
by pme (Monsignor) on Jun 09, 2015 at 11:23 UTC
    What did you do before running 'make'?
      Hi All,

      Thanks for your responses. I have run perl Makefile.PL command before I run the 'make' command.

      And here is the output of the command: rpm --query --all --qf "%-30{NAME} - %{VERSION} - %{RELEASE}.%{ARCH}\n" | grep glibc

      glibc - 2.5 - 118.el5_10.2.x86_64

      glibc - 2.5 - 107.el5_9.4.i686

      compat-glibc - 2.3.4 - 2.26.i386

      compat-glibc-headers - 2.3.4 - 2.26.x86_64

      glibc-common - 2.5 - 118.el5_10.2.x86_64

      glibc-devel - 2.5 - 118.el5_10.2.x86_64

      compat-glibc - 2.3.4 - 2.26.x86_64

      compat-glibc-headers - 2.3.4 - 2.26.i386

      glibc-headers - 2.5 - 118.el5_10.2.x86_64

      regards,

      Kris

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1129636]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2021-10-25 09:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?