Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Perl DBI-1.633 installation on RHEL 5.7

by marioroy (Parson)
on Jun 09, 2015 at 11:25 UTC ( #1129647=note: print w/replies, xml ) Need Help??


in reply to Perl DBI-1.633 installation on RHEL 5.7

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

Replies are listed 'Best First'.
Re^2: Perl DBI-1.633 installation on RHEL 5.7
by krisnaa1980 (Initiate) on Jun 09, 2015 at 13:38 UTC
    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

        There only is one error:

        lib/DBD/Gofer.pm:841: Unknown command paragraph "=encoding ISO8859-1"

        This tells you that the version of Perl is too old to support the documentation format used in lib/DBD/Gofer.pm. You should really reconsider whether not to just use the DBI package that your OS vendor supplies. Most likely, this is available as libdbi-perl or something like that.

        If you are going down the road to hell and really want to continue this path, you can just ignore this error. Proceed with make test.

        The package name on a RedHat based OS is perl-DBI.

        yum install perl-DBI

Log In?
Username:
Password:

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

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







    Results (89 votes). Check out past polls.

    Notices?