mvnForum Homepage

Print at Dec 27, 2014 3:56:31 AM View all posts in this thread on one page
Posted by cascat at Feb 28, 2004 8:22:31 PM
Problems compiling sword 1.5.7
I cannot compile sword 1.5.7. During "make" the compile ends with an error at line 153 of installmgr.cpp-'True' undeclared. There is also a second error message from that same line. The compile will complete without 'curl' enabled. Of course, now I cannot remotely install modules. I am using gcc 3.3 and curl 7.11 on a linux system. Any ideas or fixes would be welcome and appreciated. I use sword and bibletime extensively for my scripture classes.

cascat

Posted by cascat at Mar 3, 2004 5:11:37 PM
Re: Problems compiling sword 1.5.7
Since there has been no reply from a developer, maybe I need to offer more explicit information. While compiling sword-1.5.7, compile aborts with the following messages:

../src/mgr/installmgr.cpp:153: error: 'TRUE' undeclared (first use this function)
../src/mgr/installmgr.cpp:153: error: (Each undeclared identifier is reported only once for each function it appears in.)

I am using gcc 3.3, curl 7.11.0. Sword will compile without remote enabled on my system. However I would like to use the download and install capabilities of sword. Any ideas or suggestions?

cascat

Posted by chassum at Mar 5, 2004 7:14:42 AM
Re: Problems compiling sword 1.5.7
Do you have the developer's package fo rcurl installed? I couldn't build Sword properly until I did.

Posted by cascat at Mar 5, 2004 11:12:44 AM
Re: Problems compiling sword 1.5.7
Thanks Chassum,

Excellent suggestion and one I should have thought of. There is no development version for curl 7.11 available as source. The developers of curl are close to another release. I guess I will wait until then and then try again.

Have a good day,

cascat

Posted by Chinny at Mar 18, 2004 10:51:49 PM
Re: Problems compiling sword 1.5.7
I've been watching this thread and unfortunately haven't seen any progress

I'm running gentoo 2.6.3-r1 for my kernel. With curl 7.11.0 I'm getting the same compiling errors that the other gentleman(or lady) was having. I downloaded a 7.11.0 devel rpm and converted it via rpm2targz and copied the extracted files to their respective directories - no difference.

Is it possible to take advantage (as in compililng curl and enabling it in some options panel, etc.) of curl *after* compiling/installing everything (to skirt the bug).

- And/Or -

Is there a bug fix?

Thanks for all the help in advance

Posted by Rudy at May 10, 2004 11:10:22 AM
Re: Problems compiling sword 1.5.7
Have you tried the ebuild of sword 1.5.7? It's masked so you have to have use the ACCEPT_KEYWORDS="~x86" option.

Rudy.

Posted by bkdalrymple at May 31, 2004 3:55:47 PM
Re: Problems compiling sword 1.5.7
Have the same issue with:
curl-devel-7.11.1-1
installed.

installmgr.lo failing during the "make" phase

Posted by jefrat at Jun 21, 2004 9:45:33 AM
Re: Problems compiling sword 1.5.7
Hello folks,
Here's a fix for this:

In src/mgr/installmgr.cpp change this line:

curl_easy_setopt(curl, CURLOPT_VERBOSE, TRUE);

to this line:

curl_easy_setopt(curl, CURLOPT_VERBOSE, true);

I found this answer at :
http://www.mail-archive.com/sword-devel@crosswire.org/msg07716.html

Hope this helps.

Posted by cascat at Jun 22, 2004 8:43:39 PM
Re: Problems compiling sword 1.5.7
Jefrat,

Thanks for posting your findings from the devel_archives. Their suggestion did solve the problem. However, since my initial try at compiling sword, I have upgraded to gcc 3.4 and now have the same errors as reported elsewhere in the archives. I will wait until sword will compile with gcc 3.4

Peace,

cascat