how to make installable of PHP_GTK apps

2002-03-25 Thread rishi jyoti



hello all,

I am new to PHP GTK (but not to PHP!) and have 
written a simple app. i want to make an installer for windows platform so that 
my app can be installed and run on other computers which do not have PHP/apache 
et all installed. is it possible?

Thanks in advance!
RJ


SegFault with GnomeCanvas (Polygon)

2002-03-25 Thread Jean-Christophe Berthon

Hello,

When using the Polygon item in a GnomeCanvas (with the aa option ON : it's
about using libart instead of GDK to draw, I think...) we are getting a
segmentation fault after having changing a few times the fill and borderline
color of this object.
We are changing the colors each time the user select a polygon. We are
using the following code to create and change the color of a polygon :

  gtkRoot = gnome_canvas_root(GNOME_CANVAS(cnvDrawableObject));
  gtkPoints = gnome_canvas_points_new(4);

  gtkPoints-coords[0] = (ast_double)aPointPxlBG.lX;
  gtkPoints-coords[1] = (ast_double)aPointPxlBG.lY;
  gtkPoints-coords[2] = (ast_double)aPointPxlBD.lX;
  gtkPoints-coords[3] = (ast_double)aPointPxlBD.lY;
  gtkPoints-coords[4] = (ast_double)aPointPxlHG.lX;
  gtkPoints-coords[5] = (ast_double)aPointPxlHG.lY;
  gtkPoints-coords[6] = (ast_double)aPointPxlHD.lX;
  gtkPoints-coords[7] = (ast_double)aPointPxlHD.lY;

  gtkGfxItem = gnome_canvas_item_new
   (
gtkRoot,
gnome_canvas_polygon_get_type(),
points,gtkPoints,
fill_color_rgba,  0xAFCAE980,
outline_color_rgba,  0xAFCAE9FF,
width_pixels,   TAGR_LINE_WIDTH,
NULL
   );


And to change the color :
gnome_canvas_item_set
  (
   gtkGfxItem,
   fill_color_rgba,iFillColor,
   outline_color_rgba,  iOutlineColor,
   NULL
  );
/* With iFillColor and iOutlineColor two gint32 numbers representing the
selection color */

After a few selection (about 1à different ones) we're getting a segmentation
fault when executing the change color `gnome_canvas_item_set'

NB: If I change the item for another form (rectangular or ellipse have been
tryed) there is no problem! Why we are not changing to those items is
because it will not represent anymore what it should be, we need to use
polygons.



Best regards,
---
Jean-Christophe Berthon


___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: does 10 colors and 10 drawing areas mean *100* GdkColors???

2002-03-25 Thread Simon Eilting

Why don't you just set the foreground color everytime you draw something?

Christian Seberino wrote:

Since every(many?) drawing command wants a graphics
context and every graphics context can only have
ONE foreground color set with gdk_gc_set_foreground,...

it seems I need a new graphics context for EVERY
color.  If you make one for EVERY drawing area TOO then
I'm using memory fast.  Is this right???

Chris




___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: SegFault with GnomeCanvas (Polygon)

2002-03-25 Thread Paul Davis

Hello,

When using the Polygon item in a GnomeCanvas (with the aa option ON : it's
about using libart instead of GDK to draw, I think...) we are getting a
segmentation fault after having changing a few times the fill and borderline
color of this object.
We are changing the colors each time the user select a polygon. We are
using the following code to create and change the color of a polygon :

1) how big are your polygons?
2) which version of libart?
3) do you know how to use gdb? reporting a segmentation fault is not
  particularly useful by itself. either use gdb to get a backtrace
  so you can see precisely what goes wrong, and/or produce a
  little test case on the order of 100 lines or so.

--p
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: SegFault with GnomeCanvas (Polygon)

2002-03-25 Thread Jean-Christophe Berthon


 1) how big are your polygons?
 2) which version of libart?
 3) do you know how to use gdb? reporting a segmentation fault is not
   particularly useful by itself. either use gdb to get a backtrace
   so you can see precisely what goes wrong, and/or produce a
   little test case on the order of 100 lines or so.


Hy Paul,

First thank you for your reply :-)

1) Do you mean if they are pentagons, hexagons, or bigger? In fact I'm
displaying quadrilatere (4 sides polygons), I cannot use rectangle are I
don't have always a rectangular angle and it can be looking sometimes a bit
trapezoid or parallelogram-ish... They are about a 100 pixels wide for 50
heigth.

2) I'm using libart_lgpl 2.2.0 -- Gtk 1.2.10 -- Gnome 1.2.13

3) I don't have debug feature for Gtk/GNOME so the only thing I know is that
I'm getting seg-fault (and no core dump) on the call of
gnome_canvas_item_set. I can make a little test case and send it to the list
once it is done (later in the afternoon or maybe tomorrow...)


Once again, thank you :-))

Jean-Christophe


___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: how to make installable of PHP_GTK apps

2002-03-25 Thread Steph

Yes.  Write to the correct list and someone may even know how :-)

[EMAIL PROTECTED]

- Original Message - 
From: rishi jyoti [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 25, 2002 10:15 AM
Subject: how to make installable of PHP_GTK apps


hello all,

I am new to PHP GTK (but not to PHP!) and have written a simple app. i want to make an 
installer for windows platform so that my app can be installed and run on other 
computers which do not have PHP/apache et all installed. is it possible?

Thanks in advance!
RJ


___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



GtkEntry and Gtk2.0

2002-03-25 Thread Nick Soffe

Hi,
I'm trying to port one of my programs from Gtk1.2 to Gtk2.0 (nearly
successfully) but have encountered one problem. I have a routine which
counts mouse motion events to adjust numbers in a GtkEntry box. This
enables an user to have fine control over a parameter which can also be
entered manually. To do this I gdk_pointer_grab the entry and
gtk_signal_connect(GTK_OBJECT(entry),event,handler,etc). My callback
traps for either GDK_MOTION_NOTIFY to update the count with gtk_set_text
or GDK_BUTTON_PRESS to exit. Under Gtk1.2 this works fine and the entry
visibly updates during adjustment. Under Gtk2.0 the entry blanks when the
first event occurs and won't display the updated number until the event
handler is disconnected on quitting the routine. I've tried to eliminate
as much of the related code as possible.
GtkEntry clearly works differently but I can't find any hints in the docs.
No gtk errors are produced whilst running and everything else works fine.
Any ideas/suggestions about this would be gratefully received.
Nick Soffe.




___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: SegFault with GnomeCanvas (Polygon)

2002-03-25 Thread iain


 3) I don't have debug feature for Gtk/GNOME so the only thing I know is that
 I'm getting seg-fault (and no core dump) on the call of
 gnome_canvas_item_set. I can make a little test case and send it to the list
 once it is done (later in the afternoon or maybe tomorrow...)

Run 
gdb program-name
then type r to run the program, make it segfault and type bt to see
exactly where it crashed.

iain
-- 
Everybody thinks of changing humanity and nobody thinks of changing
himself
- Leo Tolstoy.

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: SegFault with GnomeCanvas (Polygon)

2002-03-25 Thread Jean-Christophe Berthon

Hello Iain,

Thank you for your reply, I did what you proposed and got the following
trace on the shell :

(gdb) r
Starting program: /home/spatio/V1/dev/bin/spatio
[New Thread 1024 (LWP 31938)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 31938)]
0x4030b365 in art_uta_add_line () from /usr/lib/libart_lgpl.so.2
(gdb) bt
#0  0x4030b365 in art_uta_add_line () from /usr/lib/libart_lgpl.so.2
#1  0x in ?? ()

Seems that it is a libart problem then? Shall I send my post to the libart
mailing list? (is there existing one?)
After looking on internet, I found a newer version than mine, I'll try to
check if it solves the problem! Thank you for your help,

Best regards,
---
Jean-Christophe Berthon



- Original Message -
From: iain [EMAIL PROTECTED]
To: Jean-Christophe Berthon [EMAIL PROTECTED]
Cc: Gtk List [EMAIL PROTECTED]
Sent: Monday, March 25, 2002 3:45 PM
Subject: Re: SegFault with GnomeCanvas (Polygon)



  3) I don't have debug feature for Gtk/GNOME so the only thing I know is
that
  I'm getting seg-fault (and no core dump) on the call of
  gnome_canvas_item_set. I can make a little test case and send it to the
list
  once it is done (later in the afternoon or maybe tomorrow...)

 Run
 gdb program-name
 then type r to run the program, make it segfault and type bt to see
 exactly where it crashed.

 iain
 --
 Everybody thinks of changing humanity and nobody thinks of changing
 himself
 - Leo Tolstoy.

 ___
 gtk-list mailing list
 [EMAIL PROTECTED]
 http://mail.gnome.org/mailman/listinfo/gtk-list

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



glib headaches - configure not propertly detecting gnu gettext

2002-03-25 Thread rob

I'm not an autoconf wizard so this is really irritating the hell out of me.
I've got the following packages installed at a base of /usr/local.

% xgettext -V
xgettext (GNU gettext) 0.11.1
% gettext -V
gettext (GNU gettext) 0.11.1

However when I try to configure glib it complains that I don't have gnu
gettext and that libintl.h can't be found on my system.  Just for the record
libintl.h is located at /usr/local/include/libintl.h on my system.  I've
tried a number of things to solve this but alas I've failed.  Any help would
be appreciated.

The following is the configure output that I receive

checking for libintl.h usability... no
checking for libintl.h presence... no
checking for libintl.h... no
--omit-header: not found
found xgettext program is not GNU xgettext; ignore it
configure: error:
*** You must have either have gettext support in your C library, or use the
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html)

Thanks

Rob

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: glib headaches - configure not propertly detecting gnu gettext

2002-03-25 Thread Sven Neumann

Hi,

rob [EMAIL PROTECTED] writes:

 I'm not an autoconf wizard so this is really irritating the hell out of me.
 I've got the following packages installed at a base of /usr/local.
 
 % xgettext -V
 xgettext (GNU gettext) 0.11.1
 % gettext -V
 gettext (GNU gettext) 0.11.1
 
 However when I try to configure glib it complains that I don't have gnu
 gettext and that libintl.h can't be found on my system.  Just for the record
 libintl.h is located at /usr/local/include/libintl.h on my system.  I've
 tried a number of things to solve this but alas I've failed.  Any help would
 be appreciated.
 
 The following is the configure output that I receive
 
 checking for libintl.h usability... no
 checking for libintl.h presence... no
 checking for libintl.h... no

did you set CPPFLAGS=-I/usr/local/include and LDFLAGS=-L/usr/local/lib
before running configure? It won't look into /usr/local if you didn't.


Salut, Sven
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: HOW use graphics contexts in MULTIPLE drawing areas?!?!?!?

2002-03-25 Thread Owen Taylor


Christian Seberino [EMAIL PROTECTED] writes:

 GdkGC* gc = gdk_gc_new(drawingArea-window);
 
 You'll notice line above needs an argument that is a
 drawing area window.  What if I want to use 
 same graphics context in lots of drawing areas?!?!?!?
 
 
 e.g. if I define a graphics context for color
 red then why define HUNDREDs of reds one for
 every drawing area?!?!?!

You can use a GdkGC with any other drawable (window or pixmap)
with the same colormap.

Regards,
Owen
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



can't install gtk2.0 on solaris 2.8

2002-03-25 Thread Tony Denault


Hello,

Having problems installing on solaris 2.8/gcc2.95.3.
I have gtk 1.2.10 install on my computer, and wanted to start using gtk 2.0.
The installation didn't work.

First, I installed all the dependencies libs: pkg-config, TIFF, libpng,
JPEG. This was OK.

But once I got to the GTK specific stuff I always got the following
error: don't know how to make target 'all-local' . This is the atk output,
but it was the same for pango, glib. But the include and .a files were
installed to I just continued.

rm -fr .libs/libtestrelation.la .libs/libtestrelation.*  .libs/libtestrelation.*
ar cru .libs/libtestrelation.al testrelation.lo
ranlib .libs/libtestrelation.al
creating libtestrelation.la
(cd .libs  rm -f libtestrelation.la  ln -s ../libtestrelation.la
libtestrelation.la)
Making install in docs
make: Fatal error: Don't know how to make target `all-local'
Current working directory /home/denault/gtk_2.0/atk-1.0.0/docs
*** Error code 1
make: Fatal error: Command failed for target `install-recursive'

But then, gtk failed to configure:

checking for pkg-config... /usr/local/bin/pkg-config
checking for glib-2.0 = 2.0.0 atk = 1.0.0 pango = 1.0.0... sh:  gnome-config: not 
found
sh: gnome-config: not found
Package atk was not found in the pkg-config search path.
Perhaps you should add the directory containing `atk.pc'
to the PKG_CONFIG_PATH environment variable
No package 'atk' found

After some poking around, I found atk.pc and pango.pc was not in
/usr/local/lib/pkgconfig. I manually copied the files to get pass this.

Doing another ./configure for gtk:
checking for freetype-config... no
sh: gnome-config: not found
configure: error: pangox Pango backend is required for x11 target

This is where I gave up.

Tony

/-\
| Tony Denault| Internet: [EMAIL PROTECTED] |
| NASA IRTF, Institute of Astronomy   | Phone: (808) 974-4206 |
| 1175 Manono St., Bldg 393   |   Fax: (808) 974-4207 |
| Hilo, Hawaii 96720  |   |
\-/

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: colormap need/should be a global object???

2002-03-25 Thread Owen Taylor


Christian Seberino [EMAIL PROTECTED] writes:

 I need to add all colors to colormap to use them.
 
 So...
 
 If I have lots of subroutines and I want all subroutines
 to be able to do GTK+ stuff does that mean I need
 to make colormap VISIBLE to everything
 
 It sounds like I need colormap to be global if I don't
 want to pass it in every parameter list?
 
 Newbie question I know.

Reasons for multiple colormaps:

 - Some hardware supports multiple simultaneous visuals (8 bit and 24 bit)

 - In the days when 8 bit was common, sometimes the only way of handling
   limited colors was to install a different colormap on different windows
   and change the colormap with the focus.

 - In GTK+-2.2, GTK+ will support multiple simultaneous displays; each
   will have it's own set of colormaps.

Generally, with GTK+-2.0, the idea is that you can just use the default
colormap (what gtk_widget_get_colormap() returns for your widget) and
things will work well.

Regards,
Owen

   

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



newbie: display HTML with GTK+ 2?

2002-03-25 Thread Thomas Nichols

Hi,
I need an HTML widget for GTK+ 2.0 -- just for display, not editing. Which 
is the preferred way of doing this? I've seen info on gtkhtml, CscHtml and 
gtk-xmhtml : is there anything integrated into the main distro?

Once I get something working for HTML with Linux I want to try it out for 
Win32 - I can't find much about this in the archives. Any pointers, anyone?

Thanks a lot,
Thomas.

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



GTK-2.0 static linked application does not work

2002-03-25 Thread michael

Hi,
I have made static linked GTK2.0-DirectFB libraries, but any application
(even examples progs) crashed with following message:
_
(process:1813): GLib-GObject-CRITICAL **:
gtype.c:1788:g_type_register_static(): initialization assertion failed,
use g_type_init() prior to this function

(process:1813): GLib-GObject-CRITICAL **: file gobject.c: line 587
(g_object_new): assertion `G_TYPE_IS_OBJECT (object_type)' failed
(!) ---  CAUGHT SIGNAL 11  ---
__

All needed packages rebuilded with --enable-static option too.
(atk-1.0.0
pango-1.0.0
glib-2.0.0).

I took fresh tarballs from ftp.gtk.org

Maybe is there something wrong with Glib?

Michael Gavrosh


___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



GTK 2.0 - font problem

2002-03-25 Thread Sascha

When I run a GTK 2 program, I get an error message like this:

gtk-demo (pid:471): ** WARNING **: Couldn't load font Sans 10 falling back to Sans 
10

gtk-demo (pid:471): ** WARNING **: Couldn't load font Sans 10 falling back to Sans 
10

gtk-demo (pid:471): ** WARNING **: All font failbacks failed

This happens on a SuSE 7.1 system and on an LFS.
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



gtk-config

2002-03-25 Thread Drew P. Vogel

Is gtk-config removed in 2.0? If so, how do you get non-2.0-aware apps to
understand that gtk is installed?

(please reply directly, I'm not on the list)

--Drew Vogel

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: can't install gtk2.0 on solaris 2.8

2002-03-25 Thread Dave Reed

 From: Tony Denault [EMAIL PROTECTED]
 
 Hello,
 
 Having problems installing on solaris 2.8/gcc2.95.3.
 I have gtk 1.2.10 install on my computer, and wanted to start using gtk 2.0.
 The installation didn't work.
 
 First, I installed all the dependencies libs: pkg-config, TIFF, libpng,
 JPEG. This was OK.
 
 But once I got to the GTK specific stuff I always got the following
 error: don't know how to make target 'all-local' . This is the atk output,
 but it was the same for pango, glib. But the include and .a files were
 installed to I just continued.
 
 rm -fr .libs/libtestrelation.la .libs/libtestrelation.*  .libs/libtestrelation.*
 ar cru .libs/libtestrelation.al testrelation.lo
 ranlib .libs/libtestrelation.al
 creating libtestrelation.la
 (cd .libs  rm -f libtestrelation.la  ln -s ../libtestrelation.la
 libtestrelation.la)
 Making install in docs
 make: Fatal error: Don't know how to make target `all-local'
 Current working directory /home/denault/gtk_2.0/atk-1.0.0/docs
 *** Error code 1
 make: Fatal error: Command failed for target `install-recursive'
 
 But then, gtk failed to configure:
 
 checking for pkg-config... /usr/local/bin/pkg-config
 checking for glib-2.0 = 2.0.0 atk = 1.0.0 pango = 1.0.0... sh:  gnome-config: 
not found
 sh: gnome-config: not found
 Package atk was not found in the pkg-config search path.
 Perhaps you should add the directory containing `atk.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'atk' found
 
 After some poking around, I found atk.pc and pango.pc was not in
 /usr/local/lib/pkgconfig. I manually copied the files to get pass this.
 
 Doing another ./configure for gtk:
 checking for freetype-config... no
 sh: gnome-config: not found
 configure: error: pangox Pango backend is required for x11 target
 
 This is where I gave up.
 
 Tony


I'm not an expert, but I did successfully compile it on Solaris 2.8
with the same compiler. I don't understand why it's looking for
gnome-config - it's not on my system and gnome depends on gtk, not the
other way around.

Dave
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: gtk-config

2002-03-25 Thread Havoc Pennington


Drew P. Vogel [EMAIL PROTECTED] writes:
 Is gtk-config removed in 2.0? If so, how do you get non-2.0-aware apps to
 understand that gtk is installed?
 

non-2.0-aware apps can't use 2.0 anyway. They have to keep using 1.2.

pkg-config --libs --cflags gtk+-2.0 replaces gtk-config.

Havoc
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: HOW use graphics contexts in MULTIPLE drawing areas?!?!?!?

2002-03-25 Thread Christian Seberino

Owen (sent to GTK+ list as well this time :)

Thanks so much for your emails!! I am almost
done with the first GUI app of my life and
you helped me get that much closer to being done.

Can I ask you a clarifying question about your
response???

You said I could use GdkGC* object with any
drawable using the same colormap.  How
does one *assign* a colormap to a drawable???
I just created a colormap and added colors
to it.  I didn't do ANYTHING else to this
colormap thing.

...

Also, if GdkGC* is ONLY tied to colormap then
why does gdk_gc_new require a DRAWABLE as the
argument???  I think having the COLORMAP to
be the argument to gdk_gc_new would make MORE
sense don't you???

Perhaps some macro like following I'm imagining:


=== gdk_gc_new(GDK_GET_COLORMAP(drawingArea-window));

Just a thought.

Thanks again,

Chris



On Mon, Mar 25, 2002 at 03:37:28PM -0500, Owen Taylor wrote:
 
 Christian Seberino [EMAIL PROTECTED] writes:
 
  GdkGC* gc = gdk_gc_new(drawingArea-window);
  
  You'll notice line above needs an argument that is a
  drawing area window.  What if I want to use 
  same graphics context in lots of drawing areas?!?!?!?
  
  
  e.g. if I define a graphics context for color
  red then why define HUNDREDs of reds one for
  every drawing area?!?!?!
 
 You can use a GdkGC with any other drawable (window or pixmap)
 with the same colormap.
 
 Regards,
 Owen

-- 
===
| Dr. Christian Seberino  || (619) 553-7940  (office) |
| SPAWARSYSCEN 2363   || (619) 553-2836  (fax)|
| 53560 HULL ST   ||  |
| SAN DIEGO CA 92152-5001 || [EMAIL PROTECTED] |
===
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



must I create colormap and add colors in EVERY expose handler call?

2002-03-25 Thread Christian Seberino

It seems I must create colormap and add colors to it
in expose event handler which means this will get
done MANY times in execution of a GTK+ app.

Is this right??? Do gurus make colormap global or something
to avoid this???

Chris
-- 
===
| Dr. Christian Seberino  || (619) 553-7940  (office) |
| SPAWARSYSCEN 2363   || (619) 553-2836  (fax)|
| 53560 HULL ST   ||  |
| SAN DIEGO CA 92152-5001 || [EMAIL PROTECTED] |
===
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



RE: can't install gtk2.0 on solaris 2.8

2002-03-25 Thread David L. Cooper II

I had a similar problem and discovered that the
/usr/local/lib/pkgconfig/*.pc files were installed after the docs. Since
there was an error installing the docs, make exited and never installed the
.pc files.

I first tried to install everything needed to resolve the doc error but soon
gave up after I couldn't get the tools to compile.

My fall back position, suggested by someone on this very list, was to run:
make -k
This causes make to ignore the doc related errors and the .pc files were
processed. Try this for both the initial build as well as the install
(make -k install).

Good Luck.

David

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Tony Denault
 Sent: Monday, March 25, 2002 3:39 PM
 To: [EMAIL PROTECTED]
 Subject: can't install gtk2.0 on solaris 2.8



 Hello,

 Having problems installing on solaris 2.8/gcc2.95.3.
 I have gtk 1.2.10 install on my computer, and wanted to start
 using gtk 2.0.
 The installation didn't work.

 First, I installed all the dependencies libs: pkg-config, TIFF, libpng,
 JPEG. This was OK.

 But once I got to the GTK specific stuff I always got the following
 error: don't know how to make target 'all-local' . This is the atk output,
 but it was the same for pango, glib. But the include and .a files were
 installed to I just continued.

 rm -fr .libs/libtestrelation.la .libs/libtestrelation.*
 .libs/libtestrelation.*
 ar cru .libs/libtestrelation.al testrelation.lo
 ranlib .libs/libtestrelation.al
 creating libtestrelation.la
 (cd .libs  rm -f libtestrelation.la  ln -s ../libtestrelation.la
 libtestrelation.la)
 Making install in docs
 make: Fatal error: Don't know how to make target `all-local'
 Current working directory /home/denault/gtk_2.0/atk-1.0.0/docs
 *** Error code 1
 make: Fatal error: Command failed for target `install-recursive'

 But then, gtk failed to configure:

 checking for pkg-config... /usr/local/bin/pkg-config
 checking for glib-2.0 = 2.0.0 atk = 1.0.0 pango = 1.0.0...
 sh:  gnome-config: not found
 sh: gnome-config: not found
 Package atk was not found in the pkg-config search path.
 Perhaps you should add the directory containing `atk.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'atk' found

 After some poking around, I found atk.pc and pango.pc was not in
 /usr/local/lib/pkgconfig. I manually copied the files to get pass this.

 Doing another ./configure for gtk:
 checking for freetype-config... no
 sh: gnome-config: not found
 configure: error: pangox Pango backend is required for x11 target

 This is where I gave up.

 Tony

 /-
 \
 | Tony Denault| Internet:
 [EMAIL PROTECTED] |
 | NASA IRTF, Institute of Astronomy   | Phone:
 (808) 974-4206 |
 | 1175 Manono St., Bldg 393   |   Fax:
 (808) 974-4207 |
 | Hilo, Hawaii 96720  |
 |
 \-
 /

 ___
 gtk-list mailing list
 [EMAIL PROTECTED]
 http://mail.gnome.org/mailman/listinfo/gtk-list

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: GTK-2.0 statically linked application does not work

2002-03-25 Thread michael

---
Havoc Pennington wrote:

 michael [EMAIL PROTECTED] writes:
  All needed packages rebuilded with --enable-static option too.

 --enable-static just means build static libraries

 To use a fully statically linked GTK 2 you also need to be sure there
 aren't any dlopen() modules. The normal ones are in Pango, gdk-pixbuf,
 and GTK input methods.

 The configure options are something like --with-included-modules,
 I don't remember exactly. It may even be in the docs in the compiling
 GTK section, hopefully.

The problem was with pixbuf loader. I have added --with-include-loaders,
and now all works.
Thank you

Michael Gavrosh

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re:newbie: display HTML with GTK+ 2?

2002-03-25 Thread [EMAIL PROTECTED]

Hi,
I havn't any idea about displaying HTML  wuth GTK+2, But if you want, I can help you 
to display html in GTK+ 1.2 ! 
No idea also about GTK on Win32.
Bye.
Youssa !



 Hi,
 I need an HTML widget for GTK+ 2.0 -- just for display, not editing. Which 
 is the preferred way of doing this? I've seen info on gtkhtml, CscHtml and 
 gtk-xmhtml : is there anything integrated into the main distro?
 
 Once I get something working for HTML with Linux I want to try it out for 
 Win32 - I can't find much about this in the archives. Any pointers, anyone?
 
 Thanks a lot,
 Thomas.
 
 ___
 gtk-list mailing list
 [EMAIL PROTECTED]
 http://mail.gnome.org/mailman/listinfo/gtk-list
 


Faites un voeu et puis Voila ! www.voila.fr 
Avec Voila Mail, consultez vos e-mails sur votre mobile Wap. 
‚Ù%ŠËfj)bž  b²Ø-’X¬¶è™ê+‚m§ÿæj)`ž‰ž¢¸?™¨¥™©ÿ–+-Šwèþd–+-