Bug 1793 - configure: WARNING: glob.h: present but cannot be compiled
Summary: configure: WARNING: glob.h: present but cannot be compiled
Status: CLOSED FIXED
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 2.6.3
Hardware: All Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-17 15:55 UTC by david farning
Modified: 2005-04-01 11:21 UTC (History)
0 users

See Also:


Attachments
glob man page for fedora rawhide (5.52 KB, text/plain)
2004-09-17 17:00 UTC, david farning
no flags Details
glob.h for fedora rawhide (7.60 KB, text/plain)
2004-09-17 17:02 UTC, david farning
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description david farning 2004-09-17 15:55:06 UTC
When running ./configure against rsync 2.6.3pre1 on a fedora rawhide box the
following error results.

configure: WARNING: glob.h: present but cannot be compiled
configure: WARNING: glob.h:     check for missing prerequisite headers?
configure: WARNING: glob.h: see the Autoconf documentation
configure: WARNING: glob.h:     section "Present But Cannot Be Compiled"
configure: WARNING: glob.h: proceeding with the preprocessor's result
configure: WARNING: glob.h: in the future, the compiler will take precedence


As a result the following fails

[dfarning@server rsync-2.6.3pre1]$ make
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W  -c rsync.c -o rsync.o
In file included from rsync.h:226,
                 from rsync.c:23:
/usr/include/glob.h:193: error: syntax error before "asm"
/usr/include/glob.h:197: error: syntax error before "asm"
make: *** [rsync.o] Error 1
[dfarning@server rsync-2.6.3pre1]$
Comment 1 Wayne Davison 2004-09-17 16:31:20 UTC
What does "man 3 glob" say on your rawhide box?  I don't see any prerequisite
headers for glob.h in the docs on my system, so I assume that this is a bug in
rawhide's glob.h header file.  If not, someone will need to look at the header
file and tell me why it is having a problem.
Comment 2 david farning 2004-09-17 17:00:49 UTC
Created attachment 668 [details]
glob man page for fedora rawhide
Comment 3 david farning 2004-09-17 17:02:44 UTC
Created attachment 669 [details]
glob.h for fedora rawhide
Comment 4 david farning 2004-09-17 17:07:25 UTC
Attached are the files you suggested that I take a look at.
Hope this helps.

I've got a working rsync that I got from a .rpm.  So, I think it can work.  hmmm
mybe the .rpm was build before something got bugered.

Thanks
-dtf  
Comment 5 Jay Fenlason - please log in and update your mail address here and let us enable Bugmails to you again, Jay 2004-09-17 20:21:58 UTC
Rawhide glibc had a bug that prevented a lot of packages from compiling.  
Download the newer glibc (I'm using glibc-2.3.3-53) and things'll compile 
again. 
Comment 6 david farning 2004-09-17 23:03:55 UTC
Thanks I just update to the latest glib and it worked fine