[Vala] Vala 0.3.2 can work on AIX.



Vala 0.3.2 can build on AIX.

First build GLib 2.16.1,
cd glib-2.16.1/;
configure --prefix=$HOME/linux
vim config.h

/* Define to 1 if you have a working `mmap' system call. */
- /* #undef HAVE_MMAP */
+ #define HAVE_MMAP 1

make
make install

export PKG_CONFIG_PATH=$HOME/linux/lib/pkgconfig

cd ../vala-0.3.2
./configure --prefix=$HOME/linux
make
make install

Don't let valac compile the program. Use valac -C to compile and
use gcc `pkg-config --libs --cflags gobject-2.0` -o out source.c
to build the generated C code.

:)

Now it is time to think about what to do with the vala on AIX.

Yu




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