← Back to team overview

libsurl team mailing list archive

Compiling

 

I'm having trouble compiling libsurl since the removal of the 'configure' script. I used to run ./configure;make but now when I manually compile libsurl using GCC I get the following error:

surl.c:8:20: error: config.h: No such file or directory
surl.c: In function ‘libsurl_version’:
surl.c:121: error: ‘PACKAGE_VERSION’ undeclared (first use in this function)
surl.c:121: error: (Each undeclared identifier is reported only once
surl.c:121: error: for each function it appears in.)
surl.c: In function ‘libsurl_bugreport’:
surl.c:125: error: ‘PACKAGE_BUGREPORT’ undeclared (first use in this function)
surl.c: In function ‘libsurl_config_date’:
surl.c:129: error: ‘CONFIG_DATE’ undeclared (first use in this function)

Any idea on what could be causing the problem?

Regards,
Ahmed Elmahdawy



Follow ups