1.
Try this: - Code: Select all
sudo gedit
Then open the file. Alternatively, you can copy it, edit, and sudo cp back.
Edit: kwrite and kate can't connect to the X server if sudo'd, so most likely gedit won't either.
2. I didn't find any. I'll try running it tomorrow morning. Technically, later this morning.
Edit: runs for me (openSuSE 11.4). I don't have a Vita, so I can't test it or anything.
Edit 2: Tried recompiling it. First of all, there is no makefile, so I opened the .pro in Qt Creator.
Got this on my first attempt:
- Code: Select all
/home/xian/bin/OpenIdeaCMA_pre-alpha1.0/OpenIdeaCMA-build-desktop/../src/vitamtpeventthread.cpp:206: error: cast from ‘db_metadata_t*’ to ‘int’ loses precision
but since the code in question just logs something, I commented it out and continued. Had to copy the lib folder to the build destination as well. After that, got an array of these messages:
- Code: Select all
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `lib/libmtp.a(libmtp_la-libmtp.o)' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `lib/libmtp.a(libmtp_la-unicode.o)' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `lib/libmtp.a(libmtp_la-util.o)' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `lib/libmtp.a(libmtp_la-playlist-spl.o)' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `lib/libmtp.a(libmtp_la-ptp.o)' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `lib/libmtp.a(libmtp_la-libusb1-glue.o)' is incompatible with i386:x86-64 output
Installed the 32-bit devel libusb and libxml2 as well, same error. Not my code, so I can't solve this.