Hi All,
I am having troubles trying to compile MPB in Ubuntu 12.04. I
 have installed all libraries required, but I have the following error
message every time I try to run ./configure at mpb folder:
*******************************************************************
ERROR:
> checking for *guile*... yes
> checking for *guile*-*config*... yes
> checking if linking to *guile* works... no
> *config*ure: error: *guile*-*config* is *broken* or *Guile* is
> not working.

************************************************************************
CONFIG.LOG

configure:7325: checking for guile
configure:7341: found /usr/local/bin/guile
configure:7352: result: yes
configure:7367: checking for guile-config


configure:7383: found /usr/local/bin/guile-config
configure:7394: result: yes

configure:7404: checking if linking to guile works
configure:7436: cc
 -o conftest -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual
-Wpointer-arith -Wcast-align -pedantic  -pthread
-I/usr/local/include/guile/2.0 -I/usr/local/include    conftest.c
-L/usr/local/lib -lguile-2.0 -lgc   -lz -llapack -lblas -lfftw -lm
>&5

/tmp/ccJShFeB.o: In function `main':
/home/paco/Ubuntu/DownloadSW/

mpb-1.4.2/configure:7449: undefined reference to `gh_enter'
collect2: ld returned 1 exit status
configure:7439: $? = 1
configure: failed program was:
| #line 7406 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define SCALAR_COMPLEX 1
| #define HAVE_LIBM 1
| #define F77_FUNC(name,NAME) name ## _
| #define F77_FUNC_(name,NAME) name ## __
| #define HAVE_LIBFFTW 1
| #define HAVE_BLAS 1
| #define HAVE_LAPACK 1
| #define HAVE_LIBZ 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char gh_enter ();
| #ifdef F77_DUMMY_MAIN
| #  ifdef __cplusplus
|      extern "C"
| #  endif
|    int F77_DUMMY_MAIN() { return 1; }
| #endif
| int
| main ()
| {
| gh_enter ();
|   ;
|   return 0;
| }
configure:7454: result: no
configure:7456: error: guile-config is broken or Guile is not working.

Anyone has any idea how to fix this issue?

Thanks,

Francisco
_______________________________________________
mpb-discuss mailing list
mpb-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss

Reply via email to