You are not logged in.
Hello all:
I am trying to build and install Gnomesword from source, but am getting a build error that does not make sense to me.
Gnomesword is a Bible study program that requires the Sword libraries, version 1.5.10 in order to build. (See http://gnomesword.sourceforge.net/ for information)
I grabbed Sword 1.5.10 from here: http://crosswire.org/ftpmirror/pub/sword/source/v1.5/
I built and installed it fine. The config.log file says it is version 1.5.10
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by sword configure 1.5.10, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = braymiller
uname -m = i686
uname -r = 2.6.23-ARCH
uname -s = Linux
uname -v = #1 SMP PREEMPT Tue Jan 15 06:34:36 UTC 2008
When i try to build Gnomesword, it throws an error:
./configure
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GNOME... yes
checking for UPRINT... yes
checking for SWORD... no
And the line thing that puzzles me is that Gnomesword's config.log file says:
configure:2891: checking for SWORD
configure:2899: $PKG_CONFIG --exists --print-errors "sword >= 1.5.10"
Requested 'sword >= 1.5.10' but version of SWORD is 1.5.9
configure:2902: $? = 1
configure:2917: $PKG_CONFIG --exists --print-errors "sword >= 1.5.10"
Requested 'sword >= 1.5.10' but version of SWORD is 1.5.9
configure:2920: $? = 1
Requested 'sword >= 1.5.10' but version of SWORD is 1.5.9
configure:2948: result: no
Sorta makes me scratch my head in puzzlement.
Does anyone else have Gnomesword running on their system, and if so, how did you install it?
Last edited by Rumor (2008-01-28 20:19:54)
Smarter than a speeding bullet
My Goodreads profile
Offline
I've been able to build GnomeSword easily in the past. Have you tried using the builds from AUR?
--EDIT--
It's fine. Use the AUR packages and make sure that you have clucene installed. This was built right before this post:
Last edited by skottish (2008-01-28 03:29:39)
Offline
That's bizarre. I just tried and it failed.
==> gnomesword dependencies:
- sword (already installed)
- gtk2 (already installed)
- libxml2 (already installed)
- libgnomeui (already installed)
- gtkhtml (already installed)
- gnome-doc-utils (already installed)
- libgnomeprintui (already installed)
- intltool (already installed)
==> Edit the PKGBUILD (recommended) ? [Y/n] ("A" to abort)
==> Validating source files with md5sums...
gnomesword-2.3.3.tar.gz ... Passed
==> Extracting Sources...
-> bsdtar -x -f gnomesword-2.3.3.tar.gz
==> Starting build()...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GNOME... yes
checking for UPRINT... yes
checking for SWORD... no
make: *** No targets specified and no makefile found. Stop.
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build gnomesword package.
Maybe I need to remove Sword and let yaourt install it.
Smarter than a speeding bullet
My Goodreads profile
Offline
It seems that you have an older version of sword (1.5.9) than the required by the package (1.5.10).
(lambda ())
Offline
It seems that you have an older version of sword (1.5.9) than the required by the package (1.5.10).
Yeah, that's what I don't understand. I've built and installed 1.5.10 as noted in the first post.
Smarter than a speeding bullet
My Goodreads profile
Offline
DOH! I had to remove the /var/lib/pacman/local/sword-1.5.9-2 file. Once I did that, it installed just fine.
Thanks to those who helped!
Smarter than a speeding bullet
My Goodreads profile
Offline
Hi,
Im trying to install Sword Project in order to run GnomeSword also, but I get this error about "cout" not being a member of ssd:
tlitmgrtest.cpp: In function 'icu_3_8::Transliterator* SWTransFactory(const icu_3_8::UnicodeString&, icu_3_8::Transliterator::Token)':
tlitmgrtest.cpp:283: error: 'cout' is not a member of 'std'
tlitmgrtest.cpp:287: error: 'cout' is not a member of 'std'
tlitmgrtest.cpp:291: error: 'cout' is not a member of 'std'
tlitmgrtest.cpp:293: error: 'cout' is not a member of 'std'
Is there anything that I am missing or doing wrong?
Offline
Your missing some of the development software. Are you using the AUR package? If so, did you install the dependencies listed on the top post?
Offline
Yes, I have all of them. I double-checked now. But, still I get the same error when I try the make command.
Offline
Additional info. When I try to install gnomesword, despite the error Im getting for Sword, I can configure it, but upon running the "make check" command I get another error:
file=`echo uk | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -o $file uk.po
make[1]: *** No rule to make target `../ui/editor.xml', needed by `gnomesword.pot'. Stop.
Did anyone have a similar problem before with Sword and Gnomesword?
Offline
Are you installing these manually? ./configure... make... make install?
Offline
yes. I do it manually, both programs.
Offline
I was able to install Gnomesword using both the PKGBUILD and manually without issue. Do you have clucene and xulrunner installed?
/path/to/Truth
Offline
Well. Apparently, I have everything needed. I even downloaded gnomesword 2.3.2 version and compiled everything again. All went well, but if I want to launch application I got an error, "gnomesword2" no such file or directory.
And If I want to delete either gnomesword 2.3.2 or gnomesword 2.3.3 from applications and try again with new installation, I am denied permission even as root.
Offline
Use what Arch provides you piotr. All of the problems you're having have already been handled. Learn why Arch is special by reading about AUR in the wiki &&:
Sword:
http://aur.archlinux.org/packages.php?ID=1739
Gnomesword:
http://aur.archlinux.org/packages.php?ID=7315
Last edited by skottish (2008-02-24 08:04:20)
Offline
Hi again. Despite all my efforts I cannot install gnomesword. I have all necessary dependencies as posted in Aur. I installed Sword with python following the link in Aur about Sword:
http://aur.archlinux.org/packages.php?ID=1739,
but, when comes to gnomesword I run into this problem:
Making check in doc
make[1]: Entering directory `/home/piotr_k/Downloads/gnomesword-2.3.3/doc'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/piotr_k/Downloads/gnomesword-2.3.3/doc'
Making check in po
make[1]: Entering directory `/home/piotr_k/Downloads/gnomesword-2.3.3/po'
make[1]: *** No rule to make target `../ui/editor.xml', needed by `gnomesword.pot'. Stop.
make[1]: Leaving directory `/home/piotr_k/Downloads/gnomesword-2.3.3/po'
make: *** [check-recursive] Error 1
And if I continue with make; su and make install, everything seems to be working fine, but trying to launch application gives me the message that "gnomesword2" cannot be found. If I try to use the command line as described in README file, i get the message that gnomesword2 command not found.
I hope someone can show what I am doing wrong along the line.
Offline
Let's try again. You don't need to run 'make'. Let the tools you have work for you.
These are the steps that you need to follow. Grab the sword tarball from AUR and unpack it. Go into the sword directory and run:
makepkg
When it's done, install the package with pacman as root using:
pacman -U <whatever_the_file_name_is>
After that, follow the same instructions for gnomesword.
Both of these programs build fine on both i686 and x86_64 provided that your system is up to date.
Last edited by skottish (2008-02-25 02:01:56)
Offline
Hi, skottish
I was finally able to successfully instal Sword 1.5.10, but Gnomesword complains about the same problem that I do not have a file editor.xml in the ui directory. I have checked and it is true, there is no such a file and it seems to be required by Makefile in "po" directory of gnomesword.
The command makepkg does not work, because there is no PKGBUILD in gnomesword directory. So far, I was not able to find a solution to this problem by googling around.
Last edited by piotr (2008-02-27 13:06:42)
Offline
carnager@localhost $ tar xvzf gnomesword.tar.gz
gnomesword/
gnomesword/PKGBUILD
Dont know what you are doing, but i clearly see the PKGBUILD file... so one more time: get gnomesword from aur - the link is above!
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
Okay. I have followed your advice. I picked up the package again from the source. The package is: gnomesword-2.3.3.tar.gz. Then I do tar xvzf gnomesword-2.3.3.tar.gz; then I cd to gnomesword-2.3.3, and after typing the command ls, that what I get as the list in the directory:
ABOUT-NLS COPYING install-sh mkinstalldirs
acconfig.h COPYING-DOCS intltool-extract.in NEWS
aclocal.m4 depcomp intltool-merge.in pixmaps
AUTHORS doc intltool-update.in po
ChangeLog gnome-doc-utils.make ltconfig README
config.guess gnomesword.desktop.in.in ltmain.sh RELEASE-NOTES
config.h.in gnomesword.spec m4 src
config.sub gnomesword.spec.in Makefile.am TODO
configure help Makefile.in ui
configure.in INSTALL missing
As you can see, there is no PKGBUILD. Thanks for the patience.
Offline
As you can see, there is no PKGBUILD. Thanks for the patience.
Click on the link that says 'Tarball' not the link under 'Sources'.
/path/to/Truth
Offline
carnager@localhost $ tar xvzf gnomesword.tar.gz
Then I do tar xvzf gnomesword-2.3.3.tar.gzt
no comment
Last edited by Rasi (2008-02-28 07:11:56)
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
Okay. I have followed your advice. I picked up the package again from the source.
[stuff deleted]
As you can see, there is no PKGBUILD. Thanks for the patience.
If you downloaded the source from gnomesword's homepage, there won't be a PKGBUILD file in it. Only the package from the AUR is going to have a PKGBUILD file in it.
The way you'd install the package you've downloaded is to type
./configure
make
sudo make install ##(Or make install as root)##
However, if you download the tarball from here: http://aur.archlinux.org/packages.php?ID=7315 you will find it has the PKGBUILD file and you can install from that.
Last edited by Rumor (2008-02-28 12:45:16)
Smarter than a speeding bullet
My Goodreads profile
Offline
Thanks McQueen. I would never figure out that "Tarball" is a link to use to get the files. I had a good laugh at myself. I hope you too. Really new to Arch. But, I have learned something new and I appreciate it very much. Thanks. Now, going back to the problem. I reinstall Sword, following the link and the suggestion of Skottish. All went perfect. Then, I moved to gnomesword and this time after "makepkg" I got this:
usr/lib/libsword.a(swmodule.o): In function `sword::SWModule::createSearchFramework(void (*)(char, void*), void*)':
swmodule.cpp:(.text+0x1921): undefined reference to `lucene::analysis::standard::StandardAnalyzer::StandardAnalyzer()'
swmodule.cpp:(.text+0x1b81): undefined reference to `lucene::store::RAMDirectory::RAMDirectory()'
swmodule.cpp:(.text+0x1bc5): undefined reference to `lucene::index::IndexWriter::IndexWriter(lucene::store::Directory*, lucene::analysis::Analyzer*, bool, bool)' . . .
That is just an excerpt; more complains is there, but along the same line; so Build Failed.
Last edited by piotr (2008-02-28 14:06:12)
Offline
That is just an excerpt; more complains is there, but along the same line; so Build Failed.
Do you have clucene installed?
# pacman -S clucene
/path/to/Truth
Offline