Sunda: try executing this command right before you run build-all.sh:
I noticed that you're trying to compile Qt 4.6. Are you aware that the newer Kobo firmware builds use Qt 4.8? Also, Kobo switched to a new toolchain
in 2.6, which complicates things. I tried to compile Qt 4.8 with the new toolchain, without altering the configuration I used for the old toolchain, but it failed to compile.