[Ayuda] Offtopic: Instalacion o configuracion de perl
Anibal Avelar
aavelar en cofradia.org
Jue Ene 25 14:30:05 CST 2007
De hecho no existe el programa gcc como tal. En todas las distros es
una liga simbolica al compilador real
/usr/bin/gcc -> /bin/bin/gcc-3.3
Asi que sin ola tienes podria ser que no existe la liga. solo creala y
apunta laa l compilador .2.96 que dices que tienes.
Saludos.
On 1/25/07, David Lopez <david_uscanga en yahoo.com> wrote:
>
> Siguiendo con el hilo:
>
> segui las instrucciones para compilar e instalar los
> modulos DBI como se indica en el link:
>
> http://search.cpan.org/~capttofu/DBD-mysql-4.001/lib/DBD/mysql.pm#INSTALLATION
>
>
> Resultados:
>
> Al generar el perl Makefile.PL
>
> *** You are using a perl configured with threading
> enabled.
> *** You should be aware that using multiple threads is
> *** not recommended for production environments.
>
> *** Note:
> The optional PlRPC-modules (RPC::PlServer etc) are
> not installed.
> If you want to use the DBD::Proxy driver and
> DBI::ProxyServer
> modules, then you'll need to install the
> RPC::PlServer, RPC::PlClient,
> Storable and Net::Daemon modules. The CPAN
> Bundle::DBI may help you.
> You can install them any time after installing the
> DBI.
> You do *not* need these modules for typical DBI
> usage.
>
> Optional modules are available from any CPAN mirror,
> in particular
> http://search.cpan.org/
> http://www.perl.com/CPAN/modules/by-module
> http://www.perl.org/CPAN/modules/by-module
>
> ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module
>
> Your perl was compiled with gcc (version 3.2.2
> 20030213 (Red Hat Linux 8.0 3.2.2-1)), okay.
> Creating DBI::PurePerl test variant:
> t/zvpp_01basics.t
> Creating DBI::PurePerl test variant:
> t/zvpp_02dbidrv.t
> Creating DBI::PurePerl test variant:
> t/zvpp_03handle.t
> Creating DBI::PurePerl test variant:
> t/zvpp_04mods.t
> Creating DBI::PurePerl test variant:
> t/zvpp_05thrclone.t (use threads)
> Creating DBI::PurePerl test variant:
> t/zvpp_06attrs.t
> Creating DBI::PurePerl test variant:
> t/zvpp_07kids.t
> Creating DBI::PurePerl test variant:
> t/zvpp_08keeperr.t
> Creating DBI::PurePerl test variant:
> t/zvpp_09trace.t
> Creating DBI::PurePerl test variant:
> t/zvpp_10examp.t
> Creating DBI::PurePerl test variant:
> t/zvpp_11fetch.t
> Creating DBI::PurePerl test variant:
> t/zvpp_14utf8.t
> Creating DBI::PurePerl test variant:
> t/zvpp_15array.t
> Creating DBI::PurePerl test variant:
> t/zvpp_20meta.t
> Creating DBI::PurePerl test variant:
> t/zvpp_30subclass.t
> Creating DBI::PurePerl test variant:
> t/zvpp_40profile.t
> Creating DBI::PurePerl test variant:
> t/zvpp_41prof_dump.t
> Creating DBI::PurePerl test variant:
> t/zvpp_42prof_data.t
> Creating DBI::PurePerl test variant:
> t/zvpp_43prof_env.t
> Creating DBI::PurePerl test variant: t/zvpp_50dbm.t
>
> Creating DBI::PurePerl test variant:
> t/zvpp_60preparse.t
> Creating DBI::PurePerl test variant:
> t/zvpp_70callbacks.t
> Creating DBI::PurePerl test variant:
> t/zvpp_72childhandles.t
> Creating DBI::PurePerl test variant:
> t/zvpp_80proxy.t
> Checking if your kit is complete...
> Looks good
> Warning: prerequisite File::Spec 1 not found. We have
> 0.83.
>
> I see you're using perl 5.008 on
> i386-linux-thread-multi, 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
>
> Aparentemente hasta aqui todo bien.
>
> ***********************************
> Al hacer Make
>
> /usr/bin/perl "-MExtUtils::Command" -e mkpath
> blib/lib/DBI
> rm -f blib/lib/DBI/Changes.pm
> cp Changes blib/lib/DBI/Changes.pm
> /usr/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 lib/DBD/DBM.pm blib/lib/DBD/DBM.pm
> cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
> cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h
> cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
> cp Roadmap.pod blib/lib/Roadmap.pod
> 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 Driver.xst blib/arch/auto/DBI/Driver.xst
> 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 dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
> cp lib/DBI/ProfileSubs.pm blib/lib/DBI/ProfileSubs.pm
> cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
> cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
> cp lib/DBD/File.pm blib/lib/DBD/File.pm
> cp dbivport.h blib/arch/auto/DBI/dbivport.h
> cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.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/Const/GetInfoReturn.pm
> blib/lib/DBI/Const/GetInfoReturn.pm
> cp DBI.pm blib/lib/DBI.pm
> cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
> cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.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 dbipport.h blib/arch/auto/DBI/dbipport.h
> cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
> cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
> cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
> cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
> cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
> cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
> /usr/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst >
> Perl.xsi
> /usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp
> -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap
> -typemap typemap Perl.xs > Perl.xsc && mv Perl.xsc
> Perl.c
> gcc -c -D_REENTRANT -D_GNU_SOURCE
> -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
> -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2
> -march=i386 -mcpu=i686 -g -DVERSION=\"1.53\"
> -DXS_VERSION=\"1.53\" -fPIC
> "-I/usr/lib/perl5/5.8.0/i386-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
> /bin/sh: line 1: gcc: command not found
> make: *** [Perl.o] Error 127
>
> Aparentemente no encuentra el gcc
> al buscarlo en forma manual en el sistema encuentro un
> tal:
> gcc296, pero por ningun lado gcc tal cual
> asumo que es una variante o algo asi...
> intente haciendo un alias para que lo identificara
> simplemente como gcc, pero truena igual..
>
> Alguna sugerencia?
>
> o mas bien, como instalo y de donde gcc? y eso
> afectara al gcc296 que ya esta instalado?
>
> Saludos
> PD: ya me senti newby completamente :S
>
> Saludos nuevamente.
> Error.
> no se genera el make da el siguiente error:
>
>
>
>
>
> ____________________________________________________________________________________
> Expecting? Get great news right away with email Auto-Check.
> Try the Yahoo! Mail Beta.
> http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
>
>
> _______________________________________________
> Ayuda mailing list
> Ayuda en linux.org.mx
> Para salir de la lista: http://mail.linux.org.mx/cgi-bin/mailman/listinfo/ayuda/
>
--
Anibal Avelar (FixXxeR) http://fixxxer.cc
GPG: 83B64656 - C143 4AD8 B017 53FA B742 D6AA CEEA F9F3 83B6 4656
_______________________________________________
Ayuda mailing list
Ayuda en linux.org.mx
Para salir de la lista: http://mail.linux.org.mx/cgi-bin/mailman/listinfo/ayuda/
Más información sobre la lista de distribución Ayuda