I'm working on PicoGUI on MinGW. To make lots of things, I start it.
However, sometime I'm failed on PicoGUI Server...
I hope I can heard more from you.
Best Regards,
Bernard
On 12/4/05, peng sanit <[EMAIL PROTECTED]> wrote:
Hi, I am back for Picogui on Cygwin. Now We discuss the way to compile the C library , applications & tools
Before build you need to prepare some tools. You need
1. python for Cygwin, this is needed by some scripts.
2. flex & byacc for Cygwin, needed by compiling the themec tool.
3. Maybe you NEED install the automake & aclocal version 1.4 than version 1.9. Of course, you can install the two versions.
Since I only do right things for use version 1.4, when I compile apps. :) Those packets will be included in Cygwin 's release Packet.
Other things, before your compile C library, make sure, you had use "make install" in server directory to install the pgserver's head files.
C library's building is more simple than server's.
0. cd client/c
1. Open src/Makefile.am, find the "libpgui_la_SOURCES", remove the last line of it "$(PLATFORM)", when you use automake version 1.9
2. ./autogen.sh if failed, use "libtoolize", and ./autogen.sh again
3../configure, it seems that it always doesn't find the pgserver's directory, you should use "./configure --with-pgserver-dir=<your server's directory>".
Thus client c will be right to install the include files in the pgserver's include/picogui directory.
4. make && make install will be alright.
tools build: you need build tools before apps, since some apps need the themec tool.
1. cd tools
2. edit autogen.sh, change the automake to automake-1.4, and change aclocal to aclocal-1.4
3. ./autogen.sh && ./configure && make && make install
apps build:
There are four file's missing at the Subversion Repository for Picogui. The same missing are reported in picogui-0.46 release packet, to see:
http://picogui.org/Collector/52, copy those files from picogui-0.45 to apps directory.
1. cd apps
2. edit autogen.sh, change the automake to automake-1.4, and change aclocal to aclocal-.14
3. modify working/pterm/main.c, add line "#include <sys/termios.h>
4. ./autogen.sh && ./configure && make
Now enjoy it. :)
