Rozdział 4. Frequently Asked Questions

Spis treści

Installation
Usage

Installation

1. Where can I find EKG2 sources ?
2. I have EKG2 from GIT, but when I'm doing ./autogen some errors about missing libtoolize, libttol, aclocal, autoheader, automake, autoconf, autom4te appear. What should I do ?
3. In BSD system when I'm executing ./configure libgadu or/and expat is disabled. What should I do ?
4. In BSD system when I'm trying to compile program some errors about libintl.h from gettext.h apper.

1.

Where can I find EKG2 sources ?

You should visit /http://ekg2.org. There is some Files section and you can download from there everyday snapshots. You can also use GIT, which makes you able to have current version of program (for instance. if somebody fixed some segvault problem with EKG2 10 minutes ago). Way of using GIT is described on webpage.

2.

I have EKG2 from GIT, but when I'm doing ./autogen some errors about missing libtoolize, libttol, aclocal, autoheader, automake, autoconf, autom4te appear. What should I do ?

First of all check if you have installed newest versions of those tools (maybe you should browse /usr/ports/devel ). If you have installed everything it means that EKG2 can't find them. It is caused by missing simlinks connected with those tools. Usually they are in /usr/local/bin and I suggest to make some symlinks like ln -s libtoolize19 libtoolize and do this with every tool. I suggest to do it always with autotools.

3.

In BSD system when I'm executing ./configure libgadu or/and expat is disabled. What should I do ?

FreeBSD has other localization of library files and sometimes it is hard to find them. It is recommended to add arguments --with-libgadu=/usr/local or/and --with-expat=/usr/local. Of course you have to have them installed.


$ ./autogen.sh --with-libgadu=/usr/local --with-expat=/usr/local 
$ ./configure --with-libgadu=/usr/local --with-expat=/usr/local

               

libgadu can be found on http://dev.null.pl/ekg/ (libgadu should be compiled with --enable-shared parametr).

expat can be found in official ports tree or in system sources (in newest versions like FreeBSD 5.3.x or newer).

4.

In BSD system when I'm trying to compile program some errors about libintl.h from gettext.h apper.


gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libltdl -g -O2 -Wall -MT main.lo -M
D -MP -MF .deps/main.Tpo -c main.c  -fPIC -DPIC -o .libs/main.o
In file included from ../../ekg/themes.h:27,
                 from main.c:41:
../../gettext.h:26:22: libintl.h: No such file or directory

               

gettext is installed in system. What should I do ?

Unfortunatly it is caused by diffrent localization of libraries (diffrent then in Linux systems). The easier solution is to add to ./autogen.sh or ./configure option --with-libintl-prefix=/usr/local/include


$ ./autogen.sh --with-libintl-prefix=/usr/local/include
$ ./configure --with-libintl-prefix=/usr/local/include