[bt-devel] [ bibletime-Bugs-1954606 ] ./configure

SourceForge.net noreply at sourceforge.net
Sat May 10 00:49:13 MST 2008


Bugs item #1954606, was opened at 2008-04-30 01:25
Message generated for change (Comment added) made by eelik
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100954&aid=1954606&group_id=954

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Backend / SWORD
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: William Streeter (quimaxw)
Assigned to: Nobody/Anonymous (nobody)
Summary: ./configure

Initial Comment:
./configure --prefix=/opt/kde

This complains that it cannot check the Sword version.

conftest.cpp:8: error: second argument of 'int main(int, char*)' should be 'char **'
conftest.cpp:8: warning: unused parameter 'argc'
conftest.cpp:8: warning: unused parameter 'argv'
configure:32796: $? = 1
configure: failed program was:
configure:32803: error: Failed to compile the test program to check the Sword version! Please have a look at config.log! Report this to the Bib
leTime developers!

Could this be due to Gcc 4.3?

Installed on my system are:
Sword 1.5.10
gcc 4.3.0
clucene 0.9.20
kde 3.5.9

----------------------------------------------------------------------

Comment By: Eeli Kaikkonen (eelik)
Date: 2008-05-10 07:49

Message:
Logged In: YES 
user_id=1031029
Originator: NO

Actually that workaround by Deji seems to be not a workaround but a real
fix. Probably gcc 4.3 is stricter with that code and the original is just
wrong.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2008-05-10 01:05

Message:
Logged In: NO 

As a workaround goto line 32785 in configure, and change,

"int main(int argc, char* argv) {"

to,

"int main(int argc, char* argv[]) {"



Deji

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100954&aid=1954606&group_id=954



More information about the bt-devel mailing list