Re: Pro*C Configuration error in Linux

From: Andy Finkenstadt <kahuna_at_panix.com>
Date: Tue, 14 Jan 2003 00:00:15 +0000 (UTC)
Message-ID: <avvjuf$e50$2_at_reader1.panix.com>


In <b1d33613.0301120202.21ce9f9d_at_posting.google.com> balajikr2002_at_yahoo.co.in (balaji k r) writes:
> This program gave me errors which run to pages. After which i
>changed my system configuration file to
>pcscfg.cfg
>----------
>sys_include=/usr/include
>include=/u01/app/oracle/product/8.1.7/precomp/public
> Then i export some environment variables such as PATH to the
>directory where Pro*C is installed.
>

Easy to fix.

>Problem:
>-------
>1)unable to open stdio.h
>2)unable to open sqlca.h
> Even though i modified the system configuration files the errors
>were not removed. i still get a lot of errors.

gcc -v
/usr/lib/gcc-lib/i486-linux/2.7.2/specs
gcc version 2.7.2

Now go into pcscfg.cfg and modify sys-include to include /usr/lib/gcc-lib/i486-linux/2.7.2/include

(change /specs to /include from the gcc -v output).

Andy

-- 
Andrew Finkenstadt (http://www.finkenstadt.com/andy/)
Received on Tue Jan 14 2003 - 01:00:15 CET

Original text of this message