[Alsaplayer-devel]0.9.71 doesn't parse slackware 8.1's curl-7.9.4

ard@waikato.ac.nz ard@waikato.ac.nz
03 Jul 2002 09:31:38 +1200


On a clean slackware 8.1 install, building 0.9.71 fails with:

make[3]: Entering directory `/l/src/alsaplayer-0.99.71/reader/curl'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/local/include  -I/usr/include -Wall -D_REENTRANT -I../.. -I../../alsaplayer -c curl.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include -I/usr/include -Wall -D_REENTRANT -I../.. -I../../alsaplayer -c curl.c  -fPIC -DPIC -o curl.lo
curl.c:35: parse error before `CURLM'
curl.c:35: warning: no semicolon at end of struct or union
curl.c:40: parse error before `}'
[...]

(ld 2.12.90.0.9 20020526, gcc 2.95.3, gtk-config 1.2.10,
 curl-config libcurl 7.9.4)

Solutions are to move curl-config out of the way so that configure won't
find it, or install curl 7.9.8.  Both work well (I'm alsplayer-enabled
again!).

Maybe alsaplayer's configure script could run curl-config, rather than
checking for its existence, and complain if curl isn't recent enough?

-- 
_________________________________________________________________________
Andrew Donkin                                             ITS.G.40, x4414