X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f X-Recipient: geda-help AT delorie DOT com Message-ID: <535D594D.4070406@philippklostermann.de> Date: Sun, 27 Apr 2014 21:23:57 +0200 From: Philipp Klostermann User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: geda-help AT delorie DOT com Subject: Re: [geda-help] Which Debina-Package do I have to install? make geda-gaf git version 1.9.1-20140308-80-g62aede2 under Debian Wheezy fails due to missing glib. References: <535A1445 DOT 4060108 AT philippklostermann DOT de> <20140425093528 DOT 24599 DOT qmail AT stuge DOT se> <4ec21d206984a3bc291bb9baefc33eb8 AT net2air DOT co> <20140425094534 DOT 25362 DOT qmail AT stuge DOT se> <423b9c44d06df6dd5da8d70cf885a813 AT net2air DOT co> <535CEB5C DOT 8050304 AT philippklostermann DOT de> <20140427164308 DOT 18539 DOT qmail AT stuge DOT se> In-Reply-To: <20140427164308.18539.qmail@stuge.se> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Reply-To: geda-help AT delorie DOT com Am 27.04.2014 18:43, schrieb Peter Stuge: > Philipp Klostermann wrote: >> I can't find anything else, that has to do with gio > .. >> I guess I have to install glib from the source-package > No not neccessarily. That's only the very last resort. > > >> www.gtk.org, but how does this work with the glib that already is on my >> box? I guess can't simply unistall beforehand, because many other >> packages depend on it. >> Does anyone have a hint for me, before I start messing up my box? > If you do end up needing to install glib from source then install it > into a different prefix than where the system glib is installed. > > > But please run this command on your system first: > > pkg-config --cflags --libs gio-2.0 > > The output of this command on my system looks like this: > > -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -lgio-2.0 -lgobject-2.0 -lglib-2.0 > > You should get a similar output from the command. I don't know whether this is similar enough: albus:~/src/gEDA/geda-gaf# pkg-config --cflags --libs gio-2.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -lgio-2.0 -lgobject-2.0 -lglib-2.0 albus:~/src/gEDA/geda-gaf# > The problem is that geda-gaf's configure.ac doesn't depend on gio in > the geda-gaf code that you're trying to build. > > Peter Brett has fixed this issue in commit 1b785642 on 2014-03-13. > > Update your code to current git://git.geda-project.org/geda-gaf master, > then run autogen.sh, then re-run configure and make. > > If your pkg-config output is sane it should build. > > > //Peter > I tried this, but the result is the same. :-( albus:~/src/gEDA_2014-04-27# git clone git://git.geda-project.org/geda-gaf master Cloning into 'master'... remote: Counting objects: 81450, done. remote: Compressing objects: 100% (17592/17592), done. remote: Total 81450 (delta 67871), reused 76198 (delta 63437) Receiving objects: 100% (81450/81450), 28.17 MiB | 84 KiB/s, done. Resolving deltas: 100% (67871/67871), done. albus:~/src/gEDA_2014-04-27# cd master/ albus:~/src/gEDA_2014-04-27/master# ./autogen.sh .. albus:~/src/gEDA_2014-04-27/master# ./configure ; make .. /bin/bash ../../libtool --tag=CC --mode=link gcc -Wall -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -lglib-2.0 -lguile -lgmp -lcrypt -lm -lltdl -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -L/lib -o gsymcheck gsymcheck-g_rc.o gsymcheck-g_register.o gsymcheck-globals.o gsymcheck-gsymcheck.o gsymcheck-i_vars.o gsymcheck-parsecmd.o gsymcheck-s_check.o gsymcheck-s_log.o gsymcheck-s_symstruct.o ../../libgeda/src/libgeda.la -lstroke -lm libtool: link: gcc -Wall -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -o .libs/gsymcheck gsymcheck-g_rc.o gsymcheck-g_register.o gsymcheck-globals.o gsymcheck-gsymcheck.o gsymcheck-i_vars.o gsymcheck-parsecmd.o gsymcheck-s_check.o gsymcheck-s_log.o gsymcheck-s_symstruct.o -lguile -lgmp -lcrypt /usr/lib/x86_64-linux-gnu/libltdl.so -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -L/lib ../../libgeda/src/.libs/libgeda.so /usr/lib/libstroke.so -lm -pthread ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_get_parse_name' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_parse_name' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_get_type' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_new_for_path' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_query_exists' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_query_file_type' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_get_parent' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_get_child' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_equal' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_hash' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_make_directory_with_parents' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_replace_contents' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_get_path' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_load_contents' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_memory_input_stream_new_from_data' collect2: error: ld returned 1 exit status make[3]: *** [gsymcheck] Fehler 1 make[3]: Leaving directory `/root/src/gEDA_2014-04-27/master/gsymcheck/src' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/root/src/gEDA_2014-04-27/master/gsymcheck' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/root/src/gEDA_2014-04-27/master' make: *** [all] Fehler 2 albus:~/src/gEDA_2014-04-27/master# Philipp