Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Pro*C Compile problems in Oracle 8i

Garrett_80Garrett_80 Member Posts: 1
Hello,

I'm trying to compile a Pro*c program in Oracle8i Enterprise Edition Release 8.1.7.0.0 on a Sun system running Solaris.

My .cshrc file has as follows

###############################################################################
# @(#)cshrc 1.11 89/11/29 SMI
umask 022
set path=(/usr/bin/X11 /bin /usr/bin /home/appl/mosaic /usr/ucb /etc /usr/etc /usr/local/bin /home/appl/emacs/bin /home/appl/ghostscript/bin /home/appl/gzip/bin /home/appl/SUNWspro/bin/cc /home/appl/gcc/bin.)

setenv LD_LIBRARY_PATH /databases/oracle/lib

if ( $?prompt ) then
setenv LC_CTYPE iso_8859_1
stty cs8 -istrip -parenb
set history=32
endif
alias cd 'cd !*; set prompt = `hostname`:$cwd>'
alias ls 'ls -lF'
alias rm 'rm -i'
alias lo 'logout'
alias mail '/usr/ucb/mail'
set prompt = `hostname`:$cwd>
set filec
limit coredumpsize 0

source /usr/local/bin/coraenv

setenv NLS_LANG american_greece.el8dec

set path=($path /home/appl/gmake/bin/)
set path=($path /home/appl/gcc/bin/)

#######################################################################

The problem i'm encountering is the following:
At first i precompile my program successfully with
proc myprogram.pc

After that i have myprogram.c ready and after that i try to compile
by typing the following lines

cc -I/databases/oracle/precomp/public -I/databases/oracle/rdbms/public
-L/databases/oracle/lib -R/databases/oracle/lib -lclntsh -laio -o myprogram myprogram.c

and all i get is

/usr/ucb/cc: language optional software package not installed.

Can someone tell me what is going on????

I'd appreciate it :)




Sign In or Register to comment.