Re: wxmaxima-26.06.2: cmake reports an error

Michel Gosse <[email protected]> Fri, 19 Jun 2026 13:46:21 +0200
Newsgroups gmane.comp.mathematics.maxima.general
Message-ID <CACAug0eqh6zx=WgKgvY1wG=niH3gvvdmwOdJ5L-2Nz_Y8k4Sjw@mail.gmail.com>
Hello

Compiles without problems in ubuntu 24.04

MIchel

Le ven. 19 juin 2026 à 10:53, Jerome BENOIT via Maxima-discuss <
[email protected]> a écrit :

> Hi,
>
> on an up-to-date Debian/Sid environment, version 26.06.2 of wxmaxima
> builds well.
>
> On which environment are you building ?
>
> On 18/06/2026 08:26, Andrey G. Grozin via Maxima-discuss wrote:
> > I'm trying to compile wxmaxima-26.06.2, but I get
> >
> > CMake Error at data/CMakeLists.txt:47 (add_custom_command):
> >    add_custom_command called with wrong number of arguments.
> >
> > The corresponding part of data/CMakeLists.txt is
> >
> >      # Compress man pages
> >      add_custom_command(
> >          OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/wxmaxima.1.gz"
> >          COMMAND gzip -cn9 "${CMAKE_CURRENT_BINARY_DIR}/wxmaxima.1" >
> "${CMAKE_CURRENT_BINARY_DIR}/wxmaxima.1.gz"
> >          DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/wxmaxima.1"
> >          COMMENT "Compressing man page"
> >      )
> >      add_custom_target(generate_man ALL DEPENDS
> "${CMAKE_CURRENT_BINARY_DIR}/wxmaxima.1.gz")
> >
> > I use cmake-4.3.3. I cannot understand what's wrong with this
> add_custom_command. Any help?
>
> Do you have any gzip installed ?
>
> Otherwise, the newly ``compress man pages'' code is not ``traditional'':
> you may want to comment/discard it.
> For the (official) Debian package, I discarded this part of the code since
> it mess up with the Debian packaging machinery
> which expects ``traditional'' installation.
>
> I have submitted an issue about this:
> https://github.com/wxMaxima-developers/wxmaxima/issues/2102
>
> Cheers,
> Jerome
>
>
> >
> > Andrey
> >
> >
> > _______________________________________________
> > Maxima-discuss mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/maxima-discuss
>
>
>
> _______________________________________________
> Maxima-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/maxima-discuss
>

_______________________________________________
Maxima-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maxima-discuss