mvnForum Homepage Welcome Guest  | Guest Setting  |  Register  |   Login
  Search  
Index  | Recent Threads  | Unanswered Threads  | Who's Online  | User List  | Help


»

No member browsing this thread
Thread Status: Active
Total posts in this thread: 9
Post new Thread
Author
Previous Thread This topic has been viewed 3529 times and has 8 replies Next Thread
Male cascat
Stranger




Joined: Feb 28, 2004
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
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
[Feb 28, 2004 8:22:31 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male cascat
Stranger




Joined: Feb 28, 2004
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
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
[Mar 3, 2004 5:11:37 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male chassum
Newbie
Member's Avatar


Joined: Feb 27, 2004
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Mar 5, 2004 7:14:42 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male cascat
Stranger




Joined: Feb 28, 2004
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
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
[Mar 5, 2004 11:12:44 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male Chinny
Newbie




Joined: Mar 18, 2004
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
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
[Mar 18, 2004 10:51:49 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male Rudy
Stranger




Joined: May 10, 2004
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
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.
[May 10, 2004 11:10:22 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male bkdalrymple
Stranger




Joined: May 31, 2004
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
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
[May 31, 2004 3:55:47 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    bkdmt [Link] Report threatening or abusive post: please login first  Go to top 
Male jefrat
Stranger



USA
Joined: Jun 21, 2004
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Jun 21, 2004 9:45:33 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male cascat
Stranger




Joined: Feb 28, 2004
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
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
[Jun 22, 2004 8:43:39 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Show Printable Version of Thread  Post new Thread