[sword-devel] autotools help (needs zlib-devel RPM package)

Greg Hellings greg.hellings at gmail.com
Tue Sep 1 18:35:25 MST 2009


On Tue, Sep 1, 2009 at 8:30 PM, Matthew Talbert<ransom1982 at gmail.com> wrote:
>> The forums seem to have gone down while I was trying to compose my response!
>>  Here it is, in case you can pass it on to the person with the iszsue before
>> the forums are resurrected.
>
> Your message got posted.
>
>
>> As I think was mentioned earlier in this thread, you almost certainly need
>> the zlib-devel RPM package installed in order to build SWORD from sources.
>>  So please try:
>>
>> [code]
>> sudo yum install zlib-devel  # Install zlib-devel package
>> ./usrinst.sh  # Configure SWORD build environment
>> make  # Build SWORD
>> [/code]
>
> I'm guessing he doesn't have sudo. And shouldn't configure be checking
> for zlib? I'm almost sure it checks somewhere, but I think it doesn't
> abort the configure if it fails.

It also doesn't abort if it fails to find CLucene, though it will try
to compile with it in, cURL - ditto, ICU - ditto, and even, as I found
out today, g++ (at least these were the case with 1.6.0 - I don't know
about the state of SVN HEAD with these).

--Greg

>
>
>> Note that building SWORD using ./configure with no options supplied is
>> probably not what you really want to do; please let the included usrinst.sh
>> script do the work of choosing good defaults for you. Incidentally, did you
>> read the INSTALL file, which has info on how to build SWORD in it?
>
> He's been using usrinst.sh
>
> I don't think this explains why sword allows to configure successfully
> in the case of missing zlib.
>
> Matthew
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>



More information about the sword-devel mailing list