[OPEN-ILS-DEV] Errors compiling Evergreen,

Mike Rylander mrylander at gmail.com
Thu Apr 19 16:17:11 EDT 2007


On 4/19/07, Hennie Rautenbach <hennie at sabinet.co.za> wrote:
> Hi there,
>
> After installing all dependencies on Debian I downloaded the source for
> Evergreen (/Evergreen-ILS-1.0.4.1).
>
> I did a "make config" and then a "make". Below is the output. Quite a
> few errors.
>
> Please point me in the right direction. What do I need to do to get
> beyond these errors ?

You'll need to install the Perl module for DateTime::Format::ISO8601.
For some reason most distros don't build a package for that, so
getting it from CPAN will be your best bet.

As for the signedness warnings, those are an artifact of GCC 3 vs 4,
and just something we need to clean up.  Unless you are some /really/
funky architecture or you have more than 64GB of RAM, those are
entirely harmless.

-miker

>
> leo:/usr/local/src/Evergreen-ILS-1.0.4.1# CFLAGS=-D_LARGEFILE64_SOURCE
> make  2>&1 | tee error.log
> Building...
>
> -------------- [ opensrf_all ] -------------------------------------------
>
> objson/libobjson.so
> json_parser.c: In function ājson_parse_json_stringā:
> json_parser.c:506: warning: pointer targets in passing argument 2 of
> ābuffer_addā differ in signedness
> json_parser.c:511: warning: pointer targets in passing argument 2 of
> ābuffer_addā differ in signedness
> json_parser.c:517: warning: pointer targets in passing argument 2 of
> ābuffer_addā differ in signedness
> utils
> transport
> transport_message.c: In function ānew_message_from_xmlā:
> transport_message.c:98: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_message.c:98: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_message.c:98: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_message.c:98: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_message.c:98: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_message.c:98: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_message.c: In function āmessage_to_xmlā:
> transport_message.c:216: warning: unused variable āencoded_bodyā
> transport_message.c:214: warning: unused variable ābufsizeā
> transport_session.c: In function āstartElementHandlerā:
> transport_session.c:331: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:331: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:331: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:331: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:331: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:331: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:349: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:349: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:349: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:349: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:349: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:349: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:354: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:354: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:354: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:354: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:354: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:354: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:359: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:359: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:359: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:359: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:359: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:359: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:366: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:366: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:366: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:366: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:366: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:366: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:373: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:373: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:373: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:373: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:373: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:373: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:379: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:379: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:379: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:379: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:379: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:379: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:388: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:388: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:388: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:388: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:388: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:388: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:395: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:395: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:395: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:395: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:395: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:395: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:402: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:402: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:402: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:402: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:402: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:402: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:411: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:411: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:411: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:411: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:411: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:411: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c: In function āget_xml_attrā:
> transport_session.c:432: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:432: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:432: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:432: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:432: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:432: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c: In function āendElementHandlerā:
> transport_session.c:450: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:450: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:450: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:450: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:450: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:450: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:488: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:488: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:488: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:488: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:488: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:488: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:493: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:493: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:493: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:493: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:493: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:493: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:498: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:498: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:498: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:498: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:498: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:498: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:503: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:503: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:503: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:503: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:503: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:503: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:513: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:513: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:513: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:513: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:513: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:513: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:524: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:524: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:524: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:524: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:524: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:524: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:529: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:529: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:529: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:529: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:529: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:529: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:534: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:534: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:534: warning: pointer targets in passing argument 1
> of āstrlenā differ in signedness
> transport_session.c:534: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:534: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> transport_session.c:534: warning: pointer targets in passing argument 1
> of ā__builtin_strcmpā differ in signedness
> stack
> xml_utils.c: In function āxmlSaxAttrā:
> xml_utils.c:94: warning: pointer targets in passing argument 1 of
> āstrlenā differ in signedness
> xml_utils.c:94: warning: pointer targets in passing argument 1 of
> ā__builtin_strcmpā differ in signedness
> xml_utils.c:94: warning: pointer targets in passing argument 1 of
> āstrlenā differ in signedness
> xml_utils.c:94: warning: pointer targets in passing argument 1 of
> ā__builtin_strcmpā differ in signedness
> xml_utils.c:94: warning: pointer targets in passing argument 1 of
> ā__builtin_strcmpā differ in signedness
> xml_utils.c:94: warning: pointer targets in passing argument 1 of
> ā__builtin_strcmpā differ in signedness
> libopensrf.so
> apps
> libstack/opensrf
> router
> srfsh
> jserver
> osrf_chat.c: In function āosrfChatHandleConnectedā:
> osrf_chat.c:610: warning: pointer targets in passing argument 2 of
> āxmlNewNodeā differ in signedness
> osrf_chat.c:625: warning: pointer targets in passing argument 2 of
> āxmlNewNodeā differ in signedness
> gateway
>
> -------------- [ openils_all ] -------------------------------------------
>
> Can't locate DateTime/Format/ISO8601.pm in @INC (@INC contains:
> ../perlmods/OpenILS/Utils/ ../../../OpenSRF/src/perlmods /etc/perl
> /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
> /usr/local/lib/site_perl .) at
> ../../../OpenSRF/src/perlmods/OpenSRF/Utils.pm line 33.
> BEGIN failed--compilation aborted at
> ../../../OpenSRF/src/perlmods/OpenSRF/Utils.pm line 33.
> Compilation failed in require at
> ../../../OpenSRF/src/perlmods/OpenSRF/Utils/Config.pm line 8.
> BEGIN failed--compilation aborted at
> ../../../OpenSRF/src/perlmods/OpenSRF/Utils/Config.pm line 8.
> Compilation failed in require at
> ../../../OpenSRF/src/perlmods/OpenSRF/Utils/Logger.pm line 9.
> BEGIN failed--compilation aborted at
> ../../../OpenSRF/src/perlmods/OpenSRF/Utils/Logger.pm line 9.
> Compilation failed in require at
> ../../../OpenSRF/src/perlmods/OpenSRF/DOM.pm line 2.
> BEGIN failed--compilation aborted at
> ../../../OpenSRF/src/perlmods/OpenSRF/DOM.pm line 2.
> Compilation failed in require at
> ../../../OpenSRF/src/perlmods/OpenSRF/AppSession.pm line 2.
> BEGIN failed--compilation aborted at
> ../../../OpenSRF/src/perlmods/OpenSRF/AppSession.pm line 2.
> Compilation failed in require at
> ../../../OpenSRF/src/perlmods/OpenSRF/Application.pm line 5.
> BEGIN failed--compilation aborted at
> ../../../OpenSRF/src/perlmods/OpenSRF/Application.pm line 5.
> Compilation failed in require at (eval 1) line 3.
>         ...propagated at /usr/share/perl/5.8/base.pm line 84.
> BEGIN failed--compilation aborted at
> ../perlmods/OpenILS/Utils//Fieldmapper.pm line 4.
> Compilation failed in require at ./fieldmapper_lookup-gen.pl line 5.
> BEGIN failed--compilation aborted at ./fieldmapper_lookup-gen.pl line 5.
> make[2]: *** [fieldmapper_lookup.c] Error 2
> make[1]: *** [libfieldmapper] Error 2
>
> -------------- [ evergreen_core ]
> -------------------------------------------
>
> leo:/usr/local/src/Evergreen-ILS-1.0.4.1# /Evergreen-ILS-1.0.4.1
>
> Any help will be much appreciated.
>
> Regards,
>
> Hennie
>
>


-- 
Mike Rylander


More information about the Open-ils-dev mailing list