Discussion:
developers-list Digest, Vol 3, Issue 5
developers-list-request-d/
2012-11-09 11:00:01 UTC
Permalink
This message was forwarded from developers-list-d/***@public.gmane.org The MonetDB
mailing lists have moved to monetdb.org. Please subscribe to
developers-list-d/***@public.gmane.org, and unsubscribe from this list.
See: http://mail.monetdb.org/mailman/listinfo/developers-list

Send developers-list mailing list submissions to
developers-list-d/***@public.gmane.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-request-d/***@public.gmane.org

You can reach the person managing the list at
developers-list-owner-d/***@public.gmane.org

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


Today's Topics:

1. RubyGem on Jul2012 (Charalampos Nikolaou)
2. Re: RubyGem on Jul2012 (Fabian Groffen)
3. Re: RubyGem on Jul2012 (Stefan Manegold)
4. Re: RubyGem on Jul2012 (Fabian Groffen)
5. Re: RubyGem on Jul2012 (Charalampos Nikolaou)
6. Re: RubyGem on Jul2012 (Fabian Groffen)


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

Message: 1
Date: Thu, 8 Nov 2012 18:11:49 +0200
From: Charalampos Nikolaou <charnik-brBP6YrziORQFI55V6+***@public.gmane.org>
To: developers-list-d/***@public.gmane.org
Subject: RubyGem on Jul2012
Message-ID:
<CAGVKX=eAa=5yg2C84-dG0j3KWBrRT=ESeOsyn-UEwLKvkNp79w-JsoAwUIsXosN+***@public.gmane.org>
Content-Type: text/plain; charset=UTF-8

Hi there,

it's my first time playing around with the Jul2012 version of MonetDB
and during "make install" I encountered the following error:

mkdir -p '/Library/Ruby/Site/1.8'
gem install --local --install-dir '/Library/Ruby/Site/1.8' --force
--rdoc 'activerecord-monetdb-adapter-0.1.gem'
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /Library/Ruby/Site/1.8 directory.

As you can see, I am on a Mac (10.7) and Ruby is installed in
/Library/Ruby as indicated above, BUT since I work with many versions
of MonetDB, I install all of them "locally", in my home directory.
Thus, I would prefer not to install the MonetDB gem file in a system
directory. Is that possible? By reading the help output of the
configuration, I saw that this is not possible, or might be? Moreover,
I understood by the commit messages that this addition (Ruby) is
needed for providing another client for MonetDB server. While I do not
need such a client, is there an option to avoid
building/using/producing it in the compilation process? I didn't see
any option in the configuration as well.

Thanks a lot,
Babis


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

Message: 2
Date: Thu, 8 Nov 2012 17:30:39 +0100
From: Fabian Groffen <Fabian.Groffen-rh8NL+***@public.gmane.org>
To: "Communication channel for developers of the MonetDB suite."
<developers-list-d/***@public.gmane.org>
Subject: Re: RubyGem on Jul2012
Message-ID: <20121108163039.GM83592-rh8NL+***@public.gmane.org>
Content-Type: text/plain; charset="utf-8"
... While I do not
need such a client, is there an option to avoid
building/using/producing it in the compilation process? I didn't see
any option in the configuration as well.
--with-rubygem-dir=no
-------------- 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/20121108/7378b5a7/attachment.sig>

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

Message: 3
Date: Thu, 8 Nov 2012 17:31:25 +0100
From: Stefan Manegold <Stefan.Manegold-rh8NL+***@public.gmane.org>
To: "Communication channel for developers of the MonetDB suite."
<developers-list-d/***@public.gmane.org>
Subject: Re: RubyGem on Jul2012
Message-ID: <20121108163125.GA24993-rh8NL+***@public.gmane.org>
Content-Type: text/plain; charset=us-ascii

Hi Babis,

First question: why're using the "old"/"obsolete" Jul2012 rather than the latest Oct2012?

Second question: Want does you exact configure command line look like?

Third question: What does `grep RUBY_DIR <your_build_directory>/config.*` say?

Stefan
Hi there,
it's my first time playing around with the Jul2012 version of MonetDB
mkdir -p '/Library/Ruby/Site/1.8'
gem install --local --install-dir '/Library/Ruby/Site/1.8' --force
--rdoc 'activerecord-monetdb-adapter-0.1.gem'
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /Library/Ruby/Site/1.8 directory.
As you can see, I am on a Mac (10.7) and Ruby is installed in
/Library/Ruby as indicated above, BUT since I work with many versions
of MonetDB, I install all of them "locally", in my home directory.
Thus, I would prefer not to install the MonetDB gem file in a system
directory. Is that possible? By reading the help output of the
configuration, I saw that this is not possible, or might be? Moreover,
I understood by the commit messages that this addition (Ruby) is
needed for providing another client for MonetDB server. While I do not
need such a client, is there an option to avoid
building/using/producing it in the compilation process? I didn't see
any option in the configuration as well.
Thanks a lot,
Babis
_______________________________________________
developers-list mailing list
http://mail.monetdb.org/mailman/listinfo/developers-list
--
| Stefan.Manegold @ CWI.nl | DB Architectures (INS1) |
| http://CWI.nl/~manegold/ | Science Park 123 (L321) |
| Tel.: +31 (0)20 592-4212 | 1098 XG Amsterdam (NL) |


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

Message: 4
Date: Thu, 8 Nov 2012 17:34:33 +0100
From: Fabian Groffen <Fabian.Groffen-rh8NL+***@public.gmane.org>
To: "Communication channel for developers of the MonetDB suite."
<developers-list-d/***@public.gmane.org>
Subject: Re: RubyGem on Jul2012
Message-ID: <20121108163433.GN83592-rh8NL+***@public.gmane.org>
Content-Type: text/plain; charset="utf-8"
Hi Babis,
First question: why're using the "old"/"obsolete" Jul2012 rather than the latest Oct2012?
Second question: Want does you exact configure command line look like?
Third question: What does `grep RUBY_DIR <your_build_directory>/config.*` say?
To answer your question:

OSX 10.7:

% env RUBYOPT= /usr/bin/ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']"
/Library/Ruby/Site/1.8
% env RUBYOPT= /usr/bin/ruby -rrbconfig -e "puts Config::CONFIG['prefix']"
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr

Configure logic that follows doesn't really make sense for such a
completely messed up ruby installation (thanks Apple).
-------------- 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/20121108/53205cc8/attachment.sig>

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

Message: 5
Date: Thu, 8 Nov 2012 18:46:43 +0200
From: Charalampos Nikolaou <charnik-brBP6YrziORQFI55V6+***@public.gmane.org>
To: "Communication channel for developers of the MonetDB suite."
<developers-list-d/***@public.gmane.org>
Subject: Re: RubyGem on Jul2012
Message-ID:
<CAGVKX=eVTOyvJARzPGkde3Sbtjxz8HXoJ6rsBS3NmTCM2V62-A-JsoAwUIsXosN+***@public.gmane.org>
Content-Type: text/plain; charset=UTF-8
... While I do not
need such a client, is there an option to avoid
building/using/producing it in the compilation process? I didn't see
any option in the configuration as well.
--with-rubygem-dir=no
Thanks a lot Fabian. Is "no" a widely-used/known/accepted value for
the deactivation of the corresponding functionality or a MonetDB
specific one? I suppose that it's the first.
Hi Babis,
First question: why're using the "old"/"obsolete" Jul2012 rather than the latest Oct2012?
I might have hit a strange bug in SQL, and I am curious why this is
happening in Jul2012 and not in earlier versions. I 'll come to
Oct2012 as well. :-)
Second question: Want does you exact configure command line look like?
../MonetDB/configure --prefix=/Users/charnik/apps/MonetDB_Jul2012
--enable-geom --enable-monetdb5 --enable-java
--with-readline=/usr/local/Cellar/readline/6.1
--with-libiconv-prefix=/usr/local/Cellar/libiconv/1.13.1
CFLAGS=-Wno-deprecated-declarations
Third question: What does `grep RUBY_DIR <your_build_directory>/config.*` say?
config.log:RUBY_DIR='${prefix}/'
% env RUBYOPT= /usr/bin/ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']"
/Library/Ruby/Site/1.8
% env RUBYOPT= /usr/bin/ruby -rrbconfig -e "puts Config::CONFIG['prefix']"
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr
Confirm!
Configure logic that follows doesn't really make sense for such a
completely messed up ruby installation (thanks Apple).
Wish this was the case just for Ruby, but...

Thanks to both,
Babis
_______________________________________________
developers-list mailing list
http://mail.monetdb.org/mailman/listinfo/developers-list
------------------------------

Message: 6
Date: Thu, 8 Nov 2012 17:50:41 +0100
From: Fabian Groffen <Fabian.Groffen-rh8NL+***@public.gmane.org>
To: "Communication channel for developers of the MonetDB suite."
<developers-list-d/***@public.gmane.org>
Subject: Re: RubyGem on Jul2012
Message-ID: <20121108165041.GO83592-rh8NL+***@public.gmane.org>
Content-Type: text/plain; charset="utf-8"
... While I do not
need such a client, is there an option to avoid
building/using/producing it in the compilation process? I didn't see
any option in the configuration as well.
--with-rubygem-dir=no
Thanks a lot Fabian. Is "no" a widely-used/known/accepted value for
the deactivation of the corresponding functionality or a MonetDB
specific one? I suppose that it's the first.
correct
-------------- 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/20121108/b8b6d602/attachment.sig>

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

_______________________________________________
developers-list mailing list
developers-list-d/***@public.gmane.org
http://mail.monetdb.org/mailman/listinfo/developers-list


End of developers-list Digest, Vol 3, Issue 5
*********************************************
Loading...