Athens on Pharo 3.0 on Ubuntu

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Athens on Pharo 3.0 on Ubuntu

Bernat Romagosa
Hi list,

I was just testing the new Pharo 3.0 on an Ubutu box, and I found the Athens Cairo examples are not working. The first bug is just about the path of libcairo.so.2 in Ubuntu x64, which is as follows:

/usr/lib/x86_64-linux-gnu/libcairo.so.2

So, this path should be added to CairoLibraryLoader class >> pathToCairoOnLinux.

Still, after adding it, I get: 'failed to get a symbol address: cairo_image_surface_create', and here I'm lost... any ideas what's going on?

Thanks!

--
Bernat Romagosa.
Reply | Threaded
Open this post in threaded view
|

Re: Athens on Pharo 3.0 on Ubuntu

Bernat Romagosa
Sorry guys, what a stupid mistake!

Of course you can't call a 64b library, I hadn't thought about that...

For Ubuntu x64 users, here's what you need to do:

apt-get install libcairo2-dev:i386



2014/1/6 Bernat Romagosa <[hidden email]>
Hi list,

I was just testing the new Pharo 3.0 on an Ubutu box, and I found the Athens Cairo examples are not working. The first bug is just about the path of libcairo.so.2 in Ubuntu x64, which is as follows:

/usr/lib/x86_64-linux-gnu/libcairo.so.2

So, this path should be added to CairoLibraryLoader class >> pathToCairoOnLinux.

Still, after adding it, I get: 'failed to get a symbol address: cairo_image_surface_create', and here I'm lost... any ideas what's going on?

Thanks!

--
Bernat Romagosa.



--
Bernat Romagosa.
Reply | Threaded
Open this post in threaded view
|

Re: Athens on Pharo 3.0 on Ubuntu

Igor Stasenko



On 6 January 2014 17:03, Bernat Romagosa <[hidden email]> wrote:
Sorry guys, what a stupid mistake!

Of course you can't call a 64b library, I hadn't thought about that...

For Ubuntu x64 users, here's what you need to do:

apt-get install libcairo2-dev:i386


amen :)
 

2014/1/6 Bernat Romagosa <[hidden email]>
Hi list,

I was just testing the new Pharo 3.0 on an Ubutu box, and I found the Athens Cairo examples are not working. The first bug is just about the path of libcairo.so.2 in Ubuntu x64, which is as follows:

/usr/lib/x86_64-linux-gnu/libcairo.so.2

So, this path should be added to CairoLibraryLoader class >> pathToCairoOnLinux.

Still, after adding it, I get: 'failed to get a symbol address: cairo_image_surface_create', and here I'm lost... any ideas what's going on?

Thanks!

--
Bernat Romagosa.



--
Bernat Romagosa.



--
Best regards,
Igor Stasenko.
Reply | Threaded
Open this post in threaded view
|

Re: Athens on Pharo 3.0 on Ubuntu

Damien Cassou
In reply to this post by Bernat Romagosa
On Mon, Jan 6, 2014 at 5:03 PM, Bernat Romagosa
<[hidden email]> wrote:
> For Ubuntu x64 users, here's what you need to do:


no! All Ubuntu users should use
http://www.pharo-project.org/pharo-download/ubuntu

--
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm."
Winston Churchill

Reply | Threaded
Open this post in threaded view
|

Re: Athens on Pharo 3.0 on Ubuntu

Bernat Romagosa
Oh I see!

I usually use Debian, so I didn't even look for an Ubuntu option in the downloads list.

Thanks!


2014/1/6 Damien Cassou <[hidden email]>
On Mon, Jan 6, 2014 at 5:03 PM, Bernat Romagosa
<[hidden email]> wrote:
> For Ubuntu x64 users, here's what you need to do:


no! All Ubuntu users should use
http://www.pharo-project.org/pharo-download/ubuntu

--
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm."
Winston Churchill




--
Bernat Romagosa.