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

Send developers-list mailing list submissions to
        [email protected]

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
        [email protected]

You can reach the person managing the list at
        [email protected]

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 <[email protected]>
To: [email protected]
Subject: RubyGem on Jul2012
Message-ID:
        <CAGVKX=eAa=5yg2C84-dG0j3KWBrRT=eseosyn-uewlkvknp...@mail.gmail.com>
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 <[email protected]>
To: "Communication channel for developers of the MonetDB suite."
        <[email protected]>
Subject: Re: RubyGem on Jul2012
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

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
-------------- 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 <[email protected]>
To: "Communication channel for developers of the MonetDB suite."
        <[email protected]>
Subject: Re: RubyGem on Jul2012
Message-ID: <[email protected]>
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

On Thu, Nov 08, 2012 at 06:11:49PM +0200, Charalampos Nikolaou wrote:
> 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
> [email protected]
> 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 <[email protected]>
To: "Communication channel for developers of the MonetDB suite."
        <[email protected]>
Subject: Re: RubyGem on Jul2012
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

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 <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 <[email protected]>
To: "Communication channel for developers of the MonetDB suite."
        <[email protected]>
Subject: Re: RubyGem on Jul2012
Message-ID:
        <CAGVKX=evtoyvjarzpgkde3sbtjxz8hxoj6rsbs3nmtcm2v6...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Thu, Nov 8, 2012 at 6:30 PM, Fabian Groffen <[email protected]> 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.


On Thu, Nov 8, 2012 at 6:34 PM, Fabian Groffen <[email protected]> wrote:
> 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 <your_build_directory>/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
> [email protected]
> http://mail.monetdb.org/mailman/listinfo/developers-list
>


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

Message: 6
Date: Thu, 8 Nov 2012 17:50:41 +0100
From: Fabian Groffen <[email protected]>
To: "Communication channel for developers of the MonetDB suite."
        <[email protected]>
Subject: Re: RubyGem on Jul2012
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

On 08-11-2012 18:46:43 +0200, Charalampos Nikolaou wrote:
> On Thu, Nov 8, 2012 at 6:30 PM, Fabian Groffen <[email protected]> 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
-------------- 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
[email protected]
http://mail.monetdb.org/mailman/listinfo/developers-list


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

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Monetdb-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-developers

Reply via email to