[sword-devel] Problem compiling CVS of Sword

Steven P. Ulrick sword-devel@crosswire.org
Tue, 8 Jul 2003 09:19:59 -0500


Hello, Everyone :)
When I attempt to compile the CVS version of Sword using the script that
I have always used successfully in the past, it exits after
"./autogen.sh"  Here is the entire output of "./autogen.sh":

*** Recreating aclocal.m4
aclocal
*** Recreating configure
*** Recreating the Makefile.in files
lib/Makefile.am:18: libsword_la_SOURCES was already defined in condition
TRUE, which implies condition INSTALLMGR_TRUE

  libsword_la_SOURCES (User, where = lib/Makefile.am:18) +=
  {
    TRUE => $(keysdir)/swkey.cpp $(keysdir)/listkey.cpp
$(keysdir)/versekey.cpp $(keysdir)/strkey.cpp $(keysdir)/treekey.cpp
$(keysdir)/treekeyidx.cpp $(utilfunsdir)/Greek2Greek.cpp
$(utilfunsdir)/utilstr.cpp $(utilfunsdir)/utilweb.cpp
$(utilfunsdir)/utilxml.cpp $(utilfunsdir)/unixstr.cpp
$(utilfunsdir)/swunicod.cpp $(utilfunsdir)/swversion.cpp
$(utilfunsdir)/swbuf.cpp $(utilfunsdir)/ftpparse.c $(UNTGZ) $(SWREGEX)
$(utilfunsdir)/roman.cpp $(mgrdir)/swconfig.cpp $(mgrdir)/swmgr.cpp
$(mgrdir)/swfiltermgr.cpp $(mgrdir)/encfiltmgr.cpp
$(mgrdir)/markupfiltmgr.cpp $(mgrdir)/filemgr.cpp $(mgrdir)/swlocale.cpp
$(mgrdir)/localemgr.cpp $(mgrdir)/swcacher.cpp
  }
lib/Makefile.am:18: warning: automake does not support conditional
definition of libsword_la_SOURCES in libsword_la_SOURCES
Use of uninitialized value in concatenation (.) or string at
/usr/bin/automake line 8449.
: am_libsword_la_OBJECTS was already defined in condition TRUE, which
implies condition INSTALLMGR_TRUE
  am_libsword_la_OBJECTS (Automake, where = undefined) =
  {
    TRUE => swkey.lo listkey.lo versekey.lo strkey.lo treekey.lo
treekeyidx.lo Greek2Greek.lo utilstr.lo utilweb.lo utilxml.lo unixstr.lo
swunicod.lo swversion.lo swbuf.lo ftpparse.lo $(am__objects_1)
$(am__objects_2) roman.lo swconfig.lo swmgr.lo swfiltermgr.lo
encfiltmgr.lo markupfiltmgr.lo filemgr.lo swlocale.lo localemgr.lo
swcacher.lo swdisp.lo swlog.lo swmodule.lo rawstr.lo rawstr4.lo
swcomprs.lo lzsscomprs.lo $(am__objects_3) rawverse.lo swcipher.lo
zverse.lo zstr.lo entriesblk.lo sapphire.lo swbasicfilter.lo
swoptfilter.lo gbfhtml.lo gbfhtmlhref.lo gbfwebif.lo gbfplain.lo
gbfrtf.lo plainhtml.lo cipherfil.lo rtfhtml.lo gbfstrongs.lo
gbffootnotes.lo gbfheadings.lo gbfredletterwords.lo gbfmorph.lo
plainfootnotes.lo thmlstrongs.lo thmlfootnotes.lo thmlheadings.lo
thmlmorph.lo thmllemma.lo thmlscripref.lo thmlvariants.lo gbfthml.lo
thmlgbf.lo thmlrtf.lo thmlhtml.lo thmlhtmlhref.lo thmlwebif.lo
thmlosis.lo gbfosis.lo thmlplain.lo osisheadings.lo osisfootnotes.lo
osishtmlhref.lo osismorph.lo osisstrongs.lo osisplain.lo osisrtf.lo
osislemma.lo osisredletterwords.lo osisscripref.lo unicodertf.lo
latin1utf8.lo latin1utf16.lo utf8utf16.lo utf16utf8.lo scsuutf8.lo
utf8html.lo utf8latin1.lo utf8cantillation.lo utf8hebrewpoints.lo
utf8greekaccents.lo thmlolb.lo greeklexattribs.lo $(am__objects_5)
swgenbook.lo rawgenbook.lo swtext.lo rawtext.lo ztext.lo swcom.lo
rawcom.lo rawfiles.lo zcom.lo hrefcom.lo swld.lo rawld.lo rawld4.lo
zld.lo flatapi.lo
  }

The "script" I use to update Sword from the CVS is as follows (line
break added for readability):
cd /home/steve/CVS/sword && cvs -f update -R -d -P '.' 2>&1 &&
./autogen.sh && ./usrinst.sh && make && su

If I run "./usrinst.sh" and "make" separately after "./autogen.sh" exits
in the strange manner quoted above, then everything works fine.  But I
usually just run the above quoted script and it updates and compiles
with no problems.  And also, I have never ever seen the above quoted
message before.

Any help you can give me on this is greatly appreciated :)
Steven P. Ulrick