Re: [Vala] Vala Using Gnu Build Tools



Thank you, my bad. I remove the comma.
But make output still said same thing

./configure says
/configure: line 12164: libsoup-2.4: command not found

make: `/home/caglar/ValaDevelopment/MnakkoDosya/src' dizine giriliyor
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
compilation terminated.

valac --pkg gtk+-2.0 --pkg libsoup-2.4 -o out main.vala works correctly.
But I think I made a mistake from makefile.




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*


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