Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

Error building 4.77

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


marc at perkel

Nov 13, 2011, 9:16 AM

Post #1 of 2 (360 views)
Permalink
Error building 4.77

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
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/


dave at restall

Nov 13, 2011, 10:42 AM

Post #2 of 2 (354 views)
Permalink
Re: Error building 4.77 [In reply to]

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 [at] restall 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/
>

--
## 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/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.