On Mon, 18 Sep 2006, Victor Eijkhout wrote:
As far as I can tell, fink only gives me 2.14.something, and I want to try
2.15. So I download the source. I'm on 10.4.7.
Configure largely succeeds (can't find readline and other minor stuff).
Make runs for a while with only a large number of warnings like this:
fvwm.c: In function 'LoadDefaultLeftButton':
fvwm.c:838: warning: pointer targets in assignment differ in signedness
fvwm.c:839: warning: pointer targets in assignment differ in signedness
fvwm.c:840: warning: pointer targets in assignment differ in signedness
fvwm.c:841: warning: pointer targets in assignment differ in signedness
fvwm.c:842: warning: pointer targets in assignment differ in signedness
It bombs on this:
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/usr/X11R6/include
-Wall -Wno-implicit-int -g -O2 -MT getline.o -MD -MP -MF ".deps/getline.Tpo"
-c -o getline.o getline.c; \
then mv -f ".deps/getline.Tpo" ".deps/getline.Po"; else rm -f
".deps/getline.Tpo"; exit 1; fi
getline.c: In function 'get_line':
getline.c:67: warning: implicit declaration of function 'read_history_range'
getline.c:115: warning: implicit declaration of function 'append_history'
getline.c:116: warning: implicit declaration of function
'history_truncate_file'
gcc -Wall -Wno-implicit-int -g -O2 -o FvwmConsoleC FvwmConsoleC.o
getline.o -L../../libs -lfvwm -lreadline -ltermcap
/usr/bin/ld: Undefined symbols:
_append_history
_history_truncate_file
_read_history_range
collect2: ld returned 1 exit status
make[3]: *** [FvwmConsoleC] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Anyone any idea? I was not able to find anything about OS X installation in
the FAQ or through searching the mailing lists.
The warnings look as if they are coming from gcc4. It's type checker is
very aggressive.
The errors are problems linking to readline. Since configure doesn't find
it they should really not be called. Try to explicit disable readline with
configure and see if the errors go away.
/Viktor