[Gretl-users] Installing gretl from source
Talha Yalta
talhayalta at gmail.com
Mon Jun 19 12:02:56 EDT 2006
>In Debian, those files are included in the libxml2-dev package. I suppose that
>applies to Ubuntu as well. I can compile ok with version 2.6.26.dfsg-1
>Have you got libxml2-dev installed? What version?
Yes, I have libxml2-dev package already installed. The version number
is: 2.6.24.dfsg-1ubuntu1.
>Thanks for the report. Could I ask you to take a look at the
>"Makefile" generated by configure, in src/gui2? In particular,
>there should be two lines starting
>XML_CFLAGS = ...
>XML_LIBS = ...
Yes, the Makefile file has those two lines as:
XML_CFLAGS = -I/usr/include/libxml2
XML_LIBS = -lxml2 -lz -lm
>A word of advice here (this may or may not be the problem).
>When you update the sources from CVS, you should run "configure"
>before "make", in case anything to do with the build process has
>changed meantime. Configure (re-)generates the Makefiles, and a
>stale Makefile may cause problems.
I run ./configure before running make in each case. In fact, the first
time I tried to compile the snapshot was on a fresh install of kubuntu
without any gretl installed. After getting the error message, I tried
and succesfully installed the official version. Later, I tried to
install the snapshot again and I got the same error message (after
running ./configure before running make.
--
Don't go around saying the world owes you a living. The world owes you
nothing. It was here first. - Mark Twain
--
More information about the Gretl-users
mailing list