You need autotools installed, if you want to compile from the repo.
The configure script was autogenerated, and it's evil to keep
autogenerated stuffs in the repository, since it wreaks havoc if you
forget to re-generate before a commits. Once you've install autotools,
try autoreconf -vifs;./configure;make
On Tue, Dec 15, 2009 at 05:19, Ahmed Elmahdawy<aa_mahdawy@xxxxxxxxxxx> wrote:
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
_______________________________________________
Mailing list: https://launchpad.net/~libsurl
Post to : libsurl@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~libsurl
More help : https://help.launchpad.net/ListHelp