I encountered the following error when installing Bugzilla in Solaris 10. Can anyone advise on how to resolve the issues? I am installing on a Solaris 10 x86 machine. Compiling Super Smack on Solaris 10../install-sh -c. Now that main question is why is it complaining about C compiler not being able to create.
' writes: Trying to./configure mtools. On screen I get:- checking for gcc.no checking for cc.yes checking for C compiler default output file name. Configure: error: C compiler cannot create executables See 'config.log' for more details And here is config.log:- You will want to install Sun's C compiler or add the appropriate directory to the front of $PATH (/opt/SUNWspro/bin). If you dont;' have that directory, you need to download either Sun's latest C compiler or gcc. Casper - Expressed in this posting are my opinions. They are in no way related to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may be fiction rather than truth. Oscar del Rio 1/2/2008, 7:57 น.
On Feb 1, 8:46 pm, Paul Floyd wrote: On Fri, 01 Feb 2008 10:59:18 -0500, Oscar del Rio wrote: I wrote: wrote: /usr/ucb/cc: language optional software package not installed 1. Download and install Sun Studio compilers 2. Get rid of /usr/ucb in your PATH; replace it with /opt/SUNWspro/bin 3. Add /usr/ccs/bin to the PATH as well. For f.!$'s sake learn to use a search engine before posting questions that have already been asked hundreds of times.
A bientot Paul - Paul Floyd Please feel free to ignore my post if its not of interest to you. Paul Floyd 5/2/2008, 13:16 น. On Tue, 5 Feb 2008 02:52:39 -0800 (PST), wrote: On Feb 1, 8:46 pm, Paul Floyd wrote: 4. For f.!$'s sake learn to use a search engine before posting questions that have already been asked hundreds of times. Please feel free to ignore my post if its not of interest to you.
So, did you spend 30 seconds of your own time doing some research before asking here? It's my hope that if I'm mildly rude, either you'll go away and not be a bother any more, or you'll take the hint and learn how to answer elementary questions by yourself (e.g., by copy/pasting error messages into Google). A bientot peut-etre Paul - Paul Floyd [email protected] 6/2/2008, 1:59 น. On Feb 5, 9:16 pm, Paul Floyd wrote: Paul, Yes, I did.
I really dont understand why people like you get so annoyed at questions. Surely this is what usenet is for, the exchange of information? If everything was answered by searching on google then there'd be no need of usenet would there because nobody would ever post there. Also, like I said, its not as if I emailed you directly and you were forced to read my post. The header was quite self-explanatory so you could have ignored it. Then again, I do agree with you to some extent where the same question is asked every day in a usernet group. Its just that in this circumstance, I dont think the question was that common.
[email protected] 6/2/2008, 8:34 น. [email protected] 6/2/2008, 9:18 น. On Feb 6, 1:59 am, ' wrote: On Feb 5, 9:16 pm, Paul Floyd wrote: On Tue, 5 Feb 2008 02:52:39 -0800 (PST)wrote: On Feb 1, 8:46 pm, Paul Floyd wrote: 4. For f.!$'s sake learn to use a search engine before posting questions that have already been asked hundreds of times. Please feel free to ignore my post if its not of interest to you. So, did you spend 30 seconds of your own time doing some research before asking here?
Thought not. It's my hope that if I'm mildly rude, either you'll go away and not be a bother any more, or you'll take the hint and learn how to answer elementary questions by yourself (e.g., by copy/pasting error messages into Google). A bientot peut-etre Paul Floyd Yes, I did.
What did you try? I get quite a few hits on Solaris FAQ How about this: C Compiler cannot create executables I get almost 63,000 hits I really dont understand why people like you get so annoyed at questions. Surely this is what usenet is for, the exchange of information? FAQs arent information - they are re-treads. Whats the use of a Usenet group that repeats itself over and over?
People who actually could help you eventually stop reading the group. Then it becomes a blind leading the blind or spam repository newsgroup. I do long sometimes for the days of S Howard. If everything was answered by searching on google then there'd be no need of usenet would there because nobody would ever post there.
No need for you to post here perhaps??: Also, like I said, its not as if I emailed you directly and you were forced to read my post. The header was quite self-explanatory so you could have ignored it. Unfortunately killfiling doesnt work well with on google groups which Im forced to use most of the time. Also the number of 'big nut' folks like you appearing on the scene the last couple of years make a kill file grow in an exponentional fashion in a matter of weeks. Another thing to maintain: / Then again, I do agree with you to some extent where the same question is asked every day in a usernet group. Its just that in this circumstance, I dont think the question was that common. YOU dont think?
Of course it is or it wouldnt be a FAQ would it? [email protected] 6/2/2008, 9:45 น. Paul Floyd 6/2/2008, 12:32 น. On Wed, 6 Feb 2008 01:59:08 -0800 (PST), wrote: I really dont understand why people like you get so annoyed at questions.
Surely this is what usenet is for, the exchange of information? If everything was answered by searching on google then there'd be no need of usenet would there because nobody would ever post there. When I tried pasting the message into Google, the first 4 hits, whilst rather dated, all explained the problem.
The first sentence from the first hit: 'There is no C compiler included in Solaris 2.x.' I'm too old and have been using usenet for too long to have much patience for questions like this.
I still hope that you will persist and continue to contribute to this newsgroup. A bientot Paul [email protected] 8/2/2008, 2:46 น.
Replies are listed 'Best First'. By (Bishop) on Aug 06, 2002 at 11:08 UTC /usr/ucb/cc isn't much of a compiler on its own. Is SUNWspro properly installed on your system?
If so, try giving -Dcc=/opt/SUNWspro/bin/cc to Configure. Also important is this quote from README.solaris: You don't need to have /usr/ucb/ in your PATH to build perl. If you want /usr/ucb/ in your PATH anyway, make sure that /usr/ucb/ is NOT in your PATH before the directory containing the right C compiler. Make sure you read README.solaris. Abigail by on Aug 06, 2002 at 14:14 UTC Yes SUNSspro is on my machine how do I know if it is working okay??
Also I dont see /usr/ucb in my root.cshrc by (Bishop) on Aug 06, 2002 at 14:17 UTC The fact '/usr/ucb' is or isn't in your root.cshrc isn't very relevant. It matters where it is in your PATH when you are running Configure (and make).
To test whether your C compiler is installed correctly, try compiling something. Abigail by (Parson) on Aug 06, 2002 at 14:50 UTC Check out. You can get a binary install of gcc-2.95.3-sol7-sparc-local.gz from there, install it using gunzip, pkgadd, and then hopefully, compile Perl with gcc (you might also want to get gmake and gtar). Currently they only have a binary install for Perl 5.80 for SPARC/Solaris 2.7, otherwise I'd suggest it. Not that anything's wrong with it, but you asked about version 5.6.1. I'd concur with that Sun's C compiler isn't too hot-gcc has been less problematic for our systems.Jim Update: make sure you download the correct Solaris version.
By (Beadle) on Aug 06, 2002 at 15:18 UTC Another poster mentioned Sun Freeware, in my book the Sun-provided freeware binaries are of better quality than the stuff at sunfreeware.com. Also, don't forget to grab the binutils package! In addition, you can look at binary distribution of Perl 5.6.1 - if you want something quick, the binary distribution is pretty painless. Not sure if Solaris 7 is supported, we're on 8 at my shop.