[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lojban] Trying to build the CLL web pages



Oh, looks like the hard drive was mounted with the noexec option for some reason. I'd tweaked the fstab file a while ago, so I'm surprised this is the first time I've run into this problem.

The CLL is building now, I'll check in again if there are other issues. Thanks.

~Andrew


On Saturday, September 26, 2015 at 3:26:41 PM UTC-7, Andrew wrote:
Thanks, Robin.

I installed the packages you mention, along with the General dependencies from the README, and made sure I had the very latest version of the git repo, but I still can't build. I'm getting some weird permission errors...

For one thing, I can't run the cll_build script directly. I verified that my user account is the owner, and I have the execution permission set, but running ./cll_build returns "permission denied." I have to invoke it with bash at the beginning of the commandline for it to run at all.

> bash cll_build -T xhtml_chapters

chapters: chapters/01.xml chapters/02.xml chapters/03.xml chapters/04.xml chapters/05.xml chapters/06.xml chapters/07.xml chapters/08.xml chapters/09.xml chapters/10.xml chapters/11.xml chapters/12.xml chapters/13.xml chapters/14.xml chapters/15.xml chapters/16.xml chapters/17.xml chapters/18.xml chapters/19.xml chapters/20.xml chapters/21.xml
optlist:
target: xhtml_chapters
mkdir: cannot create directory ‘build’: File exists
mkdir -p /PATH/TO/cll-repository/build
rm -f /PATH/TO/cll-repository/build/xml /PATH/TO/cll-repository/build/dtd
ln -sf /PATH/TO/cll-repository/xml /PATH/TO/cll-repository/build/xml
ln -sf /PATH/TO/cll-repository/dtd /PATH/TO/cll-repository/build/dtd
scripts/merge.sh -b "/PATH/TO/cll-repository/build"  chapters/01.xml chapters/02.xml chapters/03.xml chapters/04.xml chapters/05.xml chapters/06.xml chapters/07.xml chapters/08.xml chapters/09.xml chapters/10.xml chapters/11.xml chapters/12.xml chapters/13.xml chapters/14.xml chapters/15.xml chapters/16.xml chapters/17.xml chapters/18.xml chapters/19.xml chapters/20.xml chapters/21.xml
/bin/sh: scripts/merge.sh: Permission denied
scripts/Makefile:24: recipe for target '/PATH/TO/cll-repository/build/cll.xml' failed
make: *** [/PATH/TO/cll-repository/build/cll.xml] Error 126


I'm also owner have the execution bit set on scripts/merge.sh, but that also returns "permission denied." I don't get it.

I'm running this on Fedora 22 x64.

~Andrew


On Friday, September 25, 2015 at 10:13:24 PM UTC-7, Robin Powell wrote:
On Fri, Sep 25, 2015 at 03:30:37PM -0700, Andrew wrote:
> The CLL repository on GitHub lists dependencies in a couple
> subcategories -- General, PDF Generation, and MOBI/EPUB.
>
> Since the github.io site is a little out of date, I'd like to
> build just the web pages so I can read the latest version. Does
> that mean I could skip the PDF Generation dependencies? I'd like
> to skip installing all those packages if possible.

Assuming you want the CLLv1.1 version (i.e. the stuff in the
docbook-prince branch), you can just have me generate it for you (do
you want chunking by chapter, section, or no chunking?).  But
regardless, the html version requires:

- the standard docbook install (i.e. on yum this is the
docbook5-style-xsl package)
- xmlto
- ruby, including the following gems:
  - trollop
  - nokogiri
  - htmlentities
- normal linux tools like wget

I think that should just about cover it.

Also, you're welcome to an account on vrici (the VM where I do my
CLLv1.1 work).

--
You received this message because you are subscribed to the Google Groups "lojban" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lojban+unsubscribe@googlegroups.com.
To post to this group, send email to lojban@googlegroups.com.
Visit this group at http://groups.google.com/group/lojban.
For more options, visit https://groups.google.com/d/optout.