[CIG-SHORT] Pylith installer Petsc make error

Matthew Knepley knepley at mcs.anl.gov
Sun Mar 11 10:57:11 PDT 2012


On Sun, Mar 11, 2012 at 12:06 PM, Birendra jha <bjha7333 at yahoo.com> wrote:

> Hi
>
> I downloaded pylith-installer-1.6.3-0 and I am trying to install it
> following the directions in INSTALL. I ran make as per Step 4. I am getting
> following error:
>

You do not have the libz compression library installed. PyLith requires it,
so we get

Executing: cc  -o /tmp/petsc-sm0ep7/config.setCompilers/conftest
-L/home/bjha/pylith/lib   /tmp/petsc-sm0ep7/config.setCompilers/conftest.o
-lz
sh:
Possible ERROR while running linker: /usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
 output: ret = 256

Really it should check and give a better error message. We will fix that.

   Matt


>
> *******************************************************************************
>         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
> details):
>
> -------------------------------------------------------------------------------
> Could not locate a functional C compiler
>
> *******************************************************************************
>
> make[3]: Entering directory `/home/bjha/build/pylith/petsc-dev'
> makefile:14: pylith_petsc_opt/conf/petscvariables: No such file or
> directory
> /home/bjha/build/pylith/petsc-dev/conf/variables:95:
> /home/bjha/build/pylith/petsc-dev/pylith_petsc_opt/conf/petscvariables: No
> such file or directory
> /home/bjha/build/pylith/petsc-dev/conf/rules:1061:
> /home/bjha/build/pylith/petsc-dev/pylith_petsc_opt/conf/petscrules: No such
> file or directory
> make[3]: *** No rule to make target
> `/home/bjha/build/pylith/petsc-dev/pylith_petsc_opt/conf/petscrules'.  Stop.
> make[3]: Leaving directory `/home/bjha/build/pylith/petsc-dev'
> make[2]: *** [petsc] Error 2
> make[2]: Leaving directory `/home/bjha/build/pylith'
> make[1]: *** [installed_petsc] Error 2
> make[1]: Leaving directory `/home/bjha/build/pylith'
> make: *** [installed_pylith] Error 2
>
> I have attached $HOME/build/pyliyh/petsc-dev/configure.log. Also attached
> is the $HOME/build/pyliyh/config.log file.
>
> Please help.
>
> thanks and regards
> Birendra
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geodynamics.org/pipermail/cig-short/attachments/20120311/385c2534/attachment.htm 


More information about the CIG-SHORT mailing list