From: happytoday on
root @ Homer /export/home/gtk-server-2.3.1-sr>./build

This script compiles the GTK-server and installs it on your system.

Do you want to continue (y/n)?y

*** Running configure for standalone GTK-server ***

checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... ./install-sh -c
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking for memset... yes
checking for setlocale... yes
checking for strstr... yes
checking for snprintf... yes
checking for gethostbyname... yes
checking for mkfifo... yes
checking for socket... yes
checking for atexit... yes
checking for inet_ntoa... yes
checking for gtk_init in -lgtk-x11-2.0... yes
checking for pkg-config... /usr/bin/pkg-config
checking for SSL_library_init in -lssl... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... egrep
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking ffi.h usability... no
checking ffi.h presence... no
checking for ffi.h... no
checking avcall.h usability... yes
checking avcall.h presence... yes
checking for avcall.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for unistd.h... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h

---------------------------------
Configured options for GTK-server
---------------------------------

- Use GTK 1.x backend: NO
- Use GTK 2.x backend: YES
- Use XForms backend: NO
- Use console backend: NO
- Library support for Scriptbasic: NO
- Library support for S-Lang: NO
- Library support for Kornshell93: NO
- Statically link: NO
- Support for SSL: YES

The GTK-server will be built with gcc as a standalone executable using
Foreign Function Calls (FFCALL).

Now run 'make' and 'make install' to build and install the GTK-server.


*** Starting compilation ***

rm -f gtk-server *.a *.o *.log so_locations
gcc -Wall -pedantic -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -
I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/openwin/include -
I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -fPIC -DHAVE_CONFIG_H -DLOCALCFG=\"/etc/
gtk-server.cfg\" -c gtk-server.c
gcc -o gtk-server gtk-server.o --export-dynamic -lsocket -lnsl -
lavcall -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -
lmlib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -
lgmodule-2.0 -lglib-2.0 -lcrypto -lssl
ld: fatal: library -lavcall: not found
ld: fatal: File processing errors. No output written to gtk-server
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `gtk-server'


root @ Homer /export/home/gtk-server-2.3.1-sr>
From: Sidney Lambe on
On comp.unix.shell, Michael Vilain <vilain(AT)NOspamcop.net> wrote:
> From: Michael Vilain <vilain(AT)NOspamcop.net>
> Newsgroups: comp.unix.solaris,alt.solaris.x86,comp.unix.questions,comp.lang.awk,comp.unix.shell
> Subject: Re: gtk-server make error
> Date: Wed, 03 Feb 2010 10:57:11 -0800
> Organization: DexLabs, Inc.
> Lines: 136
> Message-ID: <vilain-8194D9.10571103022010(AT)news.individual.net>
> References: <d4fbadec-9ae6-4d7b-bd3e-143e567e9e24(AT)z26g2000yqm.googlegroups.com>
> X-Trace: individual.net 86uueeu6QH4Nz9tw6hYIPQpLe+3lY4UBjsGa4Lj+w5j4Kg1ovn
> X-Orig-Path: vilain
> Cancel-Lock: sha1:9uScOPzJL41k7ntEAGUqddfkaRs=
> User-Agent: MT-NewsWatcher/3.5.3b3 (PPC Mac OS X)
> X-No-Archive: yes

If it is worth posting, it is worth archiving.
All the "at" symbols (Shift-2) have been changed to "(AT)", so
these headers will be stored even more accurately at googlegroups
(and other archives) than they would have been without that header.


> X-Face: 'sf(AT),"O{C]yOJr<81lbJ;%]]jY%:%{0B0W;V$SG5{J=_k=50)Vw7^jDa^qf5! D5G}nglJu9#DWgf<a?mECDZ[4f9bn.t>3ka%(BLcGvS?V`YP5Ccb8w^sx#Vk5fg`ufx' ~By^(!Xdh^J-ap9e:$E(G<\|i6'*FtHc$?A_UJdB$c/HpJ^(OCnn42.
> Path: x-privat.org!news.le-studio75.com!feeds.phibee-telecom.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
> Xref: news.x-privat.org comp.unix.solaris:47244 alt.solaris.x86:5427 comp.unix.questions:3068 comp.lang.awk:7843 comp.unix.shell:35175
>
> In article
><d4fbadec-9ae6-4d7b-bd3e-143e567e9e24(AT)z26g2000yqm.googlegroups.com>,
> happytoday <ehabaziz2001(AT)gmail.com> wrote:
>
>> root (AT) Homer /export/home/gtk-server-2.3.1-sr>./build
>>
>> This script compiles the GTK-server and installs it on your system.
>>
>> Do you want to continue (y/n)?y
>>
>> *** Running configure for standalone GTK-server ***
>>
>> checking for gcc... gcc
>> checking for C compiler default output file name... a.out
>> checking whether the C compiler works... yes
>> checking whether we are cross compiling... no
>> checking for suffix of executables...
>> checking for suffix of object files... o
>> checking whether we are using the GNU C compiler... yes
>> checking whether gcc accepts -g... yes
>> checking for gcc option to accept ANSI C... none needed
>> checking for a BSD-compatible install... ./install-sh -c
>> checking build system type... i386-pc-solaris2.10
>> checking host system type... i386-pc-solaris2.10
>> checking for memset... yes
>> checking for setlocale... yes
>> checking for strstr... yes
>> checking for snprintf... yes
>> checking for gethostbyname... yes
>> checking for mkfifo... yes
>> checking for socket... yes
>> checking for atexit... yes
>> checking for inet_ntoa... yes
>> checking for gtk_init in -lgtk-x11-2.0... yes
>> checking for pkg-config... /usr/bin/pkg-config
>> checking for SSL_library_init in -lssl... yes
>> checking how to run the C preprocessor... gcc -E
>> checking for egrep... egrep
>> checking for ANSI C header files... no
>> checking for sys/types.h... yes
>> checking for sys/stat.h... yes
>> checking for stdlib.h... yes
>> checking for string.h... yes
>> checking for memory.h... yes
>> checking for strings.h... yes
>> checking for inttypes.h... yes
>> checking for stdint.h... yes
>> checking for unistd.h... yes
>> checking locale.h usability... yes
>> checking locale.h presence... yes
>> checking for locale.h... yes
>> checking for stdlib.h... (cached) yes
>> checking for string.h... (cached) yes
>> checking ffi.h usability... no
>> checking ffi.h presence... no
>> checking for ffi.h... no
>> checking avcall.h usability... yes
>> checking avcall.h presence... yes
>> checking for avcall.h... yes
>> checking fcntl.h usability... yes
>> checking fcntl.h presence... yes
>> checking for fcntl.h... yes
>> checking netdb.h usability... yes
>> checking netdb.h presence... yes
>> checking for netdb.h... yes
>> checking sys/socket.h usability... yes
>> checking sys/socket.h presence... yes
>> checking for sys/socket.h... yes
>> checking sys/wait.h usability... yes
>> checking sys/wait.h presence... yes
>> checking for sys/wait.h... yes
>> checking arpa/inet.h usability... yes
>> checking arpa/inet.h presence... yes
>> checking for arpa/inet.h... yes
>> checking for unistd.h... (cached) yes
>> configure: creating ./config.status
>> config.status: creating Makefile
>> config.status: creating config.h
>>
>> ---------------------------------
>> Configured options for GTK-server
>> ---------------------------------
>>
>> - Use GTK 1.x backend: NO
>> - Use GTK 2.x backend: YES
>> - Use XForms backend: NO
>> - Use console backend: NO
>> - Library support for Scriptbasic: NO
>> - Library support for S-Lang: NO
>> - Library support for Kornshell93: NO
>> - Statically link: NO
>> - Support for SSL: YES
>>
>> The GTK-server will be built with gcc as a standalone executable using
>> Foreign Function Calls (FFCALL).
>>
>> Now run 'make' and 'make install' to build and install the GTK-server.
>>
>>
>> *** Starting compilation ***
>>
>> rm -f gtk-server *.a *.o *.log so_locations
>> gcc -Wall -pedantic -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -
>> I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/openwin/include -
>> I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/include/glib-2.0
>> -I/usr/lib/glib-2.0/include -fPIC -DHAVE_CONFIG_H -DLOCALCFG=\"/etc/
>> gtk-server.cfg\" -c gtk-server.c
>> gcc -o gtk-server gtk-server.o --export-dynamic -lsocket -lnsl -
>> lavcall -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -
>> lmlib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -
>> lgmodule-2.0 -lglib-2.0 -lcrypto -lssl
>> ld: fatal: library -lavcall: not found
>> ld: fatal: File processing errors. No output written to gtk-server
>> collect2: ld returned 1 exit status
>> *** Error code 1
>> make: Fatal error: Command failed for target `gtk-server'
>>
>>
>> root (AT) Homer /export/home/gtk-server-2.3.1-sr>
>
> You're missing a library that the build script isn't checking for.
> Something called avcall which you'll have to research either with the
> build scripts, any README files, or the project's forum. That's the
> nature of free software. You get to figure out why things don't work
> all by your lonesome.
>
> Think of it as working on the VW on the weekend instead of taking your
> car to the dealer and having them fix it.
>
> Good luck.
>
> --
> DeeDee, don't press that button! DeeDee! NO! Dee...
> [I filter all Goggle Groups posts, so any reply may be automatically by ignored]
>
>

Good point.

Sid

From: happytoday on
On Feb 3, 8:57 pm, Michael Vilain <vil...(a)NOspamcop.net> wrote:
> In article
> <d4fbadec-9ae6-4d7b-bd3e-143e567e9...(a)z26g2000yqm.googlegroups.com>,
>
>
>
>  happytoday <ehabaziz2...(a)gmail.com> wrote:
> > root @ Homer /export/home/gtk-server-2.3.1-sr>./build
>
> > This script compiles the GTK-server and installs it on your system.
>
> > Do you want to continue (y/n)?y
>
> > *** Running configure for standalone GTK-server ***
>
> > checking for gcc... gcc
> > checking for C compiler default output file name... a.out
> > checking whether the C compiler works... yes
> > checking whether we are cross compiling... no
> > checking for suffix of executables...
> > checking for suffix of object files... o
> > checking whether we are using the GNU C compiler... yes
> > checking whether gcc accepts -g... yes
> > checking for gcc option to accept ANSI C... none needed
> > checking for a BSD-compatible install... ./install-sh -c
> > checking build system type... i386-pc-solaris2.10
> > checking host system type... i386-pc-solaris2.10
> > checking for memset... yes
> > checking for setlocale... yes
> > checking for strstr... yes
> > checking for snprintf... yes
> > checking for gethostbyname... yes
> > checking for mkfifo... yes
> > checking for socket... yes
> > checking for atexit... yes
> > checking for inet_ntoa... yes
> > checking for gtk_init in -lgtk-x11-2.0... yes
> > checking for pkg-config... /usr/bin/pkg-config
> > checking for SSL_library_init in -lssl... yes
> > checking how to run the C preprocessor... gcc -E
> > checking for egrep... egrep
> > checking for ANSI C header files... no
> > checking for sys/types.h... yes
> > checking for sys/stat.h... yes
> > checking for stdlib.h... yes
> > checking for string.h... yes
> > checking for memory.h... yes
> > checking for strings.h... yes
> > checking for inttypes.h... yes
> > checking for stdint.h... yes
> > checking for unistd.h... yes
> > checking locale.h usability... yes
> > checking locale.h presence... yes
> > checking for locale.h... yes
> > checking for stdlib.h... (cached) yes
> > checking for string.h... (cached) yes
> > checking ffi.h usability... no
> > checking ffi.h presence... no
> > checking for ffi.h... no
> > checking avcall.h usability... yes
> > checking avcall.h presence... yes
> > checking for avcall.h... yes
> > checking fcntl.h usability... yes
> > checking fcntl.h presence... yes
> > checking for fcntl.h... yes
> > checking netdb.h usability... yes
> > checking netdb.h presence... yes
> > checking for netdb.h... yes
> > checking sys/socket.h usability... yes
> > checking sys/socket.h presence... yes
> > checking for sys/socket.h... yes
> > checking sys/wait.h usability... yes
> > checking sys/wait.h presence... yes
> > checking for sys/wait.h... yes
> > checking arpa/inet.h usability... yes
> > checking arpa/inet.h presence... yes
> > checking for arpa/inet.h... yes
> > checking for unistd.h... (cached) yes
> > configure: creating ./config.status
> > config.status: creating Makefile
> > config.status: creating config.h
>
> > ---------------------------------
> > Configured options for GTK-server
> > ---------------------------------
>
> >  - Use GTK 1.x backend: NO
> >  - Use GTK 2.x backend: YES
> >  - Use XForms backend: NO
> >  - Use console backend: NO
> >  - Library support for Scriptbasic: NO
> >  - Library support for S-Lang: NO
> >  - Library support for Kornshell93: NO
> >  - Statically link: NO
> >  - Support for SSL: YES
>
> > The GTK-server will be built with gcc as a standalone executable using
> > Foreign Function Calls (FFCALL).
>
> > Now run 'make' and 'make install' to build and install the GTK-server.
>
> > *** Starting compilation ***
>
> > rm -f gtk-server *.a *.o *.log so_locations
> > gcc -Wall -pedantic -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -
> > I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/openwin/include -
> > I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/include/glib-2.0
> > -I/usr/lib/glib-2.0/include   -fPIC -DHAVE_CONFIG_H -DLOCALCFG=\"/etc/
> > gtk-server.cfg\"  -c  gtk-server.c
> > gcc -o gtk-server gtk-server.o --export-dynamic -lsocket -lnsl -
> > lavcall -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -
> > lmlib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -
> > lgmodule-2.0 -lglib-2.0   -lcrypto -lssl
> > ld: fatal: library -lavcall: not found
> > ld: fatal: File processing errors. No output written to gtk-server
> > collect2: ld returned 1 exit status
> > *** Error code 1
> > make: Fatal error: Command failed for target `gtk-server'
>
> > root @ Homer /export/home/gtk-server-2.3.1-sr>
>
> You're missing a library that the build script isn't checking for.  
> Something called avcall which you'll have to research either with the
> build scripts, any README files, or the project's forum.  That's the
> nature of free software.  You get to figure out why things don't work
> all by your lonesome.
>
> Think of it as working on the VW on the weekend instead of taking your
> car to the dealer and having them fix it.
>
> Good luck.
>
> --
> DeeDee, don't press that button!  DeeDee!  NO!  Dee...
> [I filter all Goggle Groups posts, so any reply may be automatically by ignored]

I installed ffcall package by issuing :
# pkg-get install ffcall

as seen :

root @ Homer /opt/csw/lib>ls
32 libcallback.so.0 libformw.so.
5 libintl.so.2 libncursesw.so.5
64 libcallback.so.0.0.0 libformw.so.
5.7 libintl.so.3 libncursesw.so.5.7
X11 libcharset.so
libgettextlib-0.14.1.so libintl.so.8 libpanel.so
amd64 libcharset.so.1
libgettextlib-0.17.so libintl.so.8.0.2 libpanel.so.5
charset.alias libcharset.so.1.0.0
libgettextlib.so libmenu.so libpanel.so.5.7
gettext libexpat.so
libgettextpo.so libmenu.so.5 libpanelw.so
i386 libexpat.so.0 libgettextpo.so.
0 libmenu.so.5.7 libpanelw.so.5
libasprintf.so libexpat.so.0.5.0 libgettextpo.so.
0.4.0 libmenuw.so libpanelw.so.5.7
libasprintf.so.0 libexpat.so.1
libgettextsrc-0.17.so libmenuw.so.5 libtrampoline.a
libasprintf.so.0.0.0 libexpat.so.1.5.2
libgettextsrc.so libmenuw.so.5.7 libvacall.a
libavcall.so libform.so
libiconv.so libncurses.so locale
libavcall.so.0 libform.so.5 libiconv.so.
2 libncurses.so.5 pentium
libavcall.so.0.0.0 libform.so.5.7 libiconv.so.
2.5.0 libncurses.so.5.7 preloadable_libiconv.so
libcallback.so libformw.so
libintl.so libncursesw.so terminfo
root @ Homer /opt/csw/lib>


From: Oscar del Rio on
On 02/ 4/10 04:44 AM, happytoday wrote:
> On Feb 3, 8:57 pm, Michael Vilain<vil...(a)NOspamcop.net> wrote:
>> You're missing a library that the build script isn't checking for.
>> Something called avcall which you'll have to research either with the
>> build scripts, any README files, or the project's forum. That's the
>> nature of free software. You get to figure out why things don't work
>> all by your lonesome.
>
> I installed ffcall package by issuing :
> # pkg-get install ffcall
>
> as seen :
>
> root @ Homer /opt/csw/lib>ls

> libavcall.so libform.so

the compiler/linker/configure/build program does not know about
/opt/csw/lib. You need to supply -L and -R options to the compiler/linker.

>>> gcc -o gtk-server gtk-server.o --export-dynamic -lsocket -lnsl -
>>> lavcall -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -
>>> lmlib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -
>>> lgmodule-2.0 -lglib-2.0 -lcrypto -lssl
>>> ld: fatal: library -lavcall: not found

check the build/configure script options on how to specify the libraries
search path (-L and -R). You might also be able to get away with it using

export LD_OPTIONS="-L/opt/csw/lib -R/opt/csw/lib"

before configuring/building. See "man ld"
From: happytoday on
On Feb 4, 5:08 pm, Oscar del Rio <del...(a)mie.utoronto.ca> wrote:
> On 02/ 4/10 04:44 AM, happytoday wrote:
>
> > On Feb 3, 8:57 pm, Michael Vilain<vil...(a)NOspamcop.net>  wrote:
> >> You're missing a library that the build script isn't checking for.
> >> Something called avcall which you'll have to research either with the
> >> build scripts, any README files, or the project's forum.  That's the
> >> nature of free software.  You get to figure out why things don't work
> >> all by your lonesome.
>
> > I installed ffcall package by issuing :
> > # pkg-get install ffcall
>
> > as seen :
>
> > root @ Homer /opt/csw/lib>ls
> > libavcall.so             libform.so
>
> the compiler/linker/configure/build program does not know about
> /opt/csw/lib.  You need to supply -L and -R options to the compiler/linker.
>
>  >>> gcc -o gtk-server gtk-server.o --export-dynamic -lsocket -lnsl -
>  >>> lavcall -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -
>  >>> lmlib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -
>  >>> lgmodule-2.0 -lglib-2.0   -lcrypto -lssl
>  >>> ld: fatal: library -lavcall: not found
>
> check the build/configure script options on how to specify the libraries
> search path (-L and -R). You might also be able to get away with it using
>
> export LD_OPTIONS="-L/opt/csw/lib -R/opt/csw/lib"
>
> before configuring/building.  See "man ld"
Oka solved by copying the /opt/csw/lib into /usr/lib without
overwriting.

Another problem :
root @ Homer /export/home/gtk-server-2.3.1-sr/demo-gtk>./test.awk
couldn't set locale correctly
couldn't set locale correctly

(process:1563): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
root @ Homer /export/home/gtk-server-2.3.1-sr/demo-gtk>locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=nl_NL
root @ Homer /export/home/gtk-server-2.3.1-sr/demo-gtk>