Re: [exim] Error building 4.77

Top Pagina
Delete this message
Reply to this message
Auteur: Dave Restall - System Administrator,,,
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] Error building 4.77
Hi Marc,

> Looks like I'm missing something but not sure what.
>
> >>> version 4.77 #8
>
> gcc exim_dbmbuild.c
> In file included from exim_dbmbuild.c:31:
> exim.h:433:18: error: pcre.h: No such file or directory


Looks like the perl compatible regular expression library. What are
you compiling it under ? If it's a Debian based distro you will need to
'apt-get install libpcre3-dev', with deadrat systems it will be sommething
like 'yum install pcre3-devel' - use 'yum search pcre' to find the
-devel libraries. Yo may also have the dbm development libs missing too.

I suspect that you already know this :-)

Regards,




D
lists/exim/users                                       exim-users
+----------------------------------------------------------------------------+

| Dave Restall, Computer Nerd, Cyclist, Radio Amateur G4FCU, Bodger          |
| Mob +44 (0) 7973 831245      Skype: dave.restall             Radio: G4FCU  |
| email : dave@???                     Web : Not Ready Yet :-(       |

+----------------------------------------------------------------------------+
| Q:    How much does it cost to ride the Unibus?  A:       2 bits.          |

+----------------------------------------------------------------------------+



> In file included from exim.h:441,
>                   from exim_dbmbuild.c:31:
> dbstuff.h:101:16: error: db.h: No such file or directory



> In file included from exim.h:441,
>                   from exim_dbmbuild.c:31:
> dbstuff.h:538: error: expected specifier-qualifier-list before 'DB'
> In file included from exim.h:443,
>                   from exim_dbmbuild.c:31:
> globals.h:90: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before '*' token
> In file included from exim.h:443,
>                   from exim_dbmbuild.c:31:
> globals.h:603: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before '*' token
> globals.h:604: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before '*' token
> globals.h:605: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before '*' token
> globals.h:606: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before '*' token
> globals.h:607: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before '*' token
> globals.h:608: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before '*' token
> globals.h:609: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before '*' token
> globals.h:610: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before '*' token
> In file included from exim.h:444,
>                   from exim_dbmbuild.c:31:
> functions.h:237: error: expected ';', ',' or ')' before '*' token
> functions.h:238: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before '*' token
> exim_dbmbuild.c: In function 'main':
> exim_dbmbuild.c:148: error: 'DB' undeclared (first use in this function)
> exim_dbmbuild.c:148: error: (Each undeclared identifier is reported only 
> once
> exim_dbmbuild.c:148: error: for each function it appears in.)
> exim_dbmbuild.c:148: error: 'd' undeclared (first use in this function)
> exim_dbmbuild.c:149: error: 'DBT' undeclared (first use in this function)
> exim_dbmbuild.c:149: error: expected ';' before 'key'
> exim_dbmbuild.c:211: error: 'DB_HASH' undeclared (first use in this 
> function)
> exim_dbmbuild.c:293: error: 'content' undeclared (first use in this 
> function)
> exim_dbmbuild.c:296: error: 'key' undeclared (first use in this function)
> exim_dbmbuild.c:296: error: 'R_NOOVERWRITE' undeclared (first use in 
> this function)
> make[1]: *** [exim_dbmbuild.o] Error 1
> make[1]: Leaving directory `/ctyme/linuxapps/exim/exim/build-Linux-x86_64'
> make: *** [all] Error 2

>
> --
> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
>