|
From: Ethan A M. <sf...@us...> - 2012-04-24 18:56:09
|
On Monday, April 23, 2012 05:19:04 pm pl...@pi... wrote: > Hi, > > I am buildin 4.6.0 for embedded and it seems to work fine except for > mouse features on svg, where I'm finding it is inserting links to the > build directory structure not the target. > > using > > set term svg mouse > > I get the following at the top of my svg > > <script type="text/javascript" > xlink:href="/embedded_build/root/usr/share/gnuplot/4.6/js/gnuplot_svg.js"/> > > ARCH=arm ./configure --host=arm-unknown-linux-gnueabi --without-x > --without-pdf \ > --without-cairo --disable-wxwidgets --without-x --without-tutorial \ > --prefix=/embedded_build/root/usr --without-lua > > > > Can you give a hint on what options/flags I need to set before calling > make etc so that gnuplot creates a standard /usr/share/ href here. It is taken from GNUPLOT_JS_DIR, which is defined in .../src/Makefile.am # Default javascript location GNUPLOT_JS_DIR=$(pkgdatadir)/$(VERSION_MAJOR)/js Some autoconf magic converts $(pkgdatadir) into what it thinks is the correct target directory for installation. I would have thought that if it gets this one wrong it would similarly get all other instances of $(pkgdatadir) wrong. Are the *.js files themselves getting installed in this same incorrect place, or do they end up somewhere else? Ethan |