Re: No package 'abiword-2.8' found

From: Jean Bréfort <jean.brefort_at_normalesup.org>
Date: Mon Dec 28 2009 - 13:18:33 CET

Renaming and linking things is not the right way to go. You should fix
things in configure.in so that the abiword version is correctly checked.
I attach a patch adapted from the way goffice is checked for gnumeric.
With this patch, things compile for me (and seem to work).

Regards,
Jean

Le lundi 28 décembre 2009 à 11:45 +0000, Daniel Carvalho a écrit :
> I still got the same error... I thought it was because the configure
> script was looking for 2.8 but the installed files where 2.9, so I
> renamed all the abiword files in /usrc/local/lib to "2.8".
>
> And then the pyabiword compilation succeded!
>
>
> But when I tried to run the Advanced example, I got
> """ImportError: libabiword-2.7.so: não é possível abrir objecto
> partilhado: Ficheiro ou directoria inexistente"""
>
> So I made symbolic links from 2.7 to 2.8...
> ln -s /usr/local/lib/libabiword-2.8.so /usr/local/lib/libabiword-2.7.so
> ln -s /usr/local/lib/libabiword-2.8.la /usr/local/lib/libabiword-2.7.la
>
> And now it runs ... It seems everything is working. But I believe this
> is not the most beautiful solution!!! : )
>
>
>
>
>
> 2009/12/27 J.M. Maurer <uwog@uwog.net>:
> > On Fri, 2009-12-25 at 17:08 +0000, Daniel Carvalho wrote:
> >> hi
> >> I was trying to compile libabiword+pyabiword (my python programs that
> >> use abiwidget stop working after I upgrade to ubuntu9.10)
> >>
> >>
> >> In compiling pyabiword I always get this error
> >> ./configure --prefix=/usr/local
> >>
> >> """checking for ABIWORD... configure: error: Package requirements
> >> ("abiword-2.8 >= 2.8.0") were not met:
> >> No package 'abiword-2.8' found
> >> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> >> installed software in a non-standard prefix."""
> >
> > Run this, and try to configure again:
> >
> > export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
> >
> > Cheers!
> > Marc
> >
> >
>

Received on Mon Dec 28 13:17:22 2009

This archive was generated by hypermail 2.1.8 : Mon Dec 28 2009 - 13:17:22 CET