The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
C Compiler Roam SUN Solaris 25 05-15-2009 11:03 AM
xl C/C++ compiler to GCC compiler pbattu1 UNIX for Dummies Questions & Answers 0 02-27-2007 08:59 AM
C compiler hassan2 High Level Programming 5 10-11-2002 12:49 AM
CC compiler vtran4270 UNIX for Advanced & Expert Users 3 08-21-2002 12:58 PM
cc compiler / gcc florian.turck UNIX for Dummies Questions & Answers 2 05-21-2002 03:53 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-07-2002
pegasus pegasus is offline
Registered User
  
 

Join Date: Apr 2002
Posts: 3
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 (permalink)  
Old 08-12-2002
killerserv's Avatar
killerserv killerserv is offline Forum Advisor  
Unix Predator
  
 

Join Date: Dec 2000
Location: Phoenix, AZ
Posts: 670
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 (permalink)  
Old 08-12-2002
ganti ganti is offline
Registered User
  
 

Join Date: Jul 2002
Posts: 25
Please export these variables properly

ORACLE_HOME

PATH=$ORACLE_HOME/bin:$PATH

In ORACLE_HOME/bin only proc should exist

GOOD LUCK

Ganti
  #4 (permalink)  
Old 08-20-2002
w0lf w0lf is offline
Registered User
  
 

Join Date: Aug 2002
Posts: 4
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:48 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0