Re: Singular library include directories

2015-03-15 Thread Doug Torrance
On 03/15/2015 06:29 PM, Jerome BENOIT wrote: I have just deposit a fix at Alioth. So now the following command may work: pkg-config --cflags --libs singular and in a configure.ac file the following PKG_CHECK_MODULES([SINGULAR],[singular]) may set up SINGULAR_LIBS and SINGULAR_CFLAGS Excelle

Re: Singular library include directories

2015-03-15 Thread Jerome BENOIT
Hi Again, On 15/03/15 20:16, Jerome BENOIT wrote: > Hello Dong, > > On 15/03/15 18:22, Doug Torrance wrote: >> Jerome and Felix - >> >> Thank you so much for your comments -- that makes perfect sense! >> Forgive me for jumping to conclusions. I just panicked when it >> didn't work out of the box

Re: Singular library include directories

2015-03-15 Thread Jerome BENOIT
Hello Dong, On 15/03/15 18:22, Doug Torrance wrote: > Jerome and Felix - > > Thank you so much for your comments -- that makes perfect sense! > Forgive me for jumping to conclusions. I just panicked when it > didn't work out of the box. I'll play around with pkg-config and > CPPFLAGS with Macau

Re: Singular library include directories

2015-03-15 Thread Doug Torrance
Jerome and Felix - Thank you so much for your comments -- that makes perfect sense! Forgive me for jumping to conclusions. I just panicked when it didn't work out of the box. I'll play around with pkg-config and CPPFLAGS with Macaulay2 and let you know if I have any further questions. Doug

Re: Singular library include directories

2015-03-15 Thread Jerome BENOIT
On 15/03/15 07:47, Felix Salfelder wrote: > please consider the extra CPPFLAGS. if you can reliably ask the singular > installation for them (.pc file?) that would make a patch for upstream > macaulay2 ... Exactly ! Jerome -- To UNSUBSCRIBE, email to debian-science-requ...@lists.debian.org w

Re: Singular library include directories

2015-03-15 Thread Jerome BENOIT
On 15/03/15 08:18, Jerome BENOIT wrote: > If it does work within a properly setup autotols scheme, it is a issue > that deserves a bugreport. > If it does _NOT_ work within a properly setup autotols scheme, it is a issue > that deserves a bugreport. -- To UNSUBSCRIBE, email to debian-science

Re: Singular library include directories

2015-03-15 Thread Felix Salfelder
On Sat, Mar 14, 2015 at 10:36:04PM -0500, Doug Torrance wrote: > #include . this include will work once after you add -I/usr/include/singular to CPPFLAGS. > However, I believe it should be > > #include . this include will fail, if you try to build against the builddir, such as singular_1-2-3, s

Re: Singular library include directories

2015-03-15 Thread Jerome BENOIT
Hi Doug, On 15/03/15 04:36, Doug Torrance wrote: > 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 >