LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-29-2009, 02:20 AM   #1
aes canis
Member
 
Registered: May 2005
Location: Finland
Distribution: Slackware 13.37, Ubuntu 10.10
Posts: 123

Rep: Reputation: 15
abiword-2.8.1: Make error "gsf/gsf-input-gio.h: No such file or directory"


I have Slackware 13 running XFCE. I did not install KDE, but did include the libraries required for KDE, Gnome et al.

I am trying to install Abiword 2.8.1

After installing the wv-1 library, configure ran OK.
But when I try to run make, I get the following error:
Code:
gsf/gsf-input-gio.h: No such file or directory
Web searching with that exact text only turns up a single post, which doesn't really seem to answer the question.

I have checked my system, and it does not seem to have gst/gio. gio seems to be additional to the base gsf library bits and pieces.

I cannot find how to install the necessary library(ies). Any ideas?

cheers.

Last edited by aes canis; 12-01-2009 at 10:48 AM. Reason: Solved. Abiword now works :)
 
Old 11-29-2009, 03:46 AM   #2
Ivshti
Member
 
Registered: Sep 2008
Distribution: Linvo
Posts: 132

Rep: Reputation: 43
Install libgsf... from the official Slackware set: http://ftp.slackware.cz/slackware/sl....15-i486-1.txz
 
Old 11-29-2009, 05:18 AM   #3
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Slackware's libgsf doesnt use gio. You'd have to rebuild it yourself removing --without-gio from the script (or replacing it with --with-gio).
That is probably gonna get solved eventually, but thats the case right now.
 
Old 11-29-2009, 08:18 AM   #4
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
<plug>Use the abiword SlackBuild on SlackBuilds.org</plug>. It handles this and a couple other issues concerning the help system and the collaboration plugin.
 
Old 11-29-2009, 09:35 AM   #5
aes canis
Member
 
Registered: May 2005
Location: Finland
Distribution: Slackware 13.37, Ubuntu 10.10
Posts: 123

Original Poster
Rep: Reputation: 15
Thanks chaps!
I went off looking for a bit more info, like which script to add the --with-gio switch to... then found the SlackBuild site. I felt a bit guilty downloading the SlackBuild abiword, as I felt I was dodging the problem - but since you recommend it, my conscience is clear.
 
Old 11-29-2009, 11:38 AM   #6
aes canis
Member
 
Registered: May 2005
Location: Finland
Distribution: Slackware 13.37, Ubuntu 10.10
Posts: 123

Original Poster
Rep: Reputation: 15
Well, that wasn't as easy as I hoped...

I ran abiword.SlackBuild. It ran for about 40 odd minutes.I was then greeted with:

Code:
OXMLi_PackageManager.cpp:341: error: 'gsf_open_pkg_lookup_rel_by_id' was not declared in this scope
OXMLi_PackageManager.cpp:341: error: 'gsf_open_pkg_rel_get_target' was not declared in this scope
make[5]: *** [OXMLi_PackageManager.lo] Error 1
make[5]: Leaving directory `/tmp/SBo/abiword-2.8.1/plugins/openxml/imp/xp'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/SBo/abiword-2.8.1/plugins/openxml/imp'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/SBo/abiword-2.8.1/plugins/openxml'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/abiword-2.8.1/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/abiword-2.8.1'
make: *** [all] Error 2
I can't find anything relating to either error messages.
 
Old 12-01-2009, 08:34 AM   #7
aes canis
Member
 
Registered: May 2005
Location: Finland
Distribution: Slackware 13.37, Ubuntu 10.10
Posts: 123

Original Poster
Rep: Reputation: 15
A bit more hunting shows it to be something to do with a C or C++ script...
 
Old 12-01-2009, 11:01 AM   #8
aes canis
Member
 
Registered: May 2005
Location: Finland
Distribution: Slackware 13.37, Ubuntu 10.10
Posts: 123

Original Poster
Rep: Reputation: 15
OK, I figured there was something wrong with the SlackBuild scripting, but I'm not qualified to even guess what. But most likely, there isn't anything wrong, and the problem lies between the chair and the keyboard...

Anyway, out of curiosity, I reckoned the SlackBuild installation proecess had dealt with the original gsf/gio problem and created the necessary libraries, so I tried the original installation package from Abisource.

This time, ./configure, make and make install all ran OK, with no error messages.

I then tried to run abiword, for the first time, but got this message:
Code:
bash-3.1# /usr/local/bin/abiword
/usr/local/bin/abiword: error while loading shared libraries: libabiword-2.8.so: cannot open shared object file: No such file or directory
I then found this post, relating to the problem.

But, where iamhimay writes "ln -sf /usr/lib/libabiword-2.8.so /lib/", Slackware 13 uses /usr/local/lib/, so the path is /usr/local/lib/libabiword-2.8.so

So far, Abiword works OK, but I haven't fully tested it yet.
 
Old 12-01-2009, 11:43 AM   #9
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
The reason it seems to build when you don't use the slackbuild is that you aren't building like half of abiword (the plugins).

My hunch is that other stuff you tried to do to get this working broke gsf. Use the stock packages.
 
Old 12-01-2009, 01:58 PM   #10
aes canis
Member
 
Registered: May 2005
Location: Finland
Distribution: Slackware 13.37, Ubuntu 10.10
Posts: 123

Original Poster
Rep: Reputation: 15
From what I gather, the original problem was that, with Slackware 13, gsf does not come with gio. Trying to install with SlackBuild fixed that.

What the C++/C related problem with the SlackBuild package was, I don't know.

But now the original packages from Abisource work. The issue with the package in the wrong place does not seem confined to Slackware, or my PC, as the solution was found on an Ubuntu forum.
 
  


Reply

Tags
abiword, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"failed to execute child process" "Input/output error" fl.bratu Fedora 4 12-15-2008 04:03 AM
Error: "libdmx.so.1: cannot open shared object file: No such file or directory" ESC201 Linux - Software 4 11-01-2008 08:38 PM
"/usr/bin/ls: reading directory .: Input/output error" DiZi Slackware 15 07-13-2008 10:03 AM
error while trying to install program: "X11/Xlib.h: No such file or directory" nate1 Linux - Newbie 3 05-21-2004 08:08 AM
i just finished typing "./configure" and "make" in mplayer directory... kublador Linux - General 4 02-22-2003 03:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration