On 05/12/2010, at 3:28 PM, Gerard Cunningham <gerard at faduda.net> wrote:
> On Sun, 2010-12-05 at 14:09 +0100, Craig Bradney wrote:
>>>> 7. $ cmake . -DCMAKE_INSTALL_PREFIX:PATH=/scribus1.3.9
>> -DWANT_CAIRO=1
>>> I get the following error:
>>>
>>> CMake Error: The source directory "/scribus-1.3.9" does not appear
>> to
>>> contain CMakeLists.txt.
>>> Specify --help for usage, or press the help button on the CMake GUI.
>>>
>>> So I moved to the top level directory /scribus-1.3.9 and tried the
>> same
>>> command.
>>> Same error.
>>
>> Try putting the . at the end:
>>
>> cmake -DWANT_CAIRO=1 -DCMAKE_INSTALL_PREFIX:PATH=/scribus1.3.9 .
>
>
> This worked. I now appear to have a working install of 1.3.9
>
>
>> A better suggestion would be to have a build directory, then your
>> build files wont end up in the tarball's extracted files.
>>
>> mkdir /home/username/Downloads/scribus-1.3.9-build
>> cd /home/username/Downloads/scribus-1.3.9-build
>> cmake -DWANT_CAIRO=1
>> -DCMAKE_INSTALL_PREFIX:PATH=/scribus1.3.9
>> /home/username/Downloads/scribus-1.3.9
>> make install
>
> I didn't do this. What difference would it have made?
>
To your end result of having an installed and working Scribus, nothing.
However, the directory where your source files are now has files generated at
build time within it. If you were checking out the source files from subversion
then I wouldn't recommend another way of building as you might be interested in
the code and clean subversion checkout runs.
Craig