[squeak-dev] Help: need pangocairo.pc

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

[squeak-dev] Help: need pangocairo.pc

K. K. Subramaniam
Hi,

The Etoys vm (3.10-3/squeak) reports the following error on Ubuntu Gutsy when
running etoys-dev-3.0 image:
>ioFindExternalFunctionIn(primitiveUTF8StringWithIndex, 0x810ccf8):
>  /usr/local/lib/squeak/3.10-3/RomePlugin: undefined symbol:
primitiveUTF8StringWithIndex

While compiling vm off olpc trunk on Ubuntu Gutsy, I got an error:
>checking for PANGOCAIRO... no
>******** disabling RomePlugin
I traced the error to a missing pangocairo.pc file in the library
libpango1.0-0.

Has anyone built the olpc vm on Ubuntu Gutsy or later? What was the
pangocairo.pc file used to build the VM?

TIA .. Subbu

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Help: need pangocairo.pc

Bert Freudenberg

On 31.07.2008, at 08:41, K. K. Subramaniam wrote:

> Hi,
>
> The Etoys vm (3.10-3/squeak) reports the following error on Ubuntu  
> Gutsy when
> running etoys-dev-3.0 image:
>> ioFindExternalFunctionIn(primitiveUTF8StringWithIndex, 0x810ccf8):
>> /usr/local/lib/squeak/3.10-3/RomePlugin: undefined symbol:
> primitiveUTF8StringWithIndex
>
> While compiling vm off olpc trunk on Ubuntu Gutsy, I got an error:
>> checking for PANGOCAIRO... no
>> ******** disabling RomePlugin
> I traced the error to a missing pangocairo.pc file in the library
> libpango1.0-0.
>
> Has anyone built the olpc vm on Ubuntu Gutsy or later? What was the
> pangocairo.pc file used to build the VM?

I did not try on Ubuntu, but doesn't libpango1.0-dev provide  
pangocairo.pc? You *do* need the -dev packages for compiling yourself  
of course.
- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Help: need pangocairo.pc

K. K. Subramaniam
On Thursday 31 Jul 2008 5:43:07 pm Bert Freudenberg wrote:
> I did not try on Ubuntu, but doesn't libpango1.0-dev provide
> pangocairo.pc? You *do* need the -dev packages for compiling yourself
> of course.
Thanks, Bert. I thought I had all the *-dev packages installed, but I now I
find that I had slipped on libpango1.0-dev and a few other libs.

The names of packages on Debian/Ubuntu is different from those on RH. The spec
file only gives the latter names. I used the following debs on Ubuntu

libasound2-dev libdbus-1-dev libgstreamer0.10-dev libpango1.0-dev libspeex-dev
libvorbis-dev libx11-dev libxft-dev libxt-dev

Is there any place where the deb requirements listed for latest olpc builds?
Are there any specific library version dependencies?

Subbu

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Help: need pangocairo.pc

Bert Freudenberg

On 31.07.2008, at 17:25, K. K. Subramaniam wrote:

> On Thursday 31 Jul 2008 5:43:07 pm Bert Freudenberg wrote:
>> I did not try on Ubuntu, but doesn't libpango1.0-dev provide
>> pangocairo.pc? You *do* need the -dev packages for compiling yourself
>> of course.
> Thanks, Bert. I thought I had all the *-dev packages installed, but  
> I now I
> find that I had slipped on libpango1.0-dev and a few other libs.
>
> The names of packages on Debian/Ubuntu is different from those on  
> RH. The spec
> file only gives the latter names. I used the following debs on Ubuntu
>
> libasound2-dev libdbus-1-dev libgstreamer0.10-dev libpango1.0-dev  
> libspeex-dev
> libvorbis-dev libx11-dev libxft-dev libxt-dev
>
> Is there any place where the deb requirements listed for latest olpc  
> builds?


For compiling OLPC stuff you should use sugar-jhbuild:

http://wiki.laptop.org/go/Sugar_on_Ubuntu_Linux

The list given for gutsy is:

git-core automake1.9 cvs python-json python-numpy libdbus-glib-1-dev  
python-cairo-devautomake1.7 bison flex libtool subversion darcs g++  
gettext libpoppler-glib-dev libgstreamer-plugins-base0.10-dev xserver-
xephyr libavahi-glib-dev libjpeg62-dev  libtiff4-dev libsqlite3-dev  
python-avahi libfribidi-dev libenchant-dev  libgnutls-dev libboost-dev  
libxslt1-dev libgsf-1-dev libasound2-dev libssl-dev libxt-dev  
libgtk2.0-dev libgconf2-dev liboil-dev libtheora-dev libncurses5-dev  
python-gnome2-dev libglade2-dev gtk-doc-tools libavahi-client-dev  
libxml2-utils gnome-doc-utils libxres-dev libwv-dev libgnomevfs2-dev  
python-simplejson python-json libcroco3-dev

Or do you mean for compiling Squeak only? I don't know the Ubuntu  
package names, but the RPM lists some packages that are required for  
building:

http://squeakvm.org/svn/squeak/branches/olpc/squeak-vm.spec
> Are there any specific library version dependencies?

I don't think so, latest should be fine.

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Help: need pangocairo.pc

K. K. Subramaniam
On Thursday 31 Jul 2008 9:22:19 pm Bert Freudenberg wrote:
> For compiling OLPC stuff you should use sugar-jhbuild:
>
> http://wiki.laptop.org/go/Sugar_on_Ubuntu_Linux
I am too addicted to KDE to switch over to Sugar :-). The build was for
squeakvm and etoys image only.

Squeakland version is getting a bit long in the tooth (no Indic support, no
UTF8 :-(). So I decided to upgrade.

Subbu

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Help: need pangocairo.pc

Yoshiki Ohshima-2
In reply to this post by K. K. Subramaniam
  Subbu,

> The Etoys vm (3.10-3/squeak) reports the following error on Ubuntu Gutsy when
> running etoys-dev-3.0 image:
> >ioFindExternalFunctionIn(primitiveUTF8StringWithIndex, 0x810ccf8):
> >  /usr/local/lib/squeak/3.10-3/RomePlugin: undefined symbol:
> primitiveUTF8StringWithIndex

  This looks like you are not using the very latest RomePlugin (The
squeaksource seems to be down at the moment, but you can get it from
there).  Also, make sure that the image is fully updated (which I
think you did).

-- Yoshiki