LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot find libXext--trying to install KDevelop (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-find-libxext-trying-to-install-kdevelop-511109/)

Premiersullivan 12-16-2006 12:31 PM

Cannot find libXext--trying to install KDevelop
 
I'm running a dual boot Dell Inspiron E1705. Its winXP vs. simplyMEPIS, which is Ubuntu based. I just started using linux around thanksgiving, and this particualar problem has been giving me trouble since the begining, and Im getting a little frustrated. I want to install an IDE so I can develop java programs. If I could do that, I would have little use for Windows anymore.

Anyway, whenever I run the configure script for KDevelop, I get the following error:

Code:

checking for libXext... no
configure: error: We need a working libXext to proceed. Since configure
can't find it itself, we stop here assuming that make wouldn't find
them either.

I decided it was a dependancy problem, so I went around the internet and got "libXext" and downloaded it. When I ran the configure script, I got this error:

Code:

checking for XEXT... configure: error: Package requirements (xproto x11 xextproto xau) were not met:

No package 'xproto' found
No package 'x11' found
No package 'xau' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XEXT_CFLAGS
and XEXT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

So where do I go from there?

I know that's not descriptive enough, but could you please tell me what you need to know to diagnose and fix the problem? Thanks for all your help.

Mara 12-16-2006 03:31 PM

Install package libxext-dev (or search for one with similar name, libxext-dev is Debian name and Ubuntu is based on Debian, so there's a chance that the package names are the same).

Explanation: you probably have already XEXT installed, because it's a popular package. What you're missing is development package, with header files and so on. Development package is required to compile a program using that library. Running a program does not require that, so most distros do not install development packages by default. You need them when you start programming and/or compiling programs from source.

I guess that's the first program you're trying to install from source. It means you can get more such messages. In such case, first try to install package-dev and it should solve the problem in most cases.

Premiersullivan 12-16-2006 08:35 PM

Ummm, I downloaded the file here: http://packages.debian.org/stable/libs/libxext6. I double clicked on it and KPackage opened up and I installed it. It read this to me:

Code:

<loads/libxext6_4.3.0.dfsg.1-14sarge2_i386.deb' ;echo RESULT=$?
(Reading database ... 75328 files and directories currently installed.)
Preparing to replace libxext6 4.3.0.dfsg.1-14sarge2 (using .../libxext6_4.3.0.dfsg.1-14sarge2_i386.deb) ...
Unpacking replacement libxext6 ...
Setting up libxext6 (4.3.0.dfsg.1-14sarge2) ...

RESULT=0

However, KDevelop still did not compile. Whats the deal?

Mara 12-19-2006 03:07 PM

Try also http://packages.debian.org/stable/libdevel/libxext-dev


All times are GMT -5. The time now is 06:42 AM.