(RADIATOR) radiator on solaris SPARC

Ayotunde Itayemi aitayemi at metrong.com
Fri Aug 8 12:21:54 CDT 2003


Hi,

Ok. DBI module installed fine but I had problems with DBD-Oracle
(full Oracle database install with no database created though)
Perl version is 5.6.1

Regards,
Tunde I.


# tar -xvf DBD-Oracle-1.12.tar
# cd DBD-Oracle-1.12
# ls
Changes      Oraperl.pm      README.login   dbdimp.h        oraperl.ph
MANIFEST     README          README.longs   hints           t
Makefile.PL  README.clients  README.sec     oci.def         test.pl
Oracle.ex    README.explain  README.win32   oci7.c
Oracle.h     README.help     README.wingcc  oci8.c
Oracle.pm    README.hpux     Todo           ocitrace.h
Oracle.xs    README.java     dbdimp.c       ora_explain.PL
# perl Makefile.PL
Using DBI 1.21 installed in
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/au
to/DBI

 Configuring DBD::Oracle ...

>>>     Remember to actually *READ* the README file!
        Especially if you have any problems.

Using Oracle in /export/spare/oracle9sw
Found header files in rdbms/demo.
Found /export/spare/oracle9sw/precomp/demo/proc/demo_proc.mk
Using /export/spare/oracle9sw/precomp/demo/proc/demo_proc.mk
Reading /export/spare/oracle9sw/precomp/demo/proc/demo_proc.mk.
Reading /export/spare/oracle9sw/precomp/lib/env_precomp.mk.

Attempting to discover Oracle OCI build rules...
gcc    -c -o DBD_ORA_OBJ.o DBD_ORA_OBJ.c
Oracle oci build command:
        echo -xarch=v9  -o DBD_ORA_EXE
DBD_ORA_OBJ.o -L/export/spare/oracle9sw/l
ib/ -lclntsh `cat /export/spare/oracle9sw/lib/ldflags`   `cat
/export/spare/orac
le9sw/lib/sysliblist` -R/export/spare/oracle9sw/lib -laio  -lposix4  -lm  -l
thre
ad
        -xarch=v9 -o DBD_ORA_EXE
DBD_ORA_OBJ.o -L/export/spare/oracle9sw/lib/ -l
clntsh -lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lnoname9 -lntc
p9 -
lntcps9 -lnsslb9 -lntcp9 -lntns9 -lnsl -lsocket -lgen -ldl -R/export/spare/o
racl
e9sw/lib -laio -lposix4 -lm -lthread
Unable to interpret Oracle oci build commands. Using fallback approach.


System: perl5.006001 sunos solaris 5.8 generic sun4u sparc sunw,ultra-5_10
Compiler:
  gcc -O -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64
Linker:     /usr/local/bin/ld
Sysliblist: -lnsl -lsocket -lgen -ldl
Oracle makefiles would have used these definitions but we override them:
  CC:       cc

  CFLAGS:   $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(PFLAGS)\
        $(SHARED_CFLAG) $(USRFLAGS)
           [$(GFLAG) -xO3 $(CDEBUG) -Xa $(PROFILE) -xstrconst -dalign -xF
$(XS)
$(MR) -xildoff -errtags=yes -v -xarch=v9 -xchip=ultra3 -W2,-AKNR_S -Wd,-xsaf
e=un
boundsym -Wc,-Qiselect-funcalign=32 -xcode=abs44 -Wc,-Qgsched-trace_late=1 -
Wc,-
Qgsched-T5 -xalias_level=weak -D_REENTRANT -DSS_64BIT_SERVER -DBIT64 -DMACHI
NE64
 -K
PIC -DPRECOMP -I. -I/export/spare/oracle9sw/precomp/public -I/export/spare/o
racle9sw/rdbms/public -I/export/spare/oracle9sw/rdbms/demo -I/export/spare/o
racl
e9sw/plsql/public -I/export/spare/oracle9sw/network/public -DSLMXMX_ENABLE -
DSLT
S_ENABLE -D_SVID_GETTOD -D_REENTRANT $(LPFLAGS) $(USRFLAGS)]

  build:     $(DEMO_PROC_BUILD_SHARED_64)
Evaluating `cat $(LIBHOME)ldflags`
  expanded `cat /export/spare/oracle9sw/lib/ldflags`
  returned
lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9  -lnsslb9   -lnoname9 -
lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9
'
Evaluating `cat $(LIBHOME)sysliblist`
  expanded `cat /export/spare/oracle9sw/lib/sysliblist`
  returned '-lnsl -lsocket -lgen -ldl'
           [ cc -xarch=v9 $(LFLAGS) -o $(EXE)
$(OBJS) -L$(LIBHOME) -lclntsh -lnb
eq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lnoname9 -lntcp9 -lntcps9
 -ln
sslb9 -lntcp9 -lntns9 $(EXPDLIBS)
$(EXOSLIBS) -lnsl -lsocket -lgen -ldl -R/expor
t/spare/oracle9sw/lib -laio $(THREADLIBS) -lposix4 $(LLIBKSTAT) -lm
$(USRLIBS) -
lthread]

  LDFLAGS:  -o $@ $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME)
           [-o $@ -L/export/spare/oracle9sw/precomp/lib/ -L$(LIBHOME)]


Linking with  -L/export/spare/oracle9sw/lib -lclntsh [from $(LIBCLNTSH)]


Warning: If you have problems you may need to rebuild perl with -Uusemymallo
c.

Checking if your kit is complete...
Looks good
LD_RUN_PATH=/export/spare/oracle9sw/lib
Using DBD::Oracle 1.12.
Using DBI 1.21 installed in
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/au
to/DBI
Writing Makefile for DBD::Oracle

***  If you have problems...
     read all the log printed above, and the README and README.help files.
     (Of course, you have read README by now anyway, haven't you?)

# make
cp oraperl.ph blib/lib/oraperl.ph
cp Oracle.pm blib/lib/DBD/Oracle.pm
cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm
cp dbdimp.h blib/arch/auto/DBD/Oracle/dbdimp.h
cp ocitrace.h blib/arch/auto/DBD/Oracle/ocitrace.h
cp Oracle.h blib/arch/auto/DBD/Oracle/Oracle.h
cp Oraperl.pm blib/lib/Oraperl.pm
/usr/local/bin/perl -p -e "s/~DRIVER~/Oracle/g" <
/usr/local/lib/perl5/site_perl
/5.6.1/sun4-solaris/auto/DBI/Driver.xst > Oracle.xsi
/usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/local/l
ib/p
erl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp  -typemap
/usr/local/lib/p
erl5/5.6.1/ExtUtils/typemap Oracle.xs > Oracle.xsc && mv Oracle.xsc Oracle.c
gcc -c -I. -I/export/spare/oracle9sw/precomp/public -I/export/spare/oracle9s
w/rd
bms/public -I/export/spare/oracle9sw/rdbms/demo -I/export/spare/oracle9sw/pl
sql/
public -I/export/spare/oracle9sw/network/public -I/export/spare/oracle9sw/rd
bms/
demo -I/export/spare/oracle9sw/rdbms/demo -I/usr/local/lib/perl5/site_perl/5
.6.1
/sun4-solaris/auto/DBI -fno-strict-aliasing -I/usr/local/include -D_LARGEFIL
E_SO
URCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\" -f
PIC
-I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE  Oracle.c
In file included from Oracle.h:20,
                 from Oracle.xs:1:
dbdimp.h:44:20: ocidfn.h: No such file or directory
dbdimp.h:57:21: ociapr.h: No such file or directory
In file included from Oracle.h:20,
                 from Oracle.xs:1:
dbdimp.h:97: parse error before "Lda_Def"
dbdimp.h:97: warning: no semicolon at end of struct or union
dbdimp.h:98: warning: data definition has no type or storage class
dbdimp.h:105: parse error before '}' token
dbdimp.h:126: parse error before "Cda_Def"
dbdimp.h:126: warning: no semicolon at end of struct or union
dbdimp.h:127: warning: data definition has no type or storage class
dbdimp.h:153: parse error before '}' token
dbdimp.h:279: parse error before "Lda_Def"
Oracle.xsi: In function `XS_DBD__Oracle__db_commit':
Oracle.xsi:73: dereferencing pointer to incomplete type
Oracle.xsi: In function `XS_DBD__Oracle__db_rollback':
Oracle.xsi:82: dereferencing pointer to incomplete type
Oracle.xsi: In function `XS_DBD__Oracle__db_disconnect':
Oracle.xsi:91: dereferencing pointer to incomplete type
Oracle.xsi:95: dereferencing pointer to incomplete type
Oracle.xsi:96: dereferencing pointer to incomplete type
Oracle.xsi:97: dereferencing pointer to incomplete type
Oracle.xsi:101: dereferencing pointer to incomplete type
Oracle.xsi:101: dereferencing pointer to incomplete type
Oracle.xsi:103: dereferencing pointer to incomplete type
Oracle.xsi:105: dereferencing pointer to incomplete type
Oracle.xsi:109: dereferencing pointer to incomplete type
Oracle.xsi:109: dereferencing pointer to incomplete type
Oracle.xsi:109: dereferencing pointer to incomplete type
Oracle.xsi: In function `XS_DBD__Oracle__db_DESTROY':
Oracle.xsi:144: dereferencing pointer to incomplete type
Oracle.xsi:146: dereferencing pointer to incomplete type
Oracle.xsi:153: dereferencing pointer to incomplete type
Oracle.xsi:154: dereferencing pointer to incomplete type
Oracle.xsi:155: dereferencing pointer to incomplete type
Oracle.xsi:157: dereferencing pointer to incomplete type
Oracle.xsi:158: dereferencing pointer to incomplete type
Oracle.xsi:158: dereferencing pointer to incomplete type
Oracle.xsi:158: dereferencing pointer to incomplete type
Oracle.xsi:160: dereferencing pointer to incomplete type
Oracle.xsi:168: dereferencing pointer to incomplete type
Oracle.xsi:169: dereferencing pointer to incomplete type
Oracle.xsi:174: dereferencing pointer to incomplete type
Oracle.xsi:174: dereferencing pointer to incomplete type
Oracle.xsi:174: dereferencing pointer to incomplete type
Oracle.xsi: In function `XS_DBD__Oracle__st_execute':
Oracle.xsi:288: dereferencing pointer to incomplete type
Oracle.xsi:289: dereferencing pointer to incomplete type
Oracle.xsi:293: dereferencing pointer to incomplete type
Oracle.xsi:294: dereferencing pointer to incomplete type
Oracle.xsi:295: dereferencing pointer to incomplete type
Oracle.xsi:309: dereferencing pointer to incomplete type
Oracle.xsi:310: dereferencing pointer to incomplete type
Oracle.xsi: In function `XS_DBD__Oracle__st_finish':
Oracle.xsi:385: dereferencing pointer to incomplete type
Oracle.xsi:386: dereferencing pointer to incomplete type
Oracle.xsi:390: dereferencing pointer to incomplete type
Oracle.xsi:393: dereferencing pointer to incomplete type
Oracle.xsi:393: dereferencing pointer to incomplete type
Oracle.xsi:393: dereferencing pointer to incomplete type
Oracle.xsi: In function `XS_DBD__Oracle__st_DESTROY':
Oracle.xsi:460: dereferencing pointer to incomplete type
Oracle.xsi:462: dereferencing pointer to incomplete type
Oracle.xsi:468: dereferencing pointer to incomplete type
Oracle.xsi:469: dereferencing pointer to incomplete type
Oracle.xsi:469: dereferencing pointer to incomplete type
Oracle.xsi:469: dereferencing pointer to incomplete type
Oracle.xsi:471: dereferencing pointer to incomplete type
Oracle.xsi:472: dereferencing pointer to incomplete type
Oracle.xsi:473: dereferencing pointer to incomplete type
Oracle.xsi:481: dereferencing pointer to incomplete type
Oracle.xsi:481: dereferencing pointer to incomplete type
Oracle.xsi:481: dereferencing pointer to incomplete type
Oracle.xs: In function `XS_DBD__Oracle__st_ora_fetch':
Oracle.xs:57: dereferencing pointer to incomplete type
Oracle.xs:57: dereferencing pointer to incomplete type
Oracle.xs:57: dereferencing pointer to incomplete type
Oracle.xs:60: dereferencing pointer to incomplete type
Oracle.xs:60: dereferencing pointer to incomplete type
Oracle.xs:60: dereferencing pointer to incomplete type
Oracle.xs:60: dereferencing pointer to incomplete type
Oracle.xs:60: dereferencing pointer to incomplete type
Oracle.xs:60: dereferencing pointer to incomplete type
Oracle.xs:60: dereferencing pointer to incomplete type
Oracle.xs:60: dereferencing pointer to incomplete type
Oracle.xs:64: dereferencing pointer to incomplete type
Oracle.xs:66: dereferencing pointer to incomplete type
Oracle.xs:85: dereferencing pointer to incomplete type
Oracle.xs:85: dereferencing pointer to incomplete type
Oracle.xs:85: dereferencing pointer to incomplete type
Oracle.xs:85: dereferencing pointer to incomplete type
Oracle.xs:85: dereferencing pointer to incomplete type
Oracle.xs:85: dereferencing pointer to incomplete type
Oracle.xs:85: dereferencing pointer to incomplete type
Oracle.xs:85: dereferencing pointer to incomplete type
Oracle.xs:87: dereferencing pointer to incomplete type
Oracle.xs:87: dereferencing pointer to incomplete type
Oracle.xsi: In function `boot_DBD__Oracle':
Oracle.xsi:18: sizeof applied to an incomplete type
Oracle.xsi:19: sizeof applied to an incomplete type
make: *** [Oracle.o] Error 1
#


----- Original Message ----- 
From: "Eapen Joseph" <eapen at q8online.com>
To: "Ayotunde Itayemi" <aitayemi at metrong.com>
Cc: "Elias" <elias at tmnet.com.my>; <radiator at open.com.au>;
<richard at bactel.net>
Sent: Wednesday, August 06, 2003 5:41 AM
Subject: Re: (RADIATOR) radiator on solaris SPARC


> hi,
> i have radiator working fine without any problem on sun. The compiler
> i've used is workshop6. All the perl modules installation also went
> fine.
>
> rgds
> eapen
>
> ----- Original Message -----
> From: "Ayotunde Itayemi" <aitayemi at metrong.com>
> Date: Tuesday, August 5, 2003 2:06 pm
> Subject: Re: (RADIATOR) radiator on solaris SPARC
>
> > Hi Elias, hi Richard,
> >
> > You are both right! To think I spent the whole of yesterday on this!
> > I have started installing the perl modules in less than 30minutes!
> >
> > Ok. I uninstalled perl 5.005 which came with Solaris and installed the
> > GNU perl 5.6.1 instead ( I had done that before reading Richard's
> > reply)I guess I could have kept both.
> >
> > I also installed the GNC gcc 3.3 and libgcc 3.3
> >
> > soft-linked /usr/ucb/cc to /usr/local/bin/gcc
> >
> > and I am compiling away!
> >
> > Thanks, it goes to show that "Knowledge is indeed power!"
> >
> > Tunde Itayemi.
> >
> >  ----- Original Message ----- 
> >  From: Elias
> >  To: Ayotunde Itayemi
> >  Sent: Tuesday, August 05, 2003 11:00 AM
> >  Subject: Re: (RADIATOR) radiator on solaris SPARC
> >
> >
> > ***********************
> > Your mail has been scanned by TMnet VirusWall.
> > ***********************
> >
> >
> >
> >  Hi,
> >
> >  I'm running my Radiator setup on Solaris 8 with an Oracle DB. I
> > think your problem is more with Perl. The default Perl
> > installation that comes with Solaris is linked to use cc. I
> > normally reinstall Perl to get it to run with gcc.
> >    ----- Original Message ----- 
> >    From: Ayotunde Itayemi
> >    To: radiator at open.com.au
> >    Cc: Hugh Irvine
> >    Sent: Tuesday, August 05, 2003 5:31 PM
> >    Subject: (RADIATOR) radiator on solaris SPARC
> >
> >
> > ***********************
> > This e-mail was scanned by TM Net E-Mail Virus Shield.
> > ***********************
> >
> >
> >
> >
> >    Hi All,
> >
> >    I have a Netra X1 (Solaris 8 SPARC) (and also a Sun SureFire
> > v100) and I have tried without
> >    sucess to install radiator on them.
> >    I can't install most perl modules either, and yes I have seen
> > all the mails on the net about
> >    installing GNU gcc and pointing the cc (wrapper) for the
> > inexistent SUN compiler to gcc.
> >
> >    perl Makefile.PL works everytime but make always bombs with
> > something similar to
> >    (see below). I have tried both the solaris make and the GNU
> > make (v 3.80)
> >
> >    someone suggested gcc 2.95.2 which is supposed to be
> > compatible with most OS,
> >    I have also tried 3.2.2 and 3.3.
> >
> >    Has anyone installed radiator on solaris 8 sparc? and used it
> > with a database?
> >    I was able to install the Oracle 9i client by the way on the s.
> >    perl version is 5.005_03
> >
> >    Thanks.
> >    Regards,
> >    Tunde I.
> >
> >    =================================================
> >    cp Changes blib/lib/DBI/Changes.pm
> >    cc -c   -xO3 -xdepend    -DVERSION=\"1.21\" -
> > DXS_VERSION=\"1.21\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE -
> > DDBI_NO_THREADS Perl.c
> >    cc: unrecognized option `-KPIC'
> >    cc: language depend not recognized
> >    cc: Perl.c: 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 >xstmp.c && mv xstmp.c
> > DBI.c    cc -c   -xO3 -xdepend    -DVERSION=\"1.21\" -
> > DXS_VERSION=\"1.21\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE -
> > DDBI_NO_THREADS DBI.c
> >    cc: unrecognized option `-KPIC'
> >    cc: language depend not recognized
> >    cc: DBI.c: linker input file unused since linking not done
> >    Running Mkbootstrap for DBI ()
> >    chmod 644 DBI.bs
> >    LD_RUN_PATH="" cc -o bli    cc: DBI.o: No such file or directory
> >    cc: No input files
> >    make: *** [bli    bash-2.03#
> >
> >
>
> ===
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list