librelist archives

« back to archive

Re: Mongrel2 build failure

Re: Mongrel2 build failure

From:
Anuj Dutta
Date:
2010-07-21 @ 06:26
Hello all,

Mongrel2 build fails on Mac OS X with the following error:

*No eggs found in /tmp/easy_install-Qs8htA/storm-0.16.0/egg-dist-tmp-jDxkF-
(setup script problem?)
*
It tries to install storm but I have already got it on my machine. It fails
trying to install it. Same error as m2sh build. Has anyone else encountered
the same problem?

Anuj

-- 
Anuj DUTTA

Re: [mongrel2] Re: Mongrel2 build failure

From:
Ben Atkin
Date:
2010-07-21 @ 07:09
I got it working on OS X, but I use a virtualenv. If you'd like to try with
a virtualenv and pip, run these commands:

sudo easy_install virtualenv

# creates a virtualenv folder that ignores already-installed-packages
(including your storm)
virtualenv --no-site-packages ~/myenv

# activates the virtualenv (you'll need to run this each time you use it, or
you can add it to ~/.bash_profile)
source ~/myenv/bin/activate

# now python and easy_install are in the virtualenv. install pip.
easy_install pip

After you've run this, you can try installing mongrel2 again. It might work
this time. When you want to install something, you can use pip instead of
easy_install. pip has an uninstall command.

Ben

On Wed, Jul 21, 2010 at 12:26 AM, Anuj Dutta <dutta.anuj@googlemail.com>wrote:

> Hello all,
>
> Mongrel2 build fails on Mac OS X with the following error:
>
> *No eggs found in
> /tmp/easy_install-Qs8htA/storm-0.16.0/egg-dist-tmp-jDxkF- (setup script
> problem?)
> *
> It tries to install storm but I have already got it on my machine. It fails
> trying to install it. Same error as m2sh build. Has anyone else encountered
> the same problem?
>
> Anuj
>
> --
> Anuj DUTTA
>

Re: [mongrel2] Re: Mongrel2 build failure

From:
Anuj Dutta
Date:
2010-07-21 @ 07:15
I got it working by installing the dependency packages manually but the
install process should be amended to determine if the packages have already
been installed or not.

Anuj
(@andhapp)

On 21 July 2010 08:09, Ben Atkin <ben@benatkin.com> wrote:

> I got it working on OS X, but I use a virtualenv. If you'd like to try with
> a virtualenv and pip, run these commands:
>
> sudo easy_install virtualenv
>
> # creates a virtualenv folder that ignores already-installed-packages
> (including your storm)
> virtualenv --no-site-packages ~/myenv
>
> # activates the virtualenv (you'll need to run this each time you use it,
> or you can add it to ~/.bash_profile)
> source ~/myenv/bin/activate
>
> # now python and easy_install are in the virtualenv. install pip.
> easy_install pip
>
> After you've run this, you can try installing mongrel2 again. It might work
> this time. When you want to install something, you can use pip instead of
> easy_install. pip has an uninstall command.
>
> Ben
>
> On Wed, Jul 21, 2010 at 12:26 AM, Anuj Dutta <dutta.anuj@googlemail.com>wrote:
>
>> Hello all,
>>
>> Mongrel2 build fails on Mac OS X with the following error:
>>
>> *No eggs found in
>> /tmp/easy_install-Qs8htA/storm-0.16.0/egg-dist-tmp-jDxkF- (setup script
>> problem?)
>> *
>> It tries to install storm but I have already got it on my machine. It
>> fails trying to install it. Same error as m2sh build. Has anyone else
>> encountered the same problem?
>>
>> Anuj
>>
>> --
>> Anuj DUTTA
>>
>
>


-- 
Anuj DUTTA

Re: [mongrel2] Re: Mongrel2 build failure

From:
Zed A. Shaw
Date:
2010-07-21 @ 07:35
On Wed, Jul 21, 2010 at 08:15:21AM +0100, Anuj Dutta wrote:
> I got it working by installing the dependency packages manually but the
> install process should be amended to determine if the packages have already
> been installed or not.

Out of curiosity, did you read:

http://mongrel2.org/wiki?name=GettingStarted

It lists the software to install at the top, but I think people are
skipping over that and assuming it's all automated when it isn't.

-- 
Zed A. Shaw
http://zedshaw.com/

Re: [mongrel2] Re: Mongrel2 build failure

From:
Anuj Dutta
Date:
2010-07-21 @ 07:43
Hey Zed,

I did read it man. Anyways, it works for me now.

Anuj
(@andhapp)


On 21 July 2010 08:35, Zed A. Shaw <zedshaw@zedshaw.com> wrote:

> On Wed, Jul 21, 2010 at 08:15:21AM +0100, Anuj Dutta wrote:
> > I got it working by installing the dependency packages manually but the
> > install process should be amended to determine if the packages have
> already
> > been installed or not.
>
> Out of curiosity, did you read:
>
> http://mongrel2.org/wiki?name=GettingStarted
>
> It lists the software to install at the top, but I think people are
> skipping over that and assuming it's all automated when it isn't.
>
> --
> Zed A. Shaw
> http://zedshaw.com/
>



-- 
Anuj DUTTA

Re: [mongrel2] Re: Mongrel2 build failure

From:
Zed A. Shaw
Date:
2010-07-21 @ 07:53
On Wed, Jul 21, 2010 at 08:43:23AM +0100, Anuj Dutta wrote:
> Hey Zed,
> 
> I did read it man. Anyways, it works for me now.

Ok, but did you miss the part that lists the software?  Not accusing,
just want to make sure people see it, and so far you've done this twice
with the same result so I'm guessing the docs need changing.

-- 
Zed A. Shaw
http://zedshaw.com/

Re: [mongrel2] Re: Mongrel2 build failure

From:
Anuj Dutta
Date:
2010-07-21 @ 08:23
On 21 July 2010 08:53, Zed A. Shaw <zedshaw@zedshaw.com> wrote:

> On Wed, Jul 21, 2010 at 08:43:23AM +0100, Anuj Dutta wrote:
> > Hey Zed,
> >
> > I did read it man. Anyways, it works for me now.
>
> Ok, but did you miss the part that lists the software?  Not accusing,
> just want to make sure people see it, and so far you've done this twice
> with the same result so I'm guessing the docs need changing.
>
>
Ok. I see your point.

Getting Started guide lists, *storm* as part of *m2sh*

*or the m2sh config system (which uses Python) install nose, simplejson,
storm, and pyrepl using distribute or pip.
*
It actually fails whilst trying to install storm (as part of mongrel
installation) and it shouldn't do that because it's already on my system.
So, I think it can be cleaned up a little bit.

But, I would suggest leave it like that for now as I am going through it all
and there might be other things that need changing.

Anuj
(@andhapp)



> --
> Zed A. Shaw
> http://zedshaw.com/
>



-- 
Anuj DUTTA

Re: [mongrel2] Re: Mongrel2 build failure

From:
Zed A. Shaw
Date:
2010-07-21 @ 17:09
On Wed, Jul 21, 2010 at 09:23:50AM +0100, Anuj Dutta wrote:
> On 21 July 2010 08:53, Zed A. Shaw <zedshaw@zedshaw.com> wrote:
> Getting Started guide lists, *storm* as part of *m2sh*
> 
> *or the m2sh config system (which uses Python) install nose, simplejson,
> storm, and pyrepl using distribute or pip.
> *
> It actually fails whilst trying to install storm (as part of mongrel
> installation) and it shouldn't do that because it's already on my system.
> So, I think it can be cleaned up a little bit.
> 
> But, I would suggest leave it like that for now as I am going through it all
> and there might be other things that need changing.

Oh, you know what, actually I have the make install for mongrel2 install
the python gear too.  It really shouldn't (even though eventually you'll
pretty much need it) so I'll take that out of the makefile.

-- 
Zed A. Shaw
http://zedshaw.com/

Re: [mongrel2] Re: Mongrel2 build failure -> a hombrew formula

From:
Date:
2010-07-21 @ 08:11
> On Wed, Jul 21, 2010 at 08:43:23AM +0100, Anuj Dutta wrote:
>> Hey Zed,
>>
>> I did read it man. Anyways, it works for me now.
>
> Ok, but did you miss the part that lists the software?  Not accusing,
> just want to make sure people see it, and so far you've done this twice
> with the same result so I'm guessing the docs need changing.
>
> --
> Zed A. Shaw
> http://zedshaw.com/
>
Hi,

For Mac OS it may be interesting to provide a homebrew formula
(http://github.com/mxcl/homebrew) for installation as several dependencies
(fossil, 0mq, pip) have already one

What do you think ?

Regards

A.