Apache OpenOffice (AOO) Bugzilla – Issue 12246
configure script incorrectly sets path in LinuxIntelEnv.Set when alternative compiler is used
Last modified: 2013-05-08 09:43:03 UTC
On SuSE 8.1 (gcc 3.2(sic)) the first time the C compiler is called in the bootstrap script, an internal compiler error occurs. Therefore, I installed GCC 3.2.1 as that compiler version had been reported to work. I put its location /opt/gcc3.2.1/bin in my PATH and ran the configure script. The configure script recognized this compiler, but I still got the same error in bootstrap, because in LinuxIntelEnv.Set the PATH was set with /usr/bin *before* /opt/gcc3.2.1, so that the wrong compiler was still executed. After changing the order in LinuxIntelEnv.Set the bootstrap completed without errors.
Temporary work around is to run: CC=opt/gcc3.2.1/bin/gcc CXX=opt/gcc3.2.1/bin/g++ export CC export CXX ./configure Regariding the core problem this is a duplicate issue. I will find issue and mark it as duplicate.
This is because the paths are set in the wrong order. *** This issue has been marked as a duplicate of 8181 ***
Closing reopen if there is any further.
"alg" committed SVN revision 1480203 into trunk: i12246 Corrected three basic problems in the metafile breaker