Hello,
thank you very much, your updated script allowed me to complete the
rebuilt process.
KiCad requires GLM version 0.9.8 or newer for compiling.
Unfortunately, I discovered that just replacing the old sources with
the latest ones is not enough for updating the library.
Since version 0.9.9.6, the install and uninstall targets have been
removed from generated Makefile:

https://github.com/g-truc/glm/commit/5f352ecce21bb1ab37fa56fac0f383c779b351a3#diff-af3b638bc2a3e6c650974192a53c7291

So, the current cygport script is able to work up to version 0.9.9.5,
which is enough for the task anyways.
Perhaps, the newer versions are using CMake directly for doing
installation, but I have no idea how this is expected to work in
cygport.
Thank you very much for your time and your support.

Sincerely,

Il giorno dom 23 ago 2020 alle ore 18:04 Marco Atzeri via Cygwin
<cygwin@cygwin.com> ha scritto:
>
> On 23.08.2020 17:30, Jon Turney wrote:
> > On 22/08/2020 06:00, Marco Atzeri via Cygwin wrote:
> >> On 21.08.2020 10:35, Carlo B. via Cygwin wrote:
> >>> Hello,
> >>> I tried to rebuild glm-0.9.7.6-1-src.tar.xz but the "install" command
> >>> does not work.
> >>> I'm getting this error message:
> >>>
> >>>>>> Installing glm-0.9.7.6-1.noarch
> >>> make: ***  Nessuna regola per generare l'obiettivo «install».  Arresto.
> >>> *** ERROR: make install DESTDIR failed
> >>>
> >>> Translated in english, it should be something like this:
> >>> "No rules to generate target <<install>>. Stop."
> >>>
> > [...]
> >>
> >> the error is caused by the build system using now cmake+ninja for
> >> the execution
> >>
> >> while mingw64-i686-glm and mingw64-x86_64-glm builds stay on the
> >> previous cmake+make
> >>
> > I am a bit confused by this.  What causes the default generator used by
> > cmake to change?  Having old .cygports break due to that seems bad.
> >
>
> not sure.
> I guess that if ninja is available the glm cmake settings
> give it a precedence.
>
> It is also possible that the latest cmake is behaving differently
> than previous one.
>
> Regards
> Marco
>
>
> --
> Problem reports:      https://cygwin.com/problems.html
> FAQ:                  https://cygwin.com/faq/
> Documentation:        https://cygwin.com/docs.html
> Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to