|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 16
|
|
| Author |
|
|
Newbie USA Joined: Jul 14, 2009 Post Count: 7 Status: Offline |
Hi all! I'm somewhat new to linux, and used to use (and loved) eSword on Windows. I have a laptop running Fedora 7 and I've installed or tried both gnomesword (I know it's now Xiphos) and BibleTime. I recently got a new desktop pc on which I've installed CentOS 5.3 and there are no Xiphos / BibleTime / gnone sword rpm packages available for them. I'm not sure if it'd be safe to install, say a Fedora 10 rpm on my CentOS system (I could ask in their forum...); but I thought I'd try to just download and install the source packages. From a previous attempt I know that Xiphos requires version 1.5 or later of Sword; so I downloaded that first and also installed GCC and after an error discovered I also needed gcc-c++ which I've also installed. The ./configure command went just fine, then when I used the 'make' command it ran for a few moments and returned a message of make: *** [all recursive] Error 1 Since version 1.5.x would be acceptable I downloaded v1.5.11 then v1.5.10 after 11 failed, and on both of them I got the same error message as follows: ./lib/.libs/libsword.so: undefined reference to 'compress' (next line same reference to) 'gzdopen', 'gzerror', 'gzread', 'uncompress' collect2: ld returned 1 exit status make[1]: *** [buildtest] Error 1 Before I throw in the towel on this endeavor and install wine and esword; I thought I'd post here and request help. I even had a bright idea that I might try to figure out how to create an rpm for CentOS; but first I need to be able to install it locally. Do you need to know what versions of gcc-c++ I'm using or anything? My PC is an AMD phenom triple core; 2 gig of ram running CentOS 5.3 * update* I visited the centos forums and found they have a preview of gcc ver 4.3 available as well as gcc43-c++; I suspect that is the newest version of gcc ? At any rate I installed that and ran the 'make' command in the directory 1.5.11 and 1.5.10 and got the same error messages as above. Any advice would be appreciated-- I'm not a programmer, just trying to follow the steps in the install and readme files! Thanks. Cia W ---------------------------------------- [Edit 1 times, last edit by CiaW at Aug 23, 2009 6:33:33 PM] |
||
|
|
Inventory Germany Joined: Jun 12, 2008 Post Count: 637 Status: Offline |
Hi. the "undefined reference to 'compress'" looks like zlib or zlib-dev package is missing. Also I think the normal build procedure is: - unpack - run ./autogen.sh (which needs automake and autoconf packages) - run usrinst.sh (or configure if you need special things) - then make and make install However I think you should try to get packages of Xiphos since compiling this all yourself might be frustrating when problems come up. I don't know whether the Fedora packages work. Xiphos developer are not regularly here in this forum and you should consider writing a mail to either the sword-devel or xiphos mailing list (http://xiphos.org/help/). Regards, Manfred |
||
|
|
Newbie USA Joined: Jul 14, 2009 Post Count: 7 Status: Offline |
Hi Manfred, thanks for the reply. I did of course unpack the archive first into the /usr/share directory (after giving my non-root user permission to access the folder!) then using su in a terminal I did the ./configure and make; I think (though I'm not positive) that's what the directions in the readme said for v1.6; but now that I look at the install file for v1.5.11 it's suggesting something different. Under Quick start it says: If you have never installed sword before and/or are happy with a default So I did that, and got: sword.conf generated I think that's a good thing!? Now onto unpacking Xiphos and see what it says to do... I'll contact xiphos as you suggested if I have issues with that. Hopefully I'll be back shortly to tell you I'm happily using Xiphos! Cia W |
||
|
|
Inventory Germany Joined: Jun 12, 2008 Post Count: 637 Status: Offline |
thanks for the reply. I did of course unpack the archive first into the /usr/share directory (after giving my non-root user permission to access the folder!) then using su in a terminal I did the ./configure and make; I think (though I'm not positive) that's what the directions in the readme said for v1.6; but now that I look at the install file for v1.5.11 it's suggesting something different. That's how I build the sword engine for MacSword. Actually I don't know whether this has changed from 1.5.11 to 1.6.0. Under Quick start it says: If you have never installed sword before and/or are happy with a default So I did that, and got: sword.conf generated I think that's a good thing!? Well, that maybe only installed or generated the sword.conf file. You can check the makefile and see exactly what it did. Normally some utility programs (like "installmgr", "osis2mod", "xml2gbs", ...) are created in or copied to the prefix_path/bin when "make install" is executed. You might want to check if those are there. Manfred |
||
|
|
Regular Joined: Sep 28, 2007 Post Count: 75 Status: Offline |
I'm a Xiphos developer. We recommend you install sword 1.6.0. To compile, just run ./usrinst.sh, then make, then make install. Please try 1.6.0 again, then post the exact error messages you get when running make. Matthew |
||
|
|
Newbie USA Joined: Jul 14, 2009 Post Count: 7 Status: Offline |
Hi Matthew, While looking around the CentOS forums, and not wanting to break anything I decided to install Wine and eSword (which I can't run the newest version right now) and Theophilos3 which is working. They suggested that IF you're going to try to install something from source that you put it into the /usr/local directory. I decided to try that this morning (using Sword 1.5.11) which didn't work -- so I was logging on here to report I was giving up for now until I can get an rpm to install. But, since you asked... I unpacked sword-1.6 into the /usr/local directory; ran .usrinst.sh and that went fine. Then when I ran 'make' here are the errors I'm getting: gr.cpp -o swmgr.o That's different than the previous errors I got; but errors nonetheless. Let me know if there's something simple I can do, or if there are more details you need. (if you need versions or whatever, please give me the verbiage or command to run in a terminal window..) Thanks! Cia W ---------------------------------------- [Edit 1 times, last edit by CiaW at Aug 28, 2009 9:39:39 AM] |
||
|
|
Regular Joined: Sep 28, 2007 Post Count: 75 Status: Offline |
You probably don't have ICU available. I think there is a problem in the sword configure process in this case. You should edit usrinst.sh and add a # to the line that says OPTIONS="--with-icu $OPTIONS". By the way, when someone tells you to install in /usr/local, that doesn't mean you should compile it there. You should unzip it to somewhere in your home directory. When you do "make install" it will install it to /usr/local. |
||
|
|
Newbie USA Joined: Jul 14, 2009 Post Count: 7 Status: Offline |
Ok, I commented that reference and tried again (in my home dir this time); and now I'm getting an error very similar to what I did before: libtool: link: g++ -g3 -O0 -Wall -Werror -ftemplate-depth-25 -o buildtest buildtest.o ./lib/.libs/libsword.a Is that fix-able ? |
||
|
|
Regular Joined: Sep 28, 2007 Post Count: 75 Status: Offline |
At this point, sword is actually compiled successfully. It's now trying to link the buildtest. Can you type "make" again, and post all of the output? |
||
|
|
Newbie USA Joined: Jul 14, 2009 Post Count: 7 Status: Offline |
I've been doing it in a terminal window; and I suspect that some of it won't be available to cut & paste and it'd be a long output, can I do something like 'make -v [verbose] >/home/CiaW/somefile' and attach it or email to you? Or I can just attach what comes out here.. let me know, it'll be a lot of stuff. Editing: I just realized that doing it a 2nd time on the same folder probably won't be too much, as I recall it pretty quickly came back to the same errors the last time I tried that before I installed the newer gcc & gcc-c++ -- so do you just want the output from a 2nd run on the same files/ folder? re-edit (I need my afternoon coffee!) -- here's the output of the 2nd run with 'make' on the folder:
Thanks! ---------------------------------------- [Edit 2 times, last edit by CiaW at Sep 1, 2009 4:53:00 PM] |
||
|
|
|
|
|
Current timezone is GMT May 18, 2013 6:42:41 PM |