Cygwin & Picogui 's C Library, Applications, Tools
peng sanit <[email protected]> Sun, 4 Dec 2005 16:36:25 +0800
| Newsgroups | gmane.comp.video.picogui.devel |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_8437_29406643.1133685385768
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
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 us=
e
"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=3D<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 chang=
e
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. :)
------=_Part_8437_29406643.1133685385768
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi, I am back for Picogui on Cygwin. Now We discuss the way to compile the =
C library , applications & tools<br> Before build you=
need to prepare some tools. You need <br> &nb=
sp; 1. python for Cygwin, this is needed by some scripts.=
=20
<br> 2. flex & byacc fo=
r Cygwin, needed by compiling the themec tool. <br> =
3. Maybe you NEED install the automake & aclocal ve=
rsion 1.4 than version 1.9. Of course, you can install the two versions.=20
<br>  =
; 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. <br> &nbs=
p; Other things, before your compile C =
library, make sure, you had use "make install" in server director=
y to install the pgserver's head files.
<br><br> C library's building is more simple than server'=
s. <br>
<br> 0. cd client/c <br> &nb=
sp; 1. Open src/Makefile.am, find the "l=
ibpgui_la_SOURCES", remove the last line of it "$(PLATFORM)"=
, when you use automake version 1.9<br> =
2. ./autogen.sh if failed, use "libtoolize", and ./autogen=
.sh again
<br> 3../configure, it seems that=
it always doesn't find the pgserver's directory, you should use "./co=
nfigure --with-pgserver-dir=3D<your server's directory>". <br>&n=
bsp; Thus client c will be =
right to install the include files in the pgserver's include/picogui direct=
ory.
<br> 4. make && make inst=
all will be alright.<br><br> tools build: you need build tools =
before apps, since some apps need the themec tool.<br> &nb=
sp; 1. cd tools<br> &n=
bsp; 2. edit autogen.sh, change the automake to=20
automake-1.4, and change aclocal to aclocal-1.4<br> =
3. ./autogen.sh && ./configure && =
make && make install<br><br> apps build:<br> =
; There are four file's missing a=
t the Subversion Repository for Picogui. The same missing are reported in=
=20
picogui-0.46 release packet, to see: <br> =
<a href=3D"http://picogui.org/Collector/52">http://picogui.org/Coll=
ector/52</a>, copy those files from picogui-0.45 to apps directory.<br>&nbs=
p; 1. cd apps<br> &nbs=
p; 2. edit=20
autogen.sh, change the automake to automake-1.4, and change aclocal to aclo=
cal-.14<br> 3. modify working/pte=
rm/main.c, add line "#include <sys/termios.h><br> &nb=
sp; 4. ./autogen.sh && ./configure &&am=
p; make=20
<br><br> Now enjoy it. :)<br>&nbs=
p; <br>
------=_Part_8437_29406643.1133685385768--
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click