On Sat, May 07, 2005 at 01:49:36PM +0200, Michael Neuhauser wrote: [...]
> > > I've looked at configure.ac and I have to say I that I don't understand > > > how this should work: > > > > This code tries to detect if you have installed rtai with DESTDIR != "". > > The *what* is quite obvious from the comment, it's the *how* I don't > understand. :) [...] > > * 'rtai-config --prefix' gives /usr/realtime, and subsequent '--cflags' > > would point to nonexisting or wrong dirs like /usr/realtime/include > > * the directory supplied with the '--with-rtai=' parameter is stored > > in the $RTAI_DIR variable, in your case > > '/disk/work/armrtai/build/rtai/_xdev/usr/realtime' > > * 'sed' removes the rtai-prefix ("/usr/realtime") from $RTAI_DIR > > resulting in '/disk/work/armrtai/build/rtai/_xdev', which is > > stored in DESTDIR > > * the DESTDIR env-variable modifies the output of > > 'rtai-config --prefix'. It is prefixed to the paths. > > (see [1] for details) > > Ah, that's the info I was missing (the "export" before DESTDIR should > have been a clue; well it was late ...). So, what was the problem? Perhaps I could add some more sanity checks, to prevent the mistake in the future for other users.... Marc -- #!/bin/sh set - `type $0` 'tr "[a-zA-Z]" "[n-za-mN-ZA-M]"';while [ "$2" != "" ];do \ shift;done; echo 'frq -a -rc '`echo "$0"| $1 `'>$UBZR/.`rpub signature|'`\ echo $1|$1`'`;rpub "Jr ner fvtangher bs obet. Erfvfgnapr vf shgvyr!"'|$1|sh ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users