[sword-devel] CVS COMPILES!

nicc-lists email addy sword-devel@crosswire.org
Fri, 28 Feb 2003 17:24:04 +0800


ok, just had a chance to look at this.  tried doing a stock standard 
build from CVS, the way I have always done it, and installed.
then tried to use diatheke in the same way Darin did (diatheke -b asv 
-k jn15:1), and came up with this:

dyld: diatheke Undefined symbols:
__ZSt4cerr
__ZSt4cout
__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
__ZTVN10__cxxabiv117__class_type_infoE
__ZTVN10__cxxabiv120__si_class_type_infoE
__ZTVN10__cxxabiv121__vmi_class_type_infoE
___cxa_pure_virtual
___gxx_personality_v0
Trace/BPT trap

So...  then grabbed usrinst.sh and (after changing the paths stuff to 
work nicer -- fink lives in /sw, darwin is in /usr, my play pen is 
/usr/local) used it, then make, then ran "diatheke -b asv -k jn15:1" 
and it produced nothing.

so...  saw that the book is actually ASV, changed that, and it worked 
with no problems...  Altho viewing using the perl stuff via apache 
seemed to produce some stray strange characters (saw the Euro sign in 
there somewhere!)...  strange, but at least it basically works...

FYI: nicc@localhost:~$ uname -a
Darwin localhost 6.4 Darwin Kernel Version 6.4: Wed Jan 29 18:50:42 PST 
2003; root:xnu/xnu-344.26.obj~1/RELEASE_PPC  Power Macintosh powerpc
(AKA OS X 10.2.4, G4 400, etc...)


ybic
	nic...  :)

On Friday, Feb 28, 2003, at 11:10 Asia/Hong_Kong, Troy A. Griffitts 
wrote:

> look in usrinst.sh
>
>
> Darin Duphorne wrote:
>> How do I disable shared?  I am just doing ./configure; make; sudo 
>> make install.  I did notice that the target_system in the Makefile is 
>> powerpc instead of macosx.  Would that pose a problem?
>> On Thursday, February 27, 2003, at 06:10  PM, Troy A. Griffitts wrote:
>>> Darin,
>>>     It sounds like you are building with --enable-shared, and you 
>>> have an old libsword.so on your path somewhere.
>>>
>>>     -Troy.
>>>
>>> PS.  The guys at the sword meeting in germany have been doing some 
>>> bug killing in my code today, so I would do a cvs update
>>>
>>>
>>>
>>> Darin Duphorne wrote:
>>>
>>>> Well, CVS compiles, but doesn't seem to work.  Here is my diatheke 
>>>> output and mgrtest results
>>>> ibook:~/sword] darin% diatheke -b asv -k jn15:1
>>>> dyld: diatheke Undefined symbols:
>>>> __ZNSs20_S_empty_rep_storageE
>>>> __ZNSs4_Rep11_S_max_sizeE
>>>> __ZNSs4_Rep11_S_terminalE
>>>> __ZNSt24__default_alloc_templateILb1ELi0EE12_S_free_listE
>>>> __ZSt4cerr
>>>> __ZSt4cout
>>>> __ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
>>>> __ZTVN10__cxxabiv117__class_type_infoE
>>>> __ZTVN10__cxxabiv120__si_class_type_infoE
>>>> __ZTVN10__cxxabiv121__vmi_class_type_infoE
>>>> ___cxa_pure_virtual
>>>> ___gxx_personality_v0
>>>> Trace/BPT trap
>>>> dyld: mgrtest Undefined symbols:
>>>> __ZNSs20_S_empty_rep_storageE
>>>> __ZNSs4_Rep11_S_max_sizeE
>>>> __ZNSs4_Rep11_S_terminalE
>>>> __ZNSt24__default_alloc_templateILb1ELi0EE12_S_free_listE
>>>> __ZSt4cerr
>>>> __ZSt4cout
>>>> __ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
>>>> __ZTVN10__cxxabiv117__class_type_infoE
>>>> __ZTVN10__cxxabiv120__si_class_type_infoE
>>>> __ZTVN10__cxxabiv121__vmi_class_type_infoE
>>>> ___cxa_pure_virtual
>>>> ___gxx_personality_v0
>>>> Trace/BPT trap
>>>> On Thursday, February 27, 2003, at 02:11  AM, Troy A. Griffitts 
>>>> wrote:
>>>>
>>>>> OK guys!
>>>>>     Thanks for all the great help.  CVS now compiles for me again 
>>>>> on both windows and linux.  Please let me know if you have any 
>>>>> troubles getting it compiled on any other os.
>>>>>
>>>>>     NOW.  We'll need to do some serious testing.  I ran 
>>>>> tests/mgrtest and got Bible text out, so I'm pretty happy about 
>>>>> that. :)
>>>>>
>>>>>     We also need to do an optimization pass again, since it's been 
>>>>> a while.  I'll try to get to that soon, but it would be nice to 
>>>>> see some time numbers on the examples/cmdline/search tool before 
>>>>> and after these SWBuf modifications.  I'm hoping they're nearly 
>>>>> the same.  We can optimize the memory allocation in SWBuf to 
>>>>> improve it if we need to.
>>>>>
>>>>>     Praise God and Happy testing,
>>>>>         -Troy.

<<---------------
"I can't believe that!" said Alice.
"Can't you?" the Queen said in pitying tone.  "Try again: draw a long
breath, and shut your eyes."
Alice laughed.  "There's no use trying," she said.  "One can't believe
impossible things."
"I daresay you haven't had much practice," said the Queen.
-----"Through the Looking-Glass" by Lewis Carroll------------->>