← Back to team overview

libsurl team mailing list archive

Re: Compiling

 

Yes

(off-topic: my shortest email ever)

On 12/15/2009 04:55 PM, Scott Lawrence wrote:
do you have libtool installed?

On Tue, Dec 15, 2009 at 09:52, Ahmed Elmahdawy<aa_mahdawy@xxxxxxxxxxx>  wrote:
Now I'm getting this error:

autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
acinclude.m4:1: warning: underquoted definition of AX_CHECK_XMLTO
  run info '(automake)Extending aclocal'
  or see
http://sources.redhat.com/automake/automake.html#Extending%20aclocal
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/local/bin/autoconf --force
configure.ac:22: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/local/bin/autoconf failed with exit status: 1

On 12/15/2009 04:45 PM, Scott Lawrence wrote:

  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






_______________________________________________
Mailing list: https://launchpad.net/~libsurl
Post to     : libsurl@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~libsurl
More help   : https://help.launchpad.net/ListHelp








Follow ups

References