[Cook] Newbie build question
Boey Maun Suang
boeyms at macports.org
Fri May 4 18:12:36 EST 2007
On 02/05/2007, at 17:46, Reinhard Tartler wrote:
> Scott Finneran <scottf at pacom.com> writes:
>
>> Hello All,
>>
>> I've hit what should be a pretty simple problem building 2.27 that
>> I can
>> only assume is something going horribly wrong at my end.
>>
>> I download and untar the 2.27 tarball. Configure runs ok issuing a
>> couple of warnings about datarootdir being ignored (I'll get onto
>> those
>> next). Make however, complains that I have a missing separator at
>> line
>> 200.
>
> This problem seems to be known at least in Debian:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=415193
>
> I downloaded the tarball and could reproduce the problems exactly
> as you
> describe. Investigating the issue further, it seems that the
> Makefile.in
> is horribly broken. I'm not exactly sure if the Makefile.in is
> generated
> or not. If it was hand written, I would be curious with what
> version of
> make it has been tested.
Yes, it's true, the Makefile.in is horribly broken, and that's I'm
pretty sure that that's about all there is to it. The mailing list
archive has some discussion about it [1,2] (the replies that I got to
[2] weren't sent to the list, but the FreeBSD maintainer of cook and
another user told me that they had both reproduced it), but the
maintainer hasn't yet responded.
If you do want to fix it yourself, don't miss the fact that there are
other lines that should be indented but are not, as they are commands
that are supposed to be run as part of a target (they start with
'sed', 'sh' or 'bin/roffpp'). If you want to save yourself some work
and are willing to search the MacPorts repository, I'll hopefully be
posting a patch to the MacPorts port of cook soon. Note that it will
have some other patches to suit the way MacPorts installs its ports;
avoid setting DESTDIR and you should be able to use it without a
problem.
Kind regards,
Maun Suang
[1] http://www.auug.org.au/pipermail/cook-users/2007-March/000323.html
[2] http://www.auug.org.au/pipermail/cook-users/2007-April/000325.html
--
Boey Maun Suang (Boey is my surname)
Email: boeyms at macports.org
More information about the Cook-users
mailing list