Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: devel

Autoconf error

 

 

ClamAV devel RSS feed   Index | Next | Previous | View Threaded


matrixworkstation at gmail

Apr 14, 2008, 12:17 PM

Post #1 of 4 (275 views)
Permalink
Autoconf error

Good day!

Just reporting in...
I'm always building my clamav rpms with these instructions:
--------------------------------------------------------------------------
%install
%{__aclocal}
%{__autoconf}
%{__automake}
%configure --enable-experimental --disable-clamav
%{__make}
--------------------------------------------------------------------------

But with clamav-0.93 I got these errors after autoconf:

configure.in:33: error: possibly undefined macro: AC_CREATE_TARGET_H
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:71: error: possibly undefined macro: AC_C_FPU_BIGENDIAN
configure.in:297: error: possibly undefined macro: AC_COMPILE_CHECK_SIZEOF

Regards
--
[ ]'s
Aledr - Alexandre
"OpenSource Solutions for SmallBusiness Problems"
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net


edwintorok at gmail

Apr 14, 2008, 12:19 PM

Post #2 of 4 (255 views)
Permalink
Re: Autoconf error [In reply to]

aledr wrote:
> Good day!
>
> Just reporting in...
> I'm always building my clamav rpms with these instructions:
> --------------------------------------------------------------------------
> %install
> %{__aclocal}
> %{__autoconf}
> %{__automake}
>

Please make sure you are not using an old autoconf/automake there.
If you really want to re-autotool use a newer version, configure shipped
in the source tarball should be fine, it doesn't needs to be regenerated.

Best regards,
--Edwin
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net


edwintorok at gmail

Apr 14, 2008, 12:22 PM

Post #3 of 4 (263 views)
Permalink
Re: Autoconf error [In reply to]

aledr wrote:
> Good day!
>
> Just reporting in...
> I'm always building my clamav rpms with these instructions:
> --------------------------------------------------------------------------
> %install
> %{__aclocal}
> %{__autoconf}
> %{__automake}
> %configure --enable-experimental --disable-clamav
> %{__make}
> --------------------------------------------------------------------------
>
> But with clamav-0.93 I got these errors after autoconf:
>
> configure.in:33: error: possibly undefined macro: AC_CREATE_TARGET_H
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> configure.in:71: error: possibly undefined macro: AC_C_FPU_BIGENDIAN
> configure.in:297: error: possibly undefined macro: AC_COMPILE_CHECK_SIZEOF

and aclocal needs to be run with -I m4 now, its better to use autoreconf
to regenerate these files:

$ autoreconf -vi
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal -I m4
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --copy
Putting files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
autoreconf: Leaving directory `.'


--Edwin
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net


matrixworkstation at gmail

Apr 14, 2008, 12:50 PM

Post #4 of 4 (260 views)
Permalink
Re: Autoconf error [In reply to]

Autoconf is up-to-date... Just added "-I m4" to aclocal command.

Thanks.

On Mon, Apr 14, 2008 at 4:22 PM, Török Edwin <edwintorok[at]gmail.com> wrote:
> aledr wrote:
> > Good day!
> >
> > Just reporting in...
> > I'm always building my clamav rpms with these instructions:
> > --------------------------------------------------------------------------
> > %install
> > %{__aclocal}
> > %{__autoconf}
> > %{__automake}
> > %configure --enable-experimental --disable-clamav
> > %{__make}
> > --------------------------------------------------------------------------
> >
> > But with clamav-0.93 I got these errors after autoconf:
> >
> > configure.in:33: error: possibly undefined macro: AC_CREATE_TARGET_H
> > If this token and others are legitimate, please use m4_pattern_allow.
> > See the Autoconf documentation.
> > configure.in:71: error: possibly undefined macro: AC_C_FPU_BIGENDIAN
> > configure.in:297: error: possibly undefined macro: AC_COMPILE_CHECK_SIZEOF
>
> and aclocal needs to be run with -I m4 now, its better to use autoreconf
> to regenerate these files:
>
> $ autoreconf -vi
> autoreconf: Entering directory `.'
> autoreconf: configure.in: not using Gettext
> autoreconf: running: aclocal -I m4
> autoreconf: configure.in: tracing
> autoreconf: running: libtoolize --copy
> Putting files in AC_CONFIG_AUX_DIR, `config'.
> libtoolize: `config.guess' exists: use `--force' to overwrite
> libtoolize: `config.sub' exists: use `--force' to overwrite
> libtoolize: `ltmain.sh' exists: use `--force' to overwrite
> autoreconf: running: /usr/bin/autoconf
> autoreconf: running: /usr/bin/autoheader
> autoreconf: running: automake --add-missing --copy --no-force
> autoreconf: Leaving directory `.'
>
>
>
>
> --Edwin
> _______________________________________________
> http://lurker.clamav.net/list/clamav-devel.html
> Please submit your patches to our Bugzilla: http://bugs.clamav.net
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

ClamAV devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.