[RESOLVED} Re: [exim-dev] v4.52 -- make failure on OSX 10.4…

Pàgina inicial
Delete this message
Reply to this message
Autor: OpenMacNews
Data:  
A: Philip Hazel
CC: exim-dev
Assumpte: [RESOLVED} Re: [exim-dev] v4.52 -- make failure on OSX 10.4.1
hi philip,

after a helpful mail exchange with Miles Wilton (libsrs_alt author; thx! Miles
...), and a resultant (soon to be relased ... ) update to libsrs_alt src,
building prereqs of:

    libdomainkeys-0.66
    libspf2-1.2.5
    libsrs_alt-1.0rc1-UPDATED


Exim-4.52 (release) now builds on (my) OSX 10.4.1 as follows:

% su devuser
% cd /usr/ports/exim/exim-4.52

% unsetenv CFLAGS CPPFLAGS CXX CXXFLAGS LDFLAGS LDDLFLAGS LD_PREBIND LC_ALL
LANG LINGUAS

# as necessary ...
    % make clean
    % make clean_exim
    % rm -rf build-Darwin-powerpc


# ADD the nameser_compat.h include in ONE place ...

    =========================================
    (EDITOR) /usr/ports/exim/exim-4.52/src/exim.h
    @49
        /* ANSI C standard includes */
    +++    #include <arpa/nameser_compat.h>
        #include <ctype.h>
    =========================================


then,

    % make --warn-undefined-variables


completes successfully w/:

    ...
    cc -o exim
    /usr/bin/strip exim

    
    >>> exim binary built
    %


and a subsequent:

    % sudo make install


results in:

    % ls -al /usr/local/exim/bin/exim-4.52-1
        -rwsr-xr-x  1 root wheel 1104576 Jul  8 14:24 /usr/local/exim/bin/exim-4.52-1


and,

    % otool -L /usr/local/exim/bin/exim-4.52-1
        /usr/local/exim/bin/exim-4.52-1:
          /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 
365.0.0)
          /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 
88.0.0)
          /usr/lib/libpam.1.dylib (compatibility version 1.0.0, current version 1.0.0)
          /usr/local/berkeley-db/lib/libdb-4.3.dylib (compatibility version 0.0.0, 
current version 0.0.0)
          /usr/local/pgsql/lib/libpq.4.dylib (compatibility version 4.0.0, current 
version 4.0.0)
          /usr/local/cyrus-sasl/lib/libsasl2.2.dylib (compatibility version 3.0.0, 
current version 3.22.0)
          /usr/local/ssl/lib/libssl.0.9.7.dylib (compatibility version 0.9.0, current 
version 0.9.7)
          /usr/local/ssl/lib/libcrypto.0.9.7.dylib (compatibility version 0.9.0, 
current version 0.9.7)
          /usr/local/lib/libspf2.2.dylib (compatibility version 3.0.0, current 
version 3.0.0)
          /usr/local/lib/libsrs_alt.1.dylib (compatibility version 2.0.0, current 
version 2.0.0)
          /usr/local/pcre50/lib/libpcre.0.dylib (compatibility version 1.0.0, current 
version 1.1.0)
          /usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version 92.0.0)


and, finally:

    % /usr/local/exim/bin/exim-4.52-1 -bV

    
        Exim version 4.52 #1 built 08-Jul-2005 14:22:50
        Copyright (c) University of Cambridge 2005
        Berkeley DB: Sleepycat Software: Berkeley DB 4.3.28: (June 24, 2005)
        Support for: IPv6 PAM TCPwrappers OpenSSL Content_Scanning Experimental_SPF 
Experimental_SRS Experimental_DomainKeys
        Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz dsearch pgsql
        Authenticators: cram_md5 plaintext spa
        Routers: accept dnslookup ipliteral manualroute queryprogram redirect
        Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
        Fixed never_users: 0
        Configuration file is /var/Settings/Exim/exim.conf


thx! for your guidance =)

onward!

cheers,

richard