|
From: Dominique O. <dom...@gm...> - 2008-02-07 14:13:04
|
On 2/5/08, Jean-Pierre Dussault <jpd...@gm...> wrote: > Hi, > > >> make > >> [[ ! -d /home/dmitrey/install/NLPy/nlpy/.objects ]] && > mkdir > >> /bin/sh: [[: not found > >> make: *** [/home/dmitrey/install/NLPy/nlpy/.objects] > Error 127 > > I had the same difficulties a few days ago. I manually created the .object > and .module directories. Then , the message [[ not found becomes a warning > since the directory exists, no action being requested then. After, I added > suitable paths to PYTHONPATH, and I added also the Lib path to > LD_LIBRARY_PATH. I also am using Kubuntu 7.10. After discussing this off-line, it turns out that this error message occurs because your /bin/sh points to /bin/dash (the Debian Almquist shell), which is a stripped down version of bash. A solution is to have /bin/sh point to /bin/bash or to specify SHELL=/bin/bash in the Makefile. > Moreover, I had to manually remove spurious lines (looking like output of > some diff command) in 2 or 3 files, among which makedefs-path after getting > the latest cvs version. You may get such diff-style output in your makedefs-path after upgrading because the one in the repository is the one for my machine. I just committed a new release in which those settings appear in the private file ~/.nlpy > P.S. Is it possible to **reply** on the list? I had to send a fresh message. I am not sure what the problem is. Let's see if this message gets posted and if you receive it. Dominique |