Try
./configure --disable-parmetis --disable-petsc --disable-mpi --disable-shared
make METHOD=dbg
make METHOD=dbg run_examples

Ahmed

--
"No great thing is created suddenly." Epictetus
**************************************************
  Ahmed ElSheikh <elsheiam@mcmaster.ca>
  PhD Candidate, Department of Civil Engineering
  McMaster University
  1280 Main Street West
  Hamilton, Ontario,  L8S 4L7, Canada.

  Fax     : (905) 529-9688
  Cellular: (905) 920-9204
  Work    : (905) 525-9140 EXT. 22044

**************************************************

Yuna wrote:

Hi,   I am a new user of Libmesh, and I tried to install it in Unix Sun Solaris. When I compile it, it runs ok till to the /contrib/parmetis/Lib subdir. The error looks like: --- Building Parmetis ------------------------
make[2]: Entering directory `/users/hyuna/myResearch/libmesh-0.4.2/contrib/parmetis/Lib'
Compiling C (in optimized mode) adrivers.c...
In file included from parmetis.h:22,
                 from adrivers.c:16:
stdheaders.h:25:17: mpi.h: No such file or directory
In file included from parmetis.h:30,
                 from adrivers.c:16:
struct.h:263: error: parse error before "MPI_Comm"
struct.h:263: warning: no semicolon at end of struct or union
struct.h:264: warning: data definition has no type or storage class
struct.h:265: error: parse error before "sreq"
struct.h:266: warning: data definition has no type or storage class
struct.h:267: error: parse error before "statuses"
struct.h:267: warning: data definition has no type or storage class
struct.h:268: error: parse error before "status"
struct.h:268: warning: data definition has no type or storage class
struct.h:274: error: parse error before '}' token
In file included from parmetis.h:32,
                 from adrivers.c:16:
proto.h:16: error: parse error before "MPI_Comm"
proto.h:19: error: parse error before "MPI_Comm"
proto.h:22: error: parse error before "MPI_Comm"
proto.h:23: error: parse error before "MPI_Comm"
proto.h:75: error: parse error before "MPI_Comm"
proto.h:78: error: parse error before "MPI_Comm"
proto.h:146: error: parse error before "MPI_Comm"
proto.h:152: error: parse error before "MPI_Comm"
proto.h:155: error: parse error before "MPI_Comm"
proto.h:164: error: parse error before "MPI_Comm"
proto.h:167: error: parse error before "MPI_Comm"
proto.h:313: error: parse error before "MPI_Comm"
proto.h:333: error: parse error before "MPI_Comm"
proto.h:334: error: parse error before "MPI_Comm"
proto.h:336: error: parse error before "MPI_Comm"
proto.h:337: error: parse error before "MPI_Comm"
proto.h:339: error: parse error before "MPI_Comm"
proto.h:340: error: parse error before "MPI_Comm"
proto.h:341: error: parse error before "MPI_Comm"
proto.h:342: error: parse error before "MPI_Comm"
proto.h:344: error: parse error before "MPI_Comm"
proto.h:345: error: parse error before "MPI_Comm"
proto.h:347: error: parse error before "MPI_Comm"
proto.h:348: error: parse error before "MPI_Comm"
proto.h:349: error: parse error before "MPI_Comm"
proto.h:350: error: parse error before "MPI_Comm"
proto.h:351: error: parse error before "MPI_Comm"
proto.h:352: error: parse error before "MPI_Comm"
proto.h:354: error: parse error before "MPI_Comm"
proto.h:355: error: parse error before "MPI_Comm"
proto.h:378: error: parse error before "MPI_Comm"
proto.h:380: error: parse error before "MPI_Comm"
proto.h:381: error: parse error before "MPI_Comm"
proto.h:383: error: parse error before "MPI_Comm"
proto.h:387: error: parse error before "MPI_Comm"
proto.h:388: error: parse error before "MPI_Comm"
proto.h:389: error: parse error before "MPI_Comm"
proto.h:392: error: parse error before "MPI_Comm"
proto.h:395: error: parse error before "MPI_Comm"
proto.h:396: error: parse error before "MPI_Comm"
proto.h:397: error: parse error before "MPI_Comm"
proto.h:398: error: parse error before "MPI_Comm"
proto.h:402: error: parse error before "MPI_Comm"
proto.h:405: error: parse error before "MPI_Comm"
adrivers.c: In function `Adaptive_Partition__':
adrivers.c:35: error: dereferencing pointer to incomplete type
adrivers.c:40: error: dereferencing pointer to incomplete type
adrivers.c:40: error: dereferencing pointer to incomplete type
adrivers.c:40: error: dereferencing pointer to incomplete type
adrivers.c:42: error: dereferencing pointer to incomplete type
adrivers.c:42: error: dereferencing pointer to incomplete type
adrivers.c:46: error: dereferencing pointer to incomplete type
adrivers.c:58: error: dereferencing pointer to incomplete type
adrivers.c:61: error: dereferencing pointer to incomplete type
adrivers.c:63: error: dereferencing pointer to incomplete type
adrivers.c:66: error: dereferencing pointer to incomplete type
adrivers.c:69: error: dereferencing pointer to incomplete type
adrivers.c:83: error: dereferencing pointer to incomplete type
adrivers.c:113: error: dereferencing pointer to incomplete type
adrivers.c:115: error: dereferencing pointer to incomplete type
adrivers.c:118: error: dereferencing pointer to incomplete type
adrivers.c:121: error: dereferencing pointer to incomplete type
make[2]: *** [adrivers.sparc-sun-solaris2.8.o] Error 1
make[2]: Leaving directory `/users/hyuna/myResearch/libmesh-0.4.2/contrib/parmetis/Lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/users/hyuna/myResearch/libmesh-0.4.2/contrib'
make: *** [/users/hyuna/myResearch/libmesh-0.4.2/lib/sparc-sun-solaris2.8_opt/libmesh.so] Error 2Could somebody tell me what I should change for the compileing? Thanks