LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 05-26-2010, 08:15 PM   #1
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Rep: Reputation: 30
VIM 7.2 upgrade issues - CentOS5


Trying to upgrade vim 6.3 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

Currently on Vim 6.3.82.
Please advise. Cheers!
 
Old 05-26-2010, 08:53 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,570

Rep: Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510
Same idea as your last topic. You're missing the Xm libary, whatever that is. Google says openmotif provides it, and you want the headers, not the binaries, so try installing openmotif-devel. Also get the xorg development headers like last time if you don't already. And hopefully the "incompatible" are just warnings, else you may have to ensure you have both 64- and 32-bit versions of the packages installed.
 
Old 05-27-2010, 01:57 PM   #3
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by AlucardZero View Post
Same idea as your last topic. You're missing the Xm libary, whatever that is. Google says openmotif provides it, and you want the headers, not the binaries, so try installing openmotif-devel. Also get the xorg development headers like last time if you don't already. And hopefully the "incompatible" are just warnings, else you may have to ensure you have both 64- and 32-bit versions of the packages installed.
Yes thought i did update and installed openmotif-devel and applied same idea on my last post but this one gave me the same:
gcc -L/usr/X11R6/lib -L/usr/X11R6/lib -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 -lXm -lXt -lXt -lX11 -lm -lncurses -lnsl -lselinux -lacl -lattr -lgpm -ldl
/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: 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 s


Please note the machine last time is a virtual machine and this one im working on is a physical machine - could that be the case?

Thanks
 
Old 05-27-2010, 02:18 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,570

Rep: Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510
Shouldn't be, but is it VMWare? VirtualBox?

Post the output of -
Code:
uname -a
rpm -qa --qf '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' | grep motif
How did you get the vim source code on this machine? Specifically, did you run "make clean" and "./configure" on it?
 
Old 05-27-2010, 02:24 PM   #5
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by AlucardZero View Post
Shouldn't be, but is it VMWare? VirtualBox?

Post the output of -
Code:
uname -a
rpm -qa --qf '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' | grep motif
How did you get the vim source code on this machine? Specifically, did you run "make clean" and "./configure" on it?
VMWare
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

Yes did make clean then ./configure
Source code i use came from a compressed vim-7.2.tar.bz2 the did compile.

Last edited by deibertine; 05-27-2010 at 02:25 PM. Reason: added notes
 
Old 05-27-2010, 05:28 PM   #6
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,570

Rep: Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510
Okay.. and where did you get openmotif from? Are *el4* packages normal on CentOS5? (I use RHEL at work, never CentOS)
 
Old 05-28-2010, 12:59 PM   #7
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by AlucardZero View Post
Okay.. and where did you get openmotif from? Are *el4* packages normal on CentOS5? (I use RHEL at work, never CentOS)
I got openmotif-devel from yum install.
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
 
Old 06-02-2010, 06:20 PM   #8
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Original Poster
Rep: Reputation: 30
Have you got any further comments on this? Please help! Cheers.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues installing Coldfusion8 on CentOS5... b10m3ch4 Linux - Server 0 12-06-2009 06:16 PM
LXer: CentOS5.4 is out! Upgrade from 5.3 to CentOS 5.4 LXer Syndicated Linux News 0 10-22-2009 12:10 PM
HP Proliant ML370, G5 has issues with centos5.0 installation akistam Linux - Server 1 05-06-2009 11:13 AM
Help - Upgrade Python2.5 in CentOS5.2 ke1vintan Red Hat 4 01-27-2009 10:03 AM
issues loading vmware 1.06 on centos5 Torensmith Linux - Newbie 1 09-05-2008 01:35 PM


All times are GMT -5. The time now is 09:35 PM.

Main Menu
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