Thanks. Turns out it was a problem with the dependencies indeed! Did a apt-get build-dep emacs23 to install all the older dependencies. They were good enough for emacs24. Build went without any complaints. :)
On Wednesday, January 2, 2013 9:37:49 PM UTC+5:30, Sharad Birmiwal wrote: > > > > /usr/local/lib/libgmodule-2.0.so.0: undefined reference to > > `g_private_replace' > > /usr/local/lib/libgmodule-2.0.so.0: undefined reference to > > `g_rec_mutex_lock' > > /usr/local/lib/libgmodule-2.0.so.0: undefined reference to > `g_private_get' > > /usr/local/lib/libgmodule-2.0.so.0: undefined reference to > > `g_rec_mutex_unlock' > > collect2: ld returned 1 exit status > > make[1]: *** [temacs] Error 1 > > make[1]: Leaving directory `/home/naeblis/Downloads/emacs-24.2/src' > > make: *** [src] Error 2 > > > > Can't recall, but I think it's because of different library versions? > Will > > appreciate any help regarding this. > > Haven't tried building emacs but my first guess would be the same > (version mismatch). Check the version of gmodules required by emacs (it > may be listed in a file called README, INSTALL, some other file or on > their website). Compare that against the one existing on your system. > You may want to install gmodule's latest version in your home directory > somewhere and link emacs against that. > > Since you are installing from source, I suspect you are already familiar > with linking against specific libraries. In fact, I noticed that it's > picking up libgmodule from /usr/"local/"lib which makes me believe that > it's something you might have compiled from source. > > Sharad > > > -- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
