2 Feb 2011 01:50
Re: [PATCH] Fix build error with unison 2.40.61
andrewuzilov <andrew.uzilov <at> gmail.com>
2011-02-02 00:50:48 GMT
2011-02-02 00:50:48 GMT
I'm having the same issue on both Mac OS X 10.6.5 and CentOS Linux, so let me add some info about it.
Specifically, the error trace is:
% cd ~/local/x86_64/src/unison-2.40.61
% make UISTYLE=text
./mkProjectInfo > Makefile.ProjectInfo
/bin/sh: ./mkProjectInfo: No such file or directory
make: *** Deleting file `Makefile.ProjectInfo'
UISTYLE = text
Building for Unix
NATIVE = true
THREADS = false
STATIC = false
OSTYPE = linux-gnu
OSARCH =
make tags
make[1]: Entering directory
`/projects/lowelab/users/auzilov/local/x86_64/src/unison-2.40.61'
./mkProjectInfo > Makefile.ProjectInfo
/bin/sh: ./mkProjectInfo: No such file or directory
make[1]: *** Deleting file `Makefile.ProjectInfo'
if [ -f `which etags` ]; then \
etags *.mli */*.mli *.ml */*.ml */*.m *.c */*.c *.txt \
; fi
make[1]: Leaving directory
`/projects/lowelab/users/auzilov/local/x86_64/src/unison-2.40.61'
So it looks like "mkProjectInfo" is missing, and we need it to make "Makefile.ProjectInfo". The
workaround is to make it manually:
(Continue reading)
It turns out this bug has also been described by Ron Isaacson in
Message #9550, so it is quite widespread.... hope the gods are
listening and will add the patch to the next release!
Cheers,
Andrew U.
On Tue, Feb 1, 2011 at 10:38 PM, Marco Poletti <poletti.marco <at> gmail.com> wrote:
> 2011/2/2 andrewuzilov <andrew.uzilov <at> gmail.com>
>>
>> I'm having the same issue on both Mac OS X 10.6.5 and CentOS Linux, so let me add some info about it.
>>
>> Specifically, the error trace is:
>>
>> % cd ~/local/x86_64/src/unison-2.40.61
>> % make UISTYLE=text
>> ./mkProjectInfo > Makefile.ProjectInfo
>> /bin/sh: ./mkProjectInfo: No such file or directory
>> make: *** Deleting file `Makefile.ProjectInfo'
>> UISTYLE = text
>> Building for Unix
>> NATIVE = true
>> THREADS = false
>> STATIC = false
>> OSTYPE = linux-gnu
>> OSARCH =
RSS Feed