On Tue, Mar 17, 2009 at 08:49:08PM +0000, Oliver Kullmann wrote:
> Answer from Raymond Toy:
>
> ---------------------------------------
> > Hello,
> >
> > creating a new Maxima package should work as follows:
> >
> > 1) Download sources from CVS.
> > 2) Change line with "AM_INIT_AUTOMAKE" in maxima/configure.in appropriately.
> > 3) Run "sh bootstrap".
> >
> > Basically it works, however the bootstrap script:
> >
> > #!/bin/sh
> > set -x
> > aclocal
> > automake --add-missing --copy
> > autoconf
> >
> > doesn't seem to do a complete job, since now on the user side (when
> > installing the new maxima-package) autoconf is required (to pick up
> > a changed version number from step 2).
> >
> >
> It's not clear from what you describe, but aren't you supposed to then
> run configure after bootstrap?
> ---------------------------------------
>
> My problem is that I re-distribute Maxima: I needed an update from version 5.17.1,
> so I created version 5.17.1.1, and for this I want to create a package which
> replaces (in my re-distribution) the usual Maxima package.
>
> How are Maxima packages created? I must miss some step.
> Applying "configure" should be done by the user, not me as the package
> creator.
>
> (As I said, it's nearly working, except that now automake is needed for the user
> of my Maxima-package, which is otherwise not the case.)
>
>From Andrej Vodopivec:
The package is created with "make dist". The command creates a tarball
which can be distributed to your users.
----------------------
So it seems I should run, after "sh boostrap", "./configure", and then "make dist"?
This yields an error:
make[1]: Leaving directory `/home/csoliver/SAT-Algorithmen/OKplatform/ExternalSources/sources/Maxima/Test/maxima/plotting'
make[1]: Entering directory `/home/csoliver/SAT-Algorithmen/OKplatform/ExternalSources/sources/Maxima/Test/maxima/locale'
touch maxima.pot
find ../src -name "*.lisp" | xargs xgettext -s -c -j -o maxima.pot
xargs: xgettext: No such file or directory
make[1]: *** [maxima.pot] Error 127
make[1]: Leaving directory `/home/csoliver/SAT-Algorithmen/OKplatform/ExternalSources/sources/Maxima/Test/maxima/locale'
make: *** [distdir] Error 1
?
Oliver