Mail Archives: geda-help/2014/04/27/15:24:22
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
- Raw text -