I am using gcc for my c-compiler.   Any help would be appreciated.   The output of perl –V and perl Makefile.PL and make are below.  If you need anymore information just email me.   The output is also in the text file attached.  The DBI version is 1.48.  My cc compiler is linked to /usr/local/bin/gcc from /usr/ucb/cc.

 

Thanks

Drex

 

 

 

(lines cut)

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_50dbm.t

Creating DBI::PurePerl    test variant: t/zvpp_60preparse.t

Creating DBI::PurePerl    test variant: t/zvpp_80proxy.t

Checking if your kit is complete...

Looks good

 

    I see you're using perl 5.008 on sun4-solaris-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

 

############Not sure why the above states i am using perl 5.008 below perl -V####

# perl -V

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:

  Platform:

    osname=solaris, osvers=2.8, archname=sun4-solaris-thread-multi

    uname='sunos mmmm 5.8 generic_108528-15 sun4u sparc sunw,ultra-60 '

    config_args=''

    hint=recommended, useposix=true, d_sigaction=define

    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define

    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef

    use64bitint=define use64bitall=define uselongdouble=undef

    usemymalloc=n, bincompat5005=undef

  Compiler:

    cc='cc -xtarget=ultra -xarch=v9 -xcode=pic32', ccflags ='-D_REENTRANT -I/usr/local/include -xarch=v9  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',

    optimize='-O',

    cppflags='-D_REENTRANT -I/usr/local/include'

    ccversion='Sun WorkShop 6 update 2 C 5.3 Patch 111679-08 2002/05/09', gccversion='', gccosandvers=''

    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321

    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16

    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8

    alignbytes=8, prototype=define

  Linker and Libraries:

    ld='cc -xtarget=ultra -xarch=v9 -xcode=pic32', ldflags =' -L/usr/local/lib -L/opt/SUNWspro/WS6U2/lib -xarch=v9 '

    libpth=/usr/local/lib /opt/SUNWspro/WS6U2/lib /usr/lib /usr/ccs/lib

    libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lrt -lpthread -lc

    perllibs=-lsocket -lnsl -ldl -lm -lrt -lpthread -lc

    libc=/usr/lib/sparcv9/libc.so, so=so, useshrplib=false, libperl=libperl.a

    gnulibc_version=''

  Dynamic Linking:

    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '

    cccdlflags='-KPIC', lddlflags=' -G -xarch=v9 -L/usr/local/lib -L/opt/SUNWspro/WS6U2/lib'

 

 

Characteristics of this binary (from libperl):

  Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES PERL_IMPLICIT_CONTEXT

  Built under solaris

  Compiled at Nov  3 2002 23:07:14

  @INC:

    /usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi

    /usr/local/lib/perl5/5.8.0

    /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris-thread-multi

    /usr/local/lib/perl5/site_perl/5.8.0

    /usr/local/lib/perl5/site_perl

 

 

############Below is where the problem starts###############################

 

(lines cut)

/usr/local/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi

/usr/local/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap  Perl.xs > Perl.xsc && mv Perl.xsc Perl.c

cc -xtarget=ultra -xarch=v9 -xcode=pic32 -c   -D_REENTRANT -I/usr/local/include -xarch=v9 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"1.48\" -DXS_VERSION=\"1.48\" -KPIC "-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE"   Perl.c

cc: unrecognized option `-KPIC'

cc: language arch=v9 not recognized

cc: Perl.c: linker input file unused since linking not done

/usr/local/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap  DBI.xs > DBI.xsc && mv DBI.xsc DBI.c

cc -xtarget=ultra -xarch=v9 -xcode=pic32 -c   -D_REENTRANT -I/usr/local/include -xarch=v9 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"1.48\" -DXS_VERSION=\"1.48\" -KPIC "-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE"   DBI.c

cc: unrecognized option `-KPIC'

cc: language arch=v9 not recognized

cc: DBI.c: linker input file unused since linking not done

Running Mkbootstrap for DBI ()

chmod 644 DBI.bs

rm -f blib/arch/auto/DBI/DBI.so

LD_RUN_PATH="" cc -xtarget=ultra -xarch=v9 -xcode=pic32  -G -xarch=v9 -L/usr/local/lib -L/opt/SUNWspro/WS6U2/lib DBI.o  -o blib/arch/auto/DBI/DBI.so    

cc: DBI.o: No such file or directory

cc: Warning: `-x arch=v9' after last input file has no effect

cc: No input files

make: *** [blib/arch/auto/DBI/DBI.so] Error 1

(lines cut)
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_50dbm.t 
Creating DBI::PurePerl    test variant: t/zvpp_60preparse.t 
Creating DBI::PurePerl    test variant: t/zvpp_80proxy.t 
Checking if your kit is complete...
Looks good

    I see you're using perl 5.008 on sun4-solaris-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

############Not sure why the above states i am using perl 5.008 below perl 
-v#########
# perl -v

This is perl, v5.8.0 built for sun4-solaris-thread-multi
(lines cut)

############Below is where the problem starts###############################

(lines cut)
/usr/local/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
/usr/local/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp  -typemap 
/usr/local/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap  Perl.xs > 
Perl.xsc && mv Perl.xsc Perl.c
cc -xtarget=ultra -xarch=v9 -xcode=pic32 -c   -D_REENTRANT -I/usr/local/include 
-xarch=v9 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"1.48\" 
-DXS_VERSION=\"1.48\" -KPIC 
"-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE"   Perl.c
cc: unrecognized option `-KPIC'
cc: language arch=v9 not recognized
cc: Perl.c: linker input file unused since linking not done
/usr/local/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp  -typemap 
/usr/local/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap  DBI.xs > DBI.xsc 
&& mv DBI.xsc DBI.c
cc -xtarget=ultra -xarch=v9 -xcode=pic32 -c   -D_REENTRANT -I/usr/local/include 
-xarch=v9 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"1.48\" 
-DXS_VERSION=\"1.48\" -KPIC 
"-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE"   DBI.c
cc: unrecognized option `-KPIC'
cc: language arch=v9 not recognized
cc: DBI.c: linker input file unused since linking not done
Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
rm -f blib/arch/auto/DBI/DBI.so
LD_RUN_PATH="" cc -xtarget=ultra -xarch=v9 -xcode=pic32  -G -xarch=v9 
-L/usr/local/lib -L/opt/SUNWspro/WS6U2/lib DBI.o  -o blib/arch/auto/DBI/DBI.so  
   
cc: DBI.o: No such file or directory
cc: Warning: `-x arch=v9' after last input file has no effect
cc: No input files
make: *** [blib/arch/auto/DBI/DBI.so] Error 1

Reply via email to