Build Error: Linux-Inotify2 2.2 for Perl 5.28.1 on Windows

Looking for help with this package that is failing to build in my project.

Runtime Details

  • ActiveState
  • Language - perl 5.28.1
  • Platform - Windows

Failing Packages

  • Linux-Inotify2 2.2

I do now that this package is for Linux and failed on Windows. But I need some common distribution for Windows and Linux and use packages that are specific for Windows (like Win32) on Windows and packages specifc for Linux on Linux.
It seems that it is alredy works for win32 but it looks like it doesn’t work for Linux. Is the any way for conditional packages inclusions?

HI @smosin,
Thank you for posting!
The team will have a look and advise accordingly.

Hey @smosin,

I’ve been chatting with the team. What you should be able to do in the short term is this:

  • remove the package from your Oscar project
  • remove Linux from the platform list for Oscar
  • commit the changes
  • fork Oscar
  • in the fork, change the platform to just Linux
  • add in the linux-only deps

The changes you make in Oscar can be pulled into the fork as soon as we fix a bug related to this (which should be soon.)

We’ve got a better fix coming in the long term.