This message was forwarded from developers-l...@monetdb.org.  The MonetDB
mailing lists have moved to monetdb.org.  Please subscribe to
developers-l...@monetdb.org, and unsubscribe from this list.
See: http://mail.monetdb.org/mailman/listinfo/developers-list

Send developers-list mailing list submissions to
        developers-l...@monetdb.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.monetdb.org/mailman/listinfo/developers-list
or, via email, send a message with subject or body 'help' to
        developers-list-requ...@monetdb.org

You can reach the person managing the list at
        developers-list-ow...@monetdb.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of developers-list digest..."


Today's Topics:

   1. Re: readline and the Mac build (Masood Mortazavi)


----------------------------------------------------------------------

Message: 1
Date: Thu, 20 Dec 2012 23:59:48 -0800
From: Masood Mortazavi <masoodmortaz...@gmail.com>
To: "Communication channel for developers of the MonetDB suite."
        <developers-l...@monetdb.org>
Subject: Re: readline and the Mac build
Message-ID:
        <caemn6cuh74mz9pfonhq4meuzdf7pohqt05_hh9d321g414c...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

First, thank you for all your help.

(Thanks Fabian, Babis and Stefan.)

I finally had a chance to figure this out -- with the Macports distribution
of readline, and now have a Mac package with proper readline integration.

What worked with this distribution was to run configure with these options:

      --with-readline=/opt/local CFLAGS=-DLIBICONV_PLUG

/opt/local is where I have my macports libraries, including readline.

However, in macports' distribution of iconv, if LIBICONV_PLUG, is not
defined, some function names are redefined.

I guess macports authors did this in order to avoid some potential
collisions with the "readline" library that comes with Mac OS-X (or xcode).

The "-DLIBICONV_PLUG" compiler option disables the redefinition of function
names in macports' iconv.


Regards,
Masood


On Thu, Nov 29, 2012 at 3:16 AM, Charalampos Nikolaou <char...@di.uoa.gr>wrote:

> Hi, in my case I always pass the following parameters to the configure
> script, both for the case of readline and iconv:
>
> --with-readline=/usr/local/Cellar/readline/6.1
> --with-libiconv-prefix=/usr/local/Cellar/libiconv/1.13.1
>
> The contents of /usr/local/Cellar/readline/6.1 are the following:
>
> $ ls /usr/local/Cellar/readline/6.1
> COPYING    ChangeLog  README     include/   lib/       share/
>
> And I do not use the system's readline, but the one provided by
> Homebrew (http://mxcl.github.com/homebrew/).
>
> In your case, I suppose that you have to specify something like this:
>
> /Developer/SDKs/MacOSX10.X.sdk/usr (X depending on your OS X version).
>
> Hope that helps,
> Babis
>
> P.S.: A little out of context, but it might come in handy during the
> build process. I also pass the following parameter/value during
> configure, because at some point an update in Xcode messed things up
> by not removing/updating some old function prototypes (I think in the
> SSL library, but I might be mistaken here).
>
> CFLAGS=-Wno-deprecated-declarations
>
>
> On Thu, Nov 29, 2012 at 9:38 AM, Fabian Groffen <fab...@monetdb.org>
> wrote:
> > On 29-11-2012 04:16:22 +0100, Masood Mortazavi wrote:
> >> On my system, with default (no argument or options) configure, make and
> make
> >> install, I have:
> >>
> >> masood$ mclient --version
> >>
> >> mclient, the MonetDB interactive terminal (unreleased)
> >>
> >> character encoding: UTF-8
> >>
> >> despite the fact that readline (headers and libraries) seem to be
> installed
> >> under /opt/local.
> >
> > You give the answer yourself.  The configure script does not know you
> > happened to install (GNU) readline under /opt/local/{include,lib}.  Tell
> > it where your readline is, so it can consider using it.
> >
> > Fabian
> >
> >
> > --
> > Fabian Groffen                              fab...@monetdb.org
> > column-store pioneer               http://www.monetdb.org/Home
> >
> > _______________________________________________
> > developers-list mailing list
> > developers-l...@monetdb.org
> > http://mail.monetdb.org/mailman/listinfo/developers-list
> >
> _______________________________________________
> developers-list mailing list
> developers-l...@monetdb.org
> http://mail.monetdb.org/mailman/listinfo/developers-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.monetdb.org/pipermail/developers-list/attachments/20121220/2af2a675/attachment.html>

------------------------------

_______________________________________________
developers-list mailing list
developers-l...@monetdb.org
http://mail.monetdb.org/mailman/listinfo/developers-list


End of developers-list Digest, Vol 4, Issue 15
**********************************************

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Monetdb-developers mailing list
Monetdb-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monetdb-developers

Reply via email to