You are not logged in.
# pacman -S clucene
I put a comment in the AUR to add this as a dependency. Obviously it never happened.
piotr, as you get use to the power of the tools that Arch provides, you'll be amazed that other distros don't make life so easy. And one of the greatest after effects is that you won't pollute your storage space with unused older versions of packages. I'm just glad that you're getting that hang of it now.
Last edited by skottish (2008-02-28 14:53:56)
Offline
Yes, I have. Btw, In my sword directory I have these files and directories:
pkg PKGBUILD src sword-1.5.10-2-i686.pkg.tar.gz sword-1.5.10.tar.gz
I have installed sword with pacman -U sword-1.5.10-2-i686.pkg.tar.gz, because when I tried
pacman -U sword-1.5.10.tar.gz I got this error:
loading package data... error: missing package metadata in sword-1.5.10.tar.gz
failed.
Could this contribute to the error in gnomesword?
Offline
What you did is the right way to install Sword. As McQueen pointed out, the errors from the post before are from not having Clucene installed. Go ahead and install that with pacman -Sy clucene then try to run makepkg in the gnomesword directory again.
Last edited by skottish (2008-02-29 00:49:06)
Offline
I'm having issues of a different sort, not sure whats up.
Trying to build sword-1.5.10 from AUR but it stops due to this error
../src/modules/filters/gbfwordjs.cpp: In member function 'virtual char sword::GBFWordJS::processText(sword::SWBuf&, const sword::SWKey*, const sword::SWModule*)':
../src/modules/filters/gbfwordjs.cpp:79: error: 'sprintf' was not declared in this scope
../src/modules/filters/gbfwordjs.cpp:120: error: 'sprintf' was not declared in this scope
../src/modules/filters/gbfwordjs.cpp:215: error: 'sprintf' was not declared in this scope
make[1]: *** [gbfwordjs.lo] Error 1
make[1]: Leaving directory `/home/brian/abs/local/sword/src/sword-1.5.10/lib'
make: *** [all-recursive] Error 1
I'm very new to nix in general, thanks for any help.
VB
Offline
I'm having issues of a different sort, not sure whats up.
Trying to build sword-1.5.10 from AUR but it stops due to this error../src/modules/filters/gbfwordjs.cpp: In member function 'virtual char sword::GBFWordJS::processText(sword::SWBuf&, const sword::SWKey*, const sword::SWModule*)':
../src/modules/filters/gbfwordjs.cpp:79: error: 'sprintf' was not declared in this scope
../src/modules/filters/gbfwordjs.cpp:120: error: 'sprintf' was not declared in this scope
../src/modules/filters/gbfwordjs.cpp:215: error: 'sprintf' was not declared in this scope
make[1]: *** [gbfwordjs.lo] Error 1
make[1]: Leaving directory `/home/brian/abs/local/sword/src/sword-1.5.10/lib'
make: *** [all-recursive] Error 1I'm very new to nix in general, thanks for any help.
VB
Welcome to the forums vuboy.
Before the output that you posted, was there a line about a file not being found? It may be a quite a few lines before this.
Offline
Thankyou for the welcome skottish.
Was missing pkgconfig, I rectified that issue, but was not the cause.
Not sure if this is causing the issue. Again I appologize for my nix newbness, but willing to learn.
To be honest I didn't see any file not found errors. There must be a log somewher other then the terminal output.
Again thanks for any insight you can provide.
checking for icu-config... /usr/bin/icu-config
./configure: line 20753: bc: command not found
./configure: line 20753: test: -eq: unary operator expected
icu-config: ERROR Unknown Option --ldflags-ustdio
usage: icu-config [ --bindir ] [ --cc ] [ --cflags ] [ --cflags-dynamic ] [ ] [ --cppflags ] [ --cppflags-dynamic ] [ ] [ --cppflags-searchpath ] [ --cxx ] [ --cxxflags ] [ --cxxflags-dynamic ] [ ] [ --detect-prefix ] [ --exec-prefix ] [ --exists ] [ --help, -?, --usage ] [ --icudata ] [ --icudata-install-dir ] [ --icudata-mode ] [ --icudatadir ] [ --invoke ] [ --invoke=<prog> ] [ --ldflags ] [ --ldflags-layout ] [ --ldflags-libsonly ] [ --ldflags-searchpath ] [ --ldflags-system ] [ --ldflags-icuio ] [ --ldflags-obsolete ] [ --mandir ] [ --prefix ] [ --prefix=XXX ] [ --sbindir ] [ --shared-datadir ] [ --shlib-c ] [ --shlib-cc ] [ --sysconfdir ] [ --unicode-version ] [ --version ] [ --incfile ]
### icu-config: Exitting.
Offline
Try to install all of the group base-devel. You may simply be missing some build tools.
pacman -S base-devel
Offline
Same issue.
It did download a couple of pkg's though.
Im using the x86_64 platform, maybe thats the issue.
Open to any other sugestions.
VB
Offline
I'm also on 64 bit. Without more of the output, I'm not sure where to focus.
Offline
Here's the output.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
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 for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /bin/install -c
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether byte ordering is bigendian... no
checking how to include clucene... /usr
checking whether to enable maintainer-specific portions of Makefiles... no
checking for compress in -lz... yes
checking for cppunit-config... no
checking for Cppunit - version >= 1.8.0... checking for pkg-config... /usr/bin/pkg-config
checking for pkgdata... /usr/bin/pkgdata
checking for genccode... /usr/sbin/genccode
checking for gencmn... /usr/sbin/gencmn
checking for genrb... /usr/bin/genrb
checking for icu-config... /usr/bin/icu-config
./configure: line 20753: bc: command not found
./configure: line 20753: test: -eq: unary operator expected
icu-config: ERROR Unknown Option --ldflags-ustdio
usage: icu-config [ --bindir ] [ --cc ] [ --cflags ] [ --cflags-dynamic ] [ ] [ --cppflags ] [ --cppflags-dynamic ] [ ] [ --cppflags-searchpath ] [ --cxx ] [ --cxxflags ] [ --cxxflags-dynamic ] [ ] [ --detect-prefix ] [ --exec-prefix ] [ --exists ] [ --help, -?, --usage ] [ --icudata ] [ --icudata-install-dir ] [ --icudata-mode ] [ --icudatadir ] [ --invoke ] [ --invoke=<prog> ] [ --ldflags ] [ --ldflags-layout ] [ --ldflags-libsonly ] [ --ldflags-searchpath ] [ --ldflags-system ] [ --ldflags-icuio ] [ --ldflags-obsolete ] [ --mandir ] [ --prefix ] [ --prefix=XXX ] [ --sbindir ] [ --shared-datadir ] [ --shlib-c ] [ --shlib-cc ] [ --sysconfdir ] [ --unicode-version ] [ --version ] [ --incfile ]
### icu-config: Exitting.
checking for curl-config... /usr/bin/curl-config
curl found - remote install options available
lucene found - lucene searching options available
checking for vsnprintf... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating tests/Makefile
config.status: creating tests/cppunit/Makefile
config.status: creating utilities/Makefile
config.status: creating examples/Makefile
config.status: creating examples/cmdline/Makefile
config.status: creating utilities/diatheke/Makefile
config.status: creating icu/Makefile
config.status: creating sword.pc
config.status: creating sword.spec
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: executing depfiles commands
Making all in lib
make[1]: Entering directory `/home/brian/abs/local/sword/src/sword-1.5.10/lib'
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include -I../include -DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__ -DSWICU_DATA=\"/usr/lib/sword/1.5.10_icu_3.8\" -D_FTPLIB_NO_COMPAT -D_ICU_ -O2 -DCURLAVAILABLE -I/usr/include -I/usr/lib -DUSELUCENE -march=k8 -O2 -pipe -msse3 -MT gbfwordjs.lo -MD -MP -MF .deps/gbfwordjs.Tpo -c -o gbfwordjs.lo `test -f '../src/modules/filters/gbfwordjs.cpp' || echo './'`../src/modules/filters/gbfwordjs.cpp
g++ -DHAVE_CONFIG_H -I. -I../include -I../include -DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__ -DSWICU_DATA=\"/usr/lib/sword/1.5.10_icu_3.8\" -D_FTPLIB_NO_COMPAT -D_ICU_ -O2 -DCURLAVAILABLE -I/usr/include -I/usr/lib -DUSELUCENE -march=k8 -O2 -pipe -msse3 -MT gbfwordjs.lo -MD -MP -MF .deps/gbfwordjs.Tpo -c ../src/modules/filters/gbfwordjs.cpp -fPIC -DPIC -o .libs/gbfwordjs.o
../src/modules/filters/gbfwordjs.cpp: In member function 'virtual char sword::GBFWordJS::processText(sword::SWBuf&, const sword::SWKey*, const sword::SWModule*)':
../src/modules/filters/gbfwordjs.cpp:79: error: 'sprintf' was not declared in this scope
../src/modules/filters/gbfwordjs.cpp:120: error: 'sprintf' was not declared in this scope
../src/modules/filters/gbfwordjs.cpp:215: error: 'sprintf' was not declared in this scope
make[1]: *** [gbfwordjs.lo] Error 1
make[1]: Leaving directory `/home/brian/abs/local/sword/src/sword-1.5.10/lib'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed.
Aborting...
Again my thanks.
VB
Offline
Wow. We're getting totally different builds here.
From my machine:
make[1]: Entering directory `/home/skottish/downloads/sword/src/sword-1.5.10/lib'
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include -I../include -DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__ -DSWICU_DATA=\"/usr/lib/sword/1.5.10_icu_3.8\" -D_FTPLIB_NO_COMPAT -D_ICU_ -O2 -DCURLAVAILABLE -I/usr/include -I/usr/lib -DUSELUCENE -march=native -mtune=native -O2 -pipe -MT swkey.lo -MD -MP -MF .deps/swkey.Tpo -c -o swkey.lo `test -f '../src/keys/swkey.cpp' || echo './'`../src/keys/swkey.cpp
Are you starting fresh when you run makepkg (rm -rf src pkg)?
Offline
So I removed the src and pkg folders and started fresh;-)
This time through, there was no ICU-Config error; I suspect the base-devel corrected that, but it still dumps at the gbfwordjs.cpp.
Not sure where to go from here, but did get a little further thanks to your help.
VB
Offline
../src/modules/filters/gbfwordjs.cpp:79: error: 'sprintf' was not declared in this scope
../src/modules/filters/gbfwordjs.cpp:120: error: 'sprintf' was not declared in this scope
../src/modules/filters/gbfwordjs.cpp:215: error: 'sprintf' was not declared in this scope
make[1]: *** [gbfwordjs.lo] Error 1
I guess you are using gcc 4.3? Please do a pacman -Qi gcc.
If so this could be your issue:
http://www.archlinux.org/pipermail/arch … 05175.html
In that as gnomesword needs some patching.
Last edited by Stefan Husmann (2008-03-25 13:58:51)
Offline
Yipper I am.
Name : gcc
Version : 4.3.0-1
URL : http://gcc.gnu.org
Licenses : GPL LGPL
Groups : base-devel
Provides : None
Depends On : binutils>=2.18-3 gcc-libs>=4.3.0 mpfr>=2.3.1
Optional Deps : None
Required By : libsidplay libsmbios swig vnc
Conflicts With : None
Replaces : None
Installed Size : 69727.74 K
Packager : Jan de Groot <jgc@archlinux.org>
Architecture : x86_64
Build Date : Sat 08 Mar 2008 09:33:29 AM NST
Install Date : Tue 25 Mar 2008 12:07:09 AM NDT
Install Reason : Installed as a dependency for another package
Install Script : No
Description : The GNU Compiler Collection
Will to be quite honest I'm not after gnomesword but bibletime, Sword being a pre-requiste;-)
It's just getting Sword installed to continue on with bibletime. Posts are scarce in regards to sword and bibletime.
Will cgeck out the link, much thanks.
Been running Arch for a couple of days now, I love it, but more importantly the support community is just amazing, you guys are great.
VB
Offline
Will according to the link, if I'm reading it correctly. I need to change this:
#include <gbfwordjs.h>
to
#include <cgbfwordjs>
Within the gbfwordjs.cpp file.
If thats the case then I won't be able to use the PKGBUILD.
mmmmm
So much to learn;-)
VB
Offline
No, please do a
man sprintf
to find out in which c-includefile this is defined. You will see that it is defined in stdio.h. So you should try to patch gbfwordjs.cpp putting in an
#include <cstdio>
Or you give bibledesktop a try. It comes with a built-in sword and is written in Java.
http://aur.archlinux.org/packages.php?ID=14457
BTW, I myself learned this yesterday because of http://aur.archlinux.org/packages.php?ID=14494!
Last edited by Stefan Husmann (2008-03-25 18:10:39)
Offline
The strange thing is that when I was going back and forth with vuboy last night, I rebuilt sword just to see if I could reproduce the problem and I couldn't. This is with the tool chain from testing. And, it's also with some of the Gnome stuff from testing. Maybe this is the key factor.
Last edited by skottish (2008-03-25 18:35:25)
Offline
After spending yesterday afternoon in Windows World, I'm back for another kick at the can;-)
My thanks to contributors.
I couldn't pull the man page for sprintf. That aside I did make the required change and added the include.
Now I'm getting hung up with this error:
In file included from ../bindings/flatapi.cpp:37:
../include/flatapi.h:38: error: variable or field 'stringlist_iterator_next' declared void
../include/flatapi.h:38: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:39: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:44: error: variable or field 'listkey_iterator_next' declared void
../include/flatapi.h:44: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:45: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:50: error: variable or field 'ModList_iterator_next' declared void
../include/flatapi.h:50: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:51: error: 'intptr_t' does not name a type
../include/flatapi.h:57: error: 'intptr_t' does not name a type
../include/flatapi.h:59: error: 'intptr_t' does not name a type
../include/flatapi.h:60: error: variable or field 'SWMgr_delete' declared void
../include/flatapi.h:60: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:61: error: 'intptr_t' does not name a type
../include/flatapi.h:62: error: 'intptr_t' does not name a type
../include/flatapi.h:63: error: 'intptr_t' does not name a type
../include/flatapi.h:64: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:65: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:66: error: variable or field 'SWMgr_setGlobalOption' declared void
../include/flatapi.h:66: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:66: error: expected primary-expression before 'const'
../include/flatapi.h:66: error: expected primary-expression before 'const'
../include/flatapi.h:67: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:67: error: expected primary-expression before 'const'
../include/flatapi.h:67: error: initializer expression list treated as compound expression
../include/flatapi.h:68: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:68: error: expected primary-expression before 'const'
../include/flatapi.h:68: error: initializer expression list treated as compound expression
../include/flatapi.h:70: error: 'intptr_t' does not name a type
../include/flatapi.h:72: error: 'intptr_t' does not name a type
../include/flatapi.h:73: error: variable or field 'SWMgr_setCipherKey' declared void
../include/flatapi.h:73: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:73: error: expected primary-expression before 'const'
../include/flatapi.h:73: error: expected primary-expression before 'const'
../include/flatapi.h:79: error: variable or field 'SWModule_terminateSearch' declared void
../include/flatapi.h:79: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:80: error: 'intptr_t' does not name a type
../include/flatapi.h:81: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:82: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:83: error: variable or field 'SWModule_setKeyText' declared void
../include/flatapi.h:83: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:83: error: expected primary-expression before 'const'
../include/flatapi.h:84: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:85: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:86: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:87: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:88: error: variable or field 'SWModule_previous' declared void
../include/flatapi.h:88: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:89: error: variable or field 'SWModule_next' declared void
../include/flatapi.h:89: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:90: error: variable or field 'SWModule_begin' declared void
../include/flatapi.h:90: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:91: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:92: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:93: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:93: error: expected primary-expression before 'const'
../include/flatapi.h:93: error: expected primary-expression before 'const'
../include/flatapi.h:93: error: expected primary-expression before 'const'
../include/flatapi.h:93: error: initializer expression list treated as compound expression
../include/flatapi.h:94: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:94: error: expected primary-expression before 'const'
../include/flatapi.h:94: error: expected primary-expression before 'int'
../include/flatapi.h:94: error: initializer expression list treated as compound expression
../include/flatapi.h:95: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:95: error: expected primary-expression before 'const'
../include/flatapi.h:95: error: expected primary-expression before 'const'
../include/flatapi.h:95: error: initializer expression list treated as compound expression
../include/flatapi.h:96: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:96: error: expected primary-expression before 'const'
../include/flatapi.h:96: error: expected primary-expression before 'const'
../include/flatapi.h:96: error: initializer expression list treated as compound expression
../include/flatapi.h:97: error: 'intptr_t' was not declared in this scope
../include/flatapi.h:97: error: expected primary-expression before 'const'
../include/flatapi.h:97: error: expected primary-expression before 'const'
../include/flatapi.h:97: error: initializer expression list treated as compound expression
../include/flatapi.h:99: error: 'intptr_t' does not name a type
../bindings/flatapi.cpp:51: error: 'intptr_t' does not name a type
../bindings/flatapi.cpp:57: error: 'intptr_t' does not name a type
../bindings/flatapi.cpp:66: error: variable or field 'SWMgr_delete' declared void
../bindings/flatapi.cpp:66: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:73: error: 'intptr_t' does not name a type
../bindings/flatapi.cpp:79: error: 'intptr_t' does not name a type
../bindings/flatapi.cpp:91: error: 'intptr_t' does not name a type
../bindings/flatapi.cpp:97: error: redefinition of 'const char* SWMgr_getPrefixPath'
../include/flatapi.h:64: error: 'const char* SWMgr_getPrefixPath' previously defined here
../bindings/flatapi.cpp:97: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:103: error: redefinition of 'const char* SWMgr_getConfigPath'
../include/flatapi.h:65: error: 'const char* SWMgr_getConfigPath' previously defined here
../bindings/flatapi.cpp:103: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:109: error: variable or field 'SWMgr_setGlobalOption' declared void
../bindings/flatapi.cpp:109: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:109: error: expected primary-expression before 'const'
../bindings/flatapi.cpp:109: error: expected primary-expression before 'const'
../bindings/flatapi.cpp:116: error: redefinition of 'const char* SWMgr_getGlobalOption'
../include/flatapi.h:67: error: 'const char* SWMgr_getGlobalOption' previously defined here
../bindings/flatapi.cpp:116: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:116: error: expected primary-expression before 'const'
../bindings/flatapi.cpp:122: error: redefinition of 'const char* SWMgr_getGlobalOptionTip'
../include/flatapi.h:68: error: 'const char* SWMgr_getGlobalOptionTip' previously defined here
../bindings/flatapi.cpp:122: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:122: error: expected primary-expression before 'const'
../bindings/flatapi.cpp:129: error: 'intptr_t' does not name a type
../bindings/flatapi.cpp:142: error: 'intptr_t' does not name a type
../bindings/flatapi.cpp:152: error: variable or field 'SWMgr_setCipherKey' declared void
../bindings/flatapi.cpp:152: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:152: error: expected primary-expression before 'const'
../bindings/flatapi.cpp:152: error: expected primary-expression before 'const'
../bindings/flatapi.cpp:163: error: variable or field 'SWModule_terminateSearch' declared void
../bindings/flatapi.cpp:163: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:172: error: 'intptr_t' does not name a type
../bindings/flatapi.cpp:189: error: redefinition of 'char SWModule_error'
../include/flatapi.h:81: error: 'char SWModule_error' previously defined here
../bindings/flatapi.cpp:189: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:195: error: redefinition of 'int SWModule_getEntrySize'
../include/flatapi.h:82: error: 'int SWModule_getEntrySize' previously defined here
../bindings/flatapi.cpp:195: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:201: error: variable or field 'SWModule_setKeyText' declared void
../bindings/flatapi.cpp:201: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:201: error: expected primary-expression before 'const'
../bindings/flatapi.cpp:210: error: redefinition of 'const char* SWModule_getKeyText'
../include/flatapi.h:84: error: 'const char* SWModule_getKeyText' previously defined here
../bindings/flatapi.cpp:210: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:219: error: redefinition of 'const char* SWModule_getName'
../include/flatapi.h:85: error: 'const char* SWModule_getName' previously defined here
../bindings/flatapi.cpp:219: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:225: error: redefinition of 'const char* SWModule_getDescription'
../include/flatapi.h:86: error: 'const char* SWModule_getDescription' previously defined here
../bindings/flatapi.cpp:225: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:231: error: redefinition of 'const char* SWModule_getType'
../include/flatapi.h:87: error: 'const char* SWModule_getType' previously defined here
../bindings/flatapi.cpp:231: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:237: error: variable or field 'SWModule_previous' declared void
../bindings/flatapi.cpp:237: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:244: error: variable or field 'SWModule_next' declared void
../bindings/flatapi.cpp:244: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:251: error: variable or field 'SWModule_begin' declared void
../bindings/flatapi.cpp:251: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:258: error: redefinition of 'const char* SWModule_getStripText'
../include/flatapi.h:91: error: 'const char* SWModule_getStripText' previously defined here
../bindings/flatapi.cpp:258: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:264: error: redefinition of 'const char* SWModule_getRenderText'
../include/flatapi.h:92: error: 'const char* SWModule_getRenderText' previously defined here
../bindings/flatapi.cpp:264: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:269: error: redefinition of 'const char* SWModule_getEntryAttributes'
../include/flatapi.h:93: error: 'const char* SWModule_getEntryAttributes' previously defined here
../bindings/flatapi.cpp:269: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:269: error: expected primary-expression before 'const'
../bindings/flatapi.cpp:269: error: expected primary-expression before 'const'
../bindings/flatapi.cpp:269: error: expected primary-expression before 'const'
../bindings/flatapi.cpp:277: error: redefinition of 'const char* SWModule_getPreverseHeader'
../include/flatapi.h:94: error: 'const char* SWModule_getPreverseHeader' previously defined here
../bindings/flatapi.cpp:277: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:277: error: expected primary-expression before 'const'
../bindings/flatapi.cpp:277: error: expected primary-expression before 'int'
../bindings/flatapi.cpp:288: error: redefinition of 'const char* SWModule_getFootnoteType'
../include/flatapi.h:95: error: 'const char* SWModule_getFootnoteType' previously defined here
../bindings/flatapi.cpp:288: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:288: error: expected primary-expression before 'const'
../bindings/flatapi.cpp:288: error: expected primary-expression before 'const'
../bindings/flatapi.cpp:298: error: redefinition of 'const char* SWModule_getFootnoteBody'
../include/flatapi.h:96: error: 'const char* SWModule_getFootnoteBody' previously defined here
../bindings/flatapi.cpp:298: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:298: error: expected primary-expression before 'const'
../bindings/flatapi.cpp:298: error: expected primary-expression before 'const'
../bindings/flatapi.cpp:310: error: redefinition of 'const char* SWModule_getFootnoteRefList'
../include/flatapi.h:97: error: 'const char* SWModule_getFootnoteRefList' previously defined here
../bindings/flatapi.cpp:310: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:310: error: expected primary-expression before 'const'
../bindings/flatapi.cpp:310: error: expected primary-expression before 'const'
../bindings/flatapi.cpp:322: error: 'intptr_t' does not name a type
../bindings/flatapi.cpp:335: error: variable or field 'stringlist_iterator_next' declared void
../bindings/flatapi.cpp:335: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:341: error: redefinition of 'const char* stringlist_iterator_val'
../include/flatapi.h:39: error: 'const char* stringlist_iterator_val' previously defined here
../bindings/flatapi.cpp:341: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:351: error: variable or field 'listkey_iterator_next' declared void
../bindings/flatapi.cpp:351: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:357: error: redefinition of 'const char* listkey_iterator_val'
../include/flatapi.h:45: error: 'const char* listkey_iterator_val' previously defined here
../bindings/flatapi.cpp:357: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:369: error: variable or field 'ModList_iterator_next' declared void
../bindings/flatapi.cpp:369: error: 'intptr_t' was not declared in this scope
../bindings/flatapi.cpp:376: error: 'intptr_t' does not name a type
make[1]: *** [flatapi.lo] Error 1
make[1]: Leaving directory `/home/bmacdonald/abs/local/sword/src/sword-1.5.10/lib'
make: *** [all-recursive] Error 1
bash: return: can only `return' from a function or sourced script
Any help is appreciaed. On anothe note I tried the PKGBUILD for bibletime but that dumps out too.
VB
Offline
Vuboy,
Have you tried building Sword from source yet? You can grab the 1.5.10.tar.gz file from here: http://crosswire.org/ftpmirror/pub/sword/source/v1.5/
Extract it somewhere, cd to that location and then
./configure
make
sudo make install
to see if it will build that way. I don't know if it will help with your current problem.
Smarter than a speeding bullet
My Goodreads profile
Offline
Rumor, thanks for the input.
Of course I gave it a whirl;-)
Same issue, same errors.
Must be missing something.
VB
Offline
That error seems to be similar. But before solving each of this errors yourself you might consider to contact the maintainer of the sword-package via AUR, maybe with a link to this thread.
Offline
Thanks Stefan, I'll look into how to procede, that is how to contact the maintainer.
Still not sure why I can't pull the man pages for sprintf, no entries found.
Again my thanks the contirbutions and patience;-)
VB
Offline
Do you have the package man-pages installed?
The maintainer can be contacted by leaving a comment on http://aur.archlinux.org/packages.php?ID=1739
You can also ask him to read ths thread.
Last edited by Stefan Husmann (2008-03-26 18:49:59)
Offline
The man page issues are sorted, profile needed updating;-)
Thanks for the contact link.
Again, this comunity shines.
Thanks all.
VB
Offline
I am currently looking at sword and gnomesword packages and trying to get them fixed. It looks like the update to gcc 4.3.0 is what broke sword and gnomesword from compiling. It also prevents gnomesword from running One of my machines still has gcc 4.2.3 and gnomesword is running and compiling fine. I am looking into what needs to be done to resolve this. Any suggestions are welcome.
BTW...I am the maintainer of the 2 packages, but I am not a compiling/coding guru.
HP Chromebook 14
Offline