Do I need a special environment like scratchbox from maemo sdk? I tried it there too with same results.