LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-04-2004, 05:32 PM   #1
seeone
Member
 
Registered: Dec 2003
Location: Kentucky
Distribution: PCLinuxOS
Posts: 34

Rep: Reputation: 15
vim no GUI support


I tried compiling vim on RH WS3 and it compiles ok (vim6.3) but even though I
used ./configure --enable -gui=auto (or even motif)
it doesn't compile with gui support.
The configure output says GUI - no support
rpm -q openmotif says it is installed.
So I tried compiling kvim using
./configure --enable-gui=kde --with-qt-dir=/usr/lib/qt-3.1/lib
and I get the same type of result.

Does anyone who has done this before have a suggestion as to what I could be doing wrong?

Thanks!
 
Old 09-04-2004, 07:24 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
If you're looking to build a program against some library you will need the "devel" package corresponding to the library's package in order to build it. The devel packages contain headers and other files you will need in order to build something that uses that package. kde-<version>-devel and qt-<version>-devel might be the names, but I'm not the person to ask since I'm not that used to rpm based systems.


Håk
 
Old 09-04-2004, 08:58 PM   #3
seeone
Member
 
Registered: Dec 2003
Location: Kentucky
Distribution: PCLinuxOS
Posts: 34

Original Poster
Rep: Reputation: 15
Thanks for your response. I don't think this has anything to do with rpms, as I am compiling the source files. I understand what you mean about libraries, maybe this is a PATH problem.
 
Old 09-05-2004, 05:52 AM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Well, in order to compile the source you still need to have the headers. The fact that you have a library installed doesn't mean you have the header files (from the -devel package) which are needed to compile software that use that library.

When you compile stuff that depends on a library the source will have include lines in the code. These will tell the compiler to look for header files to get information about library functionality (etc) from. These include files come with the devel packages.


Håk
 
Old 09-16-2004, 11:08 AM   #5
sirclif
Member
 
Registered: Sep 2004
Location: south texas
Distribution: fedora core 3,4; gentoo
Posts: 192

Rep: Reputation: 30
the gui version of vim is gvim. try downloading and compiling that
 
Old 09-16-2004, 12:21 PM   #6
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
That doesn't make any sense. The vim sources are shipped in one big tarball or several smaller ones. The GTK/GTK2 GUI support known as "gvim" is enabled by passing the appropriate parameters to the configure script (i.e. ./configure --enable-gtk2-check).


Håkan
 
Old 09-16-2004, 05:19 PM   #7
sirclif
Member
 
Registered: Sep 2004
Location: south texas
Distribution: fedora core 3,4; gentoo
Posts: 192

Rep: Reputation: 30
oh, sorry then.
you know more than i do, ive only used the version that came with my distro
 
Old 02-22-2010, 11:09 PM   #8
jeffschwab
LQ Newbie
 
Registered: May 2007
Posts: 8

Rep: Reputation: 0
Day later, $ short, but...

For posterity: On Ubuntu, you need:

sudo aptitude install xorg-dev

It's not enough to install the GTK headers.
 
  


Reply



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: rich ("gui") colorschemes in a terminal emulator? prell Linux - Software 13 09-10-2008 10:07 AM
C Source Code browsers with GUI support RohanShrivastav Linux - Software 1 02-17-2005 09:30 PM
vim not compiled with gui? gbonvehi Slackware 2 08-08-2004 02:53 AM
Vim GUI with FC2? brynjarh Linux - Newbie 2 06-06-2004 09:05 PM
GUI installation and hardware support M.R Slackware 9 03-15-2004 11:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:04 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
Open Source Consulting | Domain Registration