← Back to team overview

drizzle-discuss team mailing list archive

Re: problem buidling drizzle on osx 10.6


This was just one of the options I tried. Protobuf is installed in /usr/local.

The first thing I did was to simply use "--with-lib-prefix=/opt/local" (I checked and boost is there indeed). But then it started to complain about missing protobuf (protobuf check is performed before the boost check) so I tried "--with-lib-prefix=/opt/local --with-lib-prefix=/usr/local" and it didn't work too. But if you say /usr/local is a standard location then it should work with "--with-lib-prefix=/opt/local". It didn't...


16.04.2010 16:25, David Shrewsbury пишет:
Yes, the last --with-lib-prefix given wins. It adds a single library search path
to the _standard_ library paths. Sorry that wasn't clear. Are you already giving
this for libprotobuf? If so, you need to either use the --with-libprotobuf-prefix
option to specify where protobuf lives, or you can install protobuf in one of the
standard locations, like /usr/local.


On Apr 16, 2010, at 3:52 AM, Vladimir Kolesnikov wrote:

It looks like this is not the case. If I use this option then ./configure fails to find libprotobuf (which is being successfully found when run w/o this option). Specifying multiple --with-lib-prefix also doesn't help - in this case only the last one seems to have effect.

15.04.2010 18:58, David Shrewsbury пишет:
Yes. This option just adds to the search path.

You can get more information about configure options with:

    ./configure --help


On Apr 15, 2010, at 11:49 AM, Vladimir Kolesnikov wrote:

Ok, what if some of my libs were installed not via mac ports? Actually only gettext and boost where "port"-ed. Protobuf and couple of other where installed via configure/make. Will they still be reachable?

15.04.2010 18:31, David Shrewsbury пишет:

Mac Ports places everything in /opt/local, which isn't searched by default
by configure. You have to tell it to search here with the --with-lib-prefix option:

     ./configure --with-lib-prefix=/opt/local


On Apr 15, 2010, at 8:05 AM, Vladimir Kolesnikov wrote:


Drizzle's configure script complains about boost dependency on OSX 10.6.2 even if boost is installed. Boost (1.42) was installed via mac ports. Any ideas how to fix this?


Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : drizzle-discuss@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Follow ups