bug-unrtf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-unrtf] unrtf-0.21.0 build issues


From: Nelson H. F. Beebe
Subject: [bug-unrtf] unrtf-0.21.0 build issues
Date: Tue, 27 Jan 2009 15:45:53 -0700 (MST)

I attempted builds of unrtf-0.21.0 in 49 environments on about 25
flavors of Unix in my test lab, and ALL got universal failure.

With some experimentation, I found two root causes:

(1) The top-level Makefile does not have LIBS set: it needs to
    include -liconv.

    When I restarted the make with "make LIBS=-liconv", I got
    a successful link on one platform (presumably the others
    would work too after a similar step).

(2) Once unrtf is built, "make check" fails like this:

        Making check in tests
        ../src/unrtf ./Greek1.rtf > Greek1.rtf.html
        /usr/local/lib/unrtf/outputs/html: No such file or directory
        no config directories
        FAILURE!
        ...
        many more such

    I then did a "make install", and reran the "make check".  It then
    succeeded.

It is IMPERATIVE that a validation suite be runnable without
installing the software; otherwise, there is serious risk of (a)
installing something that doesn't work and (b) wiping out a
previously-working installation (in this case, of unrtf-0.20.5).

If you provide me a URL to grab an updated version of unrtf with
patches to fix these two problems, I'll be happy to give it a pretest
in my lab before it is announced further.  That way, installers should
have a better success rate.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: address@hidden  -
- 155 S 1400 E RM 233                       address@hidden  address@hidden -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]