libsurl team mailing list archive
-
libsurl team
-
Mailing list archive
-
Message #00013
Re: Compiling
Ok, it's not that. (I have "Linux ogodei 2.6.31-16-generic-pae
#53-Ubuntu SMP Tue Dec 8 05:20:21 UTC 2009 i686 GNU/Linux" - note the
time difference)
apt-get install libtool says that it's installed? What's in your aclocal.m4?
On Tue, Dec 15, 2009 at 10:05, Ahmed Elmahdawy <aa_mahdawy@xxxxxxxxxxx> wrote:
> Ubuntu Karmic. In case you need `uname -a' output, here is it:
>
> Linux propeng 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:01:29 UTC 2009
> i686 GNU/Linux
>
> On 12/15/2009 05:01 PM, Scott Lawrence wrote:
>>
>> Then I'm quite stumped. You should have package autoconf, automake,
>> autotools-dev, and libtool - I think that's all that's necessary. The
>> correct output is below. What distro do you have?
>>
>> autoreconf: Entering directory `.'
>> autoreconf: configure.ac: not using Gettext
>> autoreconf: running: aclocal --force
>> acinclude.m4:1: warning: underquoted definition of AX_CHECK_XMLTO
>> acinclude.m4:1: run info '(automake)Extending aclocal'
>> acinclude.m4:1: or see
>> http://sources.redhat.com/automake/automake.html#Extending-aclocal
>> autoreconf: configure.ac: tracing
>> autoreconf: running: libtoolize --install --force
>> libtoolize: putting auxiliary files in `.'.
>> libtoolize: linking file `./config.guess'
>> libtoolize: linking file `./config.sub'
>> libtoolize: linking file `./install-sh'
>> libtoolize: linking file `./ltmain.sh'
>> libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac
>> and
>> libtoolize: rerunning libtoolize, to keep the correct libtool macros
>> in-tree.
>> libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
>> acinclude.m4:1: warning: underquoted definition of AX_CHECK_XMLTO
>> acinclude.m4:1: run info '(automake)Extending aclocal'
>> acinclude.m4:1: or see
>> http://sources.redhat.com/automake/automake.html#Extending-aclocal
>> autoreconf: running: /usr/bin/autoconf --force
>> autoreconf: running: /usr/bin/autoheader --force
>> autoreconf: running: automake --add-missing --force-missing
>> configure.ac:6: installing `./missing'
>> surl/Makefile.am: installing `./depcomp'
>> Makefile.am: installing `./INSTALL'
>> autoreconf: Leaving directory `.'
>>
>>
>> On Tue, Dec 15, 2009 at 09:58, Ahmed Elmahdawy<aa_mahdawy@xxxxxxxxxxx>
>> wrote:
>>>
>>> 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
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>
--
Scott Lawrence
Webmaster
The Blair Robot Project
Montgomery Blair High School
Follow ups
References