sword-svn fails to install, below is the error:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include -DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__ -DSWICU_DATA=\"/usr/lib/sword/1.7.900_icu_\" -D_FTPLIB_NO_COMPAT -D_FORTIFY_SOURCE=2 -O3 -fPIC -ftemplate-depth=100 -D_ICU_ -DCURLAVAILABLE -DCURLSFTPAVAILABLE -I/usr/include/CLucene/ext -I/usr/lib -DUSELUCENE -DCLUCENE2 -I/usr/lib -DUSEXAPIAN -Wno-address -Wno-nonnull-compare -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -MT scsuutf8.lo -MD -MP -MF .deps/scsuutf8.Tpo -c ../src/modules/filters/scsuutf8.cpp -fPIC -DPIC -o .libs/scsuutf8.o
../src/modules/filters/scsuutf8.cpp: In member function 'virtual char sword::SCSUUTF8::processText(sword::SWBuf&, const sword::SWKey*, const sword::SWModule*)':
../src/modules/filters/scsuutf8.cpp:139:2: error: 'UnicodeString' was not declared in this scope
UnicodeString utf16Text(text.getRawData(), text.length(), scsuConv, err);
^~~~~~~~~~~~~
../src/modules/filters/scsuutf8.cpp:141:16: error: 'utf16Text' was not declared in this scope
int32_t len = utf16Text.extract(text.getRawData(), text.size(), utf8Conv, err);
^~~~~~~~~
make[1]: *** [Makefile:1608: scsuutf8.lo] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-yvand/aur-sword-svn/src/sword/lib'
make: *** [Makefile:623: all-recursive] Error 1
Search Criteria
Package Details: sword-svn 3:1.9.0.svnversion.3887-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/sword-svn.git (read-only, click to copy) |
---|---|
Package Base: | sword-svn |
Description: | Libraries for Bible programs - svn-version |
Upstream URL: | http://crosswire.org/sword/ |
Keywords: | bible |
Licenses: | GPL |
Conflicts: | sword |
Provides: | sword |
Submitter: | haawda |
Maintainer: | None |
Last Packager: | haawda |
Votes: | 20 |
Popularity: | 0.000000 |
First Submitted: | 2012-02-18 11:12 (UTC) |
Last Updated: | 2023-02-19 12:14 (UTC) |
Dependencies (5)
- clucene
- curl (curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- icu (icu-gitAUR)
- xapian-core (xapian-core-gitAUR)
- subversion (make)
Required by (15)
- bibledit (requires sword)
- bibletime-git (requires sword)
- diatheke-tui (requires sword)
- libbible (requires sword)
- nodejs-sword-interface (requires sword) (make)
- sword-comm-mhcc (requires sword)
- sword-comm-scofield (requires sword)
- sword-comm-tdavid (requires sword)
- sword-dict-naves (requires sword)
- sword-dict-strongs-greek (requires sword)
- sword-dict-strongs-hebrew (requires sword)
- sword-text-kjv (requires sword)
- sword-text-sparv (requires sword)
- sword-text-web (requires sword)
- xiphos-git (requires sword)
Sources (1)
yvand commented on 2017-05-10 19:04 (UTC)
SanskritFritz commented on 2014-12-08 14:13 (UTC)
Dependency icu is already satisfied through clucene/boost-libs.
Alister.Hood commented on 2014-12-08 06:14 (UTC)
This should depend on icu.
haawda commented on 2014-11-12 20:12 (UTC)
I hate that "r" in version numbers. I see no point in having it.
freevryheid commented on 2014-11-11 04:11 (UTC)
Is it possible to set the pkgver in the pkgbuild per guidelines:
https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines#The_pkgver.28.29_function
haawda commented on 2014-08-24 08:59 (UTC)
Had to set "--without-xz" to the configure switches, build would fail otherwise.
haawda commented on 2014-05-12 18:57 (UTC)
Added xz to the dependencies.
MisterEwok, try building without yaourt.
MisterEwok commented on 2013-08-23 15:39 (UTC)
I'm using "yaourt -Syu --aur" to update my system. It tries to update sword-svn but it has an error. First there are a whole bunch of warnings that look like:
lib/Makefile.am:17: warning: source file '$(bindingsdir)/flatapi.cpp' is in a subdirectory,
lib/Makefile.am:17: but option 'subdir-objects' is disabled
And then it quits at:
checking whether we are cross compiling... configure: error: in `/tmp/yaourt-tmp-philip/aur-sword-svn/src/sword':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build sword-svn.
SanskritFritz commented on 2013-04-10 21:26 (UTC)
Ah lol, the old PKGBUILD was still in my browser's cache :)
Sorry for the noise.
Pinned Comments
haawda commented on 2023-02-19 12:18 (UTC) (edited on 2023-02-19 12:18 (UTC) by haawda)
I added a check function, but be careful.
UUpstream warnes: IF YOU LIVE IN A PERSECUTED COUNTRY AND DO NOT WISH TO RISK DETECTION, YOU SHOULD NOT USE INSTALL MANAGER'S REMOTE SOURCE FEATURES.
So use makepkg --nocheck in that case.