Re: [Vala] any latest vala binary for windows?

2018-09-21 Thread Ulink


Hi Daniel,

Im compiling Vala on Windows since years without any problems. Maybe the
following "receipe" will help:

Note: Use Win7 and above
Note: I'm using the 32 Bit MSYS2 version for some reason
Note: I'm using the same versions of Vala and Gee as on my Ubuntu 16.04

* Get MSYS2: http://repo.msys2.org/distrib/i686/msys2-i686-20180531.exe

* Start the MSYS2 exe and install to C:\msys

* Start c:\msys\msys2.exe
  * pacman -Syu
  * Close MSYS window

* Start c:\msys\msys2.exe again

  * pacman -Syu
  * pacman -S gcc make tar glib2-devel base-devel

  * wget --no-check-certificate
https://download.gnome.org/sources/vala/0.30/vala-0.30.1.tar.xz
  * tar xJf vala-0.30.1.tar.xz
  * cd vala-0.30.1
  * ./configure
  * make
  * make install
  * valac --version

  * wget --no-check-certificate
https://download.gnome.org/sources/libgee/0.18/libgee-0.18.0.tar.xz
  * tar xJf libgee-0.18.0.tar.xz
  * cd libgee-0.18.0
  * ./configure
  * make
  * make install


Regards, Bernhard
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] any latest vala binary for windows?

2018-09-21 Thread raum
Hi,

A long time ago I've writed a page 'how to build vala' and I think I will 
update this page

Perhaps you could find indpiration
Http://linbox.free.fr/vala

Regards

RaumLe 21 sept. 2018 7:48 AM, Daniel Brendle  a écrit :
>
> On 9/20/18 2:40 AM, oyster via vala-list wrote:
> > thanks, but this github's build uses installed vala to compile latest
> > source, in other words, there is no pre-built binary. It installs
> > mingw-w64-x86_64-vala-0.38.4-1 first, which happens do not work on my
> > MSYS2(no matter I input `valac`, `valac --help`, `valac test.vala`,
> > there is no message displays;  `valac test.vala` does not produce any
> > C file)
> >
> > Years ago, vala did not work on my MSYS2. Years later, it fails too.
> > Maybe vala loves Linux better. Perhaps this is my last time to try
> > vala before I totally switch to nim for which I can build the latest
> > version without any problem.
> >
> > bye. good luck to vala and me
> > Al Thomas  于2018年9月20日周四 上午8:01写道:
> >>> On Thursday, 20 September 2018, 00:45:51 BST, oyster via vala-list 
> >>>  wrote:
> >>> I give up building from source. So is there any binary vala for
> >>> windows? On MSYS2, there is an old mingw-w64-x86_64-vala-0.38.4-1
> >> It looks like 0.42.0 is there: 
> >> https://github.com/Alexpux/MINGW-packages/pull/4350
> >>
> >> I'm not a Windows user so can't really help further.
> >>
> >> Al
> >>
> >>
> >>
> > ___
> > vala-list mailing list
> > vala-list@gnome.org
> > https://mail.gnome.org/mailman/listinfo/vala-list
> > Years ago, vala did not work on my MSYS2. Years later, it fails too.
>
> i have to object, as i built libgtkflow, libhttpseverywhere, effector,
> all of them being projects of mine written in vala, on msys2 for win32
> in 2017 and it worked more or less flawlessly.
>
> ___
> vala-list mailing list
> vala-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/vala-list
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] any latest vala binary for windows?

2018-09-20 Thread Daniel Brendle
On 9/20/18 2:40 AM, oyster via vala-list wrote:
> thanks, but this github's build uses installed vala to compile latest
> source, in other words, there is no pre-built binary. It installs
> mingw-w64-x86_64-vala-0.38.4-1 first, which happens do not work on my
> MSYS2(no matter I input `valac`, `valac --help`, `valac test.vala`,
> there is no message displays;  `valac test.vala` does not produce any
> C file)
>
> Years ago, vala did not work on my MSYS2. Years later, it fails too.
> Maybe vala loves Linux better. Perhaps this is my last time to try
> vala before I totally switch to nim for which I can build the latest
> version without any problem.
>
> bye. good luck to vala and me
> Al Thomas  于2018年9月20日周四 上午8:01写道:
>>> On Thursday, 20 September 2018, 00:45:51 BST, oyster via vala-list 
>>>  wrote:
>>> I give up building from source. So is there any binary vala for
>>> windows? On MSYS2, there is an old mingw-w64-x86_64-vala-0.38.4-1
>> It looks like 0.42.0 is there: 
>> https://github.com/Alexpux/MINGW-packages/pull/4350
>>
>> I'm not a Windows user so can't really help further.
>>
>> Al
>>
>>
>>
> ___
> vala-list mailing list
> vala-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/vala-list
> Years ago, vala did not work on my MSYS2. Years later, it fails too.

i have to object, as i built libgtkflow, libhttpseverywhere, effector,
all of them being projects of mine written in vala, on msys2 for win32
in 2017 and it worked more or less flawlessly.

___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] any latest vala binary for windows?

2018-09-20 Thread Al Thomas via vala-list
   > On Thursday, 20 September 2018, 01:40:27 BST, oyster via vala-list 
 wrote:  > It installs mingw-w64-x86_64-vala-0.38.4-1 
first, which happens do not work on my
> MSYS2(no matter I input `valac`, `valac --help`, `valac test.vala`,
> there is no message displays;  `valac test.vala` does not produce any
> C file)

If there is no output at all it suggests you are not running valac from within 
the MSYS2 shell.
You will want to run in mingw64.exe for native Windows development. More 
options are give
in the Vala wiki: https://wiki.gnome.org/Projects/Vala/ValaOnWindows

Your undefined references, e.g. c:(.text+0xd2f): undefined reference to 
`g_type_check_instance_cast',
are GLib symbols. I think it means the build is not finding the GLib C headers. 
The C headers should
be in the include directory given by pkg-config --cflags glib-2.0

Good luck,

Al




  
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] any latest vala binary for windows?

2018-09-19 Thread oyster via vala-list
I am using win7 64 bits
Mario Daniel Ruiz Saavedra  于2018年9月20日周四 上午8:58写道:
>
> If you're on Windows 10 you can try to use Vala vía WSL
>
> El mié., 19 de sep. de 2018 7:54 PM, oyster via vala-list 
>  escribió:
>>
>> By the way, I also tried to build directly from C code
>> (https://download.gnome.org/sources/vala/0.42/vala-0.42.1.tar.xz)
>> but
>> ```
>> ...
>>
>> c:(.text+0xd2f): undefined reference to `g_type_check_instance_cast'
>> ../codegen/.libs/libvalaccodegen.a(valaccodecontrolflowmodule.o):valaccodecontrolflowmodule.c:(.text+0x15a5):
>> undefined reference to `g_type_check_instance_cast'
>> ../codegen/.libs/libvalaccodegen.a(valaccodecontrolflowmodule.o):valaccodecontrolflowmodule.c:(.text+0x231d):
>> undefined reference to `g_type_register_static'
>>
>> collect2.exe: error: ld returned 1 exit status
>> make[3]: *** [Makefile:453: valac.exe] Error 1
>> make[3]: Leaving directory '/r/vala-0.42.1/compiler'
>> make[2]: *** [Makefile:367: all] Error 2
>> make[2]: Leaving directory '/r/vala-0.42.1/compiler'
>> make[1]: *** [Makefile:541: all-recursive] Error 1
>> make[1]: Leaving directory '/r/vala-0.42.1'
>> make: *** [Makefile:429: all] Error 2
>>
>> ```
>> oyster  于2018年9月20日周四 上午8:40写道:
>> >
>> > thanks, but this github's build uses installed vala to compile latest
>> > source, in other words, there is no pre-built binary. It installs
>> > mingw-w64-x86_64-vala-0.38.4-1 first, which happens do not work on my
>> > MSYS2(no matter I input `valac`, `valac --help`, `valac test.vala`,
>> > there is no message displays;  `valac test.vala` does not produce any
>> > C file)
>> >
>> > Years ago, vala did not work on my MSYS2. Years later, it fails too.
>> > Maybe vala loves Linux better. Perhaps this is my last time to try
>> > vala before I totally switch to nim for which I can build the latest
>> > version without any problem.
>> >
>> > bye. good luck to vala and me
>> > Al Thomas  于2018年9月20日周四 上午8:01写道:
>> > >
>> > > > On Thursday, 20 September 2018, 00:45:51 BST, oyster via vala-list 
>> > > >  wrote:
>> > > > I give up building from source. So is there any binary vala for
>> > > > windows? On MSYS2, there is an old mingw-w64-x86_64-vala-0.38.4-1
>> > >
>> > > It looks like 0.42.0 is there: 
>> > > https://github.com/Alexpux/MINGW-packages/pull/4350
>> > >
>> > > I'm not a Windows user so can't really help further.
>> > >
>> > > Al
>> > >
>> > >
>> > >
>> ___
>> vala-list mailing list
>> vala-list@gnome.org
>> https://mail.gnome.org/mailman/listinfo/vala-list
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] any latest vala binary for windows?

2018-09-19 Thread oyster via vala-list
By the way, I also tried to build directly from C code
(https://download.gnome.org/sources/vala/0.42/vala-0.42.1.tar.xz)
but
```
...

c:(.text+0xd2f): undefined reference to `g_type_check_instance_cast'
../codegen/.libs/libvalaccodegen.a(valaccodecontrolflowmodule.o):valaccodecontrolflowmodule.c:(.text+0x15a5):
undefined reference to `g_type_check_instance_cast'
../codegen/.libs/libvalaccodegen.a(valaccodecontrolflowmodule.o):valaccodecontrolflowmodule.c:(.text+0x231d):
undefined reference to `g_type_register_static'

collect2.exe: error: ld returned 1 exit status
make[3]: *** [Makefile:453: valac.exe] Error 1
make[3]: Leaving directory '/r/vala-0.42.1/compiler'
make[2]: *** [Makefile:367: all] Error 2
make[2]: Leaving directory '/r/vala-0.42.1/compiler'
make[1]: *** [Makefile:541: all-recursive] Error 1
make[1]: Leaving directory '/r/vala-0.42.1'
make: *** [Makefile:429: all] Error 2

```
oyster  于2018年9月20日周四 上午8:40写道:
>
> thanks, but this github's build uses installed vala to compile latest
> source, in other words, there is no pre-built binary. It installs
> mingw-w64-x86_64-vala-0.38.4-1 first, which happens do not work on my
> MSYS2(no matter I input `valac`, `valac --help`, `valac test.vala`,
> there is no message displays;  `valac test.vala` does not produce any
> C file)
>
> Years ago, vala did not work on my MSYS2. Years later, it fails too.
> Maybe vala loves Linux better. Perhaps this is my last time to try
> vala before I totally switch to nim for which I can build the latest
> version without any problem.
>
> bye. good luck to vala and me
> Al Thomas  于2018年9月20日周四 上午8:01写道:
> >
> > > On Thursday, 20 September 2018, 00:45:51 BST, oyster via vala-list 
> > >  wrote:
> > > I give up building from source. So is there any binary vala for
> > > windows? On MSYS2, there is an old mingw-w64-x86_64-vala-0.38.4-1
> >
> > It looks like 0.42.0 is there: 
> > https://github.com/Alexpux/MINGW-packages/pull/4350
> >
> > I'm not a Windows user so can't really help further.
> >
> > Al
> >
> >
> >
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] any latest vala binary for windows?

2018-09-19 Thread oyster via vala-list
thanks, but this github's build uses installed vala to compile latest
source, in other words, there is no pre-built binary. It installs
mingw-w64-x86_64-vala-0.38.4-1 first, which happens do not work on my
MSYS2(no matter I input `valac`, `valac --help`, `valac test.vala`,
there is no message displays;  `valac test.vala` does not produce any
C file)

Years ago, vala did not work on my MSYS2. Years later, it fails too.
Maybe vala loves Linux better. Perhaps this is my last time to try
vala before I totally switch to nim for which I can build the latest
version without any problem.

bye. good luck to vala and me
Al Thomas  于2018年9月20日周四 上午8:01写道:
>
> > On Thursday, 20 September 2018, 00:45:51 BST, oyster via vala-list 
> >  wrote:
> > I give up building from source. So is there any binary vala for
> > windows? On MSYS2, there is an old mingw-w64-x86_64-vala-0.38.4-1
>
> It looks like 0.42.0 is there: 
> https://github.com/Alexpux/MINGW-packages/pull/4350
>
> I'm not a Windows user so can't really help further.
>
> Al
>
>
>
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] any latest vala binary for windows?

2018-09-19 Thread Al Thomas via vala-list
   > On Thursday, 20 September 2018, 00:45:51 BST, oyster via vala-list 
 wrote:  > I give up building from source. So is there any 
binary vala for
> windows? On MSYS2, there is an old mingw-w64-x86_64-vala-0.38.4-1

It looks like 0.42.0 is there: 
https://github.com/Alexpux/MINGW-packages/pull/4350

I'm not a Windows user so can't really help further.

Al



  
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


[Vala] any latest vala binary for windows?

2018-09-19 Thread oyster via vala-list
I give up building from source. So is there any binary vala for
windows? On MSYS2, there is an old mingw-w64-x86_64-vala-0.38.4-1

thanks
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list