LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 06-15-2010, 10:53 AM   #1
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Rep: Reputation: 30
Unhappy Vim 7.3 upgrade problems


Hello!
I am trying to upgrade vim 6.3 to ver. 7.2 in my CentOS box but running into some issues:

Doing a compile and make install gave me this error:

gcc -L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -o vim objects/buffer.o objects/charset.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o objects/if_cscope.o objects/if_xcmdsrv.o objects/main.o objects/mark.o objects/memfile.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/spell.o objects/syntax.o objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/window.o objects/gui.o objects/gui_motif.o objects/gui_x11.o objects/pty.o objects/gui_beval.o objects/gui_xmdlg.o objects/gui_xmebw.o objects/netbeans.o objects/version.o -lXmu -lXext -lXm -lXt -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -ldl -lm -lncurses -lnsl -lselinux -lacl -lattr -lgpm -ldl
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXmu.so when searching for -lXmu
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXmu.a when searching for -lXmu
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXext.so when searching for -lXext
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXext.a when searching for -lXext
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXm.so when searching for -lXm
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXm.a when searching for -lXm
/usr/bin/ld: cannot find -lXm
collect2: ld returned 1 exit status
make[1]: *** [vim] Error 1
make[1]: Leaving directory `/downloads/vim72/src'
make: *** [first] Error 2

uname -a
Linux 2.6.9-89.0.25.ELsmp #1 SMP Thu May 6 12:33:40 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

[root#] rpm -qa --qf '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' | grep motif
openmotif21-2.1.30-11.RHEL4.6.i386
openmotif-2.2.3-10.5.el4.x86_64
openmotif-devel-2.2.3-10.5.el4.i386
openmotif-devel-2.2.3-10.5.el4.x86_64
openmotif-2.2.3-10.5.el4.i386

EL4 are posted:
rpm -qa | grep -i xorg-X11*
xorg-x11-deprecated-libs-devel-6.8.2-1.EL.63
xorg-x11-devel-6.8.2-1.EL.63
xorg-x11-xauth-6.8.2-1.EL.63
xorg-x11-xfs-6.8.2-1.EL.63
xorg-x11-xdm-6.8.2-1.EL.63
xorg-x11-Mesa-libGLU-6.8.2-1.EL.63
xorg-x11-twm-6.8.2-1.EL.63
xorg-x11-deprecated-libs-6.8.2-1.EL.63
xorg-x11-devel-6.8.2-1.EL.63
xorg-x11-Mesa-libGL-6.8.2-1.EL.63
xorg-x11-libs-6.8.2-1.EL.63
xorg-x11-libs-6.8.2-1.EL.63
xorg-x11-deprecated-libs-6.8.2-1.EL.63
xorg-x11-Mesa-libGLU-6.8.2-1.EL.63
xorg-x11-tools-6.8.2-1.EL.63
xorg-x11-6.8.2-1.EL.63
xorg-x11-Mesa-libGL-6.8.2-1.EL.63
xorg-x11-font-utils-6.8.2-1.EL.63

Please kindly advise, need assistance from someone.

Cheers!
DB
 
Old 06-15-2010, 11:01 AM   #2
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
Why are you compiling vim from source rather than using the provided rpms? My first guess is that you have an ABI mismatch between the library that couldn't be found and the source for vim you are trying to build and need to update at least that library on your system.

Regards,

Alunduil
 
Old 06-15-2010, 04:26 PM   #3
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by alunduil View Post
Why are you compiling vim from source rather than using the provided rpms? My first guess is that you have an ABI mismatch between the library that couldn't be found and the source for vim you are trying to build and need to update at least that library on your system.

Regards,

Alunduil
So I actually did it via rpm but ran into dependency issues:
rpm -ivh vim-7.2-8.1.i586.rpm
warning: vim-7.2-8.1.i586.rpm: V3 DSA signature: NOKEY, key ID 24f1ba50
error: Failed dependencies:
update-alternatives is needed by vim-7.2-8.1.i586
vim-base = 7.2 is needed by vim-7.2-8.1.i586
libc.so.6(GLIBC_2.4) is needed by vim-7.2-8.1.i586
 
Old 06-15-2010, 06:56 PM   #4
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
Which version of RedHat are you using? Do you have yum or up2date?

Regards,

Alunduil
 
Old 06-17-2010, 06:42 AM   #5
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by alunduil View Post
Which version of RedHat are you using? Do you have yum or up2date?

Regards,

Alunduil
Using CentOS 5 - I use yum.
 
Old 06-17-2010, 09:12 AM   #6
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
Just to be sure we're not missing anything can you post the output of yum repolist?

Regards,

Alunduil
 
Old 06-17-2010, 11:38 AM   #7
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by alunduil View Post
Just to be sure we're not missing anything can you post the output of yum repolist?

Regards,

Alunduil

Sure...

cat /etc/yum.repos.d/CentOS-Base.repo

# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=1
protect=1

#released updates
[update]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=1
protect=1

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=1
protect=1

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=1
protect=1

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=2
protect=1

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=2
protect=1


cat /etc/yum.repos.d/CentOS-Media.repo

# CentOS-Media.repo
#
# This repo is used to mount the default locations for a CDROM / DVD on
# CentOS-4. You can use this repo and yum to install items directly off the
# DVD ISO that we release.
#
# To use this repo, put in your DVD and use it with the other repos too:
# yum --enablerepo=c4-media [command]
#
# or for ONLY the media repo, do this:
#
# yum --disablerepo=\* --enablerepo=c4-media [command]

[c4-media]
name=CentOS-$releasever - Media
baseurl=file:///media/cdrom/
file:///media/cdrecorder/
gpgcheck=1
enabled=0
gpgkey=file:///usr/share/doc/centos-release-4/RPM-GPG-KEY-centos
 
Old 06-17-2010, 11:56 AM   #8
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
Looks like the latest supported build of vim on Centos 5.4 is vim 7.0. Is there something you specifically need 7.2 for? Have you tried updating those libraries that vim 7.2 asks for to see if that works for you?

Regards,

Alunduil
 
Old 06-17-2010, 01:43 PM   #9
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by alunduil View Post
Looks like the latest supported build of vim on Centos 5.4 is vim 7.0. Is there something you specifically need 7.2 for? Have you tried updating those libraries that vim 7.2 asks for to see if that works for you?

Regards,

Alunduil
I have proved this to be working already on CentOS 5 but the only difference is I have tried it in a virtual machine - physical machine for some reason wont work applying all same setup process and configuration.

Do you think it had something to do with that being on a physical system architecture?

Cheers.
 
Old 06-17-2010, 03:09 PM   #10
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
It shouldn't make a difference whether the box is virtual or not. Unless you were using different architectures on the boxes then it may make a difference. What architectures did you compare?

Regards,

Alunduil
 
Old 06-17-2010, 04:50 PM   #11
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by alunduil View Post
It shouldn't make a difference whether the box is virtual or not. Unless you were using different architectures on the boxes then it may make a difference. What architectures did you compare?

Regards,

Alunduil
Both pretty much identical:
dual core 8gb ram
64bit

But im suspecting might be that since its running on different environment (vm/physical) dont you think its using different devel package EL4 or openmotif?
 
Old 06-17-2010, 05:02 PM   #12
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
What are the outputs of the following on both boxes:

1. cat /etc/redhat-release
2. uname -a

Regards,

Alunduil
 
Old 06-17-2010, 05:10 PM   #13
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by alunduil View Post
What are the outputs of the following on both boxes:

1. cat /etc/redhat-release
2. uname -a

Regards,

Alunduil

1. CentOS release 4.8 (Final)
2. Linux ws-devvm1 2.6.9-89.0.25.ELsmp #1 SMP Thu May 6 12:33:40 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
 
Old 06-17-2010, 05:16 PM   #14
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
And on the box you want to install vim on? It seems that the most updated supported version of vim on that version of CentOS is 6.3. Is there a reason you haven't updated to 5? I believe that would solve your problems and allow you to install vim.

Regards,

Alunduil
 
Old 06-21-2010, 11:48 AM   #15
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by alunduil View Post
And on the box you want to install vim on? It seems that the most updated supported version of vim on that version of CentOS is 6.3. Is there a reason you haven't updated to 5? I believe that would solve your problems and allow you to install vim.

Regards,

Alunduil
Hmm that's weird since I was able to install it in my virtual machine which also has CentOS release 4.8 (Final).

I'm guessing it might be using a different dep in a vm compared to a physical host.
 
  


Reply

Tags
centos, vim, vim72


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VIM 7.2 upgrade issues - CentOS5 deibertine Linux - Software 7 06-02-2010 07:20 PM
Easiest way to upgrade to vim 7.2 in RedHat deibertine Linux - Software 10 05-23-2010 02:11 AM
VIM 7.2 Upgrade deibertine Linux - Software 2 05-18-2010 02:44 AM
vim syntax highlight fails after debian upgrade darknails Linux - Software 7 05-19-2009 05:11 AM
Editor comparison: vim VS vim-lite, Cleaning vim Ruler2112 *BSD 4 04-13-2009 05:26 PM


All times are GMT -5. The time now is 05:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration