On Friday 13 March 2009 00:39:54 you wrote: > actually I didn't know where I should start, that's why I did the > following: > > ./autogen.sh > ./build-glib2.sh > > regards, > Roman > > 2009/3/12 Mikhail <styx...@gmail.com>: > > 2009/3/11 Roman Byshko <rbys...@gmail.com> > > > >> Can anyone give me a hint what's wrong with linking? > >> Thanks. > >> > >> 2009/3/7 Roman Byshko <rbys...@gmail.com>: > >> > Hi, > >> > > >> > after running build-glib2.sh at the stage where making process of mc > >> > starts > >> > I got error when linking I suppose. Here the small part of it: > >> > > >> > background.o: In function `g_bit_nth_lsf': > >> > /home/roma/projs/mc/tmp-inst/include/glib-2.0/glib/gutils.h:277: > >> > multiple > >> > definition of `g_bit_nth_lsf' > >> > > >> > achown.o:/home/roma/projs/mc/tmp-inst/include/glib-2.0/glib/gutils.h:2 > >> >77: first defined here > >> > background.o: In function `g_bit_nth_msf': > >> > /home/roma/projs/mc/tmp-inst/include/glib-2.0/glib/gutils.h:290: > >> > multiple > >> > definition of `g_bit_nth_msf' > >> > > >> > achown.o:/home/roma/projs/mc/tmp-inst/include/glib-2.0/glib/gutils.h:2 > >> >90: first defined here > >> > background.o: In function `g_bit_storage': > >> > /home/roma/projs/mc/tmp-inst/include/glib-2.0/glib/gutils.h:304: > >> > multiple > >> > definition of `g_bit_storage' > >> > > >> > achown.o:/home/roma/projs/mc/tmp-inst/include/glib-2.0/glib/gutils.h:3 > >> >04: first defined here > >> > background.o: In function `g_trash_stack_push': > >> > /home/roma/projs/mc/tmp-inst/include/glib-2.0/glib/gutils.h:318: > >> > multiple > >> > definition of `g_trash_stack_push' > >> > > >> > achown.o:/home/roma/projs/mc/tmp-inst/include/glib-2.0/glib/gutils.h:3 > >> >18: first defined here > >> > background.o: In function `g_trash_stack_pop': > >> > /home/roma/projs/mc/tmp-inst/include/glib-2.0/glib/gutils.h:326: > >> > multiple > >> > definition of `g_trash_stack_pop' > >> > > >> > achown.o:/home/roma/projs/mc/tmp-inst/include/glib-2.0/glib/gutils.h:3 > >> >26: first defined here > >> > background.o: In function `g_trash_stack_peek': > >> > /home/roma/projs/mc/tmp-inst/include/glib-2.0/glib/gutils.h:343: > >> > multiple > >> > definition of `g_trash_stack_peek' > >> > > >> > ................... > >> > > >> > ................... > >> > > >> > collect2: ld returned 1 exit status > >> > make[2]: *** [mc] Error 1 > >> > make[1]: *** [all-recursive] Error 1 > >> > make: *** [all] Error 2 > >> > > >> > What can be wrong? > >> > >> _______________________________________________ > >> Mc-devel mailing list > >> http://mail.gnome.org/mailman/listinfo/mc-devel > > > > Hi, > > Write please, all the steps you are invoking to compile mc. > > Have you start with ./autogen.sh? > > Regards, > > Mikhail S. Pobolovets
You need to run the following to compile mc: ./autogen.sh make make install You can pass configure options to autogen.sh, for example: --prefix=$HOME/mc or use ./configure with options after ./autogen.sh. And then make and make install if you need. If you have two versions of glib, you can specify which one to use through ./configure --with-glib12 for 1.2 ver. Regards, Mikhail S. Pobolovets _______________________________________________ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel