Problems compiling Abiword [Solved]

If you are new to YDL and have some more or less basic questions.

Problems compiling Abiword [Solved]

Postby whimar » 22 Dec 2009, 21:37

Hi all,

I am trying to compile abiword; however, I am running into some issues. Below is where I think it fails. I have tried to resolve these dependencies but to little avail.

Code: Select all
 
  cairo-pdf cairo-ps pangocairo
  gtk+-2.0 >= 2.12.0 gtk+-unix-print-2.0 librsvg-2.0 >= 2.16.0
) were not met:

No package 'fribidi' found
No package 'glib-2.0' found
No package 'gthread-2.0' found
No package 'gobject-2.0' found
No package 'libgsf-1' found
No package 'wv-1.0' found
No package 'cairo-pdf' found
No package 'cairo-ps' found
No package 'pangocairo' found
No package 'gtk+-2.0' found
No package 'gtk+-unix-print-2.0' found
No package 'librsvg-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables DEPS_CFLAGS
and DEPS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.



Any help on this would be appreciated.

Thanks in advance,
Last edited by whimar on 24 Dec 2009, 16:24, edited 1 time in total.
whimar
ydl newbie
ydl newbie
 
Posts: 9
Joined: 13 Dec 2009, 16:04

Re: Problems compiling Abiword

Postby Noons » 22 Dec 2009, 22:45

Have you tried the version included in the standard repo's?

Code: Select all
yum install abiword
Fedora core 12; ps3 CECHA01; samsung 720p plasma; kernel 2.6.32
User avatar
Noons
ydl guru
ydl guru
 
Posts: 300
Joined: 18 Mar 2008, 21:50
Location: Ont. CAN

Re: Problems compiling Abiword

Postby whimar » 23 Dec 2009, 00:06

Abiword is not in standard repo.

I could grab a 2.4 version from one of the fedora repos; however the latest release is in the 2.8 series.

Id like to get the latest release working if I could
whimar
ydl newbie
ydl newbie
 
Posts: 9
Joined: 13 Dec 2009, 16:04

Re: Problems compiling Abiword

Postby whimar » 23 Dec 2009, 00:14

Im starting to resolve some of the dependencies!

Only these left to go

Code: Select all
No package 'libgsf-1' found
No package 'wv-1.0' found
No package 'cairo-pdf' found
No package 'cairo-ps' found
No package 'pangocairo' found
No package 'gtk+-2.0' found
No package 'gtk+-unix-print-2.0' found
No package 'librsvg-2.0' found



Maybe I'll get there
whimar
ydl newbie
ydl newbie
 
Posts: 9
Joined: 13 Dec 2009, 16:04

Re: Problems compiling Abiword

Postby whimar » 23 Dec 2009, 00:33

Well I resolved all the dependencies! :)

However it seems I need to download and compile a newer GTK2. Oh well, lets see what deps that throws up! This is going to be a long night :P
whimar
ydl newbie
ydl newbie
 
Posts: 9
Joined: 13 Dec 2009, 16:04

Re: Problems compiling Abiword

Postby whimar » 23 Dec 2009, 12:36

Well after compiling glib,cairo,poppler and some other deps. When I finally went to compile GTK2 it didnt happen. Then all my apps lost their fonts and I had a huge blocky mess!

Well I'll try again some other time and just use google docs for now!
whimar
ydl newbie
ydl newbie
 
Posts: 9
Joined: 13 Dec 2009, 16:04

Re: Problems compiling Abiword

Postby CronoCloud » 23 Dec 2009, 16:44

Ahhh, I bet your environment isn't set up with source compiles in mind, and I also bet that freetype tripped you up. Pango is picky! It' won't compile the pangocairo backend (which you need) without a new enough freetype (version changes with each pango release)

Something similar happened to me when I didn't have a new enough freetype for a newer pango back in the PS2 Linux kit days.

Ron Rogers Jr. (CronoCloud)
CECHE01 PS3 (MGS4 80GB Bundle) without OtherOS and with an upgraded 320GB HD
Running Fedora 23 on a Compaq Presario CQ5320F upgraded with a Phenom X4 and GT640
Vizio E221A1 22" 1080P TV with HDMI, using 1080P over HDMI
PSN ID: CronoCloudAuron
User avatar
CronoCloud
Moderator
Moderator
 
Posts: 523
Joined: 21 Oct 2006, 05:48
Location: Central Illinois, USA

Re: Problems compiling Abiword

Postby whimar » 24 Dec 2009, 16:18

Well with help from CronoCloud and a little patience and tinkering I managed to get Abiword to compile successfully.

I'll include the steps I took below just in case anyone else needs to compile it in the future. This is not intended as a tutorial, just some guidance for people who may need it. Any special actions taken are included in brackets)

Firstly get your build environment in order: viewtopic.php?f=4&t=4800

Then download and compile these in order:

pkgconfig
glib
atk
freetype
expat
fontconfig (had to use ./configure --disable-docs here otherwise it would not configure correctly as reference here: http://www.mail-archive.com/blfs-suppor ... 05798.html)
libxft (Was giving me a headache about libXrender even though it was installed. Resolved the issue by yum remove libXrender-devel and reinstall using yum. Also remove libXrandr-devel)
pixman
cairo
pango
GTK
Abiword (Had to yum install fribidi-devel wv-devel librsvg2-devel to satisfy deps. The make on this took forever!!)

And Voila!

Big thanks to CronoCloud!

BTW... I still have no .docx support!! :P
whimar
ydl newbie
ydl newbie
 
Posts: 9
Joined: 13 Dec 2009, 16:04

Re: Problems compiling Abiword [Solved]

Postby CronoCloud » 31 Dec 2009, 01:32

I think .docx support is in the abiiword plugins package. IIRC. I had to do something special to get it to compile but I forgot to write down what it was, it was disabling a feature in in the ./configure command line. And I had to yum install some packages for dependencies.

But it did work.

Ron Rogers Jr. (CronoCloud)
CECHE01 PS3 (MGS4 80GB Bundle) without OtherOS and with an upgraded 320GB HD
Running Fedora 23 on a Compaq Presario CQ5320F upgraded with a Phenom X4 and GT640
Vizio E221A1 22" 1080P TV with HDMI, using 1080P over HDMI
PSN ID: CronoCloudAuron
User avatar
CronoCloud
Moderator
Moderator
 
Posts: 523
Joined: 21 Oct 2006, 05:48
Location: Central Illinois, USA


Return to Beginner

Who is online

Users browsing this forum: No registered users and 44 guests