[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Q: cc1plus



First, thanks to J.H.M.Dassen (Ray) for the reply concerning the error
message.
However, things still don't work, so I have to update the question...

Originally, I got the error message
gcc: install problem, cannot exec 'cc1plus': No such file or directory
when compiling a program (actually wp2latex v.2.64, see
http://cmp.felk.cvut.cz/~fojtik/wp2latex.htm)
by calling a makefile. After not getting any effect when trying to "env
CXX=g++ ./configure" or "make CXX=g++" as was advised, I looked again
for cc1plus and found it in /usr/lib/gcc-lib/i486-linux/egcs-2.90.29,
together with some other stuff. I then tried to tell gcc to look there
by the -B option but then got an error from cpp telling me that I didn't
give I/O files; OTOH, cpp is not explicitly invoked in the makefile, so
I don't see any possibility to set them.
As there is another cpp file in /usr/lib/gcc-lib/i486-linux/2.7.2.3 (but
no cc1plus), I finally cancelled the -B option with the other path and
made a soft link from /usr/lib/gcc-lib/i486-linux/egcs-2.90.29/cc1plus
to /usr/lib/gcc-lib/i486-linux/2.7.2.3/cc1plus. The makefile began to
work then (emitting tons of warnings) and finally died with messages
concerning unreferenced '_' or so (didn't notice that when compiling the
same source on the AIX here).

I have already spent quite a few hours with this and really am getting
annoyed. So any further hints on what I am maybe missing are welcome.
-- 
--------------------------------------------
Thomas Ruedas
Institute of Meteorology and Geophysics, 
J.W. Goethe University Frankfurt/Main
Feldbergstrasse 47			D-60323 Frankfurt/Main, Germany
Phone:+49-(0)69-798-24949		Fax:+49-(0)69-798-23280
e-mail: ruedas@geophysik.uni-frankfurt.de
http://www.geophysik.uni-frankfurt.de/~ruedas/
--------------------------------------------


Reply to: