On Thu, Jul 23, 2009 at 09:28:12PM +0100, Dr. David Kirkby wrote: > > Martin Albrecht wrote: > > Hi there, > > > > as mentioned earlier I am visiting the Singular team this week in > > Kaiserslautern. On the technical side we worked on > > > > - updating to Singular 3-1-04 where it was very valuable to have both Sage > > and > > Singular developers within shouting distance, > > As a quick note, I found a problem with the singular build system. > Perhaps you could forward it to the most appropriate person. > > First, there are 7 identical copies of install-sh > > $ find . -name install-sh > ./libfac/install-sh > ./kernel/install-sh > ./Singular/install-sh > ./omalloc/install-sh > ./factory/bin/install-sh > ./install-sh > ./svd/install-sh > > But more to the point, there is a problem, in that in one case, there is > a path to install-sh which is not valid. This is only seen on Solaris, > which someone else believes is because linux will have install-sh in the > path, so that would be used. > > make[1]: Entering directory > `/export/home/drkirkby/sage/sage-4.1/spkg/build/singular-3-1-0-2-20090620/src/kernel' > ./mkinstalldirs /export/home/drkirkby/sage/sage-4.1/local/include/singular > for file in *.h; do ../.././install-sh -c $file > /export/home/drkirkby/sage/sage-4.1/local/include/singular; done > /bin/sh: ../.././install-sh: not found > /bin/sh: ../.././install-sh: not found > /bin/sh: ../.././install-sh: not found > /bin/sh: ../.././install-sh: not found > /bin/sh: ../.././install-sh: not found > /bin/sh: ../.././install-sh: not found > /bin/sh: ../.././install-sh: not found > /bin/sh: ../.././install-sh: not found > /bin/sh: ../.././install-sh: not found
Note that this usage of $(INSTALL) in kernel/Makefile is patched in by sage, so the issue doesn't manifest itself in Singular itself. It does seem that pointing to a parent directory as done in 'AC_OUTPUT([Makefile ../kernel/Makefile])' in Singular/configure.in is not really supported by autoconf. Singular avoids problem by using plain 'cp' to install files instead of $(INSTALL). See my post to the autoconf mailing list at http://lists.gnu.org/archive/html/autoconf/2009-07/msg00057.html and the reply at http://lists.gnu.org/archive/html/autoconf/2009-07/msg00060.html for more details. -Willem Jan --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
