Re: GTK now asking for Pangox?

2003-09-26 Thread Sven Neumann
Hi,

JS <[EMAIL PROTECTED]> writes:

> configure: error: pangox Pango backend is required for
> x11 target
> 
> Now, I already installed Pango and have tried to
> compile GTK in X11 but it still wants pangox.  What is
> that and how do fix this problem?

You compiled Pango but what Pango backends did you compile? Pango's
configure script told you about this (in the last lines of it's
output). Try running 'pkg-config --list-all' and see what pango
packages it lists. You will need pangoxft or pangox to compile gtk+
and gimp requires that you have pangoft2 as well.


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


Re: GTK now asking for Pangox?

2003-09-26 Thread JS
Hi Sven,

Hmm, it seems like pangox was never installed when I
compiled Pango.  Here is the list that comes up for
pkg-config:

bash-2.05a$ pkg-config --list-all
fontconfig  Fontconfig - Font configuration and
customization library
freetype2   FreeType 2 - A free, high-quality, and
portable font engine.
gmodule-2.0 GModule - Dynamic module loader for GLib
glib-2.0GLib - C Utility Library
gobject-2.0 GObject - GLib Type, Object, Parameter and
Signal Library
gthread-2.0 GThread - Thread support for GLib
libpng  libpng12 - Loads and saves PNG files
pangoft2Pango FT2 - Freetype 2.0 font support for
Pango
libpng12libpng12 - Loads and saves PNG files
pango   Pango - Internationalized text handling
atk Atk - Accessibility Toolkit

At least Pango Ft2 is installed, but how do I get
Pangox to install?

Thanks again for all the help!

J Silverman
--- Sven Neumann <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> 
> You compiled Pango but what Pango backends did you
> compile? Pango's
> configure script told you about this (in the last
> lines of it's
> output). Try running 'pkg-config --list-all' and see
> what pango
> packages it lists. You will need pangoxft or pangox
> to compile gtk+
> and gimp requires that you have pangoft2 as well.
> 
> 
> Sven

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: GTK now asking for Pangox?

2003-09-26 Thread Sven Neumann
Hi,

JS <[EMAIL PROTECTED]> writes:

> At least Pango Ft2 is installed, but how do I get Pangox to install?

Actually you should seek to get PangoXft installed. PangoX is the old
way of handling fonts on the X server side, you better forget about
it.  Pango will compile the PangoXft backend if it finds xft2. If you
installed this library, pkg-config should list it as xft version 2.
Try running 'pkg-config --modversion xft'.


Sven

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


Re: GTK now asking for Pangox?

2003-09-26 Thread JS
Hi Sven,

Hmm, it seems that Xft2 is not installed on my system
by executing your string.  Should I go ahead and
download xft2 from
http://pdx.freedesktop.org/~fontconfig/ and install
xft2 and recompile Pango?

Thanks again,
J Silverman
--- Sven Neumann <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> JS <[EMAIL PROTECTED]> writes:
> 
> > At least Pango Ft2 is installed, but how do I get
> Pangox to install?
> 
> Actually you should seek to get PangoXft installed.
> PangoX is the old
> way of handling fonts on the X server side, you
> better forget about
> it.  Pango will compile the PangoXft backend if it
> finds xft2. If you
> installed this library, pkg-config should list it as
> xft version 2.
> Try running 'pkg-config --modversion xft'.
> 
> 
> Sven
> 
> ___
> gtk-list mailing list
> [EMAIL PROTECTED]
> http://mail.gnome.org/mailman/listinfo/gtk-list


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: GTK now asking for Pangox?

2003-09-26 Thread Sven Neumann
Hi,

JS <[EMAIL PROTECTED]> writes:

> Hmm, it seems that Xft2 is not installed on my system
> by executing your string.  Should I go ahead and
> download xft2 from
> http://pdx.freedesktop.org/~fontconfig/ and install
> xft2 and recompile Pango?

That's exactly what I would have suggested.


Sven

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


Re: GTK now asking for Pangox?

2003-09-26 Thread JS
Hi Sven,

Well, I downloaded Xft and it now is causing problems.
 It doesn't want to compile.  Here is the log:

cpp-precomp: warning: errors during smart
preprocessing, retrying in basic mode
make: *** [xftcolor.o] Error 1

And here is what I can find from config.log for Xft:

configure:939: gcc -E  conftest.c >/dev/null
2>conftest.out
configure:935: undefined type, found `Syntax'
configure:935: illegal external declaration, missing
`;' after `Error'
cpp-precomp: warning: errors during smart
preprocessing, retrying in basic mode
configure: failed program was:
#line 933 "configure"
#include "confdefs.h"
#include 
Syntax Error
configure:956: gcc -E -traditional-cpp  conftest.c
>/dev/null 2>conftest.out
configure:1002: checking for X
configure:1069: gcc -E -traditional-cpp  conftest.c
>/dev/null 2>conftest.out
configure:1065:27: X11/Intrinsic.h: No such file or
directory
configure: failed program was:
#line 1064 "configure"
#include "confdefs.h"
#include 
configure:1458: checking for freetype-config
configure:1537: checking for freetype/freetype.h
configure:1547: gcc -E -traditional-cpp 
-I/usr/include/freetype2 conftest.c >/dev/null
2>conftest.out
configure:1583: checking for FT_Init_FreeType
configure:1611: gcc -o conftest -g -O2 
-I/usr/include/freetype2  conftest.c  -lfreetype -lz
1>&5
ld: warning dynamic shared library:
/usr/lib/libz.dylib not made a weak library in output
with MACOSX_DEPLOYMENT_TARGET environment variable set
to: 10.1
configure:1662: checking for fontconfig-config
configure:1741: checking for fontconfig/fontconfig.h
configure:1751: gcc -E -traditional-cpp 
-I/usr/include/freetype2  conftest.c >/dev/null
2>conftest.out
configure:1787: checking for FcInit
configure:1815: gcc -o conftest -g -O2 
-I/usr/include/freetype2   conftest.c  -lfreetype -lz 
1>&5
ld: Undefined symbols:
_FcInit
configure: failed program was:
#line 1792 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully
few prototypes,
which can conflict with char FcInit(); below.  */
#include 
/* Override any gcc2 internal prototype to avoid an
error.  */
/* We use char because int might match the return type
of a gcc2
builtin and then its argument prototype would
still apply.  */
char FcInit();

int main() {

/* The GNU C library defines this for functions which
it implements
to always fail with ENOSYS.  Some functions are
actually named
something starting with __ and the normal name is
an alias.  */
#if defined (__stub_FcInit) || defined
(__stub___FcInit)
choke me
#else
FcInit();
#endif

; return 0; }

Is there anyway I could solve this?

Thanks again for all the help!
J Silverman
--- Sven Neumann <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> JS <[EMAIL PROTECTED]> writes:
> 
> > Hmm, it seems that Xft2 is not installed on my
> system
> > by executing your string.  Should I go ahead and
> > download xft2 from
> > http://pdx.freedesktop.org/~fontconfig/ and
> install
> > xft2 and recompile Pango?
> 
> That's exactly what I would have suggested.
> 
> 
> Sven
> 


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: GTK now asking for Pangox?

2003-09-27 Thread Sven Neumann
Hi,

JS <[EMAIL PROTECTED]> writes:

> Well, I downloaded Xft and it now is causing problems.
>  It doesn't want to compile.  Here is the log:
> 
> cpp-precomp: warning: errors during smart
> preprocessing, retrying in basic mode
> make: *** [xftcolor.o] Error 1

Argh, that stupid smart preprocessor. Seems to be causing nothing but
trouble, better turn it off (but don't ask me how to do that). Do you
have X11 headers installed actually? A quick look at config.log seems
to indicate that this is not the case. Well, you cannot compile any
software for X11 without the X11 header files.


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


Re: GTK now asking for Pangox?

2003-09-27 Thread JS
Hi Sven,

Hmm, how would I know if I installed the X11 header
files?  And where would I find something like that to
install?  

It seems odd though, since I do have the Apple X11
server installed on my system and I have installed
other packages without an issue.

Thanks,
J Silverman
--- Sven Neumann <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> JS <[EMAIL PROTECTED]> writes:
> 
> > Well, I downloaded Xft and it now is causing
> problems.
> >  It doesn't want to compile.  Here is the log:
> > 
> > cpp-precomp: warning: errors during smart
> > preprocessing, retrying in basic mode
> > make: *** [xftcolor.o] Error 1
> 
> Argh, that stupid smart preprocessor. Seems to be
> causing nothing but
> trouble, better turn it off (but don't ask me how to
> do that). Do you
> have X11 headers installed actually? A quick look at
> config.log seems
> to indicate that this is not the case. Well, you
> cannot compile any
> software for X11 without the X11 header files.
> 
> 
> Sven
> ___
> gtk-list mailing list
> [EMAIL PROTECTED]
> http://mail.gnome.org/mailman/listinfo/gtk-list

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: GTK now asking for Pangox?

2003-09-27 Thread Sven Neumann
Hi,

JS <[EMAIL PROTECTED]> writes:

> It seems odd though, since I do have the Apple X11
> server installed on my system and I have installed
> other packages without an issue.

Binary packages or did you compile applications that use X11 from
source? You don't need the headers in order to use X11 applications,
you only need them to compile any.

BTW, could you please try to quote only the relevant parts of the
mails you are replying to? I find it very distracting when people
quote full mails with signatures and everything. A little bit of
netiquette on the list can't hurt. Thank you.


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


Re: GTK now asking for Pangox?

2003-09-28 Thread JS
Hi Sven,

--- Sven Neumann <[EMAIL PROTECTED]> wrote:
> 
> Binary packages or did you compile applications that
> use X11 from
> source? You don't need the headers in order to use
> X11 applications,
> you only need them to compile any.

Hmm, I did compile quite a few packages, but I am not
sure if they needed the X11 headers.  However, I was
able to find the X11 headers from Apple and have now
installed them.

> BTW, could you please try to quote only the relevant
> parts of the
> mails you are replying to?

Sorry about that.  I will try now to delete the
irrelevant quotes.

Also, I decompressed the Xft2 package again and
retried the compile.  It now seems to be coming up
with a different error when I type the "make" command:

lib -lXrender -lfreetype -lz
cc: unrecognized option `-shared'
ld: unknown flag: -h
make: *** [libXft.so.2.0] Error 1

And there seems to be no errors in the config log for
xft. What do you think could be causing this new
error?

Thanks,
J Silverman

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list