[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re : [Help-smalltalk] Add a package in the build tool
From: |
Mathieu Suen |
Subject: |
Re : [Help-smalltalk] Add a package in the build tool |
Date: |
Fri, 2 Jul 2010 15:07:13 +0000 (GMT) |
Thanks Paolo.
I did try out a couple of things.
I have add all waht you said into the configure.ac and Makefile.am;
But I got the following error.
$ autoreconf -vi
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
configure.ac:11: warning: macro `AM_PATH_GST' not found in library
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --install --copy
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:11: warning: macro `AM_PATH_GST' not found in library
autoreconf: running: /usr/bin/autoconf
configure.ac:11: error: possibly undefined macro: AM_PATH_GST
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
I am not familiar with the m4 script. Is that the aclocal running with the
autoreconf -vi?
I also added
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([build-aux])
If I understand it correctly aclocal is going to output all the m4 file in it.
Have you an idea wihy I got the 'warning: macro `AM_PATH_GST' not found in
library'?
Thanks
Mathieu Suen
----- Message d'origine ----
De : Paolo Bonzini <address@hidden>
On 07/02/2010 02:46 PM, Mathieu Suen wrote:
> Hi,
>
> I am trying to write the configure.ac Makefile.am so that when I do a make
> make install it
> build a package:
>
> I have add the gst-package.m4 from the build-aux of gst.
I suggest you look at the output of gst-package --prepare.
Anyway.
> AC_CONFIG_MACRO_DIR([m4])
If you use this...
> m4_include([build-aux/lightning.m4])
> m4_include([build-aux/gst-package.m4])
... you should instead use aclocal. No need to put the files in
build-aux/ (especially gst-package.m4), they will automatically be put
in m4/ instead by aclocal.
Add here:
AM_PATH_GST([3.2])
> GST_PACKAGE_ENABLE([Lightning], [gst-lightning])
>
> AC_PROG_CC
> AC_CONFIG_FILES([Makefile])
Add here:
- [Help-smalltalk] Add a package in the build tool, Mathieu Suen, 2010/07/02
- Re: [Help-smalltalk] Add a package in the build tool, Paolo Bonzini, 2010/07/02
- Re : [Help-smalltalk] Add a package in the build tool,
Mathieu Suen <=
- Re: Re : [Help-smalltalk] Add a package in the build tool, Paolo Bonzini, 2010/07/02
- Re: Re : [Help-smalltalk] Add a package in the build tool, Mathieu Suen, 2010/07/02
- Re: Re : [Help-smalltalk] Add a package in the build tool, Mathieu Suen, 2010/07/02
- Re: Re : [Help-smalltalk] Add a package in the build tool, Mathieu Suen, 2010/07/02
- Re: Re : [Help-smalltalk] Add a package in the build tool, Paolo Bonzini, 2010/07/02
- Re: Re : [Help-smalltalk] Add a package in the build tool, Mathieu Suen, 2010/07/02
- Re: Re : [Help-smalltalk] Add a package in the build tool, Paolo Bonzini, 2010/07/05
- Re : Re : [Help-smalltalk] Add a package in the build tool, Mathieu Suen, 2010/07/05
- Re: Re : Re : [Help-smalltalk] Add a package in the build tool, Paolo Bonzini, 2010/07/05
- [Help-smalltalk] Re: Re : Re : Add a package in the build tool, Paolo Bonzini, 2010/07/08