Celestia "zlib not found"

General discussion about Celestia that doesn't fit into other forums.
Topic author
todd987

Celestia "zlib not found"

Post #1by todd987 » 05.09.2004, 23:35

I'm trying to compiling celestia-1.3.2 under root on fedora 2 core, but I'm having no luck. :?

Here's what I get...

Code: Select all

checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -frepo... yes
checking for X... no
checking for deflate in -lz... no
configure: error: zlib not found.

hjw
Posts: 66
Joined: 02.02.2004
With us: 20 years 9 months
Location: Schwabach/Germany

Post #2by hjw » 06.09.2004, 06:35

Hello,

as it says, you have no zlib installed.

Get it from http://www.zlib.org if it's not bundled with your fedora...

MfG - HJW

Harry
Posts: 559
Joined: 05.09.2003
With us: 21 years 2 months
Location: Germany

Post #3by Harry » 06.09.2004, 12:20

Well, I can't imagine that fedora doesn't have zlib, probably he just hasn't the development-version installed, which should be easily installable from whatever installer fedora uses. If he doesn't have the devel version of zlib installed, there are probably tons of other libraries which need their development counterparts to be installed too...

Harald

ben_o
Posts: 19
Joined: 02.09.2004
With us: 20 years 2 months

Post #4by ben_o » 06.09.2004, 13:09

Its the configure under root that I have a problem with. It's not a good idea to run scripts as root unless absolutely necessary, like a "make install" to install to /usr.

Also you don't seem to have X... this could be a side-effect of running as root, but this might also turn out to be a problem.

Try this as a normal user:

Code: Select all

[home@localhost]$./configure --with-kde
// Lots of configure info //
[home@localhost]$make
[home@localhost]$su
Password:
[root@localhost]#make install
[root@localhost]#exit


Try this, and if it still doesn't work, post your configure info here.


Return to “Celestia Users”