|
From: Ethan M. <merritt@u.washington.edu> - 2009-11-30 20:21:09
|
On Monday 30 November 2009 02:57:27 Tatsuro MATSUOKA wrote: > Hello > > In the src/Makefile.in after ./prepare, I found. > > @BUILD_LUA_TRUE@am__EXEEXT_2 = gnuplot-tikz.lua$(EXEEXT) > > I hear that gnuplot-tikz.lua is a script so that $(EXEEXT) is harmful for cygwin build. > For cygwin $(EXEEXT) is '.exe', this makes unhappy results in cygwin. > For real unix $(EXEEXT) is empty so that error not occurred accidentally. > > I think that 'gnuplot-tikz.lua$(EXEEXT)' should be 'gnuplot-tikz.lua'. > > I am not familiar with autotools so that I cannot figure out where should I modify to remove it. Yes, this is a problem with autotools. Because the file is installed in $libexecdir, the autotools think it is an executable and therefore they add the extension $(EXEEXT). I am not an autotools expert, but I see no way to turn this off for only a single file. The only thing I can think of is to install the file somewhere else entirely. But where? Because it is related to LaTeX, it might logically be installed into a latex directory. Unfortunately, people are reporting problems with the latex installation directories also. So I don't think that would help in practice. Or we could create another subdirectory under /usr/local/share/gnuplot/VERSION/ We alread have subdirectories for javascript and PostScript, so adding one for lua scripts seems reasonable. But the lua.trm source code will have to be changed also, so that it knows where to look for the script file. I will attempt to create a patch. Ethan > BTW, after removing $(EXEEXT) form @BUILD_LUA_TRUE@am__EXEEXT_2 = gnuplot-tikz.lua$(EXEEXT) in > Makefile.in, make goes well. > > However, there occured error at make install-strip > > /bin/sh /cygdrive/d/usr/Tatsu/cyghome-1.7/gnuplotcvs/gnuplot/install-sh -c -s gnuplot-tikz.lua > '/usr/local/libexec/gnuplot/4.5/./gnuplot-tikz.lua.exe' > strip:/usr/local/libexec/gnuplot/4.5/./_inst.12112_: File format not recognized > make[4]: *** [install-pkglibexecPROGRAMS] Error > > Where can I found another gnuplot-tikz.lua$(EXEEXT) for make install? > > Please give me advises. > > Regards > > Tatsuro -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |