[MacPorts] #32723: mysql5-devel: build failure with clang
MacPorts
noreply at macports.org
Sun Jan 1 23:40:39 PST 2012
#32723: mysql5-devel: build failure with clang
-------------------------------+--------------------------------------------
Reporter: wanliqunn@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: clang | Port: mysql5-devel
-------------------------------+--------------------------------------------
Comment(by wanliqunn@…):
Replying to [comment:9 ryandesign@…]:
> Replying to [comment:7 wanliqunn@…]:
> > Replying to [comment:6 ryandesign@…]:
> > > You're sure? It built fine for me on Snow Leopard with Xcode 3 and
the gcc-4.2 compiler when I committed it. Did you remember to clean before
each new attempt? (The log you attached here is not clean, for
example.)[[BR]]
> > Yes, I "sudo port clean mysql5-devel" then "sudo port selfupdate" and
then "sudo port upgrade outdated", still failed with the same error. Here
is my device enriment: Mac os 10.6.7 XCode: 4.2. Forgot to mention, I have
mysql installed: Server version: 5.1.59 MySQL Community Server (GPL).
>
> If you mean the mysql5 port, then you're out of date; the current
version is 5.1.60.
>
> If you mean a standalone MySQL package installed elsewhere, then I can't
help you with that, and might even suggest that you uninstall it, since
having software installed outside of MacPorts can sometimes interfere with
MacPorts. I don't think the standard MySQL distribution installs into any
problematic locations, however, so you're probably fine.
>
> > I need to install mysql5-devel for some project development.
>
> What do you mean, exactly? I am worried you may be under the mistaken
impression that MacPorts adheres to the naming convention of Linux package
managers where a package "foo" contains binaries and libraries and a
package "foo-devel" contains development headers. That is not how MacPorts
works. In MacPorts, all packages always contain development headers
already. Instead, we use "-devel" ports to indicate development/unstable
versions. So, if what you're after is the development headers for MySQL
5.1.x, just install the normal mysql5 port, not the mysql5-devel
port.[[BR]]
[[BR]]
Yeah, the mysql installed was installed outside of MacPorts. Sorry, I did
mistake *-devel package as development package. You are right, I need to
recheck my need. BTW, the private tree works well here. Thanks for the tip
anyway!
--
Ticket URL: <https://trac.macports.org/ticket/32723#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list