Operating System - HP-UX
1819966 Members
3512 Online
109607 Solutions
New Discussion

gcc: installation problem, cannot exec `cc1': No such file or directory

 
Nelson Tatsuo Ota
New Member

gcc: installation problem, cannot exec `cc1': No such file or directory

I´m trying to compile the gcc-3.4.2 and cvs-1.12.11 but i have the error message in both

gcc: installation problem, cannot exec `cc1': No such file or directory

someone can help me
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: gcc: installation problem, cannot exec `cc1': No such file or directory

The program/binary cc1 is not on your PATH variable which is where the process looks for programs to execute.

So.

find / -name cc1

then make sure the directoy is part of the PATH variable.

Example:

its found at /opt/cc/bin

PATH=$PATH:/opt/cc/bin:

Re-run the process or install. Then it should work.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bill Lattery
New Member

Re: gcc: installation problem, cannot exec `cc1': No such file or directory

I also have this problem, but on my HPUX 11.11 machine, I cannot find the cc1 file anywhere!

Where can I download this file on internet?

Thank you.

Senthil Prabu.S_1
Trusted Contributor

Re: gcc: installation problem, cannot exec `cc1': No such file or directory

Bill,
you can download it from the link,
http://forge.objectweb.org/project/download.php?group_id=48&file_id=403

Follow any one of the mirror site.

HTH,
Prabu.S
One man's "magic" is another man's engineering. "Supernatural" is a null word.