Configuring MySQL problem


 
Thread Tools Search this Thread
Operating Systems AIX Configuring MySQL problem
# 1  
Old 06-27-2012
Configuring MySQL problem

Hi,

Trying to setup mediawiki on a system but having problems configuring mysql:

Code:
CC=/usr/bin ./configure
checking build system type... powerpc-ibm-aix6.1.0.0
checking host system type... powerpc-ibm-aix6.1.0.0
checking target system type... powerpc-ibm-aix6.1.0.0
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking "character sets"... default: latin1, collation: latin1_swedish_ci; compiled in: latin1 latin1 utf8
checking whether to compile national Unicode collations... yes
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) nawk
checking for gcc... /usr/bin
checking for C compiler default output file name...
configure: error: in `/home/ifstech/varune/download/mysql-5.0.92':
configure: error: C compiler cannot create executables
See `config.log' for more details.

I have attached the config.log as well.

I've been trying for a little while and I can't seem to get it going

additionally:

Code:
which gcc
/usr/bin/gcc
which g++
/usr/bin/g++


Last edited by vpundit; 11-23-2012 at 01:38 PM..
# 2  
Old 06-27-2012
Please post the content of config.log.
# 3  
Old 06-27-2012
Hi,
Thanks for your quick response. it is attached as config.txt
# 4  
Old 06-27-2012
OK,
this seems strange:

Code:
checking for gcc... /usr/bin

and:

Code:
configure:4319: checking for gcc
configure:4346: result: /usr/bin
configure:4578: checking for C compiler version
configure:4586: /usr/bin --version >&5
./configure[4588]: /usr/bin: cannot execute
configure:4590: $? = 126
configure:4597: /usr/bin -v >&5
./configure[4599]: /usr/bin: cannot execute
configure:4601: $? = 126
configure:4608: /usr/bin -V >&5
./configure[4610]: /usr/bin: cannot execute
configure:4612: $? = 126
configure:4635: checking for C compiler default output file name
configure:4657: /usr/bin      conftest.c  >&5
./configure[4659]: /usr/bin: cannot execute
configure:4661: $? = 126

The compiler name is missing ...
Do you have any CC empty variable in the environment?

Code:
set | grep CC

# 5  
Old 06-27-2012
there is no output when I run that command.
# 6  
Old 06-27-2012
What happens when you execute:

Code:
export CC=/usr/bin/gcc 
./configure

# 7  
Old 06-27-2012
Just tried and still getting the same error.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Configuring mysql for multiple instance only

Hello. I plan to use mysql with only instance database so I can stop one database for maintenance without stopping every thing. When one reads through the my.cnf config file, it is not clear if we must use at the same time a single database mysql plus any instances mysqld2 (for app1), mysqld3... (1 Reply)
Discussion started by: jcdole
1 Replies

2. Solaris

Problem in configuring jumpstart installation

I am trying to configuring jumpstart configuration. Please find below sysidcfg configuration file output bash-3.2# cat sysidcfg terminal=vt100 network_interface=nxge0 { primary hostname=sun1 ip_address=192.168.11.10 \ protocol_ipv6=no netmask=255.255.255.0 default_route=192.168.11.7}... (5 Replies)
Discussion started by: sb200
5 Replies

3. Debian

Problem configuring IP address on remote device

I need to add a printer with Ethernet to my local network. The default IP address in the printer is 0.0.0.0 and I need to change it to a 192.168.0.x address. I have previously temporarily changed the IP address of a computer (with ifconfig) to an address similar to the new device and changed the... (8 Replies)
Discussion started by: snorkack59
8 Replies

4. Red Hat

configuring MYsql db on redhat cluster

Hello, can someone please suggest me in configuring the mysql db on redhat cluster, I have few questions. 1. where do I have to configure heart beat links, and is there any file in the redhat cluster that we update it to use these ipaddress and these interface on the node. 2. I am configuring... (0 Replies)
Discussion started by: bobby320
0 Replies

5. Red Hat

problem configuring external array

Hi, We have a Sunfire 4150 with On-Board Internal Raid Controller connected to 4 X 146 GB SAS disks. This also has an External Raid Controller (Storagetek Eight-Port, External HBA Model SG-XPCIESAS-R-EXT-Z) connected to a JBOD array ( Storagetek XTA2530 ) which has 5 X 300 GB Hard disk. ... (0 Replies)
Discussion started by: ranjansukumar
0 Replies

6. Infrastructure Monitoring

Facing problem while configuring snmp

HI, I am facing these two errors while configuring snmp can any body guide me. vi /var/log/snmpd.log Error opening specified endpoint "udp:161" Server Exiting with code 1 i also tried bash-3.00# netstat -a | grep snm *.snmpd Idle bash-3.00# lsof -i :161 bash: lsof: command not... (2 Replies)
Discussion started by: nir1785
2 Replies

7. AIX

Problem:Configuring Apache 2.2.11 in AIX 5.3

Hi All I am new to Apache and AIX and trying to configure Subversion tool in IBM machine with AIX 5.3.Apache is required for client to connect to Subversion Server with http protocol. 1.Installed Apache 2.2.11 and its dependencies via RPM 2.Configured httpd.conf file. 3.Started "httpd"... (1 Reply)
Discussion started by: rajivdp
1 Replies

8. UNIX for Dummies Questions & Answers

problem configuring Ajaxterm

Hello there, I installed Ajaxterm on my Ubuntu 9.04 machine, and it's running ok if I use : http://localhost:8022/ in my browser it works. The problem is that I wanted to be able to access it from somewhere else through the internet. I've read all the documentation and help that is available for... (1 Reply)
Discussion started by: wosis
1 Replies

9. IP Networking

Problem configuring NIC in DGUX

Old DG box Aviion PentiumPro running R4.20Mu06 being used to try to recreate Ingres db from backup tapes so machine has not been operational before and some of original files in /etc may have ben overwritten Unable to get NIC working Any pointers on how to go about configuring NIC :rolleyes: (0 Replies)
Discussion started by: lindab
0 Replies

10. UNIX for Advanced & Expert Users

MySQL problem >> missing mysql.sock

MySQL on my server is down.... I figured out that the mysqld process isn't running. When I try to run it, it says it can't find mysql.sock Any suggestions? Here's what I can't do: can't be root don't have physical access (do stuff via SSH) reinstall MySQL (need to keep the current MySQL... (8 Replies)
Discussion started by: _hp_
8 Replies
Login or Register to Ask a Question