LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-11-2005, 02:59 AM   #1
davelw
LQ Newbie
 
Registered: Jun 2005
Location: Australia
Distribution: Ubuntu
Posts: 2

Rep: Reputation: 0
ld: cannot find -lncurses


Hi, I recently installed SuSE Linux (9.2) on my computer as the first Linux I have ever used. This has all worked very well, but I am finding that installing software requires so many dependencies that I haven't been able to run any new programs on it yet. My current problem is in trying to install gtk+-2.6.7. When I try ./configure, I get the following error:

configure: error: Xft version 2 is required for x11 target

So I have downloaded libXft-2.6.7. But when I try ./configue, I get:

configure: error: Xrender.h not found.

So after hunting around various forums, I decide that there is a problem with my X11 installation - probably that it has none of the development librares installed. I have downloaded X11R6.8.2-src and have tried to do a "make World" on it. This takes a long time and has required a few dependencies which I have installed. But now I am completely stumped. I get the following error about 30 minutes through the "make":

gcc -m32 -o resize -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -pedantic -Wall -Wpointer-arith -Wundef -L../../exports/lib resize.o xstrings.o -lncurses -Wl,-rpath-link,../../exports/lib
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
make[4]: *** [resize] Error 1
make[4]: Leaving directory `/home/david/Downloads/Utilities/xc/programs/xterm'

Does anyone have any idea what I can do to resolve this problem?

Thanks
 
Old 06-11-2005, 05:22 AM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
If you're using SuSE which is an RPM based distro, you should be upgrading software using rpm and not from source. You might find that so many packages are a little dated that you'll need lots of dependencies just to upgrade one major package (like gtk2). Use proper SuSE RPMS instead.
 
Old 06-12-2005, 01:54 AM   #3
davelw
LQ Newbie
 
Registered: Jun 2005
Location: Australia
Distribution: Ubuntu
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks, after looking around, I found that within YAST I could link to ftp.suse.com, and then into the pub/suse/i386/9.2 folder and this brings up the list of rpms that I need. This is probably obvious to everyone except me!

Regards
 
  


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
linux find to find files with multiple patterns subu_s Programming 6 12-15-2010 12:15 AM
Can`t find C-compiler in Debian ,or at least can`t find one that can make executables hemmelig Linux - Software 4 05-26-2008 03:07 AM
linux 'find' to find text files subu_s Programming 2 12-02-2004 02:56 AM
kernel config -lncurses grimslater Linux - Software 2 12-01-2003 01:38 PM
XFree86 gcc -lncurses question Sammy2ooo Linux - Newbie 4 09-05-2003 08:46 AM

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

All times are GMT -5. The time now is 08:04 AM.

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