[scribus] Errror 6, again

Gregory Pittman gpittman at iglou.com
Thu Mar 2 00:09:52 UTC 2017


On 03/01/2017 03:11 PM, scrib at wexfordpress.com wrote:
>  
>   
>   
>   
> 
> ----------------------------------------
>  From: "Owen Cook" <owen.cook at gmx.com>
> Sent: Friday, February 24, 2017 7:25 PM
> To: scribus at lists.scribus.net
> Subject: Re: [scribus] Errror 6, again   
> 
> Here is a suggestion, install Scribus into your home directory. You then 
> get rid of all the permission problems that might or might not exist as you 
> keep it all in house.
> 
> If you like scripts, this untested off the top of my head script might do 
> you. Save it as scbuild.sh and make it executable
> 
> ======================scbuild.sh===========================
> 
> #!/bin/sh
> 
> SVN="/usr/bin/svn"
> CMAKE="/usr/bin/cmake"
> MAKE="/usr/bin/make"
> INSTALL="/usr/bin/install"
> cd
> 
> $SVN co svn://scribus.net/trunk/Scribus scribus15
> cd scribus15
> mkdir build
> cd build
> $CMAKE .. -DCMAKE_INSTALL_PREFIX:PATH=~/Scribus-1.5.3
> $MAKE
> $INSTALL
> 
> ++++++++++++++++++++++++++++++++++
> and then start Scribus # ~/Scribus-1.5.3/bin/scribus
> 
> Your untested script has this problem: neither "install" nor "find"
>  can locate the executable file :.Scribus-1.5.3
>  
>  I tried eliminating the last line and searching using find but that didn't 
> work either.
>  Any suggestions?
>   

Scribus-1.5.3 is the directory that you have told cmake to put the
executable 'scribus' inside. If you don't already have such a directory,
make will create it when it compiles.

Personally, I just stick with my simple, non-script method, which goes
something like:

svn co svn://scribus.net/trunk/Scribus scribus15
cd scribus15
cmake -CDMAKE_INSTALL_PREFIX:PATH=~/Scribus-1.5.3
make install

I've never created a build directory (mkdir build). I also create an
alias in my .bashrc so instead of typing out 'cmake blah blah blah', I
just have my 'cmake15x' command as a shortcut.

I also from years of experience have just used 'make install' instead of
'make' , then 'make install' (traditionally, you might do this on one
line with 'make && make install'), since realistically, the first thing
that 'make install' does is check to make sure that the whole package is
built, and if it is, it installs.

Greg



More information about the scribus mailing list