[Gretl-users] error pdfdocs command when building Gretl from git

Clive Nicholas clivelists at googlemail.com
Wed Nov 23 14:03:11 EST 2016


On 23 November 2016 at 05:48, cociuba mihai <cociuba at gmail.com> wrote:

When I build Gretl at the
> "make pdfdocs"
> I have the following error:
> ##########################
> ../lib/src/gretl_www.c:24:19: fatal error: build.h: No such file or
> directory
>  #include "build.h"
>                    ^
> compilation terminated.
> make[4]: *** [gretl_www.lo] Error 1
> make[4]: Leaving directory `/home/acer/gretl-git/lib'
> make[3]: *** [../../lib/libgretl-1.0.la] Error 2
> make[3]: Leaving directory `/home/acer/gretl-git/doc/commands'
> make[2]: *** [textables] Error 2
> make[2]: Leaving directory `/home/acer/gretl-git/doc/tex'
> make[1]: *** [tex] Error 2
> make[1]: Leaving directory `/home/acer/gretl-git/doc'
> make: *** [pdfdocs] Error 2
> ###########################
>
> Any idea what may cause this error?
>

Speaking as somebody who pissed off the entire list last year with my
running commentary on a whole litany of -gretl- installation issues via
Linux, try this and see if it works, assuming a clean install from scratch:

sudo apt-get install texlive-latex-extra texlive-fonts-recommended
texlive-fonts-extra
sudo rm -rf gretl-git
git clone git://git.code.sf.net/p/gretl/git gretl-git
cd gretl-git
sudo apt-get build-dep gretl
./configure --prefix=/usr/local --enable-quiet-build --enable-openmp
--enable-build-doc --disable-json
make -j3
make pdfdocs
cli/gretlcli -v
sudo make install
sudo /sbin/ldconfig
gretl &

It could be that your -make- call before -make pdfdocs- is wrong (possibly
because your # value is too high) or you've not got a check at the
beginning for any TeX packages not installed. It's really hard to say
without seeing your entire installation routine. Also, the option call to
disable JSON can be dropped on Ubuntu. I credit Hélio for the construction
of part of this code.

I shot a demonstration video in VLC back in August detailing these steps
and the virtues of -gretl-, but I've not been able to find an easy
solution to edit out the crap. When I do, I'll post it on YouTube and
publicise the link to the list.

-- 
Clive Nicholas

"My colleagues in the social sciences talk a great deal about methodology.
I prefer to call it style." -- Freeman J. Dyson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wfu.edu/pipermail/gretl-users/attachments/20161123/f13c3895/attachment.html>


More information about the Gretl-users mailing list