[Vala] Vala Using Gnu Build Tools
- From: Çağlar <dursuncaglar gmail com>
- To: vala-list gnome org
- Subject: [Vala] Vala Using Gnu Build Tools
- Date: Sun, 24 Oct 2010 20:24:02 +0300
Hey guys
I'm just a new learner vala and I'm using vtg (Vala Toolkit for Gedit).
VTG uses vala-gen-project to create a vala project and it uses autoconf
tools.
My problem is, when I add library referances such as libsoup-2.4 to my
project files, build tools doesn't accept it.
Here is my *./configure | grep libsoup output *result :
./configure: line 12164: libsoup-2.4: command not found
Here is my configure.ac file library referances
GLIB_REQUIRED=2.12.0
GTK_REQUIRED=2.18.0
SOUP_REQUIRED=2.4
PKG_CHECK_MODULES(MNAKKODOSYA, glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >=
$GLIB_REQUIRED gtk+-2.0 >= $GTK_REQUIRED, libsoup-2.4 >= $SOUP_REQUIRED)
I also add *--pkg **libsoup-2.4* parameter to my makefile.am
Here is the line* :*
MnakkoDosya_VALAFLAGS = --pkg gtk+-2.0 --pkg libsoup-2.4
*Is there any people here to tell me where I'm wrong ?*
My make output says that
gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -include ../config.h
-g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
main.c:30: fatal error: libsoup/soup.h: There is no such a file or folder.
But when ı checked *pkg-config --list-all | grep libsoup* command, I see
that libsoup exists.
*What sould I try ? *
--
*
Çağlar Dursun
Tumblr : *http://caglardursun.tumblr.com/
*Blog : *http://caglardursun.blogspot.com/
*Twitter : *http://twitter.com/caglardursun
*
*
<http://twitter.com/caglardursun>*Phone : +90 0505 780 72 76*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]