
hope someone else can make whole thing as a script.
brief: gcin is a software to input chinese, japanese, korean in *nix.
1. first of all, download gcin-<version>.tar.xz from http://cle.linux.org.tw/gcin/download/
2. untar it.
3. put the following script "configure-for-porteus" in src dir and run it.
==========================
configure-for-porteus
Code: Select all
#!/bin/bash
if [ ! -x ./configure ]; then
echo "You can't start 'configure-for-porteus' in a directory with no 'configure' script"
exit 1
fi
you have to make the comeputer to remember the flag to compile:
Code: Select all
CFLAGS="-O3 -march=i486 -mtune=i686" \
./configure --prefix=/usr --build=i486-Slackware-linux "$@"
in case that you have the problem while compiling gcin:
Code: Select all
/usr/lib/qt4/bin/moc gcin-qt.h -o moc_gcin-qt.cpp make[1]:
/usr/lib/qt4/bin/moc: Command not found make[1]: ***
please download qt-4 package and install and do the following commands:
Code: Select all
mkdir /usr/lib/qt4
mkdir /usr/lib/qt4/bin
ln -s /usr/lib/qt/bin/moc /usr/lib/qt4/bin/moc
ln -s /usr/lib/gcin/libgcin-im-client.so.1.2.5 /usr/lib/gcin/libgcin-im-client.so.1
Code: Select all
make
find /mnt/live/memory/changes -type f > /tmp/oldchanges
make install
find /mnt/live/memory/changes -type f > /tmp/newchanges
cd ../
diff /tmp/oldchanges /tmp/newchanges > files
cat files | grep -v "tmp/newchanges" | grep ">" | sed 's_> /mnt/live/memory/changes__' > newfiles
rm temp.tar
cat newfiles| xargs tar cf temp.tar
rm -rf temp
mkdir temp
tar xf temp.tar -C temp
dir2xzm temp X.xzm
-----
sorry. it aint finished yet...
some files needs to be created...
the following file is my walking nodule
the link upated at 01:45 27.02.2012 (CST)
http://www.mediafire.com/file/flxc3s3yx ... 3-i486.xzm
cp the things under /etc and /root to yours
and run dir2xzm, that`s it
please feel free to correct me.
thank you.