Opened 13 years ago

Closed 13 years ago

#32752 closed defect (invalid)

mysql5-5.1.60_0.darwin_11.x86_64 Failed to install

Reported by: cluesome@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: mysql5

Description

Mac OS X 10.7.2 and Xcode 4.2.

Doing a regular

> sudo port upgrade outdated

the process halted upgrading mysql5 with an error so I tried doing

>sudo port uninstall mysql5-server
>sudo port uninstall mysql5
>sudo port clean mysql5-server
>sudo port clean mysql5
>sudo port install mysql5-server

which starts installing the mysql5 dependency before halting with the same error as before:

--->  Building mysql5
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install mysql5
Log for mysql5 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/main.log
Error: The following dependencies were not installed: mysql5
Error: Status 1 encountered during processing.

I have attached the main.log file.

Attachments (1)

main.log (205.3 KB) - added by cluesome@… 13 years ago.

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by cluesome@…

Attachment: main.log added

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Port: mysql5 added; mysql5-server removed

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

:info:build /usr/include/c++/4.2.1/cstddef:50:28: error: bits/c++config.h: No such file or directory

Are you sure Xcode is installed correctly? Try reinstalling Xcode. That file should be there...

$ ls -l /usr/include/c++/*/*/bits/c++config.h
-rw-r--r--  1 root  wheel  38625 Oct 24  2010 /usr/include/c++/4.0.0/i686-apple-darwin10/bits/c++config.h
-rw-r--r--  1 root  wheel  38625 Oct 24  2010 /usr/include/c++/4.0.0/i686-apple-darwin8/bits/c++config.h
-rw-r--r--  1 root  wheel  38625 Oct 24  2010 /usr/include/c++/4.0.0/i686-apple-darwin9/bits/c++config.h
-rw-r--r--  1 root  wheel  38625 Oct 24  2010 /usr/include/c++/4.0.0/powerpc-apple-darwin10/bits/c++config.h
-rw-r--r--  1 root  wheel  38625 Oct 24  2010 /usr/include/c++/4.0.0/powerpc-apple-darwin8/bits/c++config.h
-rw-r--r--  1 root  wheel  38625 Oct 24  2010 /usr/include/c++/4.0.0/powerpc-apple-darwin9/bits/c++config.h
-rw-r--r--  1 root  wheel  38628 Oct 24  2010 /usr/include/c++/4.0.0/x86_64-apple-darwin10/bits/c++config.h
-rw-r--r--  1 root  wheel  38628 Oct 24  2010 /usr/include/c++/4.0.0/x86_64-apple-darwin8/bits/c++config.h
-rw-r--r--  1 root  wheel  38628 Oct 24  2010 /usr/include/c++/4.0.0/x86_64-apple-darwin9/bits/c++config.h
-rw-r--r--  1 root  wheel  38945 Oct 24  2010 /usr/include/c++/4.2.1/i686-apple-darwin10/bits/c++config.h
-rw-r--r--  1 root  wheel  38945 Oct 24  2010 /usr/include/c++/4.2.1/i686-apple-darwin8/bits/c++config.h
-rw-r--r--  1 root  wheel  38945 Oct 24  2010 /usr/include/c++/4.2.1/i686-apple-darwin9/bits/c++config.h
-rw-r--r--  1 root  wheel  38948 Oct 24  2010 /usr/include/c++/4.2.1/powerpc-apple-darwin10/bits/c++config.h
-rw-r--r--  1 root  wheel  38948 Oct 24  2010 /usr/include/c++/4.2.1/powerpc-apple-darwin8/bits/c++config.h
-rw-r--r--  1 root  wheel  38948 Oct 24  2010 /usr/include/c++/4.2.1/powerpc-apple-darwin9/bits/c++config.h
-rw-r--r--  1 root  wheel  38954 Oct 24  2010 /usr/include/c++/4.2.1/x86_64-apple-darwin10/bits/c++config.h
-rw-r--r--  1 root  wheel  38954 Oct 24  2010 /usr/include/c++/4.2.1/x86_64-apple-darwin8/bits/c++config.h
-rw-r--r--  1 root  wheel  38954 Oct 24  2010 /usr/include/c++/4.2.1/x86_64-apple-darwin9/bits/c++config.h

comment:3 Changed 13 years ago by cluesome@…

Yes, that was it. I have it working now, thank you.

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

I'm glad -- this error was unfamiliar to me and I wasn't sure what I was going to suggest if that didn't work. :)

Note: See TracTickets for help on using tickets.