Danny <[EMAIL PROTECTED]> wrote:
Do a which cpp or
whereis cpp


Hi Danny and all R.H mailing list members,

This is the result
1. which cpp
   result : 
     which: no cpp in(/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin:
     /usr/X11R6/bin:/root/bin:/usr/local/pgsql/bin:/usr/X11R6/bin:
     /usr/local/pgsql/bin)

2. whereis cpp
   result :
     cpp:/lib/cpp  /usr/man/man1/cpp.1

My further questions are:
Should I have cpp in all directory in result number  1, in order to make my
R.H 6.0 can run cpp ? 


If No, so what should I  do to solve this problem(please, see below)? 

Thank you so much. 


Best regards,
--Ritha--


------------RITHA'S FIRST MESSAGE---------------

Hallo everybody,

I tried  to run "make" in order to produce one java class (named IDCT.class)
from a file which  is combination of java and c program(named IDCT.tmpl).
The results  are:

  gcc -o expand_const expand_const.o compute.o -lm
  rm -f IDCT.java
  ./expand_const IDCT.tmpl  | cpp | sed '1d' > IDCT.java
  /bin/sh : cpp :command not found

I thought I don't have cpp,  so I  try to install cpp-1.1.2-12.i386.rpm from
R.H CD, but I got an error message saying  that 

  cpp-1.1.2-12 is already installed. 

I try to rpm -U, and I also got the same answer.

Then I try : 

  rpm -ql grep cpp-1.1.2-12 |grep cpp =

then I got these results:
  /lib/cpp
  /usr/info/cpp.info.gz
  /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/cpp
  /usr/man/man1/cpp.1

My questions are:
1. Why does it happen (/bin/sh: cpp: command not found)??
2. How to solve this problem ?

For information : 

I  use RedHat 6.0.
Processor Intel Pentium II 350.

Thank you very much before for your answer.


best regards,
--Ritha--


____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1


--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to