[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Singular library include directories



Hello!

As I mentioned in my earlier emails regarding MPIR, I'm currently working on packaging Macaulay2, which also depends on some of the libraries from Singular.

I was pleased to see that Singular was recently packaged by Jerome and is sitting in NEW. I checked it out from git, built and installed the packages, and then tried building Macaulay2.

However, I ran into an issue. The Debian Singular package installs all the header files in subdirectories of /usr/include/singular, as opposed to upstream, which installs them in /usr/include. However, the header files themselves have not been patched to account for this. For example, /usr/include/singular/factory/factory.h has the line

#include <factory/factoryconf.h>.

However, I believe it should be

#include <singular/factory/factoryconf.h>.

Part of me questions whether moving everything into the 'singular' subdirectory is even necessary. According to the patch descriptions, this change was made to avoid "possible collision". Do we know if any such collisions actually exist? It also makes it more complicated for packaging reverse dependencies (like Macaulay2).

Whatever is decided, I'm happy to help with the work.

Thanks!
Doug


Reply to: