Re: [Vala] Vala on Windows



On 2008-11-10 17:17, Vlad Grecescu wrote:
On Mon, Nov 10, 2008 at 4:57 PM, HB <mszubart gmail com <mailto:mszubart gmail com>> wrote:

    Hello.
    I have installed vala 0.5.1
    (ftp://ftp-developpez.com/gtk/vala/vala-0.5.1.exe).
    When I try to compile HelloGtk program ;) I get this:
    D:\vala-0.5.1>valac --pkg gtk+-2.0 --cc=gcc -o test Test.vala
    gcc: installation problem, cannot exec `cc1': No such file or
    directory
    error: cc exited with status 1
    Compilation failed: 1 error(s), 0 warning(s)

    My path variable is correct but cc1 is not present.
    What I am doing wrong ?

    I apologize for my English.


I think you accidentally MinGW & MSYS on a FAT partition. Does running gcc alone works? If not, it's because some hard link could not be created to cc1.exe

The solution I found (If I remember correctly) was to search for cc1.exe, and add it to MSYS's .profile PATH
PATH=$PATH:/path/to/cc1/

Regards,
Vlad
I fixed it. Nothing with PATH and FAT. It's just broken file (archive).
I downloaded it again and now (after little battle with vista (stfu)) works fine.
I´m sorry for wasting your time. I thought it was something more serious.

Greetings



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