|
From: <pl...@pi...> - 2012-04-24 20:42:45
|
On 04/24/12 20:54, Ethan A Merritt wrote: > 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 > Thanks Ethan, I had found that var in the code and tried setting it as and env var on the make command line, but it made no difference. Maybe I need to hack the Makefile.am Hmm, I'd prefer a tidier way to do this. The js file is going to the standard share/gnuplot/4.6js under the install dir given in --prefix. Thx. |