Error running "make" on AIX 5.3

Harry Jamieson <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.general
Message-ID <[email protected]>
I have been unable to install DBI on our AIX 5.3 using either CPAN ("out 
of memory") or the "perl Makefile.PL" method.  I've read the entire 
thread started by Don Walters on this subject begun on 3 Aug 2012, and 
it looks like his problem boiled down to his cc_r being linked to gcc.  
Mine is linked to xlc, as it should be.  My perl is 5.8.8.  The results 
from my Makefile.PL run are in the attached file "makefile.tst".  They 
look normal to me.  The installation fails during "make", which dies 
with the error "lib/DBD/Gofer.pm:841: Unknown command paragraph 
"=encoding ISO8859-1""  Here is the output from "make".

     /usr/bin/perl /usr/opt/perl5/lib/5.8.8/ExtUtils/xsubpp  -typemap 
/usr/opt/perl5/lib/5.8.8/ExtUtils/typemap -typemap typemap  DBI.xs > 
DBI.xsc && mv DBI.xsc DBI.c
     cc_r -c    -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE 
-qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 
-D_LARGE_FILES -qlonglong -O    -DVERSION=\"1.622\" 
-DXS_VERSION=\"1.622\" 
"-I/usr/opt/perl5/lib/5.8.8/aix-thread-multi/CORE"   DBI.c
Running Mkbootstrap for DBI ()
     chmod 644 DBI.bs
     rm -f blib/arch/auto/DBI/DBI.so
     ld  -bhalt:4 -bexpall -G -bnoentry -lpthreads -lc DBI.o  -o 
blib/arch/auto/DBI/DBI.so
     chmod 755 blib/arch/auto/DBI/DBI.so
      cp DBI.bs blib/arch/auto/DBI/DBI.bs
     chmod 644 blib/arch/auto/DBI/DBI.bs
     /usr/bin/perl "-Iblib/arch" "-Iblib/lib" dbiprof.PL dbiprof
Extracted dbiprof from dbiprof.PL with variable substitutions.
     /usr/bin/perl "-Iblib/arch" "-Iblib/lib" dbiproxy.PL dbiproxy
Extracted dbiproxy from dbiproxy.PL with variable substitutions.
     /usr/bin/perl "-Iblib/arch" "-Iblib/lib" dbilogstrip.PL dbilogstrip
Extracted dbilogstrip from dbilogstrip.PL with variable substitutions.
     cp dbiprof blib/script/dbiprof
     /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" 
blib/script/dbiprof
     cp dbiproxy blib/script/dbiproxy
     /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" 
blib/script/dbiproxy
     cp dbilogstrip blib/script/dbilogstrip
     /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" 
blib/script/dbilogstrip
Manifying blib/man1/dbiprof.1
Manifying blib/man1/dbiproxy.1
Manifying blib/man1/dbilogstrip.1
Manifying blib/man3/DBI::Gofer::Response.3
Manifying blib/man3/DBD::Proxy.3
Manifying blib/man3/DBI::Gofer::Transport::Base.3
Manifying blib/man3/DBD::DBM.3
Manifying blib/man3/DBI::Gofer::Serializer::DataDumper.3
Manifying blib/man3/DBI::Const::GetInfoType.3
Manifying blib/man3/DBI::DBD::Metadata.3
Manifying blib/man3/DBI::Const::GetInfo::ODBC.3
Manifying blib/man3/DBD::Gofer::Transport::pipeone.3
Manifying blib/man3/DBI::ProfileDumper::Apache.3
Manifying blib/man3/DBD::File.3
Manifying blib/man3/DBD::File::Roadmap.3
Manifying blib/man3/DBI::Util::CacheMemory.3
Manifying blib/man3/DBI::ProfileSubs.3
Manifying blib/man3/DBD::Gofer.3
Manifying blib/man3/DBD::File::HowTo.3
Manifying blib/man3/DBI::DBD::SqlEngine::HowTo.3
Manifying blib/man3/DBD::Gofer::Transport::Base.3
Manifying blib/man3/DBD::Gofer::Transport::corostream.3
Manifying blib/man3/DBI::FAQ.3
Manifying blib/man3/DBD::Gofer::Policy::rush.3
Manifying blib/man3/DBI::SQL::Nano.3
Manifying blib/man3/DBI::Gofer::Request.3
Manifying blib/man3/DBI::Const::GetInfo::ANSI.3
Manifying blib/man3/DBD::Gofer::Transport::stream.3
Manifying blib/man3/DBD::Gofer::Policy::classic.3
Manifying blib/man3/DBI::Gofer::Transport::stream.3
Manifying blib/man3/DBI::Gofer::Serializer::Storable.3
Manifying blib/man3/DBI.3
Manifying blib/man3/DBD::Gofer::Policy::Base.3
Manifying blib/man3/DBI::Const::GetInfoReturn.3
Manifying blib/man3/DBD::Sponge.3
Manifying blib/man3/DBD::Gofer::Policy::pedantic.3
Manifying blib/man3/DBI::Gofer::Transport::pipeone.3
Manifying blib/man3/DBI::DBD::SqlEngine::Developers.3
Manifying blib/man3/DBI::W32ODBC.3
Manifying blib/man3/DBD::Gofer::Transport::null.3
Manifying blib/man3/Bundle::DBI.3
Manifying blib/man3/DBD::File::Developers.3
Manifying blib/man3/DBI::Profile.3
Manifying blib/man3/DBI::ProfileDumper.3
Manifying blib/man3/DBI::Gofer::Serializer::Base.3
Manifying blib/man3/DBI::ProxyServer.3
Manifying blib/man3/DBI::Gofer::Execute.3
Manifying blib/man3/DBI::DBD.3
Manifying blib/man3/Win32::DBIODBC.3
Manifying blib/man3/DBI::DBD::SqlEngine.3
Manifying blib/man3/DBI::PurePerl.3
Manifying blib/man3/DBI::ProfileData.3

Any help that you could give me with getting this installed would be 
appreciated.  We plan to be using MySQL.

Harry Jamieson
PER Software
makefile.txt (text/plain, 3.5 KB)
*** You are using a perl configured with threading enabled.
*** You should be aware that using multiple threads is
*** not recommended for production environments.

Creating test wrappers for DBD::Gofer:
t/zvg_01basics.t 
t/zvg_02dbidrv.t 
t/zvg_03handle.t 
t/zvg_04mods.t 
t/zvg_05concathash.t 
t/zvg_06attrs.t 
t/zvg_07kids.t 
t/zvg_08keeperr.t 
t/zvg_09trace.t 
t/zvg_10examp.t 
t/zvg_11fetch.t 
t/zvg_12quote.t 
t/zvg_13taint.t 
t/zvg_14utf8.t 
t/zvg_15array.t 
t/zvg_16destroy.t 
t/zvg_19fhtrace.t 
t/zvg_20meta.t 
t/zvg_30subclass.t 
t/zvg_31methcache.t 
t/zvg_35thrclone.t (use threads)
t/zvg_40profile.t 
t/zvg_41prof_dump.t 
t/zvg_42prof_data.t 
t/zvg_43prof_env.t 
t/zvg_48dbi_dbd_sqlengine.t 
t/zvg_49dbd_file.t 
t/zvg_50dbm_simple.t 
t/zvg_51dbm_file.t 
t/zvg_52dbm_complex.t 
t/zvg_60preparse.t 
t/zvg_65transact.t 
t/zvg_70callbacks.t 
t/zvg_72childhandles.t 
t/zvg_80proxy.t 
t/zvg_85gofer.t 
t/zvg_86gofer_fail.t 
t/zvg_87gofer_cache.t 
t/zvg_90sql_type_cast.t 
Creating test wrappers for DBI::SQL::Nano:
t/zvn_48dbi_dbd_sqlengine.t 
t/zvn_49dbd_file.t 
t/zvn_50dbm_simple.t 
t/zvn_51dbm_file.t 
t/zvn_52dbm_complex.t 
t/zvn_85gofer.t 
Creating test wrappers for DBI::PurePerl:
t/zvp_01basics.t 
t/zvp_02dbidrv.t 
t/zvp_03handle.t 
t/zvp_04mods.t 
t/zvp_05concathash.t 
t/zvp_06attrs.t 
t/zvp_07kids.t 
t/zvp_08keeperr.t 
t/zvp_09trace.t 
t/zvp_10examp.t 
t/zvp_11fetch.t 
t/zvp_12quote.t 
t/zvp_13taint.t 
t/zvp_14utf8.t 
t/zvp_15array.t 
t/zvp_16destroy.t 
t/zvp_19fhtrace.t 
t/zvp_20meta.t 
t/zvp_30subclass.t 
t/zvp_31methcache.t 
t/zvp_35thrclone.t (use threads)
t/zvp_40profile.t 
t/zvp_41prof_dump.t 
t/zvp_42prof_data.t 
t/zvp_43prof_env.t 
t/zvp_48dbi_dbd_sqlengine.t 
t/zvp_49dbd_file.t 
t/zvp_50dbm_simple.t 
t/zvp_51dbm_file.t 
t/zvp_52dbm_complex.t 
t/zvp_60preparse.t 
t/zvp_65transact.t 
t/zvp_70callbacks.t 
t/zvp_72childhandles.t 
t/zvp_80proxy.t 
t/zvp_85gofer.t 
t/zvp_86gofer_fail.t 
t/zvp_87gofer_cache.t 
t/zvp_90sql_type_cast.t 
Creating test wrappers for DBD::Gofer + DBI::SQL::Nano:
t/zvxgn_48dbi_dbd_sqlengine.t 
t/zvxgn_49dbd_file.t 
t/zvxgn_50dbm_simple.t 
t/zvxgn_51dbm_file.t 
t/zvxgn_52dbm_complex.t 
t/zvxgn_85gofer.t 
Creating test wrappers for DBD::Gofer + DBI::PurePerl:
t/zvxgp_01basics.t 
t/zvxgp_02dbidrv.t 
t/zvxgp_03handle.t 
t/zvxgp_04mods.t 
t/zvxgp_05concathash.t 
t/zvxgp_06attrs.t 
t/zvxgp_07kids.t 
t/zvxgp_08keeperr.t 
t/zvxgp_09trace.t 
t/zvxgp_10examp.t 
t/zvxgp_11fetch.t 
t/zvxgp_12quote.t 
t/zvxgp_13taint.t 
t/zvxgp_14utf8.t 
t/zvxgp_15array.t 
t/zvxgp_16destroy.t 
t/zvxgp_19fhtrace.t 
t/zvxgp_20meta.t 
t/zvxgp_30subclass.t 
t/zvxgp_31methcache.t 
t/zvxgp_35thrclone.t (use threads)
t/zvxgp_40profile.t 
t/zvxgp_41prof_dump.t 
t/zvxgp_42prof_data.t 
t/zvxgp_43prof_env.t 
t/zvxgp_48dbi_dbd_sqlengine.t 
t/zvxgp_49dbd_file.t 
t/zvxgp_50dbm_simple.t 
t/zvxgp_51dbm_file.t 
t/zvxgp_52dbm_complex.t 
t/zvxgp_60preparse.t 
t/zvxgp_65transact.t 
t/zvxgp_70callbacks.t 
t/zvxgp_72childhandles.t 
t/zvxgp_80proxy.t 
t/zvxgp_85gofer.t 
t/zvxgp_86gofer_fail.t 
t/zvxgp_87gofer_cache.t 
t/zvxgp_90sql_type_cast.t 
Creating test wrappers for DBI::SQL::Nano + DBI::PurePerl:
t/zvxnp_48dbi_dbd_sqlengine.t 
t/zvxnp_49dbd_file.t 
t/zvxnp_50dbm_simple.t 
t/zvxnp_51dbm_file.t 
t/zvxnp_52dbm_complex.t 
t/zvxnp_85gofer.t 
Creating test wrappers for DBD::Gofer + DBI::SQL::Nano + DBI::PurePerl:
t/zvxgnp_48dbi_dbd_sqlengine.t 
t/zvxgnp_49dbd_file.t 
t/zvxgnp_50dbm_simple.t 
t/zvxgnp_51dbm_file.t 
t/zvxgnp_52dbm_complex.t 
t/zvxgnp_85gofer.t 
Checking if your kit is complete...
Looks good
Writing Makefile for DBI
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.