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: MonetDB: Oct2012 - configure fixes for if there is no
      python2 bi... (Fabian Groffen)
   2. Re: MonetDB: Feb2013 - dotmonetdb: don't support passwd (Lefteris)
   3. Re: MonetDB: Oct2012 - configure fixes for if there is no
      python2 bi... (Sjoerd Mullender)
   4. Re: MonetDB: Oct2012 - configure fixes for if there is no
      python2 bi... (Fabian Groffen)
   5. Re: MonetDB: Oct2012 - configure fixes for if there is no
      python2 bi... (Sjoerd Mullender)


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

Message: 1
Date: Tue, 11 Dec 2012 16:08:43 +0100
From: Fabian Groffen <fab...@monetdb.org>
To: developers-l...@monetdb.org
Subject: Re: MonetDB: Oct2012 - configure fixes for if there is no
        python2 bi...
Message-ID: <20121211150843.gh8...@cwi.nl>
Content-Type: text/plain; charset="utf-8"

On 11-12-2012 15:59:04 +0100, Sjoerd Mullender wrote:
> Changeset: fb7305c917ec for MonetDB
> URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=fb7305c917ec
> Modified Files:
>       configure.ag
> Branch: Oct2012
> Log Message:
> 
> configure fixes for if there is no python2 binary, but python is version 2.
> Also fixed a syntax error.

> +AC_PATH_PROG(PYTHON,python,no,$PATH)
> +PYTHON_MAJ=
> +if test "x$PYTHON" != xno; then
> +     AC_MSG_CHECKING([major version of $PYTHON])
> +     case "`"$PYTHON" -V 2>&1`" in
> +             "Python 2."[[67]]*)  # older Pythons don't get Python3 syntax
> +                     PYTHON_MAJ=2
> +                     case "$have_python2" in
> +                     yes|auto)
> +                             have_python2=yes
> +                             PYTHON2="$PYTHON"

Because PYTHON2=/path/to/python here, we no longer check for python2 which is
preferably over "/path/to/python", since it contains a version.  The
active python can change over updates or preferences of the user.

Perhaps (something like) the following would be enough?

diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -1164,7 +1164,7 @@ fi
 
 if test "x$have_python2" != xno; then
        if test x$cross_compiling != xyes; then
-               AC_PATH_PROG(PYTHON2,$PYTHON2,no,$PATH)
+               AC_PATH_PROG(PYTHON2,python2,no,$PATH)
                if test "x$PYTHON2" = xno; then
                        if ( test "x$have_python2" = xyes || test 
"x$have_python2" = xauto ) && test "x$PYTHON_MAJ" = x2; then
                                PYTHON2="$PYTHON"
@@ -1220,7 +1220,7 @@ AC_SUBST(PYTHON2_LIBDIR)
 
 if test "x$have_python3" != xno; then
        if test x$cross_compiling != xyes; then
-               AC_PATH_PROG(PYTHON3,$PYTHON3,no,$PATH)
+               AC_PATH_PROG(PYTHON3,python3,no,$PATH)
                if test "x$PYTHON3" = xno; then
                        if ( test "x$have_python3" = xyes || test 
"x$have_python3" = xauto ) && test "x$PYTHON_MAJ" = x3; then
                                PYTHON3="$PYTHON"


-- 
Fabian Groffen                              fab...@monetdb.org
column-store pioneer               http://www.monetdb.org/Home
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: Digital signature
URL: 
<http://mail.monetdb.org/pipermail/developers-list/attachments/20121211/8d6e0071/attachment.sig>

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

Message: 2
Date: Tue, 11 Dec 2012 16:48:29 +0100
From: Lefteris <lsi...@gmail.com>
To: developers-l...@monetdb.org
Cc: checkin-l...@monetdb.org
Subject: Re: MonetDB: Feb2013 - dotmonetdb: don't support passwd
Message-ID:
        <CAO=w8ybgzddkq9_b_+w5tyqp919exntjuw8kwezvm2qxdiw...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

I was using that:P

On Sat, Dec 8, 2012 at 4:20 PM, Fabian Groffen <comm...@monetdb.org> wrote:

> Changeset: c1f634d9db8c for MonetDB
> URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c1f634d9db8c
> Modified Files:
>         clients/mapiclient/dotmonetdb.c
> Branch: Feb2013
> Log Message:
>
> dotmonetdb: don't support passwd
>
> The purposely only option for it ever documented is "password", so no
> need to check for more than that.
>
>
> diffs (12 lines):
>
> diff --git a/clients/mapiclient/dotmonetdb.c
> b/clients/mapiclient/dotmonetdb.c
> --- a/clients/mapiclient/dotmonetdb.c
> +++ b/clients/mapiclient/dotmonetdb.c
> @@ -95,7 +95,7 @@ parse_dotmonetdb(char **user, char **pas
>                                 if (user)
>                                         *user = strdup(q);
>                                 q = NULL;
> -                       } else if (strcmp(buf, "password") == 0 ||
> strcmp(buf, "passwd") == 0) {
> +                       } else if (strcmp(buf, "password") == 0) == 0) {
>                                 if (passwd)
>                                         *passwd = strdup(q);
>                                 q = NULL;
> _______________________________________________
> checkin-list mailing list
> checkin-l...@monetdb.org
> http://mail.monetdb.org/mailman/listinfo/checkin-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.monetdb.org/pipermail/developers-list/attachments/20121211/02c30812/attachment.html>

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

Message: 3
Date: Tue, 11 Dec 2012 16:55:22 +0100
From: Sjoerd Mullender <sjo...@monetdb.org>
To: developers-l...@monetdb.org
Subject: Re: MonetDB: Oct2012 - configure fixes for if there is no
        python2 bi...
Message-ID: <50c7576a.3010...@monetdb.org>
Content-Type: text/plain; charset=UTF-8

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2012-12-11 16:08, Fabian Groffen wrote:
> On 11-12-2012 15:59:04 +0100, Sjoerd Mullender wrote:
>> Changeset: fb7305c917ec for MonetDB URL:
>> http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=fb7305c917ec
>>
>> 
Modified Files:
>> configure.ag Branch: Oct2012 Log Message:
>> 
>> configure fixes for if there is no python2 binary, but python is
>> version 2. Also fixed a syntax error.
> 
>> +AC_PATH_PROG(PYTHON,python,no,$PATH) +PYTHON_MAJ= +if test
>> "x$PYTHON" != xno; then +    AC_MSG_CHECKING([major version of
>> $PYTHON]) +  case "`"$PYTHON" -V 2>&1`" in +         "Python 2."[[67]]*)
>> # older Pythons don't get Python3 syntax +                   PYTHON_MAJ=2 +
>> case "$have_python2" in +                    yes|auto) +                     
>>         have_python2=yes +
>> PYTHON2="$PYTHON"
> 
> Because PYTHON2=/path/to/python here, we no longer check for
> python2 which is preferably over "/path/to/python", since it
> contains a version.  The active python can change over updates or
> preferences of the user.
> 
> Perhaps (something like) the following would be enough?

I figured, we know that python is version 2 (or 3), so we might as
well not go and find another binary that does the same thing.  Why is
it important that the version number is in the name of the executable?

In any case, I'd like to hold off experimentation until after I have
been successful in doing a build.

> diff --git a/configure.ag b/configure.ag --- a/configure.ag +++
> b/configure.ag @@ -1164,7 +1164,7 @@ fi
> 
> if test "x$have_python2" != xno; then if test x$cross_compiling !=
> xyes; then -               AC_PATH_PROG(PYTHON2,$PYTHON2,no,$PATH) 
> +               AC_PATH_PROG(PYTHON2,python2,no,$PATH) if test
> "x$PYTHON2" = xno; then if ( test "x$have_python2" = xyes || test
> "x$have_python2" = xauto ) && test "x$PYTHON_MAJ" = x2; then 
> PYTHON2="$PYTHON" @@ -1220,7 +1220,7 @@ AC_SUBST(PYTHON2_LIBDIR)
> 
> if test "x$have_python3" != xno; then if test x$cross_compiling !=
> xyes; then -               AC_PATH_PROG(PYTHON3,$PYTHON3,no,$PATH) 
> +               AC_PATH_PROG(PYTHON3,python3,no,$PATH) if test
> "x$PYTHON3" = xno; then if ( test "x$have_python3" = xyes || test
> "x$have_python3" = xauto ) && test "x$PYTHON_MAJ" = x3; then 
> PYTHON3="$PYTHON"
> 
> 
> 
> 
> _______________________________________________ developers-list
> mailing list developers-l...@monetdb.org 
> http://mail.monetdb.org/mailman/listinfo/developers-list
> 


- -- 
Sjoerd Mullender
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQCVAwUBUMdXZD7g04AjvIQpAQIptwP/QirmhzHYvCPGLWRBvynYD/ROIjoAn1zZ
HQ4HgKL1+td74Rr+p7HBA52iyaldD6LwCCf3kwQzTkyls2BvUuC0NYJIA6q83y1k
zJ7rknbZRAHGo7pgljXWTfk24xBFaU8NmFgbOEUArHAC4AIfAZKxHgdf9wVB64kV
p4+4lRX4fjc=
=3gCY
-----END PGP SIGNATURE-----


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

Message: 4
Date: Tue, 11 Dec 2012 16:58:32 +0100
From: Fabian Groffen <fab...@monetdb.org>
To: developers-l...@monetdb.org
Subject: Re: MonetDB: Oct2012 - configure fixes for if there is no
        python2 bi...
Message-ID: <20121211155832.gi8...@cwi.nl>
Content-Type: text/plain; charset="utf-8"

On 11-12-2012 16:55:22 +0100, Sjoerd Mullender wrote:
> I figured, we know that python is version 2 (or 3), so we might as
> well not go and find another binary that does the same thing.  Why is
> it important that the version number is in the name of the executable?

% python -V
Python 3.3.0
% eselect python set python2.7
% python -V
Python 2.7.3
% python2 -V
Python 2.7.3
% python3 -V
Python 3.3.0

> In any case, I'd like to hold off experimentation until after I have
> been successful in doing a build.

Sorry, I already did some commits :(


-- 
Fabian Groffen                              fab...@monetdb.org
column-store pioneer               http://www.monetdb.org/Home
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: Digital signature
URL: 
<http://mail.monetdb.org/pipermail/developers-list/attachments/20121211/620ea861/attachment.sig>

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

Message: 5
Date: Tue, 11 Dec 2012 17:05:21 +0100
From: Sjoerd Mullender <sjo...@monetdb.org>
To: developers-l...@monetdb.org
Subject: Re: MonetDB: Oct2012 - configure fixes for if there is no
        python2 bi...
Message-ID: <50c759c1.3030...@monetdb.org>
Content-Type: text/plain; charset=UTF-8

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2012-12-11 16:58, Fabian Groffen wrote:
> On 11-12-2012 16:55:22 +0100, Sjoerd Mullender wrote:
>> I figured, we know that python is version 2 (or 3), so we might
>> as well not go and find another binary that does the same thing.
>> Why is it important that the version number is in the name of the
>> executable?
> 
> % python -V Python 3.3.0 % eselect python set python2.7 % python
> -V Python 2.7.3 % python2 -V Python 2.7.3 % python3 -V Python
> 3.3.0
> 
>> In any case, I'd like to hold off experimentation until after I
>> have been successful in doing a build.
> 
> Sorry, I already did some commits :(

I noticed, seconds after I sent my message.  ;-)

- -- 
Sjoerd Mullender
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQCVAwUBUMdZwT7g04AjvIQpAQJjcgP/RPShpwhP7QrdfYVXPcgrEwqQsLuQMB/A
R+1elo0P5Y+9qcSlMgIiykSZ6TXNDiS9vNyLsMzhDxQL9rzzBzYlDrgLZwSCOMGE
iIcee3E3nDBoyKyzeUJ/X+95g8OZ6+hzCmEnm1BFHZsMSM41puzuFNanQN559quL
NsVbWU21HAM=
=KWVq
-----END PGP SIGNATURE-----


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

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


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

------------------------------------------------------------------------------
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