[mira_talk] Re: Problem when compile mira 3.2.1

  • From: Martin Mokrejs <mmokrejs@xxxxxxxxxxxxxxxxxx>
  • To: Xiaoli Zhang <xiaoliz@xxxxxxxxxx>
  • Date: Wed, 19 Jan 2011 16:53:05 +0100

Hi,
   I would sugest you first logout from your current session and after
new login, do the following:

bash
mkdir -p /tmp/xiaoli
cd /tmp/xiaoli
rm ./flex ./flex++
ln -s `which flex` flex
ln -s `which flex` flex++
export PATH=/tmp/xiaoli:$PATH
cd mira-3.2.1
rm `find . -iname '*flexer.cc'`
make distclean
./configure --enable-mirastatic --with-boost-regex=no 
--prefix=/programe/mira-3.2.1 --with-boost=/programe/boost-1.4.3
make
make install


Xiaoli Zhang wrote:
> 
> 
> Martin Mokrejs <mmokrejs@xxxxxxxxxxxxxxxxxx> wrote:
> 
>>> make distclean
>>>
>>> ln -s `which flex` flex; ln -s `which flex` flex++
>> --^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ wrong , you we
>> supposed to do this from within /tmp/xiaoli/
>>
> 
> I did these commands from the mira installation directory under /tmp/xiaoli/. 
>  Is this OK?
> 
>>
>>>
>>> export PATH=/tmp/xiaoli/mira-3.2.1:$PATH
>> -------------------------^^^^^^^^^^^ wrong
>>
> 
> So I put the mira installation directory after /tmp/xiaoli/.

The location of mira sources has nothing to do with our/your aim to alter $PATH 
variable
to point preferentially to a place where the two, synchronized version of 
flexes are available.

M.

-- 
You have received this mail because you are subscribed to the mira_talk mailing 
list. For information on how to subscribe or unsubscribe, please visit 
http://www.chevreux.org/mira_mailinglists.html

Other related posts: