Re: boost/libs/filesystem/src: Syntax error: Bad substitution

2005-01-20 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> I wonder why I never tried that... Lars> probably because I though the variable was already expanded. Lars> if it works it works... I committed it. JMarc

Re: boost/libs/filesystem/src: Syntax error: Bad substitution

2005-01-19 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | Lars> fx. you need to make sure that PCH_FLAGS does not contain | Lars> anyting that can be misinterpreted as special patterns. and also | Lars> that there are not quote (" vs. ')

Re: boost/libs/filesystem/src: Syntax error: Bad substitution

2005-01-19 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> fx. you need to make sure that PCH_FLAGS does not contain Lars> anyting that can be misinterpreted as special patterns. and also Lars> that there are not quote (" vs. ') conflicts with CXXCOMPILE. Lars> but sure, it might be po

Re: boost/libs/filesystem/src: Syntax error: Bad substitution

2005-01-18 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | | I am not sure what you are doing here. > | Lars> escaping slashes? > | Lars> / is changed to \/ > | Lars> the sedding is done to massage the variables to the patter is | Lars> us

Re: boost/libs/filesystem/src: Syntax error: Bad substitution

2005-01-18 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | I am not sure what you are doing here. Lars> escaping slashes? Lars> / is changed to \/ Lars> the sedding is done to massage the variables to the patter is Lars> usable by the variable substitution. Ah, I see... So all this stuf

Re: boost/libs/filesystem/src: Syntax error: Bad substitution

2005-01-18 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | Lars> You snipped to much... > | I did not snip anything, I just answered to your message. My problem | is that I do not have pch support here, so it is difficult to see what | you

Re: boost/libs/filesystem/src: Syntax error: Bad substitution

2005-01-18 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> You snipped to much... I did not snip anything, I just answered to your message. My problem is that I do not have pch support here, so it is difficult to see what you are doing. Lars> TMPCMD=` echo $(CXXCOMPILE) | sed -e s,\",

Re: boost/libs/filesystem/src: Syntax error: Bad substitution

2005-01-18 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | Lars> I thought we already required bash in some other scripts? > | If we do, we should not. > | Lars> what is requried is a rewrite of the construct: | Lars> ${TMPCMD/$PATTERN} >

Re: boost/libs/filesystem/src: Syntax error: Bad substitution

2005-01-18 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> I thought we already required bash in some other scripts? If we do, we should not. Lars> what is requried is a rewrite of the construct: Lars> ${TMPCMD/$PATTERN} Lars> something similar to Lars> $tmp=`echo $TMPCMD

Re: boost/libs/filesystem/src: Syntax error: Bad substitution

2005-01-18 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | It is not a linux-ism, but a bash-ism. > | I thought we already required bash in some other scripts? what is requried is a rewrite of the construct: ${TMPCMD/$PATTERN} something similar to $tmp=`echo $TMPCMD | sed -e "s/$PATTERN//"` ;

Re: boost/libs/filesystem/src: Syntax error: Bad substitution

2005-01-18 Thread Rob Lahaye
Jose' Matos wrote: > On Tuesday 18 January 2005 12:12, Rob Lahaye wrote: > >>>not bash? >> >>Hmm, bash is the default shell in the linux community, isn't it? >>However, the FreeBSD base system has csh, sh and tcsh. > > We should make it work with sh, as it will then work in other posix > systems

Re: boost/libs/filesystem/src: Syntax error: Bad substitution

2005-01-18 Thread Lars Gullik Bjønnes
Rob Lahaye <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: >> Rob Lahaye <[EMAIL PROTECTED]> writes: >> >> | On FreeBSD 5.3, with GCC-3.4.2: >> >> | [...] >> | gmake[4]: Entering directory >> | `/home/lahaye/SOFTWARE/lyx-devel/boost/libs/filesystem/src' >> | TMPCMD=` echo g++ -DHAVE_CONFI

Re: boost/libs/filesystem/src: Syntax error: Bad substitution

2005-01-18 Thread Jose' Matos
On Tuesday 18 January 2005 12:12, Rob Lahaye wrote: > > not bash? > > Hmm, bash is the default shell in the linux community, isn't it? > However, the FreeBSD base system has csh, sh and tcsh. I use linux and I have installed: zsh-4.2.0-3 pdksh-5.2.14-30 tcsh-6.13-9 bash-3.0-18 ash-0.3.8-20 So

Re: boost/libs/filesystem/src: Syntax error: Bad substitution

2005-01-18 Thread Rob Lahaye
Lars Gullik Bjønnes wrote: > Rob Lahaye <[EMAIL PROTECTED]> writes: > > | On FreeBSD 5.3, with GCC-3.4.2: > > | [...] > | gmake[4]: Entering directory > | `/home/lahaye/SOFTWARE/lyx-devel/boost/libs/filesystem/src' > | TMPCMD=` echo g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -Winvalid-pch > |

Re: boost/libs/filesystem/src: Syntax error: Bad substitution

2005-01-18 Thread Lars Gullik Bjønnes
Rob Lahaye <[EMAIL PROTECTED]> writes: | On FreeBSD 5.3, with GCC-3.4.2: > | [...] | gmake[4]: Entering directory | `/home/lahaye/SOFTWARE/lyx-devel/boost/libs/filesystem/src' | TMPCMD=` echo g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -Winvalid-pch | --include=./pch.h -DBOOST_USER_CONFIG="" -I