Re: Pango 1.2.0 and Xft back end
Original Message Subject: Re: Pango 1.2.0 and Xft back end Date: Fri, 16 Apr 2004 23:01:18 +0200 From: busmanus [EMAIL PROTECTED] To: Chris Bruyere [EMAIL PROTECTED] References: [EMAIL PROTECTED] Chris Bruyere wrote: Hi All. This is my first email to this list. So if I make some kind of error or mistake, please forgive. I'm trying to install wxWidgets. So I have downloaded gtk 2.4, glib 2.4, atk 1.6, pango 1.4.0. glib, atk, pango, installed ok. With I run the gtk+2.4.0 configure script, this is what I get: configure:error: Pango 1.2.0 and Xft backend is requried of x11 target. What does that mean? Pango has different alternatives for making use of fonts, and if it does not find the dependencies for the backend of one of these alternatives, then it may simply not compile it, while all the other components of the program install fine. It may be, that this is what's happened in your case. Search for a program called fontconfig in your system, or ask someone more knowledgeable if it should be in Mandrake 9.0. Xft2, required to build the Xft backend of Pango, depends on it. With some older X servers (like mine) xrender and render may also be required to compile and install fontconfig and Xft2. This is most probably not your case, but anyway, all four can be found somewhere on freedesktop.org, but I don't remember the exact address. Good Luck 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: How to configure XKB
[EMAIL PROTECTED] wrote: hi, can u can help me in specifying the name of all the files required to configure XKB for including a new language in RedHat Linux 9. Well, if it's only new characters you want to add, then you only need to put a new file into xkb/symbols with the ne definition. Besides I managed to add an icon for my new keyboard in the keyboard selector of KDE 2.x by adding an appropriate line in xkb/rules/xfree86.lst (or whatever it's exactly called). The other files in the respective subdirectories of xkb/ are only used for defining things like the way the function keys work or determining what symbolic keycode is matched with which hardware keycode (this is something you probably wouldn't want to change). Usually xkb/rules/xfree86 puts the pieces together, but it has wildcard definitions for new keyboards, so it doesn't need to be changed either. The best tutorial I found about the topic on the net is written by a certain (Ivan?) Paskal in Russian. He also prepared an English translation, but it is unfortunately much less understandable in many places than the original. I'm sorry to be of so little help, but I really can't go into more detail now. Good luck, 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: Universal font for pangoxft
Dave Smith wrote: Hi, Under GTK+-2.2.4 configured without pangoxft, the Sans and Serif fonts display the standard Latin character set plus many other characters including Greek, Arabic, Chinese, Japanese, etc. Most other fonts include common non-Latin characters, but not Chinese or Japanese. Are they .ttf fonts? If they are, the only thing you have to do is make them accessible to fontconfig, which in turn hands them on to xft and xft in turn to pangoxft. Is it Un*x you use? If it is, then look at the files in /etc/fonts and you should find a list of directories fontconfig reads. Then put a copy of your fonts (or a symlink to them) into one of them. Good luck, 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: gtk problems
Wesley Hobbie wrote: I successfully compiled gtk+-2.2.4: ./configure make make install but then I try to run a ./configure file on another program and it is unable to find GTK+, why? What do I need to do? I even tried the pkg-config --cflags gtk+-2.0 and it first ran an error that I needed to add the path to gtk+-2.0.pc to the PKG_CONFIG_PATH variable, ok so I did that, then I got an error that I needed to add the path to gdk-x11-2.0-uninstalled.pc to my PKG_CONFIG_PATH, but I either do not have one, or cannot find it. Please give any advise you can. Do you use Linux? If you do, you may need to add /usr/local/lib to /etc/ld.so.conf (or whatever it's called) and then run ldconfig. You may also need to specify on the ./configure command line where your *.pc files are, and if you have several versions of pkg-config installed, even the place of the version you want to use (presumably the latest) using the PKG_CONFIG_PATH and the PKG_CONFIG variables. It should look something like this (the whole thing must be on the same line): PKG_CONFIG=/usr/local/bin/pkg-config PKG_CONFIG_PATH=/usr/local/lib:/usr/lib:/lib ./configure (Correct as needed.) Regards 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: GTK-2.3.5 installation problem
Steffen Gutmann wrote: Yes, but have you installed FreeType 2.0.1 or later ? http://www.freetype.org/ (there may well be an RPM around as well). (You'll need to re-install pango once you've done this.) I followed that path and figured out eventually that it's probably best if I upgrade my XFree86 installation. I am now running on XFree86-4.4.0 which has freetype and fontconfig, etc. However, after recompiling and reinstalling gliband pango, I still get the following error when configuring gtk: checking Pango flags... -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -Wl,--export-dynamic -L/usr/local/lib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 configure: error: *** Can't link to Pango. Pango is required to build *** GTK+. For more information see http://www.pango.org The corresponding output in the config.log file tells me: configure:29578: checking Pango flags configure:29584: result: -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -Wl,--export-dynamic -L/usr/local/lib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 configure:29632: gcc -o conftest -O3 -Wall -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include conftest.c -Wl,--export-dynamic -L/usr/local/lib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 5 /usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_GetShort' /usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_ExitFrame' /usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_GetLong' /usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_Seek' /usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_EnterFrame' collect2: ld returned 1 exit status Did you keep the old version of XFree86 (and FreeType)? I had almost exactly the same problem because of conflicting xft versions. (Pango linked against both the old and the new version.) 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: newbie make/install problem
Erik Ostermueller wrote: Hello, all. I am brand-spanking new to Linux, so take it easy on me. I couldn't find an GTK RPM for Mandrake 9.2, so here I am building gtk 2.3.4. Gtk is a basic component of most Linux systems, moreover the version you are trying to build is for developers only, so you should rather look in the default package manager of you system than risk messing it all up. I understand, 9.2 is the latest or near to latest version of Mandrake, so its install CD-s must contain the last stable version of gtk. If your problem is that you can't link packages against gtk, then you need to add the gtk package ending in -dev or -devel as well (and its dependencies). Regards 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
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: Pango-1.3.3 released [unstable]
Owen Taylor wrote: Overview of changes between 1.3.2 and 1.3.3 === * Add pango_font_face_list_sizes() [Noah Levitt] * Add pango_font_family_is_monospace [Noah] * Do OpenType processing for CFF fonts [Manjunath Sripadarao] * Fix wrong sign for GPOS vertical positioning Just a quick question: Is this something connected to vertical text rendering? Actually, I'd like to know if it is planned for 1.4. Thanks, 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+
Kendl Tibor wrote: Dear list members GTK team! I've tried to compile gtk+-3.2.3 source code from the tarball, but the ./configure script halted with an error 'Pango.1.2.0 and Xft backend is required for x11 target'. What about installing xft2 (and fontconfig)? (That's what the script is also complaining about.) Pango compiles without it all right, but it will not build the xft backend if it's not there. Woody only includes xft1, which is not what you need here. The tarballs needed can be found at some address like http://www.freedesktop.org/fontconfig (It's not accurate, but you will hopefully be redirected.) Previously i've installed pango-1.3.2, atk-1.5.3 and glib-3.2.3 and runned ldconfig to refresh the libpath cache. 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: Hello World link errors
Fazly Fauzy wrote: I had managed to run the hello world program but I got this message here: ** (Test Interface.exe:4060): WARNING **: No builtin or dynamically loaded modul es were found. Pango will not work correctly. This probably means there was an error in the creation of: 'C:\WINDOWS\System32\etc\pango\pango.modules' You may be able to recreate this file by running pango-querymodules. Find pango-querymodules (or pango-querymodules.exe), run it and redirect the result to pango.modules. It should look something like this in a DOS window: pango-querymodules.exe pango.modules Then you copy the resulting file to its proper place. Well, at least that's how I did it under Linux. 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: problems with Glib installation
Jeff Heath wrote: I tried setting the LD_LIBRARY_PATH=/usr/local/lib You should have done that while running Pango's ./configure LD_LIBRARY_PATH=/usr/local/lib ./configure Actually, you may also need to add /usr/lib at the end, depending on where you keep your stuff, like this: LD_LIBRARY_PATH=/usr/local/lib:/usr/lib ./configure but start with the first version. and then reinstalling glib-2.2.3 but I guess it didn't work. That was unnecessary. I also ran ldconfig. You need to modify /etc/ld.so.conf first because that's what ldconfig reads for changes. Good luck, 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
[Fwd: Re: g_utf8_collate on windows]
Original Message Subject: Re: g_utf8_collate on windows Date: Sun, 1 Feb 2004 23:27:26 +0100 From: Jiri Pavlovsky [EMAIL PROTECTED] To: busmanus [EMAIL PROTECTED] On Sunday 01 of February 2004 18:50, you wrote: Jiri Pavlovsky wrote: Hi, The expected behaviour is to discard the accents when sorting (this happens on Linux for example). What does that mean? That's not what e.g. I would expect, if I understand the operation correctly. Isn't it something, where the expected behaviour is largely dependant on the language in question and even on the particular situation and doesn't really have much to do with the character set? True. I ment in en_US locale. It should disregard accents. That's how it should behave according to Unicode Collation Algorithm, I believe? -- Jiri Pavlovsky [EMAIL PROTECTED] tel: +420737196433 A: Because it messes up the order in which people normally read texts. Q: Why is top-posting such a bad thing? 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: g_utf8_collate on windows
Jiri Pavlovsky wrote: Hi, The expected behaviour is to discard the accents when sorting (this happens on Linux for example). What does that mean? That's not what e.g. I would expect, if I understand the operation correctly. Isn't it something, where the expected behaviour is largely dependant on the language in question and even on the particular situation and doesn't really have much to do with the character set? 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: glib-2.2.3 vs. pkgconfig-0.15.0
[EMAIL PROTECTED] wrote: You may also be able to fix the error *** by modifying your LD_LIBRARY_PATH enviroment variable, This may mean something like this: LD_LIBRARY_PATH=/usr/local/lib:/usr/lib ./configure Modify it according to your system. 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: gtk+-2.2.0 ./configure error about pango 1.2.0
busmanus wrote: I should have closed this thread long ago, it's about two weeks or more that I finished installing the new gtk (I finally got v2.2.4). ... some files of Xft1 remained even after installing the new version, because they caused no name conflict. So I made a big cleanup, which eventually solved the problem. It has since turned out that the real problem was reading too much documentation. I mean, I listened to the advice of the author of fontconfig-xft, who recommends installing his libraries with the --prefix set to /usr and /usr/X11R6 respectively, but without giving any explanation about the purpose of this setup. If I install xft and its dependencies simply to /usr/local , the problem doesn't even show up, everything goes seamlessly on my Woody-r1 and I don't have to touch any of my system files. Regards, 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: Still have pb installing gtk+2.2
Alain D'eurveilher wrote: Ok, actually... I should look at the MINOR MAJOR lines Ok, i have the 0.2 version of render.. about xrender, i still don't know... I think I shoul install them anyway. But do I just need to install those two libs or all the Xserver ?? No, I managed to install them on top of a version 3.3.6 xserver, and they worked marvellously. If they don't, then you probably have some conflicting files from the older version on your system. But backup your system files before deleting (use tar to keep your symlinks unharmed)! 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
[Fwd: Re: Still have pb installing gtk+2.2]
Original Message Subject: Re: Still have pb installing gtk+2.2 Date: Sat, 06 Dec 2003 16:38:25 +0100 From: busmanus [EMAIL PROTECTED] To: Alain D'eurveilher [EMAIL PROTECTED] References: [EMAIL PROTECTED] Alain D'eurveilher wrote: Hi, I'm trying to install gtk+2.2. i already installed pkg-config 0.9.0 freetype 2.1.5 Where did you install them? (What was the value of the --prefix option? Did you specify a --prefix option at all? If you don't understand what I am talking about, then it is time for you to run ./configure --help | less in the source directory of one of the packages you are trying to install) 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
[Fwd: Re: Still have pb installing gtk+2.2]
Original Message Subject: Re: Still have pb installing gtk+2.2 Date: Sat, 06 Dec 2003 16:54:52 +0100 From: busmanus [EMAIL PROTECTED] To: Alain D'eurveilher [EMAIL PROTECTED] References: [EMAIL PROTECTED] Alain D'eurveilher wrote: Hi, I'm trying to install gtk+2.2. i already installed pkg-config 0.9.0 freetype 2.1.5 (but % freetype-config --versionreturns 9.4.3 : why ???!) and now i'm trying to install fontconfig 2.2.0 The % ./configure 'step is ok, but the % make returns some errors : Something else: What version of Xserver do you use? If the version number is below, I think, 4.2 then you also need to compile and install render and xrender to be able to compile fontconfig 2.2.0 The latest versions I know of are render-0.8 and xrender-0.8.3 They are available through the fontconfig home page, from the same folder where one of the downloadable copies of fontconfig 2.2.0 is placed. I suspect, all the Xservers shipped with Woody fall into this category. 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: problem with pangox - and also with pkg-config !
Alain D'eurveilher wrote: Ok, yes i have others : /usr/lib/pkgconfig/ and the latest : /usr/local/lib/pkgconfig/ But I'm sorry but i don't really understand how to put the which one in wich other one...??!! If you only have these two, then you should probably put /usr/local/lib/pkgconfig first. You can just copy the example I wrote, only put the whole thing on the same line, like this: PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig ./configure or it won't work (I hope it doesn't fold in your mailer program). As you can see, the colon (the : sign) separates the members of the list. You should of course run this in the gtk+ source directory. You may also need to put /usr/local/lib on the first line of /etc/ld.so.conf (I may have misspellt the name, but you will find it) and run ldconfig before trying. 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: problem with pangox - and also with pkg-config !
Alain D'eurveilher wrote: Did if find the rest of Pango otherwise? What do you mean find the rest of Pango ?? I wanted to know if the configure script found it, because pango consists of several components that the gtk configure script checks separately. And where could I find the PKG_CONFIG_PATH ??? PKG_CONFIG_PATH can be either in either /usr/lib/pkgconfig /usr/local/lib/pkgconfig etc., in short, it is a subdirectory in one or more of the lib/ directories on your system, at least if your have the corresponding files installed. You can add its value on the command line when you run configure like this: PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig ./configure Ok I'll try this in the future... But i haven't done it for the last dependencies.. Do you think it really matters ? If you have more than one lib/pkgconfig directory on your system, then it probably does. Find them all on your system and put the one with the latest packages in it first in the list, then the one with the second latest and so on. If you still have problems, you may want to have a look at this thread in the archive: gtk+-2.2.0 ./configure error about pango 1.2.0 It was closed about a week ago. I say this, because I have some (limited) experience with installing gtk+ on Woody, but I may be unable to answer any letters next week. 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
[Fwd: Re: problem with pangox - and also with pkg-config !]
Original Message Subject: Re: problem with pangox - and also with pkg-config ! Date: Sun, 30 Nov 2003 05:00:10 +0100 From: busmanus [EMAIL PROTECTED] To: Alain D'eurveilher [EMAIL PROTECTED] References: [EMAIL PROTECTED] Alain D'eurveilher wrote: Hi all, I'm trying to install GTK2.2.4 on my woody, and i already install the demendencies requiered, and glib, atk, pango. Now, running ./configure of gtk, I've got : - configure: error: pangox Pango backend is required for x11 target - Did if find the rest of Pango otherwise? - % pkg-config --list-all Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-2.0', required by 'gnome-window-settings-2.0', not found - ok, I'm trying to install gtk2.2.4, and i don't have the 2.0 verison. gtk2.2.4 also belongs to the 2.0 line and it has its own gtk+-2.0.pc file, but it will only be installed as a part of the package so don't worry about that. And where could I find the PKG_CONFIG_PATH ??? PKG_CONFIG_PATH can be either in either /usr/lib/pkgconfig /usr/local/lib/pkgconfig etc., in short, it is a subdirectory in one or more of the lib/ directories on your system, at least if your have the corresponding files installed. You can add its value on the command line when you run configure like this: PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig ./configure 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
GTK Install Problem -Atk-glib
Tim Johnson wrote: LD_LIBRARY_PATH=/usr/local/bin and /usr/local/bin is contained in /etc/ld.so.conf A small observation: libraries should not be in bin/ but in one of the lib/ directories, and, in all probability, that's where they are on your system, too. So you should correct the above path to /usr/local/lib 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: gtk+-2.2.0 ./configure error about pango 1.2.0
Olexiy Avramchenko wrote: If my memory is not lying I had a similar problem some time ago - the reason was freetype library. I had a new headers and lib in /usr/X11R6 and old ones in /usr. Check this out and remove old version. Hope this help. I eventually managed to run a succesful ./configure by moving /usr/local/lib/pkgconfig/pangoxft.pc out of the way, so everything else (including my freetype libraries) seems to be OK, but it is really-really not what I want to do, as my main point in upgrading was automatic font handling. The presence or absence of /usr/local/lib/libpangoxft-1.0.so.0.200.0 didn't make any change. Here's what's inside my (automatically generated) pangoxft.pc: prefix=/usr/local exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: Pango Xft Description: Xft font support for Pango Version: 1.2.0 Requires: pango Libs: -L${libdir} -lpangoxft-1.0 Cflags: -I${includedir}/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include Are there any necessary paths that are missing from it? I once had a problem because of the compile process autogenerating a damaged .pc file. Thanks 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: gtk+-2.2.0 ./configure error about pango 1.2.0
Sven Neumann wrote: Hi Does 'ldconfig -v' list libexpat ? Does 'nm -D /usr/lib/libexpat.so' list the symbols that were shown to be missing in config.log? The answer is yes to both questions. I have one idea though why this might have happened: I installed expat first from the sources found in the abiword tarball and I compiled fontconfig with it. I later realized, that I forgot to check the package list of my distribution, and I tried removing expat from /usr/local manually and recompiled fontconfig with the stock libexpat in Woody. I just checked /usr/local/include again, but there was no trace of expat.h in it, the only header file of expat I'm aware of, at least not in the toplevel directory. Do you think there can be anything else fontconfig might have read during compilation? Thanks 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: gtk+-2.2.0 ./configure error about pango 1.2.0
Sven Neumann wrote: Hi, busmanus [EMAIL PROTECTED] writes: When I am trying to configure the source code of gtk+-2.2.0, Is there a special reason you are compiling gtk+-2.2.0 instead of the newer gtk+-2.2.4? You should always use the latest released versions in the stable series (glib-2.2.3, pango-1.2.5, atk-1.2.4, gtk+-2.2.4). The download page still shows version 2.2.0 as the latest stable version, at least that's what I made out of it. I simply didn't feel like experimenting with the development version. Another reason is, that I read something about abiword-2.0.0 not liking later versions very much, but I don't remember clearly what other version was mentioned there. The third and most pressing reason is that I have a rather slow modem internet connection through the most expensive telefon line provider of the world (at least some say so). Take a look at config.log to find out why exactly the linking fails. I did take a look, but it wasn't written in a language I understand. I cannot quote it in now, but when I do, I'd like to know, if I can send the whole file, or I'll have to try to find the sections in it that may be of significance. Thanks 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: gtk+-2.2.0 ./configure error about pango 1.2.0
Sven Neumann wrote: Hi, busmanus [EMAIL PROTECTED] writes: I did take a look, but it wasn't written in a language I understand. I cannot quote it in now, but when I do, I'd like to know, if I can send the whole file, or I'll have to try to find the sections in it that may be of significance. Please don't send the whole file. The significant part is probably right at the bottom. I definitely won't, when I asked this question, I didn't realize it was 43 kB. Anyway, I had another look at the config.log and it makes some more sense now, but I'll need some help all the same. Here's what seems like the key to the problem: configure: In function `main': configure:15514: warning: unused variable `x_shm_info' configure:15525: $? = 0 configure:15528: test -s conftest.o configure:15531: $? = 0 configure:15541: result: yes configure:15747: checking Pango flags configure:15753: result: -I/usr/local/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -Wl,--export-dynamic -L/usr/local/lib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 configure:15798: gcc -o conftest -g -O2 -Wall -I/usr/local/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include conftest.c -Wl,--export-dynamic -L/usr/local/lib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 5 /usr/local/lib/libpangoxft-1.0.so: undefined reference to `XML_SetElementHandler' /usr/local/lib/libpangoxft-1.0.so: undefined reference to `XML_SetDoctypeDeclHandler' /usr/local/lib/libpangoxft-1.0.so: undefined reference to `XML_ParserFree' /usr/local/lib/libpangoxft-1.0.so: undefined reference to `XML_SetCharacterDataHandler' /usr/local/lib/libpangoxft-1.0.so: undefined reference to `XML_ErrorString' /usr/local/lib/libpangoxft-1.0.so: undefined reference to `XML_ParseBuffer' /usr/local/lib/libpangoxft-1.0.so: undefined reference to `XML_ParserCreate' /usr/local/lib/libpangoxft-1.0.so: undefined reference to `XML_SetUserData' /usr/local/lib/libpangoxft-1.0.so: undefined reference to `XML_GetErrorCode' /usr/local/lib/libpangoxft-1.0.so: undefined reference to `XML_GetBuffer' /usr/local/lib/libpangoxft-1.0.so: undefined reference to `XML_GetCurrentLineNumber' collect2: ld returned 1 exit status configure:15801: $? = 1 configure: failed program was: #line 15778 configure #include confdefs.h /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern C #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char pango_context_new (); int main () { pango_context_new (); ; return 0; } configure:15815: error: *** Can't link to Pango. Pango is required to build *** GTK+. For more information see http://www.pango.org Do you think I should try recompiling pango without xft support or is there some workaround to the problem? Anyway, how can I remove the xft-specific pango files from /usr/local without damaging other packages? Is it my (troublesome) fontconfig-xft installation that messed up things, or are there other possibilities? Thanks 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: gtk+-2.2.0 ./configure error about pango 1.2.0
Hi Sven Neumann wrote: Looks like for whatever reason libexpat (used by fontconfig) is not found in your library search path. What does that mean? Fontconfig must have found it during compilation, because the reason I installed expat was fontconfig refusing to compile without it. It's in /usr/lib by the way and everything else seems to find it. The version of expat in Woody-r1 is 1.95.2-6 (probably modified from 1.95.2) is that recent enough at all? Thanks 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
gtk+-2.2.0 ./configure error about pango 1.2.0
When I am trying to configure the source code of gtk+-2.2.0, I get the following error: checking X11/extensions/XShm.h... yes checking Pango flags... -I/usr/local/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -Wl,--export-dynamic -L/usr/local/lib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 configure: error: *** Can't link to Pango. Pango is required to build *** GTK+. For more information see http://www.pango.org debian:/usr/local/src/abiword/gtk+-2.2.0# I recompiled pango at least three times, with LD_LIBRARY_PATH directed to /usr/local/lib, where glib 2.2.0 and almost all dependencies are installed, I installed all the external dependencies, although I originally wanted to keep the earlier versions already on my system, but nothing is of any use. Glib 2.2.0, pango 1.2.0 an atk 1.2.0 compile fine, and the configure script for gtk finds them all first, but a few hundred lines later it ends up all the same with this very error message. I even thought that I may have linked pango statically by accident, but the help of the pango configure script writes, that dinamic linking is the default, and I am sure I didn't change that. I was trying some of the suggestions in your archive, but they didn't help, although some cases looked quite similar at first sight. I am not a developer, I basically got into this compilation business because of some multilingual software that depends on the new stable gtk. My system is Debian Woody r1 on an old Pentium I (MMX) at 225 MHz. Can any of you help? Thanks in advance 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