gnokii-users
[Top][All Lists]
Advanced

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

Re: smsd compilig problem


From: Nico
Subject: Re: smsd compilig problem
Date: Mon, 15 Sep 2003 06:27:13 +0200

----- Original Message ----- 
From: "BORBELY Zoltan" <address@hidden>
To: "Discussion forum for gnokii users." <address@hidden>
Sent: Monday, September 15, 2003 2:13 AM
Subject: Re: smsd compilig problem


> Hi,
>
> On Mon, Sep 15, 2003 at 01:31:32AM +0200, Nico wrote:
> > I've compiled and installed gnokii (0.5.2 under Linux) and all works
fine.
> > But when I try to compile smsd this is the result:
> >
> > gcc -g -O2  -I../include -DMODULES_DIR=\"/usr/lib/smsd\" -D_REENTRANT
> > `glib-config --cflags`   -c -o smsd.o smsd.c
> > gcc -g -O2  -I../include -DMODULES_DIR=\"/usr/lib/smsd\" -D_REENTRANT
> > `glib-config --cflags`   -c -o smsd.o smsd.c
> > /bin/sh: line 1: glib-config: command not found
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > smsd.c:49:18: glib.h: No such file or directory
> > In file included from smsd.c:54:
> > smsd.h:33:18: glib.h: No such file or directory
> > In file included from smsd.c:54:
> > smsd.h:41: error: parse error before "gchar"
>
> [...]
>
> > It seems that glib-devel is missing, but I've installed:
> > glib-2.0.6
> > glib-devel-2.0.6
> > glibc-2.3.2
> > glibc-devel-2.3.2
> > glibc-locales-2.3.2
> > glibc-profile-2.3.2
>
> Try to figure out why it cannot run glib-config. Without glib-config
> smsd isn't able to figure out the include and lib path.
>

Probably the cause is that glib/gtk+ 2.0.x has pkg-config instead of
glib-config,
gtk-config etc., as you can see here:
http://mail.gnome.org/archives/gtk-list/2002-April/msg00178.html
Bye,
Nico





reply via email to

[Prev in Thread] Current Thread [Next in Thread]