LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-08-2005, 08:40 PM   #1
Randomcasualty
LQ Newbie
 
Registered: Jul 2005
Location: UK
Distribution: Suse Pro 9.3 / Suse10 Beta
Posts: 25

Rep: Reputation: 15
Compile Error


Hi, i'm new to linux and am using Suse Pro 9.3 KDE 3.41.

I'm trying to compile a KDE theme but keep getting the error message:

checking for libz... configure: error: not found.
Possibly configure picks up an outdated version
installed by XFree86. Remove it from your system.

Check your installation and look into config.log


Now, this happens pretty much for everything I try and compile.

The config log is obviously too long to post in this thread so i'll just add the ending for the time being, hopefully that will shed some light onto this irritating problem.

#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 1

Not sure what all that means but hopefully someone will be able to help.

Thanks.
 
Old 07-08-2005, 09:00 PM   #2
stalefries
Member
 
Registered: Jun 2005
Location: here
Distribution: Ubuntu, maintain a Vector Linux install
Posts: 50

Rep: Reputation: 15
You could try updating "libz".
 
Old 07-08-2005, 09:03 PM   #3
Randomcasualty
LQ Newbie
 
Registered: Jul 2005
Location: UK
Distribution: Suse Pro 9.3 / Suse10 Beta
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by stalefries
You could try updating "libz".
I tried that, but when I perform a YAST search for libz the ones which are listed are all the same versions. There is nothing to be updated.
 
Old 07-09-2005, 01:05 AM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
when you configure things for KDE you need to do
./configure --prefix=`kde-config --prefix`
so it can find it's buddies
 
Old 07-09-2005, 05:39 AM   #5
Randomcasualty
LQ Newbie
 
Registered: Jul 2005
Location: UK
Distribution: Suse Pro 9.3 / Suse10 Beta
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by foo_bar_foo
when you configure things for KDE you need to do
./configure --prefix=`kde-config --prefix`
so it can find it's buddies
Thanks for the replies, is that it then, I just need to add that command as is? If so, then I still get the same error
 
Old 07-09-2005, 09:17 AM   #6
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
Are you sure libz is installed in /usr/lib?
 
Old 07-09-2005, 10:13 AM   #7
Randomcasualty
LQ Newbie
 
Registered: Jul 2005
Location: UK
Distribution: Suse Pro 9.3 / Suse10 Beta
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Michael Johnson
Are you sure libz is installed in /usr/lib?
Think so, the files libz.a, libzio.a, libzio.so, libzio.so.0, libzio.so.0.1, libz.so, libz.so.1, libzvbi-chains.so.0, libzvbi-chains.so.0.0.0, libzvbi.so.0 and libzvbi.so.0.6.0 are present.
 
Old 07-10-2005, 02:39 AM   #8
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
A couple of thoughts.
The configure script is looking in the wrong place.
There is an environment variable that needs to set.
There is an error in the configure script (highly unlikely).
The configure script is looking for a different version of libz.
do the following to find out any further information on the error.
#cat <log file name> | grep libz
it may tell you more about the error.
 
Old 07-10-2005, 02:58 AM   #9
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Also, you'll need the C language header files for libz if you want to compile against it. There may be a development package called libz-devel (or zlib-devel or something similar) that contains them.
 
Old 07-10-2005, 07:30 AM   #10
Randomcasualty
LQ Newbie
 
Registered: Jul 2005
Location: UK
Distribution: Suse Pro 9.3 / Suse10 Beta
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks for all the info, ill have to do some digging about. Hopefully if I sort this out then it may sort out the error with .sh files and getting permission denied all the time. Anyway, that's another forum thread
 
  


Reply


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
Compile error zali Programming 3 09-22-2005 09:35 PM
Error after compile to 2.6.7 Reefcrazed Slackware 22 08-13-2004 08:59 PM
compile error archish Programming 2 05-10-2004 10:38 PM
compile error: #error unknown processor family kmack2001 Linux - Newbie 0 02-14-2004 11:52 AM
Alsa compile error, and a WINE error scheidel21 Linux - Software 1 12-08-2003 08:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:14 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