Visit Our UNIX and Linux User Community


Pro*C Compiler HELP!!!!!


 
Thread Tools Search this Thread
Top Forums Programming Pro*C Compiler HELP!!!!!
# 1  
Old 08-07-2002
Question Pro*C Compiler HELP!!!!!

I am trying to use Pro*C compiler to use Oracle database in my C program. But I could not run the Pro*C compiler that comes with oracle called proc. It always gives the

PCC-F-NOERRFILE, unable to open error message file, facility PR2

error.

Please Help me!!!!!
# 2  
Old 08-12-2002
I tried to check the Oracle site and found out this. for your problem, there is two situation which causes the error.

Your installation is probably broken in one of two ways:
1)You do not have the correct version of the oracle client installed from that version of Pro*C or it is in an incomplete install.
2)You are attempting to output the error/output file to a place where you DO NOT have write permissions. The default directory is where ever the Pro*C precompiler executable loads from (which may be a network drive).
# 3  
Old 08-12-2002
Please export these variables properly

ORACLE_HOME

PATH=$ORACLE_HOME/bin:$PATH

In ORACLE_HOME/bin only proc should exist

GOOD LUCK

Ganti
# 4  
Old 08-20-2002
I was trying to do the same and got the same error message. I check all the variables and they were set and exported. The Oracle installation had been done by someone else before I got to my current client's location. I'm not an Oracle DBA but I did manage to check the oracle install log, and found that the proc compiler was actually called proc16 instead of proc. The proc executable gave me the same error. But when I ran proc16 without any arguments, it gave me a list of options, so it worked. Check your oracle install log and see what the proc binary is actually called.

Salman

Previous Thread | Next Thread
Test Your Knowledge in Computers #364
Difficulty: Medium
vi first appeared in 1BSD.
True or False?

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

cc compiler and gcc compiler

hi, can we install gcc compiler in unix based OS(sun solar,IBM AIX,HP,etc) and also can we install sun cc compiler in AIX environment and vice versa. and more ..is linux support cc compiler regards Ajay (3 Replies)
Discussion started by: ajaysahoo
3 Replies

2. Programming

How Can a Machine Reads a Compiler Since A Compiler is Written in Text! Not Binaries?

To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first? The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's... Eventhough i... (12 Replies)
Discussion started by: f.ben.isaac
12 Replies

3. UNIX for Dummies Questions & Answers

xl C/C++ compiler to GCC compiler

Hi, we are converting from IBM-AIX(xl c/c++ compiler) to Linux(GCC complier). As a part of this i need to change the CFLAGS. The xl c/c++ complier CFLAGS is CFLAGS := $(CDEBUG) $(PROJECT_INCLUDE_DIRS) $(COBJECT_MODE) -qcpluscmt -qmakedep -qcheck=all \ -qalign=bit_packed $(LINT_FLAGS)... (0 Replies)
Discussion started by: pbattu1
0 Replies

4. HP-UX

Looking for a free Pro C compiler

Hi does anybody know where I could get a free HP Unix Pro C Compiler? any website? Thanks for your help Dany (3 Replies)
Discussion started by: Dany
3 Replies

5. Programming

C compiler

I'm new to C but eager to get started. I purchasewd beginning C by Ivor Horton and realise that I need a C compiler. I looking for the most appropriate and economical way to obtain this, any suggestions would be greatly appreciated. (5 Replies)
Discussion started by: ferret
5 Replies

6. UNIX for Dummies Questions & Answers

domain logon problem - FreeBSD PDC w/ win2k pro and winxp pro

this is the seventh problem i'm having with samba. for some reason, i cannot logon to the domain. i've created user accounts... and i was able to establish a connection between the samba server (my PDC) and my workstations by logging in as "root." however now when i try to logon it gives... (5 Replies)
Discussion started by: xyyz
5 Replies

7. UNIX for Advanced & Expert Users

CC compiler

Hi, If you you have CC installed, then where does it defaultly lives. Thanks (3 Replies)
Discussion started by: vtran4270
3 Replies

8. Programming

c compiler

What can I do if my unix didn't come with cc or gcc. there must be a place to get those programs. Just not where i can find them:confused: (3 Replies)
Discussion started by: hector
3 Replies

Featured Tech Videos