Dear all,

I am compiling MEEP 0.10 for Mac (Intel) running OS 10.4. Previously I compiled MPB successfully so BLAS/LAPACK, Guile, etc. appear to be working (or at least can work). The configuration finishes without warnings, but I get the following error messages when I make MEEP:

...
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -DHAVE_CTL_HOOKS=1 - DHAVE_CTL_EXPORT_HOOK=1 -DCTL_SCM='"'/usr/local/share/libctl/base/ ctl.scm'"' -DINCLUDE_SCM='"'/usr/local/share/libctl/base/ include.scm'"' -DSPEC_SCM='"'/usr/local/share/meep/meep.scm'"' - DVERSION_STRING='"'"Meep 0.10, Copyright (C) 2005 Massachusetts Insitute of Technology."'"' -I/usr/local/include -I/sw/include -I/sw/ include -O2 -malign-double -march=pentiumpro -MT meep_wrap.o -MD -MP -MF ".deps/meep_wrap.Tpo" -c -o meep_wrap.o meep_wrap.cxx; \ then mv -f ".deps/meep_wrap.Tpo" ".deps/meep_wrap.Po"; else rm -f ".deps/meep_wrap.Tpo"; exit 1; fi
meep_wrap.cxx: In function 'char* SWIG_Guile_scm2newstr(SCM, size_t*)':
meep_wrap.cxx:591: error: 'SCM_STRING_LENGTH' was not declared in this scope meep_wrap.cxx:595: error: 'SCM_STRING_CHARS' was not declared in this scope
meep_wrap.cxx: At global scope:
meep_wrap.cxx:603: error: 'scm_t_bits' does not name a type
meep_wrap.cxx:604: error: 'scm_t_bits' does not name a type
...

I'm not sure why the variables in "meep_wrap.cxx" are not being recognized. Following are the commands I used in the configuration.

export LDFLAGS="-L/usr/local/lib -L/sw/lib -L/sw/include"
export CPPFLAGS="-I/usr/local/include -I/sw/include"

./configure LIBS="-L/sw/lib -L/sw/include" FLIBS="-L/sw/lib -L/sw/ include"
make

Thanks for any information or help you can provide.

Sincerely,
Joe


_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to