Re: [Vala] Vala Using Gnu Build Tools



The development package is installed aready :) but I don't think It's about
the dev package.

The location of the header file is still there *
/usr/include/libsoup-2.4/libsoup/soup.h *
and the library files is still under /usr/lib/
*
/usr/lib/libsoup-2.4.a
/usr/lib/libsoup-2.4.so
/usr/lib/libsoup-2.4.so.1
/usr/lib/libsoup-2.4.so.1.3.0
/usr/lib/libsoup-gnome-2.4.a
/usr/lib/libsoup-gnome-2.4.so
/usr/lib/libsoup-gnome-2.4.so.1
/usr/lib/libsoup-gnome-2.4.so.1.3.0
*
*
*
I mean, I saw the file but ./configure and make doesn't see it.

Here is *./configure | grep libsoup *output
/configure: line 12164: libsoup-2.4: command not found

And then I run the make it says
*main.c  fatal error: libsoup/soup.h: there is no such a file or folder*

When I run vala compiler from the shell, there is no problem.
But when I'm using Gnu build tools that comes from vtg (Vala Toolkit For
Gedit),
It is a total disaster for me.


2010/10/25 pancake <pancake youterm com>

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




-- 
*
Ç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]