RubyGem on Jul2012
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 _______________________________________________ developers-list mailing list developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list
On 08-11-2012 18:11:49 +0200, Charalampos Nikolaou wrote:
... 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 _______________________________________________ developers-list mailing list developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list
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
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 _______________________________________________ developers-list mailing list developers-list@monetdb.org 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) | _______________________________________________ developers-list mailing list developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list
On 08-11-2012 17:31:25 +0100, Stefan Manegold wrote:
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
/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). _______________________________________________ developers-list mailing list developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list
On Thu, Nov 8, 2012 at 6:30 PM, Fabian Groffen
On 08-11-2012 18:11:49 +0200, Charalampos Nikolaou wrote:
... 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.
On Thu, Nov 8, 2012 at 6:34 PM, Fabian Groffen
On 08-11-2012 17:31:25 +0100, Stefan Manegold wrote:
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
/config.*` say?
config.log:RUBY_DIR='${prefix}/' config.status:s,@RUBY_DIR@,|#_!!_#|${prefix}/,g
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
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 developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list
_______________________________________________ developers-list mailing list developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list
On 08-11-2012 18:46:43 +0200, Charalampos Nikolaou wrote:
On Thu, Nov 8, 2012 at 6:30 PM, Fabian Groffen
wrote: On 08-11-2012 18:11:49 +0200, Charalampos Nikolaou wrote:
... 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 _______________________________________________ developers-list mailing list developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list
participants (3)
-
Charalampos Nikolaou
-
Fabian Groffen
-
Stefan Manegold