Re: Cygwin & Picogui 's C Library, Applications, Tools

Midnight Xiong <[email protected]> Sun, 4 Dec 2005 20:02:20 +0800
Newsgroups gmane.comp.video.picogui.devel
Message-ID <[email protected]>
------=_Part_19160_33346485.1133697740348
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi, nice to heard from you.

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 th=
e
> 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 tha=
n
> 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 Pack=
et.
>
>          Other things, before your compile C library, make sure, you had
> use "make install" in server directory to install the pgserver's head fil=
es.
>
>
>     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 th=
e
> 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 th=
e
> 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. :)
>
>

------=_Part_19160_33346485.1133697740348
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi, nice to heard from you.<br>
<br>
I'm working on PicoGUI on MinGW. To make lots of things, I start it.<br>
However, sometime I'm failed on PicoGUI Server...<br><br>
I hope I can heard more from you.<br>
<br>
<br>
<br>
Best Regards,<br>
Bernard<br><br>
<div><span class=3D"gmail_quote">On 12/4/05, <b class=3D"gmail_sendername">=
peng sanit</b> &lt;<a href=3D"mailto:[email protected]">sanit.picogui=
@gmail.com</a>&gt; wrote:</span><blockquote class=3D"gmail_quote" style=3D"=
border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; paddi=
ng-left: 1ex;">
Hi, I am back for Picogui on Cygwin. Now We discuss the way to compile the =
C library , applications &amp; tools<br>&nbsp;&nbsp;&nbsp; Before build you=
 need to prepare some tools. You need&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; 1. python for Cygwin, this is needed by some scripts.=
=20
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2. flex &amp; byacc fo=
r Cygwin, needed by compiling the themec tool. <br>&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp; &nbsp;&nbsp; 3. Maybe you NEED install the automake &amp; aclocal ve=
rsion 1.4 than version 1.9. Of course, you can install the two versions.=20
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
; 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>&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Other things, before your compile C =
library, make sure, you had use &quot;make install&quot; in server director=
y to install the pgserver's head files.
<br><br>&nbsp;&nbsp;&nbsp; C library's building is more simple than server'=
s. <br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0. cd client/c <br>&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1. Open src/Makefile.am, find the &quot;l=
ibpgui_la_SOURCES&quot;, remove the last line of it &quot;$(PLATFORM)&quot;=
, when you use automake version 1.9<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp; 2. ./autogen.sh if failed, use &quot;libtoolize&quot;, and ./autogen=
.sh again
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3../configure, it seems that=
 it always doesn't find the pgserver's directory, you should use &quot;./co=
nfigure --with-pgserver-dir=3D&lt;your server's directory&gt;&quot;. <br>&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thus client c will be =
right to install the include files in the pgserver's include/picogui direct=
ory.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4. make &amp;&amp; make inst=
all will be alright.<br><br>&nbsp;&nbsp; tools build: you need build tools =
before apps, since some apps need the themec tool.<br>&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; 1. cd tools<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; 2. edit autogen.sh, change the automake to=20
automake-1.4, and change aclocal to aclocal-1.4<br>&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp; 3. ./autogen.sh &amp;&amp; ./configure &amp;&amp; =
make &amp;&amp; make install<br><br>&nbsp;&nbsp;&nbsp; apps build:<br>&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=
&nbsp;  <a href=3D"http://picogui.org/Collector/52" target=3D"_blank" oncli=
ck=3D"return top.js.OpenExtLink(window,event,this)">http://picogui.org/Coll=
ector/52</a>, copy those files from=20
picogui-0.45 to apps directory.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 1. cd apps<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2. edit=20
autogen.sh, change the automake to automake-1.4, and change aclocal to aclo=
cal-.14<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3. modify working/pte=
rm/main.c, add line &quot;#include &lt;sys/termios.h&gt;<br>&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; 4. ./autogen.sh &amp;&amp; ./configure &amp;&am=
p; make=20
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Now enjoy it. :)<br>&nbs=
p; &nbsp; &nbsp; &nbsp;&nbsp;  <br>

</blockquote></div><br>

------=_Part_19160_33346485.1133697740348--


-------------------------------------------------------
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