On Thu, 11 Oct 2012, Shuangxing Dai wrote:

>   I was trying to install libmesh on my ubuntu, but I met error when I try
> to make it:
>
> Compiling C++ (in optimized mode) src/mesh/mesh_data_unv_support.C...
> In file included from src/mesh/mesh_data_unv_support.C:30:0:
> /home/shuangxing/libmesh/contrib/gzstream/gzstream.h:37:18: fatal error:
> zlib.h: No such file or directory
> compilation terminated.
> make: *** [src/mesh/mesh_data_unv_support.x86_64-unknown-linux-gnu.opt.o]
> Error 1
>
>
> And I checked the file gzstream.h, there is a line:
>
> #include <zlib.h>
>
> However, there is no zlib.h file in that folder. Anyone has idea?

As a quick fix, just install zlib.h on your system - I think "apt-get
install zlib1g-dev" will do it on Ubuntu 12.04.

This problem shouldn't have occurred, though - our configure script is
supposed to detect whether zlib.h exists and disable gzstream
compilation if it (or the libz library) is missing.  Which version of
libMesh (0.7.3.2? svn head?) were you trying to install?  If I can't
replicate the failure, would you mind helping try to debug it?

Thanks for the report,
---
Roy

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to