[MacPorts] #20276: mysql5 install configure failure

MacPorts noreply at macports.org
Mon Jul 13 09:55:20 PDT 2009


#20276: mysql5 install configure failure
------------------------------------------+---------------------------------
 Reporter:  macports@…                    |       Owner:  ryandesign@…           
     Type:  defect                        |      Status:  new                    
 Priority:  Normal                        |   Milestone:                         
Component:  ports                         |     Version:  1.7.1                  
 Keywords:                                |        Port:  mysql5                 
------------------------------------------+---------------------------------

Comment(by ryandesign@…):

 "configure: error: C compiler cannot create executables" almost always
 means Xcode is not installed properly, or at all. The odd bit here is that
 it's failing while working on mysql5 -- which means it already
 successfully installed mysql5's dependencies zlib, openssl, readline,
 ncurses, and ncursesw. I suppose it's possible those dependencies were
 installed some time earlier when Xcode was installed properly, then Xcode
 was uninstalled, then you tried to install mysql5?

 Can you please show me the output of this command on your system, which
 should show us what C compilers you have:

 {{{
 ls -l /usr/bin/gcc*
 }}}

 I also noticed "/usr/local/bin" in your PATH. Although MacPorts does not
 use your PATH while installing ports, /usr/local is a special location and
 software will often look there anyway, which is why we recommend you keep
 /usr/local empty if you want to use MacPorts. What is in your /usr/local?

-- 
Ticket URL: <http://trac.macports.org/ticket/20276#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list