On Sat, Mar 30, 2013 at 5:01 PM, Bastien ROUCARIES <roucaries.bast...@gmail.com> wrote: > > On Fri, Mar 29, 2013 at 10:56 PM, Russ Allbery <r...@stanford.edu> wrote: > > Bastien ROUCARIES <roucaries.bast...@gmail.com> writes: > > > >> Last version of imagemagick fail to build on hpux during build. We > >> supsect a autoconf bug. > > > >> Unfortunatly we have no access to hpux. > > > >> cd . && /bin/sh ./config.status config/delegates.xml > >> config.status: creating config/delegates.xml > >> cd . && /bin/sh ./config.status config/configure.xml > >> config.status: creating config/configure.xml > >> ln -s PerlMAgick/quantum/Q16.xs > >> usage: ln [-f] [-I] [-s] f1 f2 > >> ln [-f] [-I] [-s] f1 ... fn d1 > > > > That ln command looks like something that you're telling Autoconf to run > > with AC_CONFIG_COMMANDS, and it's not portable. Omitting the destination > > argument to ln is a GNU extension. Try changing that to: > > > > ln -s PerlMAgick/quantum/Q16.xs Q16.xs > > >No we have a automake rules that do: > >$(PERLMAGICK)/quantum/@MAGICK_ABI_SUFFIX@.pm: > >$(PERLMAGICK)/quantum/quantum.pm > > $(AM_V_GEN) $(LN_S) $(notdir $^) $@ > > > >And it is surelly not portable ...
Any idea to get portable basename shell command ? Bastien > > > > > > -- > > Russ Allbery (r...@stanford.edu) <http://www.eyrie.org/~eagle/>