Issue 12246 - configure script incorrectly sets path in LinuxIntelEnv.Set when alternative compiler is used
Summary: configure script incorrectly sets path in LinuxIntelEnv.Set when alternative ...
Status: CLOSED DUPLICATE of issue 8181
Alias: None
Product: utilities
Classification: Unclassified
Component: code (show other issues)
Version: OOo 1.0.2
Hardware: Other Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: foskey
QA Contact: Unknown
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-11 20:09 UTC by simonbr
Modified: 2013-05-08 09:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description simonbr 2003-03-11 20:09:15 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.
Comment 1 foskey 2003-03-17 01:39:44 UTC
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.
Comment 2 foskey 2003-03-18 11:04:27 UTC
This is because the paths are set in the wrong order.

*** This issue has been marked as a duplicate of 8181 ***
Comment 3 foskey 2003-07-31 02:38:29 UTC
Closing reopen if there is any further.
Comment 4 SVN Robot 2013-05-08 09:43:03 UTC
"alg" committed SVN revision 1480203 into trunk:
i12246 Corrected three basic problems in the metafile breaker