Professional Web Applications Themes

Has anyone built metamail 2.7 on Solaris 7 (Successfully) - Sun Solaris

->$ make (cd metamail ; make CONFIGDIR=../. CFLAGS="-g -I." CC="gcc" LDLIBS="") make[1]: Entering directory `/opt/build/solaris7/mm2.7/src/metamail' rm -f metamail.o gcc -c -I../. -g -I. metamail.c In file included from metamail.c:26: .../config.h:118: warning: `bcopy' redefined .../config.h:105: warning: this is the location of the previous definition .../config.h:119: warning: `initstate' redefined .../config.h:110: warning: this is the location of the previous definition .../config.h:120: warning: `random' redefined .../config.h:111: warning: this is the location of the previous definition In file included from metamail.c:46: /usr/include/signal.h:82: p error before `-' /usr/include/signal.h:82: p error before `int' make[1]: *** [metamail.o] Error 1 make[1]: Leaving directory `/opt/build/solaris7/mm2.7/src/metamail' make: *** [basics] Error 2 ...

  1. #1

    Default Has anyone built metamail 2.7 on Solaris 7 (Successfully)

    ->$ make
    (cd metamail ; make CONFIGDIR=../. CFLAGS="-g -I." CC="gcc"
    LDLIBS="")
    make[1]: Entering directory `/opt/build/solaris7/mm2.7/src/metamail'
    rm -f metamail.o
    gcc -c -I../. -g -I. metamail.c
    In file included from metamail.c:26:
    .../config.h:118: warning: `bcopy' redefined
    .../config.h:105: warning: this is the location of the previous
    definition
    .../config.h:119: warning: `initstate' redefined
    .../config.h:110: warning: this is the location of the previous
    definition
    .../config.h:120: warning: `random' redefined
    .../config.h:111: warning: this is the location of the previous
    definition
    In file included from metamail.c:46:
    /usr/include/signal.h:82: p error before `-'
    /usr/include/signal.h:82: p error before `int'
    make[1]: *** [metamail.o] Error 1
    make[1]: Leaving directory `/opt/build/solaris7/mm2.7/src/metamail'
    make: *** [basics] Error 2

    I cant get the package right now because sunfreeware is too busy. The
    source doesn't seem to want to build. Has anyone been through this
    before ?

    TIA

    Rocke Guest

  2. #2

    Default Re: Has anyone built metamail 2.7 on Solaris 7 (Successfully)

    Rocke Robertson (pwgsc.gc.ca) wrote: 

    Did you try any of their mirrors?

    In Canada:
    ftp://sunfreeware.mirrored.ca/
    ftp://sunfreeware.risq.qc.ca/

    Oscar Guest

  3. #3

    Default Re: Has anyone built metamail 2.7 on Solaris 7 (Successfully)



    Oscar del Rio wrote:
     
    >
    > Did you try any of their mirrors?
    >
    > In Canada:
    > ftp://sunfreeware.mirrored.ca/
    > ftp://sunfreeware.risq.qc.ca/[/ref]

    Yes I did. The mirrors just give you a listing and then force you to
    download from the original *busy* site. ftp.sunfreeware.com . But I did
    manage last night to get the package. Having said that, its still odd
    that the source code doesn't seem to want to compile, at least
    gracefully.


    ~rocker

    Rocke Guest

  4. #4

    Default Re: Has anyone built metamail 2.7 on Solaris 7 (Successfully)

    Rocke Robertson <pwgsc.gc.ca> writes:
     

    I'm pretty sure I was able to build metamail on Solaris 7,
    using

    make CC="gcc -traditional"

    However, that trick didn't work on solaris 8.

    The following patch allowed it to build:


    ### patch

    --- config.h 1993/11/24 15:36:07 1.1
    +++ config.h 2003/02/24 21:27:35
    -29,6 +29,13
    #define SYSV
    #endif

    + /* The SUN compiler defines __SVR4 */
    +#ifdef __SVR4
    +#ifndef __svr4__
    +#define __svr4__
    +#endif /* __svr4 */
    +#endif /* __SVR4 */
    +
    #ifdef __svr4__
    #ifndef SYSV
    /* Stupid Solaris 2.0 machines define __svr4__ but not SYSV */
    -114,8 +121,12

    /* Solaris, at least, has better versions of some functions */
    #ifdef __svr4__
    +#undef killpg
    +#undef bcopy
    #define bcopy(a, b, c) memmove(b, a, c)
    +#undef initstate
    #define initstate srand48
    +#undef random
    #define random lrand48
    #endif

    --- richmail/richtext.c 1994/02/09 16:31:18 1.1
    +++ richmail/richtext.c 2003/02/24 05:03:30
    -29,6 +29,8
    unsigned _stklen=16384; /* Increase stack size under MS-DOS */
    #endif

    +static lc2strcmp(char *, char *);
    +
    int iso2022_fputc ();

    /*

    Neil Guest

Similar Threads

  1. #38952 [NEW]: php cli built, libphp5.so not built
    By stevep at sga dot org in forum PHP Bugs
    Replies: 5
    Last Post: September 26th, 03:10 PM
  2. Can't successfully install PSE 2.0 w/ XP
    By susan svirsky in forum Adobe Photoshop Elements
    Replies: 5
    Last Post: August 18th, 12:33 AM
  3. [CVS] How to move a tag successfully?
    By Steven in forum UNIX Programming
    Replies: 5
    Last Post: July 30th, 10:30 AM
  4. Has anyone successfully installed PHP 5?
    By Jonathan Villa in forum PHP Development
    Replies: 1
    Last Post: July 24th, 11:27 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139