librelist archives

« back to archive

Installing on Ubuntu 12.04 and new dependencies

Installing on Ubuntu 12.04 and new dependencies

From:
Paulo Meirelles
Date:
2013-04-24 @ 20:25
Hello all,

just to remember myself to update Hacking file and development script:

I've installed Analizo on Ubuntu 12.04 and I've needed to install the
following packages:

libterm-progressbar-perl
libmojolicious-perl
libfile-homedir-perl
libchi-driver-memcached-perl

Also, via CPAN, I've installed:
ZeroMQ
File::Share

Terceiro,

We added some dependencies and forgot to update Analizo dependencies :( ...
I'll send a patch soon.

best regards,
-- 
Paulo Meirelles
FGA-UnB (http://fga.unb.br)
CCSL-IME/USP (http://ccsl.ime.usp.br)

Re: [analizo] Installing on Ubuntu 12.04 and new dependencies

From:
Antonio Terceiro
Date:
2013-04-25 @ 16:36
On Wed, Apr 24, 2013 at 05:25:30PM -0300, Paulo Meirelles wrote:
> Hello all,
> 
> just to remember myself to update Hacking file and development script:
> 
> I've installed Analizo on Ubuntu 12.04 and I've needed to install the
> following packages:
> 
> libterm-progressbar-perl
> libmojolicious-perl
> libfile-homedir-perl
> libchi-driver-memcached-perl
> 
> Also, via CPAN, I've installed:
> ZeroMQ
> File::Share
> 
> Terceiro,
> 
> We added some dependencies and forgot to update Analizo dependencies :( ...

yep :-/

we could set up a CI job at travis-ci.org to install the needed
dependencies with ./development-setup.sh and run the tests so that we
don't forget again in the future. That is probably a good exercise for
your students, let me know what you think; otherwise I can look into it
myself when I have some spare time.

> I'll send a patch soon.

cool - thanks

-- 
Antonio Terceiro <terceiro@softwarelivre.org>
http://softwarelivre.org/terceiro

Re: [analizo] Installing on Ubuntu 12.04 and new dependencies

From:
Kamilla Holanda
Date:
2013-05-02 @ 00:02
Hello,

We are working on the HACKING script. To execute the rake command correctly
(in Debian 6) I installed some dependencies:

libfile-homedir-perl
libfile-sharedir-perl
libchi-driver-memcached-perl
libcache-memcached-fast-perl
libtest-class-perl
libtest-mockmodule-perl
libyaml-perl
libstatistics-descriptive-perl
libtest-mockobject-perl

And it gives an error related with CHI. I' ve tried to install it via CPAN
but I got this errors:

Test Summary Report
-------------------
t/Subclass.t                          (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
Files=25, Tests=1785, 21 wallclock secs ( 0.91 usr  0.53 sys + 14.41 cusr
 2.74 csys = 18.59 CPU)
Result: FAIL
Failed 1/25 test programs. 1/1785 subtests failed.
make: *** [test_dynamic] Error 255
  JSWARTZ/CHI-0.56.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports JSWARTZ/CHI-0.56.tar.gz
Running make install
  make test had returned bad status, won't install without force

Are there any workaround to install using Debian?

Thank you.



On 25 April 2013 13:36, Antonio Terceiro <terceiro@softwarelivre.org> wrote:

> On Wed, Apr 24, 2013 at 05:25:30PM -0300, Paulo Meirelles wrote:
> > Hello all,
> >
> > just to remember myself to update Hacking file and development script:
> >
> > I've installed Analizo on Ubuntu 12.04 and I've needed to install the
> > following packages:
> >
> > libterm-progressbar-perl
> > libmojolicious-perl
> > libfile-homedir-perl
> > libchi-driver-memcached-perl
> >
> > Also, via CPAN, I've installed:
> > ZeroMQ
> > File::Share
> >
> > Terceiro,
> >
> > We added some dependencies and forgot to update Analizo dependencies :(
> ...
>
> yep :-/
>
> we could set up a CI job at travis-ci.org to install the needed
> dependencies with ./development-setup.sh and run the tests so that we
> don't forget again in the future. That is probably a good exercise for
> your students, let me know what you think; otherwise I can look into it
> myself when I have some spare time.
>
> > I'll send a patch soon.
>
> cool - thanks
>
> --
> Antonio Terceiro <terceiro@softwarelivre.org>
> http://softwarelivre.org/terceiro
>
>
>


-- 
Kamilla Holanda Crozara
Graduanda em Engenharia de Software
Universidade de Brasília
+55 (61) 8101-8241
www.softwareengineerplayer.com

"The Cosmos is all that is or was or ever will be" (Carl Sagan)
KISS - Keep It Simple, Stupid.

Re: [analizo] Installing on Ubuntu 12.04 and new dependencies

From:
Paulo Meirelles
Date:
2013-05-02 @ 20:01
2013/5/1 Kamilla Holanda <holanda.kamilla@gmail.com>

>
> Are there any workaround to install using Debian?
>

Hi Kamilla,

Did you try a force install?

cpan> force install CHI

Hello Terceiro,

May you share with us your source list? Can you tell me which Debian we
were using when we were programming the Analizo caching support (related to
CHI lib)?

:(

best regards,
-- 
Paulo Meirelles
FGA-UnB (http://fga.unb.br)
CCSL-IME/USP (http://ccsl.ime.usp.br)

Re: [analizo] Installing on Ubuntu 12.04 and new dependencies

From:
Antonio Terceiro
Date:
2013-05-03 @ 00:21
On Thu, May 02, 2013 at 05:01:14PM -0300, Paulo Meirelles wrote:
> 2013/5/1 Kamilla Holanda <holanda.kamilla@gmail.com>
> 
> >
> > Are there any workaround to install using Debian?
> >
> 
> Hi Kamilla,
> 
> Did you try a force install?
> 
> cpan> force install CHI
> 
> Hello Terceiro,
> 
> May you share with us your source list? Can you tell me which Debian we
> were using when we were programming the Analizo caching support (related to
> CHI lib)?

Debian unstable with standard sources.list

I will figure out a way to make the dependency available for Debian
stable.

-- 
Antonio Terceiro <terceiro@softwarelivre.org>
http://softwarelivre.org/terceiro

development-setup.sh updated, supporting Debian squeeze/wheezy + Ubuntu (at least precise)

From:
Antonio Terceiro
Date:
2013-05-03 @ 03:29
On Thu, May 02, 2013 at 09:21:36PM -0300, Antonio Terceiro wrote:
> I will figure out a way to make the dependency available for Debian
> stable.

Hi,

So I have just pushed an update to the dependency data, and also updated
development-setup.sh to workaround known issues on some distros.

I have tested myself bootstrapping analizo development environments on
empty systems running Debian 6 (squeeze), Debian 7 (wheezy), Debian
unstable, and Ubuntu 12.04 (precise).

It should also work for newer Ubuntu 12.10 and 13.04, but I did not test
on them.

For the curious, check `git diff e71bd67b..01fe9fb`

Thanks everyone for raising this point here.

-- 
Antonio Terceiro <terceiro@softwarelivre.org>
http://softwarelivre.org/terceiro

Re: [analizo] development-setup.sh updated, supporting Debian squeeze/wheezy + Ubuntu (at least precise)

From:
Paulo Meirelles
Date:
2013-05-03 @ 04:22
2013/5/3 Antonio Terceiro <terceiro@softwarelivre.org>

> On Thu, May 02, 2013 at 09:21:36PM -0300, Antonio Terceiro wrote:
> > I will figure out a way to make the dependency available for Debian
> > stable.
>
> Hi,
>
> So I have just pushed an update to the dependency data, and also updated
> development-setup.sh to workaround known issues on some distros.
>
> I have tested myself bootstrapping analizo development environments on
> empty systems running Debian 6 (squeeze), Debian 7 (wheezy), Debian
> unstable, and Ubuntu 12.04 (precise).
>

It doesn't work properly on Precise. I had the same problem with ZeroMQ:

sudo apt-get install -q -y libzeromq-perl
...
The following packages have unmet dependencies:
 libzeromq-perl : Depends: perlapi-5.10.1 but it is not installable
E: Unable to correct problems, you have held broken packages.

so I've just commeted that line and needed to install:

apt-get install libmojolicious-perl libfile-homedir-perl

Also, ZeroMQ was installed via cpan.

thanks a lot anyway!
-- 
Paulo Meirelles
FGA-UnB (http://fga.unb.br)
CCSL-IME/USP (http://ccsl.ime.usp.br)

Re: [analizo] development-setup.sh updated, supporting Debian squeeze/wheezy + Ubuntu (at least precise)

From:
Antonio Terceiro
Date:
2013-05-03 @ 13:05
On Fri, May 03, 2013 at 01:22:39AM -0300, Paulo Meirelles wrote:
> 2013/5/3 Antonio Terceiro <terceiro@softwarelivre.org>
> 
> > On Thu, May 02, 2013 at 09:21:36PM -0300, Antonio Terceiro wrote:
> > > I will figure out a way to make the dependency available for Debian
> > > stable.
> >
> > Hi,
> >
> > So I have just pushed an update to the dependency data, and also updated
> > development-setup.sh to workaround known issues on some distros.
> >
> > I have tested myself bootstrapping analizo development environments on
> > empty systems running Debian 6 (squeeze), Debian 7 (wheezy), Debian
> > unstable, and Ubuntu 12.04 (precise).
> >
> 
> It doesn't work properly on Precise. I had the same problem with ZeroMQ:

it does work on an empty system :-)

> sudo apt-get install -q -y libzeromq-perl
> ...
> The following packages have unmet dependencies:
>  libzeromq-perl : Depends: perlapi-5.10.1 but it is not installable
> E: Unable to correct problems, you have held broken packages.
> 
> so I've just commeted that line and needed to install:
> 
> apt-get install libmojolicious-perl libfile-homedir-perl
> 
> Also, ZeroMQ was installed via cpan.

problem is I have included a libzeromq-perl backport for squeeze in the
analizo repo, and it has a higher version number than the libzeromq-perl
on Precise, but its dependencies are not satisfiable on Precise. :-(

this is why in the script I forced installing libzeromq-perl before
adding the analizo repository.

while I figure out a solution for this, a workaround is to first
*remove* the analizo repositories and then run development-setup.sh

-- 
Antonio Terceiro <terceiro@softwarelivre.org>
http://softwarelivre.org/terceiro

Re: [analizo] development-setup.sh updated, supporting Debian squeeze/wheezy + Ubuntu (at least precise)

From:
Paulo Meirelles
Date:
2013-05-03 @ 21:00
2013/5/3 Antonio Terceiro <terceiro@softwarelivre.org>

> On Fri, May 03, 2013 at 01:22:39AM -0300, Paulo Meirelles wrote:
> while I figure out a solution for this, a workaround is to first
> *remove* the analizo repositories and then run development-setup.sh


OK ;)

-- 
Paulo Meirelles
FGA-UnB (http://fga.unb.br)
CCSL-IME/USP (http://ccsl.ime.usp.br)

Re: [analizo] Installing on Ubuntu 12.04 and new dependencies

From:
Paulo Meirelles
Date:
2013-05-02 @ 23:53
2013/4/25 Antonio Terceiro <terceiro@softwarelivre.org>

> On Wed, Apr 24, 2013 at 05:25:30PM -0300, Paulo Meirelles wrote:
> > I'll send a patch soon.
>
> cool - thanks
>

I can't do and send a patch because we didn't find a Debian package to
install CHI lib. At this moment, we have several problems on Debian Stable
environment. Ubuntu 12.04 seems a better option to work on Analizo :(

regards,
-- 
Paulo Meirelles
FGA-UnB (http://fga.unb.br)
CCSL-IME/USP (http://ccsl.ime.usp.br)

Re: [analizo] Installing on Ubuntu 12.04 and new dependencies

From:
Kamilla Holanda
Date:
2013-05-02 @ 23:56
Thanks! I'll try to install it using Ubuntu and share the steps.
On May 2, 2013 8:54 PM, "Paulo Meirelles" <paulo@softwarelivre.org> wrote:

> 2013/4/25 Antonio Terceiro <terceiro@softwarelivre.org>
>
>> On Wed, Apr 24, 2013 at 05:25:30PM -0300, Paulo Meirelles wrote:
>> > I'll send a patch soon.
>>
>> cool - thanks
>>
>
> I can't do and send a patch because we didn't find a Debian package to
> install CHI lib. At this moment, we have several problems on Debian Stable
> environment. Ubuntu 12.04 seems a better option to work on Analizo :(
>
> regards,
> --
> Paulo Meirelles
> FGA-UnB (http://fga.unb.br)
> CCSL-IME/USP (http://ccsl.ime.usp.br)
>

Re: [analizo] Installing on Ubuntu 12.04 and new dependencies

From:
Paulo Meirelles
Date:
2013-05-03 @ 00:17
2013/5/2 Kamilla Holanda <holanda.kamilla@gmail.com>

> Thanks! I'll try to install it using Ubuntu and share the steps.
>
run:
development-setup.sh

install:
apt-get install libzmq1 libzmq-dev uuid-dev libterm-progressbar-perl
libmojolicious-perl libfile-homedir-perl libchi-driver-memcached-perl

also, install (via CPAN):
cpan> install ZeroMQ
cpan> install File::Share

regards,
-- 
Paulo Meirelles
FGA-UnB (http://fga.unb.br)
CCSL-IME/USP (http://ccsl.ime.usp.br)

Re: [analizo] Installing on Ubuntu 12.04 and new dependencies

From:
Joenio Costa
Date:
2013-05-03 @ 00:01
Em 02-05-2013 20:53, Paulo Meirelles escreveu:
> 2013/4/25 Antonio Terceiro<terceiro@softwarelivre.org>
>
>> On Wed, Apr 24, 2013 at 05:25:30PM -0300, Paulo Meirelles wrote:
>>> I'll send a patch soon.
>>
>> cool - thanks
>>
>
> I can't do and send a patch because we didn't find a Debian package to
> install CHI lib. At this moment, we have several problems on Debian Stable
> environment. Ubuntu 12.04 seems a better option to work on Analizo :(


libchi-perl is in Debian testing (Wheezy):

http://packages.debian.org/wheezy/libchi-perl

Perhaps we can upload to squeeze-backports, what do you think?

-- 
Joenio Costa
Colivre - Cooperativa de Tecnologias Livres
Cel: (71) 8182-5123
http://www.colivre.coop.br

http://joenio.me

Re: [analizo] Installing on Ubuntu 12.04 and new dependencies

From:
Paulo Meirelles
Date:
2013-05-03 @ 00:12
2013/5/2 Joenio Costa <joenio@colivre.coop.br>

> Em 02-05-2013 20:53, Paulo Meirelles escreveu:
> > 2013/4/25 Antonio Terceiro<terceiro@softwarelivre.org>
> >
> >> On Wed, Apr 24, 2013 at 05:25:30PM -0300, Paulo Meirelles wrote:
> >>> I'll send a patch soon.
> >>
> >> cool - thanks
> >>
> >
> > I can't do and send a patch because we didn't find a Debian package to
> > install CHI lib. At this moment, we have several problems on Debian
> Stable
> > environment. Ubuntu 12.04 seems a better option to work on Analizo :(
>
> libchi-perl is in Debian testing (Wheezy):
>
> http://packages.debian.org/wheezy/libchi-perl
>
> Perhaps we can upload to squeeze-backports, what do you think?


I think this is a good idea. How?

I've tried to install on Debian testing but I had problems with ZeroMQ lib,
include via cpan.

thanks,
-- 
Paulo Meirelles
FGA-UnB (http://fga.unb.br)
CCSL-IME/USP (http://ccsl.ime.usp.br)

Re: [analizo] Installing on Ubuntu 12.04 and new dependencies

From:
Antonio Terceiro
Date:
2013-05-03 @ 00:41
On Thu, May 02, 2013 at 09:12:45PM -0300, Paulo Meirelles wrote:
> 2013/5/2 Joenio Costa <joenio@colivre.coop.br>
> 
> > Em 02-05-2013 20:53, Paulo Meirelles escreveu:
> > > 2013/4/25 Antonio Terceiro<terceiro@softwarelivre.org>
> > >
> > >> On Wed, Apr 24, 2013 at 05:25:30PM -0300, Paulo Meirelles wrote:
> > >>> I'll send a patch soon.
> > >>
> > >> cool - thanks
> > >>
> > >
> > > I can't do and send a patch because we didn't find a Debian package to
> > > install CHI lib. At this moment, we have several problems on Debian
> > Stable
> > > environment. Ubuntu 12.04 seems a better option to work on Analizo :(
> >
> > libchi-perl is in Debian testing (Wheezy):
> >
> > http://packages.debian.org/wheezy/libchi-perl
> >
> > Perhaps we can upload to squeeze-backports, what do you think?
> 
> 
> I think this is a good idea. How?

Actually that won't help much since ZeroMQ is not available in stable
either.

> I've tried to install on Debian testing but I had problems with ZeroMQ lib,
> include via cpan.

You can safely download the .deb from unstable and install it on testing
at this point (but that'not always the case)

-- 
Antonio Terceiro <terceiro@softwarelivre.org>
http://softwarelivre.org/terceiro

Re: [analizo] Installing on Ubuntu 12.04 and new dependencies

From:
Antonio Terceiro
Date:
2013-05-03 @ 03:30
On Thu, May 02, 2013 at 09:41:51PM -0300, Antonio Terceiro wrote:
> On Thu, May 02, 2013 at 09:12:45PM -0300, Paulo Meirelles wrote:
> > 2013/5/2 Joenio Costa <joenio@colivre.coop.br>
> > > libchi-perl is in Debian testing (Wheezy):
> > >
> > > http://packages.debian.org/wheezy/libchi-perl
> > >
> > > Perhaps we can upload to squeeze-backports, what do you think?
> > 
> > 
> > I think this is a good idea. How?
> 
> Actually that won't help much since ZeroMQ is not available in stable
> either.

Actually (!) we already have a ZeroMQ backports there, so I went ahead
and backported the ther missing pieces. See my other email about the
updated development-setup.sh

-- 
Antonio Terceiro <terceiro@softwarelivre.org>
http://softwarelivre.org/terceiro

Re: [analizo] Installing on Ubuntu 12.04 and new dependencies

From:
Athos Ribeiro
Date:
2013-05-03 @ 01:35
As for now, I will stick with installing CHI through CPAN, it worked well
here.
Em 02/05/2013 21:42, "Antonio Terceiro" <terceiro@softwarelivre.org>
escreveu:

> On Thu, May 02, 2013 at 09:12:45PM -0300, Paulo Meirelles wrote:
> > 2013/5/2 Joenio Costa <joenio@colivre.coop.br>
> >
> > > Em 02-05-2013 20:53, Paulo Meirelles escreveu:
> > > > 2013/4/25 Antonio Terceiro<terceiro@softwarelivre.org>
> > > >
> > > >> On Wed, Apr 24, 2013 at 05:25:30PM -0300, Paulo Meirelles wrote:
> > > >>> I'll send a patch soon.
> > > >>
> > > >> cool - thanks
> > > >>
> > > >
> > > > I can't do and send a patch because we didn't find a Debian package
> to
> > > > install CHI lib. At this moment, we have several problems on Debian
> > > Stable
> > > > environment. Ubuntu 12.04 seems a better option to work on Analizo :(
> > >
> > > libchi-perl is in Debian testing (Wheezy):
> > >
> > > http://packages.debian.org/wheezy/libchi-perl
> > >
> > > Perhaps we can upload to squeeze-backports, what do you think?
> >
> >
> > I think this is a good idea. How?
>
> Actually that won't help much since ZeroMQ is not available in stable
> either.
>
> > I've tried to install on Debian testing but I had problems with ZeroMQ
> lib,
> > include via cpan.
>
> You can safely download the .deb from unstable and install it on testing
> at this point (but that'not always the case)
>
> --
> Antonio Terceiro <terceiro@softwarelivre.org>
> http://softwarelivre.org/terceiro
>
>
>

Re: [analizo] Installing on Ubuntu 12.04 and new dependencies

From:
Kamilla Holanda
Date:
2013-05-03 @ 01:50
Hey!

Finaly it works for me! I've installed using Linux 12.04 and Linux Mint 14
too.

I got this log:

All tests successful.
Files=44, Tests=607, 65 wallclock secs ( 0.36 usr  0.10 sys + 14.91 cusr
 2.55 csys = 17.92 CPU)
Result: PASS
** Invoke test:acceptance (first_time)
** Execute test:acceptance
perl test.pl
I: Running acceptance tests with cucumber ...
ruby 1.9.3p374 (2013-01-15 revision 38858) [i686-linux]
cucumber 1.3.1

......----..........................................................---.........----............----............-------...............----------..----.........--............................---..---..---........---.....................................---..---..---....---..---..---..---..-----......---................--------------.........................................................................................
115 scenarios (115 passed)
633 steps (633 passed)
4m1.335s
** Execute default



Thanks all for the help!


On 2 May 2013 22:35, Athos Ribeiro <athosxd@gmail.com> wrote:

> As for now, I will stick with installing CHI through CPAN, it worked well
> here.
> Em 02/05/2013 21:42, "Antonio Terceiro" <terceiro@softwarelivre.org>
> escreveu:
>
>  On Thu, May 02, 2013 at 09:12:45PM -0300, Paulo Meirelles wrote:
>> > 2013/5/2 Joenio Costa <joenio@colivre.coop.br>
>> >
>> > > Em 02-05-2013 20:53, Paulo Meirelles escreveu:
>> > > > 2013/4/25 Antonio Terceiro<terceiro@softwarelivre.org>
>> > > >
>> > > >> On Wed, Apr 24, 2013 at 05:25:30PM -0300, Paulo Meirelles wrote:
>> > > >>> I'll send a patch soon.
>> > > >>
>> > > >> cool - thanks
>> > > >>
>> > > >
>> > > > I can't do and send a patch because we didn't find a Debian package
>> to
>> > > > install CHI lib. At this moment, we have several problems on Debian
>> > > Stable
>> > > > environment. Ubuntu 12.04 seems a better option to work on Analizo
>> :(
>> > >
>> > > libchi-perl is in Debian testing (Wheezy):
>> > >
>> > > http://packages.debian.org/wheezy/libchi-perl
>> > >
>> > > Perhaps we can upload to squeeze-backports, what do you think?
>> >
>> >
>> > I think this is a good idea. How?
>>
>> Actually that won't help much since ZeroMQ is not available in stable
>> either.
>>
>> > I've tried to install on Debian testing but I had problems with ZeroMQ
>> lib,
>> > include via cpan.
>>
>> You can safely download the .deb from unstable and install it on testing
>> at this point (but that'not always the case)
>>
>> --
>> Antonio Terceiro <terceiro@softwarelivre.org>
>> http://softwarelivre.org/terceiro
>>
>>
>>


-- 
Kamilla Holanda Crozara
Graduanda em Engenharia de Software
Universidade de Brasília
+55 (61) 8101-8241
www.softwareengineerplayer.com

"The Cosmos is all that is or was or ever will be" (Carl Sagan)
KISS - Keep It Simple, Stupid.