I have upgraded my perl version to 5.6.1 before installing the gcc version 3.0.3. I 
didn't uninstall GNU binutils or GAS. Yes, the path has been changed from usr/bin to 
usr/local/bin. Please advice what next step should I do.

Here's the output of perl -V:

Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=solaris, osvers=2.8, archname=sun4-solaris
    uname='sunos solaris 5.8 generic sun4u sparc sunw,ultra-5_10 '
    config_args='-Dcc=gcc -de'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include 
-D_LARGEFILE_SOURCE-D_FILE_OFFSET_BITS=64',
    optimize='-O',
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.95.3 20010315 (release)', gccosandvers='solaris2.8'
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksiz=8
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib '
    libpth=/usr/local/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc
    perllibs=-lsocket -lnsl -ldl -lm -lc
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under solaris
  Compiled at Apr 26 2001 04:07:49
  @INC:
    /usr/local/lib/perl5/5.6.1/sun4-solaris
    /usr/local/lib/perl5/5.6.1
    /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.6.1
    /usr/local/lib/perl5/site_perl
   .

Thanks & regards, 
-Chew Li-Fang- 


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 9:15 PM
To: Chew, Li-Fang
Cc: [EMAIL PROTECTED]
Subject: Re: Error make DBI - language optional software package not
installed




Your compiler (gcc) is using the Solaris assembler but thinks it is the GNU
assembler.

Was your perl built locally?  Have you installed GCC since installing Perl?
Have you uninstalled GNU Binutils or GAS?  Is your $PATH different from what it
was when you built Perl?  What is the output of "perl -V"?





[EMAIL PROTECTED] on 04/10/2002 11:42:08 PM

To:   [EMAIL PROTECTED]
cc:    (bcc: John Tobey/Intdata)

Subject:  Error make DBI - language optional software package not installed




Hi,
I have a problem when try to make DBI.

cp Changes blib/lib/DBI/Changes.pm
gcc -c  -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O    -DVERSION=\"1.21\"  -DXS_VERSION=\"1.21\" -fPIC
-I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE -Wall -Wno-comment
-DDBI_NO_THREADS DBI.c
DBI.xs: In function `dbih_clearcom':
DBI.xs:971: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_get_fbav':
DBI.xs:1109: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_set_attr_k':
DBI.xs:1201: warning: unused variable `Perl___notused'
DBI.xs: In function `log_where':
DBI.xs:1743: warning: unused variable `Perl___notused'
DBI.xs: In function `XS_DBI_dispatch':
DBI.xs:2275: warning: unused variable `Perl___notused'
DBI.xs: In function `XS_DBD_____st_bind_col':
DBI.xs:3054: warning: operation on `PL_na' may be undefined
DBI.xs: In function `XS_DBD_____st_bind_columns':
DBI.xs:3075: warning: operation on `PL_na' may be undefined
/usr/ccs/bin/as: "/var/tmp/cc2Oznn2.s", line 3428: error: unknown opcode
".subsection"
/usr/ccs/bin/as: "/var/tmp/cc2Oznn2.s", line 3428: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/cc2Oznn2.s", line 3446: error: unknown opcode
".previous"
/usr/ccs/bin/as: "/var/tmp/cc2Oznn2.s", line 3446: error: statement syntax
*** Error code 1
make: Fatal error: Command failed for target `DBI.o'

I tried to access the DBI FAQ but not successfully.
http://xmlproj.dyndns.org/dbi/faq.html

Please advice what should I do now.

Thanks & regards,
-Chew Li-Fang-








Reply via email to