project.vala:869: You should compile the project before executing it!

Bug #640723 reported by Christian González
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
valide
Incomplete
High
Nicolas Joseph

Bug Description

* simply load valide.vide as project into valide
* configure it (not possible per button, must use menu)
* compile it - no problem.
* now run it per button - it says:
"project.vala:869: You should compile the project before executing it!"

(I remember the last version said something aboug "too old, compile again".

Revision history for this message
Nicolas Joseph (gege2061) wrote :

Hello,

The first message "You should compile the project before executing it!" appears when the executable is not found and the second, when the executable is found but its last modification date is earlier than project files.

Before run, have you install the project?

Revision history for this message
Christian González (droetker) wrote :

I'm not at home ATM so I can't test it.
So I hace to install the program first before I can run it?
Ok, first I thought "installation" is a system wide one. But it only installs into the _install_ folder inside the source tree.
I'll try on monday and tell you.

Changed in valide:
status: New → Incomplete
Revision history for this message
Christian González (droetker) wrote :

So, tried it again.
* checked out a fresh copy of valide.
* opened it in valide
* Menu Project->configure - runs normal (small error: "error: No such command '~'", see screenshot)
* Button Build - runs normal, (same small error as above, see screenshot)
(*optional: run install - makes no difference)
*run Execute - error: "project.vala:869: You should compile the project before executing it!"

Revision history for this message
Nicolas Joseph (gege2061) wrote :

It's an accidental change in the project file. Please try again.

Changed in valide:
assignee: nobody → Nicolas Joseph (gege2061)
importance: Undecided → High
Revision history for this message
Christian González (droetker) wrote :

now, when configuring inside valide, it segfaults.
even when I build/install with --debug, I get no Inf except "Seg fault" when hitting the menu item "configure F5".
Can't proceed.

BTW:
I saw in the .vide file that the working dir is hardcoded as

working-dir: /home/gege2061/projects/valide

This shouldn't be hard coded in a bzr trunk should it?

Revision history for this message
Monkey (monkey-libre) wrote :

I think so, like other paths in .vide but when I see Project > Options... the path is the real path or unless with trunk version.

Revision history for this message
Christian González (droetker) wrote :

Found the error.
libvala-0.12.0-dev (!) must be installed from the ppa.
BTW, this conflicts with libvala-0.10-0-dev from Ubuntu stock, so you have to uninstall that one.

Packages needed addidionally:
libvala-0.12.0-dev
libgdl-1-dev
libunique-dev

then "./waf configure" was successful.

Revision history for this message
Christian González (droetker) wrote :

ooooops, SORRY, please ignore my last post #7, wrong bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.