I want to install the Perl DBI module on to
my solaris ultra 10.
Solaris ultra 10 does not come with a C compiler
so I downloaded gcc compiler.
Then I ran install as follows:
Code:
# cd DBI-1.30
# ls
blib DBI.xs Driver.xst Perl.c test.pl
Changes dbi_sql.h Driver_xst.h Perl.xs ToDo
dbd_xsh.h dbipport.h lib Perl.xsi
DBI.bs dbiproxy.PL Makefile pm_to_blib
DBI.c dbish.PL Makefile.PL README
DBI.pm DBIXS.h MANIFEST t
# perl Makefile.PL
*** 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://www.perl.com/CPAN/modules/by-modulehttp://www.perl.org/CPAN/modules/by-moduleftp://ftp.funet.fi/pub/languages/per...ules/by-module
Creating extra DBI::PurePerl test: t/zz_01basics_pp.t
Creating extra DBI::PurePerl test: t/zz_02dbidrv_pp.t
Creating extra DBI::PurePerl test: t/zz_03hleak_pp.t
Creating extra DBI::PurePerl test: t/zz_04mods_pp.t
Creating extra DBI::PurePerl test: t/zz_05thrclone_pp.t
Creating extra DBI::PurePerl test: t/zz_10examp_pp.t
Creating extra DBI::PurePerl test: t/zz_15array_pp.t
Creating extra DBI::PurePerl test: t/zz_20meta_pp.t
Creating extra DBI::PurePerl test: t/zz_30subclass_pp.t
Creating extra DBI::PurePerl test: t/zz_40profile_pp.t
Creating extra DBI::PurePerl test: t/zz_60preparse_pp.t
Creating extra DBI::PurePerl test: t/zz_70shell_pp.t
Creating extra DBI::PurePerl test: t/zz_80proxy_pp.t
Writing Makefile for DBI
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.
# make
cc -c -xO3 -xdepend -DVERSION=\"1.30\" -DXS_VERSION=\"1.30\" -KPIC -I/usr
/perl5/5.00503/sun4-solaris/CORE -DDBI_NO_THREADS Perl.c
ucbcc: unrecognized option `-Xs'
ucbcc: unrecognized option `-KPIC'
ucbcc: language depend not recognized
ucbcc: Perl.c: linker input file unused since linking not done
ucbcc: -lucb: linker input file unused since linking not done
ucbcc: -lsocket: linker input file unused since linking not done
ucbcc: -lnsl: linker input file unused since linking not done
ucbcc: -lelf: linker input file unused since linking not done
ucbcc: -laio: linker input file unused since linking not done
/usr/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503 /usr/perl5/
5.00503/ExtUtils/xsubpp -typemap /usr/perl5/5.00503/ExtUtils/typemap DBI.xs >xs
tmp.c && mv xstmp.c DBI.c
cc -c -xO3 -xdepend -DVERSION=\"1.30\" -DXS_VERSION=\"1.30\" -KPIC -I/usr
/perl5/5.00503/sun4-solaris/CORE -DDBI_NO_THREADS DBI.c
ucbcc: unrecognized option `-Xs'
ucbcc: unrecognized option `-KPIC'
ucbcc: language depend not recognized
ucbcc: DBI.c: linker input file unused since linking not done
ucbcc: -lucb: linker input file unused since linking not done
ucbcc: -lsocket: linker input file unused since linking not done
ucbcc: -lnsl: linker input file unused since linking not done
ucbcc: -lelf: linker input file unused since linking not done
ucbcc: -laio: linker input file unused since linking not done
Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
LD_RUN_PATH="" cc -o blib/arch/auto/DBI/DBI.so -G DBI.o
ucbcc: DBI.o: No such file or directory
ucbcc: unrecognized option `-Xs'
*** Error code 1
make: Fatal error: Command failed for target `blib/arch/auto/DBI/DBI.so'
#
I think I may have to recompile the perl and
DBI module with the same compiler.
hi,
can we install gcc compiler in unix based OS(sun solar,IBM AIX,HP,etc) and also
can we install sun cc compiler in AIX environment and vice versa.
and more ..is linux support cc compiler
regards
Ajay (3 Replies)
I am using open suse linux. I want to install gcc compiler in my machine. I ahve checked man gcc and man cc. But it's not there. Can someone help me (4 Replies)
Hi,
I need to install the GCC compiler on a my Linus machine.
First step is to run the ./configure command and here we need to specify
./configure --target="target machine name (CPU type-Manufacturer-OS)
or other way would be just give the command ./configure and it guesses the target name... (11 Replies)
I want to install gcc compiler on aix box.
$uname -a
AIX GTMIT 3 5 000000000000
Can any one help me installing gcc compiler(step by step)either by smit or rpm commands ?
What is boot straping ?
Its urgent ..
Thanks in advance (2 Replies)
where to download gcc compiler for ubuntu?
how to install?
how to build and run "c programs"?
screen shots if possible.....:b::D
tutorials too:cool: (5 Replies)
hi i am trying to connect to an oracle database using dbi and i get this ::
Driver has not implemented the disconnect_all method. at /opt/perl/lib/site_perl/5.8.0/sun4-solaris/DBI.pm line 575
END failed--call queue aborted.
for all i know, the script was working earlier, but has... (1 Reply)
Hi,
we are converting from IBM-AIX(xl c/c++ compiler) to Linux(GCC complier).
As a part of this i need to change the CFLAGS.
The xl c/c++ complier CFLAGS is
CFLAGS := $(CDEBUG) $(PROJECT_INCLUDE_DIRS) $(COBJECT_MODE) -qcpluscmt -qmakedep -qcheck=all \
-qalign=bit_packed $(LINT_FLAGS)... (0 Replies)
We ran into an issue trying to install DBI and DB2 modules for perl for AIX from the link
http://www-306.ibm.com/software/data/db2/perl/
We tried to install the DBI module using
bash# perl -MCPAN -e 'install DBI'
command. However we ended up with the following error.
Stop.
... (3 Replies)
Hi,
Installed the gcc compiler off the Solaris 9 Companion CD a while back , but needed to delete it due to disk space issues.
Now that I have sorted out our root disk space I can`t reinstall the compiler.
If I select all the packages off the Development/Languages menu , the install list... (3 Replies)