Re: Error in compiling GTK+ applications

2004-02-24 Thread busmanus
Sven Neumann wrote:
Hi,

Kendl Tibor <[EMAIL PROTECTED]> writes:


I've compiled and installed a gtk-2.3.2, and tried to compile a gtk
application, in this case a mozilla-1.6 browser. It's configure script
exited with an error that it cannot find the 'gtk-config' script. I
checked the whole / directory with mc's find file and it did not found
any gtk-config. Can anyone tell me what is this 'gtk-config' and why
it is needed?


If your app is looking for gtk-config, then it wants gtk+-1.2 which is
not compatible with gtk+-2.x. Just download the old version; it installs
side-by-side with gtk+-2.x.
You don't have to download anything, gtk+-1.2.10 is included in your
Woody (at leas if you have all the CD-s). Run dselect to find the exact
package name (push / to seach between the package names).
busmanus


Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Error in compiling GTK+ applications

2004-02-24 Thread Chad A Daelhousen
At Tue, Feb 24, 2004 at 09:39:22AM +0100, Kendl Tibor wrote:
> Dear list members, GTK team!
> 
> I've compiled and installed a gtk-2.3.2, and tried to compile a gtk 
> application, in this case a mozilla-1.6 browser. It's configure script 
> exited with an error that it cannot find the 'gtk-config' script. I 
> checked the whole / directory with mc's find file and it did not found 
> any gtk-config. Can anyone tell me what is this 'gtk-config' and why it 
> is needed?
[snip]

As stated, Mozilla is looking for GTK 1.x. If you want to compile
against GTK 2.x instead, you can put this line in .mozconfig (or pass
the argument to configure, depending on how you're building):

ac_add_options --enable-default-toolkit=gtk2

I assume pkg-config will work since you managed to install GTK.

HTH. Further questions about building Mozilla should probably go to a
Mozilla-specific list/newsgroup/forum.

-- 
Chad Daelhousen
My opinions are my own, until UB purchases my soul.
Do not BCC me; it is considered spam and deleted.
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Error in compiling GTK+ applications

2004-02-24 Thread Tony Gale
On Tue, 2004-02-24 at 08:39, Kendl Tibor wrote:
> I've compiled and installed a gtk-2.3.2, and tried to compile a gtk 
> application, in this case a mozilla-1.6 browser. It's configure script 
> exited with an error that it cannot find the 'gtk-config' script. I 
> checked the whole / directory with mc's find file and it did not found 
> any gtk-config. Can anyone tell me what is this 'gtk-config' and why it 
> is needed?
> 
> This is the point when ./configure exited:
> 
> >checking for LC_MESSAGES... yes
> >checking for gtk-config... no
> >checking for GTK - version >= 1.2.0... no
> >*** The gtk-config script installed by GTK could not be found.
> >*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
> >*** your path, or set the GTK_CONFIG environment variable to the
> >*** full path to gtk-config.
> >*** GTK+ is available from ftp://ftp.gtk.org/pub/gtk

mozilla is looking for GTK 1.2 and you installed 2.3. gtk-config is only
shipped with GTK 1.x

-tony



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


Re: Error in compiling GTK+ applications

2004-02-24 Thread Sven Neumann
Hi,

Kendl Tibor <[EMAIL PROTECTED]> writes:

> I've compiled and installed a gtk-2.3.2, and tried to compile a gtk
> application, in this case a mozilla-1.6 browser. It's configure script
> exited with an error that it cannot find the 'gtk-config' script. I
> checked the whole / directory with mc's find file and it did not found
> any gtk-config. Can anyone tell me what is this 'gtk-config' and why
> it is needed?

If your app is looking for gtk-config, then it wants gtk+-1.2 which is
not compatible with gtk+-2.x. Just download the old version; it installs
side-by-side with gtk+-2.x.

Also, is there a particular reason, you are using the unstable
development version of gtk+-2.x? You probably want to use gtk+-2.2.4
instead.


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


Error in compiling GTK+ applications

2004-02-24 Thread Kendl Tibor
Dear list members, GTK team!

I've compiled and installed a gtk-2.3.2, and tried to compile a gtk 
application, in this case a mozilla-1.6 browser. It's configure script 
exited with an error that it cannot find the 'gtk-config' script. I 
checked the whole / directory with mc's find file and it did not found 
any gtk-config. Can anyone tell me what is this 'gtk-config' and why it 
is needed?

This is the point when ./configure exited:

checking for LC_MESSAGES... yes
checking for gtk-config... no
checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found.
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
*** GTK+ is available from ftp://ftp.gtk.org/pub/gtk
 

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