Hi, DBI group:

I had problem with installing DBI module.
When make, make test, make install, it complained
of c-compiler not found in a non-existent directory.
How can I make DBI generate a Makefile with correct
C compiler path location.
(see errorlog below)

My C-compiler is: /usr/ucb/cc
thanks

////////////////////
philuu-u10:/users/philuu/DBI-1.38> !119
/usr/local/bin/perl5.6 Makefile.PL

**************************************************************************
**************************************************************************
  Version 5.006 of perl will NOT BE SUPPORTED by
future DBI releases.
  You will have to upgrade your perl or stop upgrading
DBI.
  Perl version 5.6.1 will be the lowest version
supported.
  Using perl 5.006 you may notice some test warnings
and two failures.
  Press return to continue...
**************************************************************************
**************************************************************************

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_03handle_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_06attrs_pp.t 
Creating extra DBI::PurePerl test: t/zz_07kids_pp.t 
Creating extra DBI::PurePerl test: t/zz_08keeperr_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_41prof_dump_pp.t 
Creating extra DBI::PurePerl test:
t/zz_42prof_data_pp.t 
Creating extra DBI::PurePerl test:
t/zz_60preparse_pp.t 
Creating extra DBI::PurePerl test: t/zz_80proxy_pp.t 

    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
philuu-u10:/users/philuu/DBI-1.38> make
/bin/sh -c true
/bin/sh -c true
/bin/sh -c true
/opt/SUNWspro/bin/cc -c  -I/usr/cisco/include
-I/opt/SUNWspro/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O     -DVERSION=\"1.38\"
-DXS_VERSION=\"1.38\" -KPIC
-I/usr/cisco/lib/perl5/5.6.0/sunos-5.8-sparc-64/CORE
-DDBI_NO_THREADS Perl.c
make: /opt/SUNWspro/bin/cc: Command not found
make: *** [Perl.o] Error 127
philuu-u10:/users/philuu/DBI-1.38> make test
/bin/sh -c true
/bin/sh -c true
/bin/sh -c true
/opt/SUNWspro/bin/cc -c  -I/usr/cisco/include
-I/opt/SUNWspro/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O     -DVERSION=\"1.38\"
-DXS_VERSION=\"1.38\" -KPIC
-I/usr/cisco/lib/perl5/5.6.0/sunos-5.8-sparc-64/CORE
-DDBI_NO_THREADS Perl.c
make: /opt/SUNWspro/bin/cc: Command not found
make: *** [Perl.o] Error 127
philuu-u10:/users/philuu/DBI-1.38>
philuu-u10:/users/philuu/DBI-1.38> make test
TEST_VERBOSE=1
/bin/sh -c true
/bin/sh -c true
/bin/sh -c true
/opt/SUNWspro/bin/cc -c  -I/usr/cisco/include
-I/opt/SUNWspro/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O     -DVERSION=\"1.38\"
-DXS_VERSION=\"1.38\" -KPIC
-I/usr/cisco/lib/perl5/5.6.0/sunos-5.8-sparc-64/CORE
-DDBI_NO_THREADS Perl.c
make: /opt/SUNWspro/bin/cc: Command not found
make: *** [Perl.o] Error 127
philuu-u10:/users/philuu/DBI-1.38> 
//////////////////


Output of perl -V
/////////////////
philuu-u10:/users/philuu/DBI-1.38> perl -V
Summary of my perl5 (5.0 patchlevel 4 subversion 4)
configuration:
  Platform:
    osname=solaris, osvers=2.6,
archname=sparc-sun-solaris2.6
    uname='sunos cp-ss20 5.6 generic sun4m sparc
sunw,sparcstation-20 '
    hint=recommended, useposix=true,
d_sigaction=define
    bincompat3=y useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc -B/usr/ccs/bin/', optimize='-O',
gccversion=2.7-97r1
    cppflags='-I/nfs/swtau/cp/local/include'
    ccflags ='-I/nfs/swtau/cp/local/include'
    stdchar='unsigned char', d_stdstdio=define,
usevfork=false
    voidflags=15, castflags=0, d_casti32=define,
d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=y,
prototype=define
  Linker and Libraries:
    ld='gcc -B/usr/ccs/bin/', ldflags ='
-L/nfs/swtau/cp/local/lib/sparc-sun-solaris2.6'
   
libpth=/nfs/swtau/cp/local/lib/sparc-sun-solaris2.6
/lib /usr/lib /usr/ccs/lib /usr/local/lib
    libs=-lsocket -lnsl -lgdbm -ldl -lm -lc -lcrypt
    libc=, so=so
    useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
ccdlflags=' '
    cccdlflags='-fpic', lddlflags='-G
-L/nfs/swtau/cp/local/lib/sparc-sun-solaris2.6'


Characteristics of this binary (from libperl): 
  Built under solaris
  Compiled at May 20 1998 18:06:27
  @INC:
   
/opt/perl/packages/5.004_04/sparc-sun-solaris2.6/lib
    /opt/perl/packages/5.004_04/lib
   
/opt/perl/packages/5.004_04/lib/site_perl/sparc-sun-solaris2.6
    /opt/perl/packages/5.004_04/lib/site_perl
    .
philuu-u10:/users/philuu/DBI-1.38>
///////////////

=====


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

Reply via email to