- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: CYRUS IMAP make problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 08:30 PM
05-31-2007 08:30 PM
CYRUS IMAP make problem
make all CFLAGS=-O
### Making all in /opt/iexpress/cyrusimap/src/cyrus-imapd-2.2.12/man
### Making all in /opt/iexpress/cyrusimap/src/cyrus-imapd-2.2.12/et
### Making all in /opt/iexpress/cyrusimap/src/cyrus-imapd-2.2.12/lib
gcc -c -I.. -I/usr/local/BerkeleyDB.4.5/include -I../et -DHAVE_CONFIG_H -fPIC -g -O2 \
libconfig.c
In file included from libconfig.h:47,
from libconfig.c:58:
imapopts.h:181: error: array type has incomplete element type
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
I think this might be a problem with GCC e.g. they way cyrus is defining the array. Does anyone know how to fix this.
P.s. Cyrus version is 2.2.12
Thanks,
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 11:24 PM
05-31-2007 11:24 PM
Re: CYRUS IMAP make problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2007 12:05 AM
06-01-2007 12:05 AM
Re: CYRUS IMAP make problem
Thanks I did find this bugzilla - but frankly I have to say "It's all greek to me" I don't understand what I need to do. Hope you can help me.
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2007 12:28 AM
06-01-2007 12:28 AM
Re: CYRUS IMAP make problem
Just going on that report, with no actual experience of doing it, what it is saying is that you need to edit the imapopts.h file, and
delete line 181
insert at line 238:
extern struct imapopt_s imapopts[];
(Just before the line:
#endif /* INCLUDED_IMAPOPTIONS_H */
)
Hope this helps.
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2007 12:39 AM
06-01-2007 12:39 AM
Re: CYRUS IMAP make problem
From bugzilla:
Basicly new gcc don't like usage before declaration, this patch just moves order of one line in config2header.
So it is quiet simple take the line
"extern struct imapopt_s imapopts[];"
and insert it some lines later.
Either in imapopts.h ( afer running "configure" ). Move the line from linenumber 181 to line 238.
or
in config2header ( before running "configure" ). Move from line 214 to line 260
or apply patchfile attached in bugzilla https://bugzilla.andrew.cmu.edu/attachment.cgi?id=356 and rerun "configure".
rgds
HGH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2007 03:19 PM
06-01-2007 03:19 PM
Re: CYRUS IMAP make problem
A precompiled/ready-to-go version of Cyrus IMAP
is available as part of Internet Express:
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111