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,
/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
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.
Created attachment 668 [details]
glob man page for fedora rawhide
Created attachment 669 [details]
glob.h for fedora rawhide
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.
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
Thanks I just update to the latest glib and it worked fine