VectorLinux
April 15, 2014, 09:40:57 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: emacs 24 build from source and VL 7  (Read 688 times)
YellowGranite
Member
*
Posts: 2


« on: August 15, 2012, 05:05:19 am »

I just installed VL 7 and am putting my desired apps in place. I tried to build emacs and found that the configure script complained about libjpeg not being at version 6b or later. However, what I observe is that libjpeg is at version 8. So I am stumped by this. Anyone know about this?

Output from configure:
Code:
configure:11342: checking for jpeg_destroy_compress in -ljpeg
configure:11367: gcc -o conftest   -pthread -I/usr/include/librsvg-2.0 -I/usr/in
clude/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/
include/cairo -I/usr/include/libpng14 -I/usr/include/pixman-1 -I/usr/include/fre
etype2   -fopenmp -I/usr/include/ImageMagick   -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14     -I/usr/include/freetype2       -I/usr/include/freetype2    -Wl,-znocombreloc  conftest.c -ljpeg  -lXrender -lXft   -lgnutls   -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lrt -lglib-2.0   -lMagickWand -lMagickCore   -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo -lgobject-2.0 -lglib-2.0   -lX11 -lpthread   -ldbus-1 -lpthread -lrt   >&5
configure:11367: $? = 0
configure:11376: result: yes
configure:11401: WARNING: libjpeg found, but not version 6b or later

What is installed:
Code:
>ls -l /usr/lib/libjpeg*
-rw-r--r-- 1 root root 253946 Jan 16  2011 /usr/lib/libjpeg.a
-rwxr-xr-x 1 root root    914 Jan 16  2011 /usr/lib/libjpeg.la*
lrwxrwxrwx 1 root root     16 Aug 15 08:15 /usr/lib/libjpeg.so -> libjpeg.so.8.0.1*
lrwxrwxrwx 1 root root     16 Aug 15 08:15 /usr/lib/libjpeg.so.8 -> libjpeg.so.8.0.1*
-rwxr-xr-x 1 root root 213912 Jan 16  2011 /usr/lib/libjpeg.so.8.0.1*

Note that there were some version 62 files in /usr/lib, I moved them and then reinstalled libjpeg with gslapt. These were the files I moved:
Code:
lrwxrwxrwx 1 root root     17 Aug 13 13:17 libjpeg.so.62 -> libjpeg.so.62.0.0*
-rwxr-xr-x 1 root root 126528 Mar 21  2011 libjpeg.so.62.0.0*

Does that mean there are still remnants of version 6.2 around? How do I get rid of that? Is it needed?

-Kevin Buchs
Logged
rbistolfi
Packager
Vectorian
****
Posts: 2265


« Reply #1 on: August 15, 2012, 12:12:15 pm »

Hi Kevin,

We have some old versions of libjpeg for backward compatibility. You can remove the old ones safely. This decision is being revised for the future since those old libs are not needed anymore.
Alternatively, we have new Emacs packages in our untested pool. You need to update imagemagick from the extra repo. The usual warning, be careful because this one is from untested. Here is the link anyway, you can install it with installpkg as root:

http://vlcore.vectorlinux.com/pkg/untested/veclinux-7.0/x86/emacs-24.1-i586-2vl70.txz

Let us know how it goes
Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!
YellowGranite
Member
*
Posts: 2


« Reply #2 on: August 16, 2012, 04:18:24 am »

Hi rbistolfi,

Thanks for the reply. I have downloaded/installed the test version of emacs 24.1 and it works fine. I haven't noted anything that is broken, yet.

My source tree for the latest emacs must have gotten corrupted from my attempts to build it with the older libjpeg files in place, such that it would not get beyond that error even when I moved the libjpeg files. However, with a fresh bzr checkout, I found that I did not encounter that error. So, I have emacs 24.2.50.1 up and running. Thanks for the help.
Logged
rbistolfi
Packager
Vectorian
****
Posts: 2265


« Reply #3 on: August 16, 2012, 10:35:21 am »

Glad you got it working, enjoy!
Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!