LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   failing to build Empathy due to missing glib-compile-schemas (http://www.linuxquestions.org/questions/fedora-35/failing-to-build-empathy-due-to-missing-glib-compile-schemas-842082/)

bullet_ 11-03-2010 05:25 AM

failing to build Empathy due to missing glib-compile-schemas
 
Hi all,
I am using Fedora 12, and I recently downloaded the source of Empathy from the git repo. When I issue a ./configure on the console, I get the following output, please look at the last line:

[root@localhost empathy]# ./configure
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.0.0... yes (version 2.22.5)
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.41.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.10.0
checking for XML::Parser... ok
checking gnome-doc-utils >= 0.17.3... yes
checking for dbus-binding-tool... /usr/bin/dbus-binding-tool
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
./configure: line 15103: /bin: is a directory
configure: error: glib-compile-schemas not found.


Now I have searched for this error of "glib-compile-schemas not found" but I havnt been able to get help that is good enough to solve this problem. Can any one please help me solve this problem. On the Gnome Documentation Library page http://library.gnome.org/devel/gio/u...e-schemas.html, it says I should find a schemas directory under /usr/share/glib-2.0/schemas but there is no such "schema" directory under glib-2.0 in my system.

Thanks for your help,

bullet.

knudfl 11-03-2010 08:54 AM

Welcome to LQ.

# 'yum install empathy' : will install version 2.28.2.

git clone git://git.gnome.org/empathy && cd empathy/ && sh autogen.sh
> > This is the "version for next year" and you have an OS from last year.
Will possibly build OK on Fedora 15 ( And may be on Fedora 14 ? ).
None of the dependencies are available for Fedora 12.


Building an ealier version : It is still very complex to do ....
http://www.linuxquestions.org/questi...roblem-828947/
... and may not be possible at all.
...

bullet_ 11-03-2010 11:22 AM

thanks.

Fedora 14 just became available today, i wud guess f15 may not even be in alpha. So if I upgrade to fedora 14 I think I should be able to build empathy otherwise what kind of source is it that it doesnt build on any os :)

knudfl 11-04-2010 03:43 AM

Fedora 14 means : # 'yum install empathy'
provides empathy-2.32.0.1-2.fc14

Fedora 15 : You will have to wait another half year.

About building empathy yourself : Did you read all this ..
http://www.linuxquestions.org/questi...roblem-828947/
..


All times are GMT -5. The time now is 02:04 AM.