Re: [Vala] Vala Using Gnu Build Tools



Install libsoup-dev

On Oct 24, 2010, at 11:48 PM, Çağlar <dursuncaglar gmail com> wrote:

Oww snap :S ... You are right, but I still take an error when I compiling
main.c file

I add the line to Makefile.am

${project-uppercase-make-name}_VALAFLAGS = --pkg gtk+-2.0 --pkg libsoup-2.4

And now The error comes from main.c file :

main.c:30: fatal error: libsoup/soup.h: There is no such a file or folder
compilation terminated.

It's weird.


2010/10/24 Andrea Del Signore <sejerpz tin it>

On Sun, 2010-10-24 at 20:24 +0300, Çağlar wrote:
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)


^^^^^^^^ that comma shouldn't be
there I bet ;) !

Ciao,
       Andrea







--
*
Ç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*
_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list



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