atk and glib


Forum: Apps
Topic: atk and glib
started by: somerville32@hotmail.com

Posted by somerville32@hotmail.com on Nov. 02 2004,13:17
Ok, let us start from the top. I wanted to install Gmudix-2.4.0. It tells me that I need gtk. So I go get gtk-2.4.0 and it tells me I need glib. So I go get glib-2.4.0. I try to install glib-2.4.0 but it tells me that I need gettext. So I get gettext-0.13 and install it. Then I try to install glib-2.4.0 and it works.I go back to install gtk-2.4.0 again and it now tells me that I need atk. So I go downloaded atk-1.0.3 and try to install it. It checks to see if I have glib and I get this:

checking for pkg-config... /usr/local/bin/pkg-config
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.4.0, but GLIB (2.4.7)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from < ftp://ftp.gtk.org/. >
----end-of-output----

I tried what it suggested and I still can't get it to work. Please help me :)


~Me

Posted by ke4nt1 on Nov. 02 2004,13:50
The latest version of gMUDix I can find is 1.0 for lLinux ..
The latest version of MUDix is 4.3 ..

If your working with an earlier version , like the 2.4.0 you posted,
perhaps that is why its asking for dated libs, and not liking the curent ones..

This was my source of info..
dw.nl.eu.org/mudix.html

Perhaps you have found a more current source for builds..

let me know..

73
ke4nt

Posted by somerville32@hotmail.com on Nov. 02 2004,22:54
I bypassed by problem with:

Code Sample

./configure --disable-glibtest


It configured fine and I get atk installed. The next thing I need for gtk is pango. So I go and download pango and try to configure it but it says I need fontconfig. So I download fontconfig-2.2.0 and try to configure it. It says I need freetype. So I download freetype-2.1.9 and try to configure it but it says that a one of the libs that came with it wasn't a valid lib when I try to make it. So I downloaded freetype-2.1.8 and compiles perfectly. I go back to fontconfig-2.2.0 and it says that the expat lib is missing. I'll be back later after I get this lib. Hopefuly I'll be able to write a HOWTO install Gmudix after I get through this.

~Me

Posted by somerville32@hotmail.com on Nov. 02 2004,23:19
The expat lib can be downloaded through synaptics but it doesn't work so I go download expat-1.95.8 and it installs nicely. I go back to fontconfig-2.2.0 and it configured great. Then when I try to make:

In file included from ../fontconfig/fcfreetype.h:27,
                from fcint.h:39,
                from fcfreetype.c:50:
/usr/local/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/local/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/local/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/local/include/freetype2/freetype/freetype.h:23:2: #error "  #include <ft2build.h>"
/usr/local/include/freetype2/freetype/freetype.h:24:2: #error "  #include FT_FREETYPE_H"
fcfreetype.c:60:31: freetype/ftmodule.h: No such file or directory
make[2]: *** [fcfreetype.lo] Error 1
make[2]: Leaving directory `/home/dsl/fontconfig-2.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dsl/fontconfig-2.2.0'
make: *** [all-recursive-am] Error 2
----end-of-output----

I am clueless to this one... Any suggestions?

~Me

Posted by somerville32@hotmail.com on Nov. 03 2004,23:10
Just wanted to remind you that I still need help :)

~Me

Posted by Headly on Oct. 03 2005,05:22
Hi Everyone,
I'm trying to compile an application (gpsdrive) on DSL and I seem to have run into the same problem that Somerville did around 12 months ago.  I have made it throught the the same set of prereqresits (some newer versions) and they all do a clean compile.  For now I'm just letting them build into their default directories.  Once I get everying to install then I'll try moving things around and making it into a package.

Anyway when I compile fontconfig I get the following error during "make install"
This is just the tail of the output log.  Anyone who wants to see the rest is welcome to it.   (Just ask)

Does anyone have any ideas on what I need to do to get fontconfig to compile?

==========================================================
<huge snip>

if test -z ""; then \
   echo " fc-cache/fc-cache -f -v"; \
   fc-cache/fc-cache -f -v; \
else \
   echo "***"; \
   echo "*** Warning: fonts.cache not built"; \
   echo "***"; \
   echo "*** Generate this file manually on host system using fc-cache"; \
   echo "***"; \
fi
fc-cache/fc-cache -f -v
/mnt/hda2/unpack/fontconfig-2.3.2/fc-cache/.libs/lt-fc-cache: "/usr/share/fonts": caching, 0 fonts, 5 dirs
/mnt/hda2/unpack/fontconfig-2.3.2/fc-cache/.libs/lt-fc-cache: "/usr/share/fonts/type1": caching, 0 fonts, 1 dirs
/mnt/hda2/unpack/fontconfig-2.3.2/fc-cache/.libs/lt-fc-cache: "/usr/share/fonts/type1/gsfonts": caching, 0 fonts, 0 dirs
/mnt/hda2/unpack/fontconfig-2.3.2/fc-cache/.libs/lt-fc-cache: "/usr/share/fonts/ttf": caching, 0 fonts, 2 dirs
/mnt/hda2/unpack/fontconfig-2.3.2/fc-cache/.libs/lt-fc-cache: "/usr/share/fonts/ttf/western": caching, 0 fonts, 0 dirs
/mnt/hda2/unpack/fontconfig-2.3.2/fc-cache/.libs/lt-fc-cache: "/usr/share/fonts/ttf/decoratives": caching, 0 fonts, 0 dirs
/mnt/hda2/unpack/fontconfig-2.3.2/fc-cache/.libs/lt-fc-cache: "/usr/share/fonts/truetype": caching, 0 fonts, 2 dirs
/mnt/hda2/unpack/fontconfig-2.3.2/fc-cache/.libs/lt-fc-cache: "/usr/share/fonts/truetype/ttf-bitstream-vera": caching, 0 fonts, 0 dirs
/mnt/hda2/unpack/fontconfig-2.3.2/fc-cache/.libs/lt-fc-cache: "/usr/share/fonts/truetype/openoffice": caching, 0 fonts, 0 dirs
/mnt/hda2/unpack/fontconfig-2.3.2/fc-cache/.libs/lt-fc-cache: "/usr/share/fonts/latex-ttf-fonts": caching, 0 fonts, 0 dirs
/mnt/hda2/unpack/fontconfig-2.3.2/fc-cache/.libs/lt-fc-cache: "/usr/share/fonts/afms": caching, 0 fonts, 1 dirs
/mnt/hda2/unpack/fontconfig-2.3.2/fc-cache/.libs/lt-fc-cache: "/usr/share/fonts/afms/adobe": caching, 0 fonts, 0 dirs
/mnt/hda2/unpack/fontconfig-2.3.2/fc-cache/.libs/lt-fc-cache: "/usr/X11R6/lib/X11/fonts": Can't save cache in "/usr/X11R6/lib/X11/fonts"
caching, 0 fonts, 4 dirs
/mnt/hda2/unpack/fontconfig-2.3.2/fc-cache/.libs/lt-fc-cache: "/usr/X11R6/lib/X11/fonts/util": Can't save cache in "/usr/X11R6/lib/X11/fonts/util"
caching, 0 fonts, 0 dirs
/mnt/hda2/unpack/fontconfig-2.3.2/fc-cache/.libs/lt-fc-cache: "/usr/X11R6/lib/X11/fonts/misc": caching, 44 fonts, 0 dirs
/mnt/hda2/unpack/fontconfig-2.3.2/fc-cache/.libs/lt-fc-cache: "/usr/X11R6/lib/X11/fonts/encodings": Can't save cache in "/usr/X11R6/lib/X11/fonts/encodings"
caching, 0 fonts, 1 dirs
/mnt/hda2/unpack/fontconfig-2.3.2/fc-cache/.libs/lt-fc-cache: "/usr/X11R6/lib/X11/fonts/encodings/large": caching, 0 fonts, 0 dirs
/mnt/hda2/unpack/fontconfig-2.3.2/fc-cache/.libs/lt-fc-cache: "/usr/X11R6/lib/X11/fonts/75dpi": caching, 397 fonts, 0 dirs
/mnt/hda2/unpack/fontconfig-2.3.2/fc-cache/.libs/lt-fc-cache: "/root/.fonts": skipping, no such directory
/mnt/hda2/unpack/fontconfig-2.3.2/fc-cache/.libs/lt-fc-cache: failed
make[2]: *** [install-data-local] Error 3
make[2]: Leaving directory `/mnt/hda2/unpack/fontconfig-2.3.2'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/mnt/hda2/unpack/fontconfig-2.3.2'
make: *** [install-recursive] Error 1

==============================================================
End of log

Posted by mooncar on Nov. 11 2005,09:51
Hi!
I have the same problem you have had in nov 2004:


In file included from ../fontconfig/fcfreetype.h:27,
                from ../src/fcint.h:39,
                from fc-lang.c:25:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error "  #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error "  #include FT_FREETYPE_H"
make[2]: *** [fc-lang.o] Error 1
make[2]: Leaving directory `/home/vero/tesi/fontconfig/fontconfig-2.2.1.tar.gz_FILES/fontconfig-2.2.1/fc-lang'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vero/tesi/fontconfig/fontconfig-2.2.1.tar.gz_FILES/fontconfig-2.2.1'
make: *** [all-recursive-am] Error 2

how do you have resolved the problem?
Can someone help me?

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.