Jump to content

saint

Members
  • Posts

    8
  • Joined

  • Last visited

saint's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, getting the same error again. Still can't install DBI on my own. I would appreciate if you could install DBI again cPanel 11 Installing "DBI" Perl Module Method: Perl Expect CPAN: Storable loaded ok (v2.15) Going to read '/home/instalek/.cpan/Metadata' Database was generated on Tue, 03 Nov 2009 06:27:08 GMT Running install for module 'DBI' Running make for T/TI/TIMB/DBI-1.609.tar.gz CPAN: LWP::UserAgent loaded ok (v5.810) CPAN: Time::HiRes loaded ok (v1.9717) Fetching with LWP: http://mirrors1.kernel.org/cpan/authors/id/T/TI/TIMB/DBI-1.609.tar.gz CPAN: YAML loaded ok (v0.70) CPAN: Digest::SHA loaded ok (v5.47) Fetching with LWP: http://mirrors1.kernel.org/cpan/authors/id/T/TI/TIMB/CHECKSUMS Checksum for /home/instalek/.cpan/sources/authors/id/T/TI/TIMB/DBI-1.609.tar.gz ok CPAN: Archive::Tar loaded ok (v1.54) DBI-1.609/ DBI-1.609/Changes DBI-1.609/dbd_xsh.h DBI-1.609/DBI.pm DBI-1.609/DBI.xs DBI-1.609/dbi_sql.h DBI-1.609/dbilogstrip.PL DBI-1.609/dbipport.h DBI-1.609/dbiprof.PL DBI-1.609/dbiproxy.PL DBI-1.609/dbivport.h DBI-1.609/DBIXS.h DBI-1.609/dbixs_rev.h DBI-1.609/dbixs_rev.pl DBI-1.609/Driver.xst DBI-1.609/Driver_xst.h DBI-1.609/ex/ DBI-1.609/ex/perl_dbi_nulls_test.pl DBI-1.609/ex/profile.pl DBI-1.609/lib/ DBI-1.609/lib/Bundle/ DBI-1.609/lib/Bundle/DBI.pm DBI-1.609/lib/DBD/ DBI-1.609/lib/DBD/DBM.pm DBI-1.609/lib/DBD/ExampleP.pm DBI-1.609/lib/DBD/File.pm DBI-1.609/lib/DBD/Gofer/ DBI-1.609/lib/DBD/Gofer/Policy/ DBI-1.609/lib/DBD/Gofer/Policy/Base.pm DBI-1.609/lib/DBD/Gofer/Policy/classic.pm DBI-1.609/lib/DBD/Gofer/Policy/pedantic.pm DBI-1.609/lib/DBD/Gofer/Policy/rush.pm DBI-1.609/lib/DBD/Gofer/Transport/ DBI-1.609/lib/DBD/Gofer/Transport/Base.pm DBI-1.609/lib/DBD/Gofer/Transport/null.pm DBI-1.609/lib/DBD/Gofer/Transport/pipeone.pm DBI-1.609/lib/DBD/Gofer/Transport/stream.pm DBI-1.609/lib/DBD/Gofer.pm DBI-1.609/lib/DBD/NullP.pm DBI-1.609/lib/DBD/Proxy.pm DBI-1.609/lib/DBD/Sponge.pm DBI-1.609/lib/DBI/ DBI-1.609/lib/DBI/Const/ DBI-1.609/lib/DBI/Const/GetInfo/ DBI-1.609/lib/DBI/Const/GetInfo/ANSI.pm DBI-1.609/lib/DBI/Const/GetInfo/ODBC.pm DBI-1.609/lib/DBI/Const/GetInfoReturn.pm DBI-1.609/lib/DBI/Const/GetInfoType.pm DBI-1.609/lib/DBI/DBD/ DBI-1.609/lib/DBI/DBD/Metadata.pm DBI-1.609/lib/DBI/DBD.pm DBI-1.609/lib/DBI/FAQ.pm DBI-1.609/lib/DBI/Gofer/ DBI-1.609/lib/DBI/Gofer/Execute.pm DBI-1.609/lib/DBI/Gofer/Request.pm DBI-1.609/lib/DBI/Gofer/Response.pm DBI-1.609/lib/DBI/Gofer/Serializer/ DBI-1.609/lib/DBI/Gofer/Serializer/Base.pm DBI-1.609/lib/DBI/Gofer/Serializer/DataDumper.pm DBI-1.609/lib/DBI/Gofer/Serializer/Storable.pm DBI-1.609/lib/DBI/Gofer/Transport/ DBI-1.609/lib/DBI/Gofer/Transport/Base.pm DBI-1.609/lib/DBI/Gofer/Transport/pipeone.pm DBI-1.609/lib/DBI/Gofer/Transport/stream.pm DBI-1.609/lib/DBI/Profile.pm DBI-1.609/lib/DBI/ProfileData.pm DBI-1.609/lib/DBI/ProfileDumper/ DBI-1.609/lib/DBI/ProfileDumper/Apache.pm DBI-1.609/lib/DBI/ProfileDumper.pm DBI-1.609/lib/DBI/ProfileSubs.pm DBI-1.609/lib/DBI/ProxyServer.pm DBI-1.609/lib/DBI/PurePerl.pm DBI-1.609/lib/DBI/SQL/ DBI-1.609/lib/DBI/SQL/Nano.pm DBI-1.609/lib/DBI/Util/ DBI-1.609/lib/DBI/Util/_accessor.pm DBI-1.609/lib/DBI/Util/CacheMemory.pm DBI-1.609/lib/DBI/W32ODBC.pm DBI-1.609/lib/Win32/ DBI-1.609/lib/Win32/DBIODBC.pm DBI-1.609/Makefile.PL DBI-1.609/MANIFEST DBI-1.609/META.yml DBI-1.609/Perl.xs DBI-1.609/README DBI-1.609/Roadmap.pod DBI-1.609/t/ DBI-1.609/t/01basics.t DBI-1.609/t/02dbidrv.t DBI-1.609/t/03handle.t DBI-1.609/t/04mods.t DBI-1.609/t/05concathash.t DBI-1.609/t/06attrs.t DBI-1.609/t/07kids.t DBI-1.609/t/08keeperr.t DBI-1.609/t/09trace.t DBI-1.609/t/10examp.t DBI-1.609/t/11fetch.t DBI-1.609/t/12quote.t DBI-1.609/t/13taint.t DBI-1.609/t/14utf8.t DBI-1.609/t/15array.t DBI-1.609/t/19fhtrace.t DBI-1.609/t/20meta.t DBI-1.609/t/30subclass.t DBI-1.609/t/35thrclone.t DBI-1.609/t/40profile.t DBI-1.609/t/41prof_dump.t DBI-1.609/t/42prof_data.t DBI-1.609/t/43prof_env.t DBI-1.609/t/50dbm.t DBI-1.609/t/60preparse.t DBI-1.609/t/65transact.t DBI-1.609/t/70callbacks.t DBI-1.609/t/72childhandles.t DBI-1.609/t/80proxy.t DBI-1.609/t/85gofer.t DBI-1.609/t/86gofer_fail.t DBI-1.609/t/87gofer_cache.t DBI-1.609/t/pod-coverage.t DBI-1.609/t/pod.t DBI-1.609/TASKS.pod DBI-1.609/test.pl DBI-1.609/TODO_2005.txt DBI-1.609/TODO_gofer.txt DBI-1.609/typemap CPAN: File::Temp loaded ok (v0.22) CPAN.pm: Going to build T/TI/TIMB/DBI-1.609.tar.gz perl-64bit-hack: enabled Your perl was compiled with gcc (version 4.1.2 20080704 (Red Hat 4.1.2-44)), okay. 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_19fhtrace.t t/zvp_20meta.t t/zvp_30subclass.t t/zvp_35thrclone.t t/zvp_40profile.t t/zvp_41prof_dump.t t/zvp_42prof_data.t t/zvp_43prof_env.t t/zvp_50dbm.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 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_19fhtrace.t t/zvg_20meta.t t/zvg_30subclass.t t/zvg_35thrclone.t t/zvg_40profile.t t/zvg_41prof_dump.t t/zvg_42prof_data.t t/zvg_43prof_env.t t/zvg_50dbm.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 Creating test wrappers for PurePerl & Gofer: 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_19fhtrace.t t/zvxgp_20meta.t t/zvxgp_30subclass.t t/zvxgp_35thrclone.t t/zvxgp_40profile.t t/zvxgp_41prof_dump.t t/zvxgp_42prof_data.t t/zvxgp_43prof_env.t t/zvxgp_50dbm.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 Checking if your kit is complete... Looks good 'EXTRALIBDIR' is not a known MakeMaker parameter name. 'OTHERLDFLAGS' is not a known MakeMaker parameter name. I see you're using perl 5.008008 on x86_64-linux, okay. Remember to actually *read* the README file! Use 'make' to build the software (dmake or nmake on Windows). Then 'make test' to execute self tests. Then 'make install' to install the DBI and then delete this working directory before unpacking and building any DBD::* drivers. Writing Makefile for DBI /usr/local/bin/perl -MExtUtils::Command -e 'mkpath' -- blib/lib/DBI rm -f blib/lib/DBI/Changes.pm cp Changes blib/lib/DBI/Changes.pm /usr/local/bin/perl -MExtUtils::Command -e 'mkpath' -- blib/lib/DBI rm -f blib/lib/DBI/Roadmap.pm cp Roadmap.pod blib/lib/DBI/Roadmap.pm cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm cp lib/DBI/Gofer/Response.pm blib/lib/DBI/Gofer/Response.pm cp lib/DBI/Util/_accessor.pm blib/lib/DBI/Util/_accessor.pm cp lib/DBI/Gofer/Transport/Base.pm blib/lib/DBI/Gofer/Transport/Base.pm cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm cp DBIXS.h blib/arch/auto/DBI/DBIXS.h cp dbixs_rev.pl blib/lib/dbixs_rev.pl cp Roadmap.pod blib/lib/Roadmap.pod cp lib/DBI/Gofer/Serializer/DataDumper.pm blib/lib/DBI/Gofer/Serializer/DataDumper.pm cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm cp lib/DBD/Gofer/Transport/pipeone.pm blib/lib/DBD/Gofer/Transport/pipeone.pm cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm cp Driver.xst blib/arch/auto/DBI/Driver.xst cp lib/DBD/File.pm blib/lib/DBD/File.pm cp lib/DBI/Util/CacheMemory.pm blib/lib/DBI/Util/CacheMemory.pm cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm cp lib/DBI/ProfileSubs.pm blib/lib/DBI/ProfileSubs.pm cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h cp lib/DBD/Gofer.pm blib/lib/DBD/Gofer.pm cp dbivport.h blib/arch/auto/DBI/dbivport.h cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h cp dbixs_rev.h blib/arch/auto/DBI/dbixs_rev.h cp lib/DBD/Gofer/Transport/Base.pm blib/lib/DBD/Gofer/Transport/Base.pm cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm cp lib/DBD/Gofer/Policy/rush.pm blib/lib/DBD/Gofer/Policy/rush.pm cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm cp lib/DBI/Gofer/Request.pm blib/lib/DBI/Gofer/Request.pm cp lib/DBD/Gofer/Transport/stream.pm blib/lib/DBD/Gofer/Transport/stream.pm cp lib/DBD/Gofer/Policy/classic.pm blib/lib/DBD/Gofer/Policy/classic.pm cp lib/DBD/Gofer/Policy/Base.pm blib/lib/DBD/Gofer/Policy/Base.pm cp DBI.pm blib/lib/DBI.pm cp lib/DBI/Gofer/Serializer/Storable.pm blib/lib/DBI/Gofer/Serializer/Storable.pm cp lib/DBI/Gofer/Transport/stream.pm blib/lib/DBI/Gofer/Transport/stream.pm cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm cp lib/DBD/Gofer/Policy/pedantic.pm blib/lib/DBD/Gofer/Policy/pedantic.pm cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm cp lib/DBI/Gofer/Transport/pipeone.pm blib/lib/DBI/Gofer/Transport/pipeone.pm cp lib/DBD/Gofer/Transport/null.pm blib/lib/DBD/Gofer/Transport/null.pm cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm cp TASKS.pod blib/lib/TASKS.pod cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm cp lib/DBI/Gofer/Serializer/Base.pm blib/lib/DBI/Gofer/Serializer/Base.pm cp dbipport.h blib/arch/auto/DBI/dbipport.h cp lib/DBI/Gofer/Execute.pm blib/lib/DBI/Gofer/Execute.pm cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm /usr/local/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi /usr/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.c cc -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.609\" -DXS_VERSION=\"1.609\" -fpic "-I/usr/local/lib/perl5/5.8.8/x86_64-linux/CORE" -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter -DDBI_NO_THREADS Perl.c Died at /scripts/cpan_sandbox/x86_64/cc line 24. make: *** [Perl.o] Error 2 TIMB/DBI-1.609.tar.gz /usr/bin/make PREFIX=/home/instalek/perl/usr OTHERLDFLAGS=-L/usr/lib64 LDFLAGS=-L/usr/lib64 EXTRALIBDIR=/usr/lib64 PREFIX=/home/instalek/perl/usr OTHERLDFLAGS=-L/usr/lib64 LDFLAGS=-L/usr/lib64 EXTRALIBDIR=/usr/lib64 -- NOT OK Running make install Make had returned bad status, install seems impossible cPCPAN: Module (File::Spec) holdback (3.31 held back to 3.25) perlmod--Install done
  2. Hi I've got a little problem with my perl app, it uses sqlite db that I connect to with: [i]line 51[/i] my $db = DBI->connect("dbi:SQLite:my_db_name.db", "", "",{RaiseError => 1, AutoCommit => 1}); I've installed DBI through cPanel, then when I run the script i returns an error: install_driver(SQLite) failed: Can't locate DBD/SQLite.pm in @INC (@INC contains: /home/instalek/perl/usr/local/lib/perl5/5.8.8/x86_64-linux /home/instalek/perl/usr/local/lib/perl5/5.8.8 /home/instalek/perl/usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /home/instalek/perl/usr/local/lib/perl5/site_perl/5.8.8 /home/instalek/perl/usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at (eval 7) line 3. Perhaps the DBD::SQLite perl module hasn't been fully installed, or perhaps the capitalisation of 'SQLite' isn't right. Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge, mysql. at search.cgi line 51 The script is here: http://instalekt.heliohost.org/crs/search.cgi If it works it should redirect you to http://instalekt.heliohost.org/crs/login.pl So after that I've tried to install DBD::SQLite, cPanel returns: Method: Perl Expect CPAN: Storable loaded ok (v2.21) Going to read '/home/instalek/.cpan/Metadata' Database was generated on Mon, 14 Sep 2009 08:27:53 GMT Running install for module 'DBD::SQLite' Running make for A/AD/ADAMK/DBD-SQLite-1.25.tar.gz CPAN: Digest::SHA loaded ok (v5.47) CPAN: Compress::Zlib loaded ok (v2.019) Checksum for /home/instalek/.cpan/sources/authors/id/A/AD/ADAMK/DBD-SQLite-1.25.tar.gz ok CPAN: Archive::Tar loaded ok (v1.54) DBD-SQLite-1.25/ DBD-SQLite-1.25/META.yml DBD-SQLite-1.25/Makefile.PL DBD-SQLite-1.25/util/ DBD-SQLite-1.25/util/getsqlite.pl DBD-SQLite-1.25/SQLite.xs DBD-SQLite-1.25/dbdimp.h DBD-SQLite-1.25/LICENSE DBD-SQLite-1.25/README DBD-SQLite-1.25/ppport.h DBD-SQLite-1.25/sqlite3ext.h DBD-SQLite-1.25/lib/ DBD-SQLite-1.25/lib/DBD/ DBD-SQLite-1.25/lib/DBD/SQLite.pm DBD-SQLite-1.25/lib/DBD/SQLite/ DBD-SQLite-1.25/lib/DBD/SQLite/Cookbook.pod DBD-SQLite-1.25/SQLiteXS.h DBD-SQLite-1.25/sqlite3.c DBD-SQLite-1.25/inc/ DBD-SQLite-1.25/inc/Test/ DBD-SQLite-1.25/inc/Test/NoWarnings/ DBD-SQLite-1.25/inc/Test/NoWarnings/Warning.pm DBD-SQLite-1.25/inc/Test/NoWarnings.pm DBD-SQLite-1.25/dbdimp.c DBD-SQLite-1.25/MANIFEST DBD-SQLite-1.25/Changes DBD-SQLite-1.25/sqlite3.h DBD-SQLite-1.25/t/ DBD-SQLite-1.25/t/rt_25924_user_defined_func_unicode.t DBD-SQLite-1.25/t/07_error.t DBD-SQLite-1.25/t/13_create_collation.t DBD-SQLite-1.25/t/rt_40594_nullable.t DBD-SQLite-1.25/t/28_schemachange.t DBD-SQLite-1.25/t/21_blobtext.t DBD-SQLite-1.25/t/12_unicode.t DBD-SQLite-1.25/t/rt_31324_full_names.t DBD-SQLite-1.25/t/32_inactive_error.t DBD-SQLite-1.25/t/rt_27553_prepared_cache_and_analyze.t DBD-SQLite-1.25/t/10_create_aggregate.t DBD-SQLite-1.25/t/rt_29058_group_by.t DBD-SQLite-1.25/t/09_create_function.t DBD-SQLite-1.25/t/rt_36836_duplicate_key.t DBD-SQLite-1.25/t/08_busy.t DBD-SQLite-1.25/t/98_pod.t DBD-SQLite-1.25/t/02_logon.t DBD-SQLite-1.25/t/16_column_info.t DBD-SQLite-1.25/t/33_non_latin_path.t DBD-SQLite-1.25/t/rt_25371_asymmetric_unicode.t DBD-SQLite-1.25/t/17_createdrop.t DBD-SQLite-1.25/t/31_bind_weird_number_param.t DBD-SQLite-1.25/t/99_pmv.t DBD-SQLite-1.25/t/rt_29629_sqlite_where_length.t DBD-SQLite-1.25/t/rt_36838_unique_and_bus_error.t DBD-SQLite-1.25/t/26_commit.t DBD-SQLite-1.25/t/04_insert.t DBD-SQLite-1.25/t/05_select.t DBD-SQLite-1.25/t/24_numrows.t DBD-SQLite-1.25/t/18_insertfetch.t DBD-SQLite-1.25/t/rt_32889_prepare_cached_reexecute.t DBD-SQLite-1.25/t/22_listfields.t DBD-SQLite-1.25/t/19_bindparam.t DBD-SQLite-1.25/t/rt_25460_numeric_aggregate.t DBD-SQLite-1.25/t/14_progress_handler.t DBD-SQLite-1.25/t/30_auto_rollback.t DBD-SQLite-1.25/t/20_blobs.t DBD-SQLite-1.25/t/06_tran.t DBD-SQLite-1.25/t/lib/ DBD-SQLite-1.25/t/lib/Test.pm DBD-SQLite-1.25/t/03_create_table.t DBD-SQLite-1.25/t/25_chopblanks.t DBD-SQLite-1.25/t/27_metadata.t DBD-SQLite-1.25/t/97_meta.t DBD-SQLite-1.25/t/01_compile.t DBD-SQLite-1.25/t/rt_21406_auto_finish.t DBD-SQLite-1.25/t/29_cppcomments.t DBD-SQLite-1.25/t/rt_15186_prepcached.t DBD-SQLite-1.25/t/23_nulls.t DBD-SQLite-1.25/t/15_ak_dbd.t CPAN: File::Temp loaded ok (v0.22) CPAN: YAML loaded ok (v0.70) CPAN.pm: Going to build A/AD/ADAMK/DBD-SQLite-1.25.tar.gz perl-64bit-hack: enabled Checking if your kit is complete... Looks good 'EXTRALIBDIR' is not a known MakeMaker parameter name. 'OTHERLDFLAGS' is not a known MakeMaker parameter name. Using DBI 1.609 (for perl 5.008008 on x86_64-linux) installed in /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI/ Writing Makefile for DBD::SQLite cp lib/DBD/SQLite.pm blib/lib/DBD/SQLite.pm cp lib/DBD/SQLite/Cookbook.pod blib/lib/DBD/SQLite/Cookbook.pod /usr/local/bin/perl -p -e "s/~DRIVER~/SQLite/g" /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI/Driver.xst > SQLite.xsi /usr/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap SQLite.xs > SQLite.xsc && mv SQLite.xsc SQLite.c cc -c -I. -I/usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.25\" -DXS_VERSION=\"1.25\" -fpic "-I/usr/local/lib/perl5/5.8.8/x86_64-linux/CORE" -DSQLITE_CORE -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_COLUMN_METADATA -DNDEBUG=1 -DSQLITE_PTR_SZ=8 -DHAVE_USLEEP=1 -DTHREADSAFE=0 SQLite.c Died at /scripts/cpan_sandbox/x86_64/cc line 24. make: *** [SQLite.o] Error 2 ADAMK/DBD-SQLite-1.25.tar.gz /usr/bin/make PREFIX=/home/instalek/perl/usr/local OTHERLDFLAGS=-L/usr/lib64 LDFLAGS=-L/usr/lib64 EXTRALIBDIR=/usr/lib64 PREFIX=/home/instalek/perl/usr/local OTHERLDFLAGS=-L/usr/lib64 LDFLAGS=-L/usr/lib64 EXTRALIBDIR=/usr/lib64 -- NOT OK Running make install Make had returned bad status, install seems impossible cPCPAN: Module (File::Spec) holdback (3.30 held back to 3.25) perlmod--Install done Is it even possible to install this module, I really need it to work
  3. I can see text files in cgi-bin just fine. The problem was encoding as mentioned above, I'm using utf-8 the server is using us-ascii, anyway thanks for the help. I've managed to make it work thanks to your errors.txt there were no special characters in this line so I knew there must be some kind of a encoding problem.
  4. Sorry doesn't work for me: the one with #comment >> http://instalekt.heliohost.org/cgi-bin/t3.cgi no comment >> http://instalekt.heliohost.org/cgi-bin/t2.cgi still no http://instalekt.heliohost.org/cgi-bin/errors.txt I've used your test.txt saved it and rename Update: looks like server needs some time before it can run new script, the t3.cgi started to produce an error and errors.txt file after about 5 minutes from the first run Update2: I think the problem is character encoding if I use us-ansii for encoding it works, problem starts with uft-8 (and I need to use it since my scripts will contain special characters non-us) Now I know I have to edit the code through cPanel editor and set utf-8 even thow the cgi file is save as utf-8, strange but it works
  5. You are right t.cgi is working now, don't know why it didn't but when I download it change name and upload it doesn't work. I've use your code +shebang, and permissions set to 755, and we're back to the beginning (error 500, and errors.txt wasn't created). Ok now I have no idea what this is about, I've tried uploading t.cgi again with Total Commander and cPanel, editing it both with Notepad++ (utf8 + UNIX then WINDOWS) and with cPanel editor and nothing it's just broken, again.
  6. Hi I've got a little problem with all my perl/cgi scripts, basically doesn't matter what I put in my script it always ends up with 500 Internal Server Error. My test script looks like this: #!/usr/bin/perl # use CGI::Carp qw(fatalsToBrowser); use CGI qw(:standard); BEGIN { my $homedir = ( getpwuid($>) )[7]; my @user_include; foreach my $path (@INC) { if ( -d $homedir . '/perl' . $path ) { push @user_include, $homedir . '/perl' . $path; } } unshift @INC, @user_include; } $|=1; # Flush output immediately. print header; print "Hello, world!\n"; Run it here: http://instalekt.heliohost.org/cgi-bin/t.pl or http://instalekt.heliohost.org/cgi-bin/t.cgi File permissions are set to 755, and CGI perl modules are installed. File tested as both .pl and .cgi in cgi-bin direcotory. I've run this script on my Apache+ActivePerl server and the it works just fine (without the BEGIN). I've uploaded both files using Total Commander no change then through cPanel still the same. The Error log in cPanel only shows: [Tue Sep 22 11:56:59 2009] [error] [client *.*.*.*] File does not exist: /home/instalek/public_html/500.shtmlwhich doesn't have anything to do with my problem. Can anyone help me, what am I doing wrong?
×
×
  • Create New...