configure errors


 
Thread Tools Search this Thread
Top Forums Programming configure errors
# 1  
Old 11-28-2001
configure errors

Hi all,
I'm compiling mysql in my solaris8 box with gcc, when i run configure, i get the following errors,
checking whether C compiler(gcc ) works...no
configure: error: installation or configuration problem: C compiler cannot create executables


can somebody help me solve this problem? many many thanx!
# 2  
Old 11-28-2001
yes it means that gcc installation is not complete. This can be caused by many reasons. I.e. if you downloaded gcc as binary for your OS, it is supposed that you had the full cc compiler by the vendor of the OS. When it happened on my AIX, in fact "as" assembler was missing and i installed the vendors cc (vacc) and everything went OK.
You have to download the source of gcc and compile it. In your case it is very possible that it is not the "as" that is missing. Find what it is by downloading the gcc source. This "configure" scripts usually exposes exactly what the problem is. hope this helps
# 3  
Old 11-28-2001
thalex> thank you for you reply Smilie

i think that's the way, when i ls the /usr/ccs/bin directory, i found there is not as, ar...etc except ld & m4 ;(
(but i've found them in a solaris7 box before.)
i think i should install binutils that include these binnary such as as,ar...

ps,
i need a gcc to compile a gcc to work for me, it's a nice ideal Smilie
# 4  
Old 11-29-2001
The same error
i've installed the binutils, but still mysql cannot "./configure --prefix=/usr/local/mysql" correctly,
and i post my $PATH and $LD_LIBRARY_PATH,

# echo $PATH
/usr/sbin:/usr/bin:/usr/local/bin
# echo $LD_LIBRARY_PATH
/usr/local/lib:/usr/local/lib/gcc-lib/i386-pc-solaris2.8/2.95.3

could somebody can help me find the errors?
# 5  
Old 11-29-2001
Is the message still cannot create executables? paths are ok. Sometimes vendors like SUn or HP have a native non ansi C compiler with small subset of include files. Thats why I tols you if you can compile the gcc source. Plus, the configure script of gcc gives extra details why you cant create executables. It may give you what exactly is missing...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

./configure

hello, I'm trying install apache http server version 2.2.22. I downloaded the file httpd-2.2.22.tar.bz2. I unzipped this file.. When I type "./configure", the following error occurs: # ./configure --prefix=/opt/work/apache2.2.22 checking for chosen layout... Apache checking for... (1 Reply)
Discussion started by: Adriano Schmidt
1 Replies

2. Solaris

Configure virtual ip - second ip

Hello Group, Could you please help me with the procedure to configure a virtual ip (second ip) under the same interface in Solaris 11. Thanks in advance ! (2 Replies)
Discussion started by: csierra
2 Replies

3. Shell Programming and Scripting

Compilation errors in running configure script

Hi all, I tried to cross compile Ghostscript-8.54 source. I am getting some errors during cross compilation. I have pasted the errors below. CC=arm-unknown-linux-gnu-gcc LD=arm-unknown-linux-gnu-ld ./configure --host=i686-pc-linux-gnu --target=arm-unknown-linux-gnu --without-x && make ... (2 Replies)
Discussion started by: siva4ever
2 Replies

4. Solaris

How to configure mailserver

Hi All, Can you please help me in configuring mail server on Solaris 10? Will appreciate if I can get some link which can explain the steps Thanks (3 Replies)
Discussion started by: kumarmani
3 Replies

5. Solaris

How to configure Xming

Hi , I installed Xming on my laptop . I have a remote server Sun Solaris 10, When I lanch xlaunch and do these export DISPLAY=10.149.132.111:0.0 xterm & Myserver:/Allsuite/test/dev/ENV23>xterm & 15071 Myserver:/Allsuite/test/dev/ENV23>bash: xterm: command not found It works fine... (1 Reply)
Discussion started by: dashok.83
1 Replies

6. UNIX for Dummies Questions & Answers

Major OS errors/Bash errors help!!!!

Hi all, dummy here.... I have major errors on entering the shell. On login I get: -bash: dircolors: command not found -bash: tr: command not found -bash: fgrep: command not found -bash: grep: command not found -bash: grep: command not found -bash: id: command not found -bash: [: =: unary... (12 Replies)
Discussion started by: wcmmlynn
12 Replies

7. AIX

Adapter Errors and Link Errors

$ errpt | more IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR 3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR B8113DD1 ... (2 Replies)
Discussion started by: mcastill66
2 Replies

8. UNIX for Advanced & Expert Users

Adapter Errors and Link Errors

$ errpt | more IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR 3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR B8113DD1 ... (0 Replies)
Discussion started by: mcastill66
0 Replies

9. Filesystems, Disks and Memory

Configure e-mail

Hi, I don't know if this is appropriate for this forum but here goes anyway. I'm setting up a red hat server and want to be able to send and receive e-mail from it, perhaps even regardless of user accounts. Trouble is I know nothing. I'm welcome to pointers, links, books, tips, tricks, full... (7 Replies)
Discussion started by: Phineus
7 Replies

10. UNIX for Dummies Questions & Answers

IP configure

Hi people I am having problems getting a few Sun Station to work again. We just moved to a new building with new IPs and new gateways. I need to change all these settings. Could some one please tel me what files I have to change. It is a Solaris 5.7 machine. Thanx O:confused: (2 Replies)
Discussion started by: Orange
2 Replies
Login or Register to Ask a Question