Re: escape strings in grub.cfg

2010-04-13 Thread BVK Chaitanya
On Mon, Apr 12, 2010 at 10:19 PM, BVK Chaitanya wrote: > On Mon, Apr 12, 2010 at 5:39 AM, Colin Watson wrote: >> >> In other words, only ' is special (as a terminator) when reading a >> single-quoted string, and the sequences " $ \\ \" \n are special inside >> a double-quoted string.  (Incidental

Re: escape strings in grub.cfg

2010-04-13 Thread Carles Pina i Estany
Hi, On Apr/13/2010, Colin Watson wrote: > On Mon, Apr 12, 2010 at 01:09:06AM +0100, Colin Watson wrote: > > With my suggestion, I'd recommend: > > > > gettext_quoted () { > > gettext "$@" | sed "s/'/'''/g" > > } > > > > ... and then make sure it's enclosed in '' rather than "" where

Re: NEED_REGISTER_FRAME_INFO can be replaced by -static-libgcc

2010-04-13 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Christian Franke wrote: > Hi, > > a note regarding this fix: > > > The *_frame_info symbols are set undefined to force linkage of the > libgcc_s shared library or dll. > > This can be prevented by TARGET_LDFLAGS=-static-libgcc. To build from > grub-1.98 tarball on Cygwin, run configure with this a

NEED_REGISTER_FRAME_INFO can be replaced by -static-libgcc

2010-04-13 Thread Christian Franke
Hi, a note regarding this fix: 2010-04-11 Vladimir Serbinenko <...> Fix cygwin compilation. * configure.ac: Define NEED_REGISTER_FRAME_INFO. * include/grub/misc.h (__register_frame_info) [NEED_REGISTER_FRAME_INFO && !UTIL]: New export. (__deregister_fra

Re: Compilation error of xorriso on MacOSX

2010-04-13 Thread Thomas Schmitt
Hi, Yves Blusseau wrote: > http://www.mail-archive.com/autoc...@gnu.org/msg13241.html > there a VL_LIB_READLINE macro Ahum. A whole family of libraries. Not only libreadline but also libedit, and libeditline. This can become as interesting as the situation with iconv. But to our luck, libreadline

Re: Compilation error of xorriso on MacOSX

2010-04-13 Thread Yves Blusseau
Hi, Vladimir Serbinenko wrote: You need to add CFLAGS=-I/opt/local/include too. Good point. I hope it is already clear that such manipulations are very experimental. optimally there should be a configure option for this. libreadline is not urgently needed. It is just a convenient capabilit

Re: Compilation error of xorriso on MacOSX

2010-04-13 Thread Thomas Schmitt
Hi, Vladimir Serbinenko wrote: > You need to add CFLAGS=-I/opt/local/include too. Good point. I hope it is already clear that such manipulations are very experimental. > optimally there should be a configure option for this. libreadline is not urgently needed. It is just a convenient capabilit

Re: escape strings in grub.cfg

2010-04-13 Thread Colin Watson
On Mon, Apr 12, 2010 at 01:09:06AM +0100, Colin Watson wrote: > With my suggestion, I'd recommend: > > gettext_quoted () { > gettext "$@" | sed "s/'/'''/g" > } > > ... and then make sure it's enclosed in '' rather than "" wherever it's > used (or modify the sed to put single-quotes at

Re: Compilation error of xorriso on MacOSX

2010-04-13 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Thomas Schmitt wrote: > i would try > > make clean > export LDFLAGS="-L/opt/local/lib" > ./configure ...options... > make > You need to add CFLAGS=-I/opt/local/include too. Otherwise you risk hitting e.g. different structures in library and application. But optimally there should be a co

Re: Compilation error of xorriso on MacOSX

2010-04-13 Thread Thomas Schmitt
Hi, Yves Blusseau wrote: > I have the latest readline library (6.1) installed on my MacOSX > /opt/local/lib/libreadline.a > But i think configure have tried to use the one in the standard path > (/usr/lib): > Perhaps i can use an option of configure or environnement variable to > "force" the linke

Re: Compilation error of xorriso on MacOSX

2010-04-13 Thread Yves Blusseau
Hi, when i've tried to compile xorriso on MacOSX 10.6.2 i have this error during the link: Undefined symbols: "_history_list", referenced from: _Xorriso_status in xorriso_xorriso-xorriso.o ... If i add #undef Xorriso_with_readlinE to xorriso.c, i can compile it. It looks as if the in

Chainloading to Truecrypt?

2010-04-13 Thread Caleb Godwin
I'm almost certain that this question has been asked before, but it didn't really help at all. So, I have two partitions; 1) A TrueCrypt-encrypted Windows 7 partition, and 2) A dm-crypt/LUKS encrypted Ubuntu 9.10 partition. I am trying to keep my bootloader simple in that it will load GRUB automat