! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
exo fails to compile
Status:
CLOSED: FIXED

Comments

Description Bandan 2006-04-27 07:12:31 CEST
I am using Fedora Core 4. Running the configure script of exo-0.3.1.6beta1 provided in xfce-4.3.90.1 warns of the following:
***************************************************
configure: WARNING: md5.h: present but cannot be compiled
configure: WARNING: md5.h:     check for missing prerequisite headers?
configure: WARNING: md5.h: see the Autoconf documentation
configure: WARNING: md5.h:     section "Present But Cannot Be Compiled"
configure: WARNING: md5.h: proceeding with the preprocessor's result
configure: WARNING: md5.h: in the future, the compiler will take precedence
configure: WARNING:     ## ----------------------------- ##
configure: WARNING:     ## Report this to benny@xfce.org ##
configure: WARNING:     ## ----------------------------- ##
****************************************************
Then running "make" gives the following error:
****************************************************
In file included from exo-md5.c:277:
/usr/include/md5.h:27: error: syntax error before 'UINT4'
/usr/include/md5.h:30: error: syntax error before '}' token
/usr/include/md5.h:38: error: syntax error before 'PROTO_LIST'
/usr/include/md5.h:39: error: syntax error before 'PROTO_LIST'
/usr/include/md5.h:41: error: syntax error before 'PROTO_LIST'
/usr/include/md5.h:43: error: syntax error before 'PROTO_LIST'
exo-md5.c: In function 'get_md5':
exo-md5.c:287: error: syntax error before 'ctx'
exo-md5.c:289: error: 'ctx' undeclared (first use in this function)
exo-md5.c:289: error: (Each undeclared identifier is reported only once
exo-md5.c:289: error: for each function it appears in.)
make[3]: *** [libexo_0_3_la-exo-md5.lo] Error 1
*************************************************************

Removing md5.h from the list of headers to check for in AC_CHECK_HEADERS in configure.in and generating a new configure script solves the problem.
Comment 1 Bandan 2006-04-27 07:31:12 CEST
Created attachment 528 
Patch for configure.in
Comment 2 Benedikt Meurer editbugs 2006-04-30 21:21:00 CEST
Created attachment 532 
Suggested fix

Please try this patch.
Comment 3 Bandan 2006-05-01 10:15:01 CEST
Perfect!. It compiles correctly now. Should have known that it's Fedora specific.
Comment 4 Benedikt Meurer editbugs 2006-05-01 13:16:12 CEST
Fixed with revision 21417.

2006-05-01	Benedikt Meurer <benny@xfce.org>

	* configure.in.in, exo/exo-md5.c: RedHat/Fedora requires md5global.h
	  before md5.h can be used. Bug #1732.

Bug #1732

Reported by:
Bandan
Reported on: 2006-04-27
Last modified on: 2009-10-09

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
0.3.1.6beta1

Attachments

Patch for configure.in (536 bytes, patch)
2006-04-27 07:31 CEST , Bandan
no flags
Suggested fix (1.02 KB, patch)
2006-04-30 21:21 CEST , Benedikt Meurer
no flags

Additional information