By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 721 - Build issue: Koffice will not build with poppler or ruby support
Summary: Build issue: Koffice will not build with poppler or ruby support
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: non-core programs (show other bugs)
Version: R14.0.0 [Trinity]
Hardware: Other Linux
: P1 major
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2011-12-05 16:53 CST by Darrell
Modified: 2012-10-19 15:42 CDT (History)
2 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
Fix configure files to support ruby 1.9 (3.62 KB, patch)
2011-12-08 18:07 CST, Darrell
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darrell 2011-12-05 16:53:37 CST
I'm building koffice 3.5.13, Slackware 13.1.

PREFIX: /opt/trinity
SYSCONFDIR: /etc/trinity
LIBDIR: /opt/trinity/lib
MANDIR: /opt/trinity/man
QTDIR: /opt/trinity/lib/qt3-3.3.8.d
TQTDIR: /usr/include/tqt
CPLUS_INCLUDE_PATH: /opt/trinity/lib/qt3-3.3.8.d/include:/opt/trinity/include:/usr/include:/usr/include/tqt
PKG_CONFIG_PATH: /opt/trinity/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
LD_LIBRARY_PATH: /opt/trinity/lib
PATH: PREFIX/bin:/opt/trinity/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/lib/java/bin:/opt/trinity/lib/qt3-3.3.8.d/bin:/usr/lib/qt/bin:/usr/share/texmf/bin

Build log:

===================================================================
You're missing libpoppler 0.5.1 or later (binaries and/or headers).
chalk won't be able to import pdf
note that the qt-binding of libpoppler is required
===================================================================

Poppler 0.12.4 installed to /usr/lib. The following configure options
do not help:

--with-extra-libs=/usr/lib
--with-extra-includes=/usr/include/poppler/qt3

===================================================================
Ruby development files were not found, or Ruby <= 1.8.1 was found,
Ruby scripting support for KOffice will not be built. If you don't
need Ruby scripting, you can ignore this message.
===================================================================

Yet the configure log also says this:

===================================================================
checking for ruby... ruby
checking for Ruby dirs...
                   archdir /usr/lib/ruby/1.9.1/i486-linux,
                   sitearchdir /usr/lib/ruby/site_ruby/1.9.1/i486-linux,
                   sitedir /usr/lib/ruby/site_ruby/1.9.1,
                   includedir ,
                   libdir /usr/lib,
                   librubyarg -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby,
                   rubysharedenabled yes
checking for Ruby header... found
checking Ruby shared library... found
===================================================================

I have ruby 1.9.1 installed at /usr/lib/ruby/1.9.1. The following
configure options do not help:

--with-extra-libs=/usr/lib/ruby/1.9.1
--with-extra-includes=/usr/include/ruby-1.9.1
--with-extra-includes=/usr/include/ruby-1.9.1/ruby
Comment 1 Darrell 2011-12-07 17:50:10 CST
Poppler error messages fixed in this patch, already in GIT:

http://git.trinitydesktop.org/cgit/tde-packaging/tree/redhat/applications/koffice/koffice-3.5.13-fix_poppler_detect.patch
Comment 2 Darrell 2011-12-08 18:07:45 CST
Created attachment 217 [details]
Fix configure files to support ruby 1.9

This patch allows the configure files to find ruby 1.9 files.
Comment 3 Darrell 2011-12-08 18:08:25 CST
This bug report may be closed when the patches are merged to GIT. :)
Comment 4 Timothy Pearson 2012-01-11 17:53:55 CST
(In reply to comment #2)
> Created attachment 217 [details]
> Fix configure files to support ruby 1.9
> 
> This patch allows the configure files to find ruby 1.9 files.

But does koffice build with ruby1.9?  I thought it failed rather badly...
Comment 5 Darrell 2012-01-11 19:21:08 CST
True. Bug report 735 covers the ruby 1.9 problem. These patches were submitted a while before 735 was filed. These patches only cover the configure errors, not the actual building. So my original problem title is slightly off. :)

A few days ago I added some comments to 735. For R14 we might need to disable ruby hooks if version 1.9.x is detected, but we need appropriate configure messages so the user knows why. But for R15 we should throw serious attention at what to do about 735.
Comment 6 Darrell 2012-10-14 02:19:38 CDT
Closing this bug report as resolved. Remaining issues with koffice and ruby are being addressed in bug report 735.