Hello...

I am having trouble installing Kernlab package, from source. I am using a
mac, 10.6, R version 2.12.2 (2011-02-25), Platform:
x86_64-apple-darwin9.8.0/x86_64 (64-bit).

At first, i had an error regarding some Fortran library, but after i
installed this library, i get the following error now, and i have no idea
how to proceed/resolve it. The last line before the error is:

"g++ -arch x86_64 -dynamiclib -Wl,-headerpad_max_install_names -undefined
dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o
kernlab.so brweight.o ctable.o cweight.o dbreakpt.o dcauchy.o dgpnrm.o
dgpstep.o dprecond.o dprsrch.o dspcg.o dtron.o dtrpcg.o dtrqsol.o esa.o
expdecayweight.o inductionsort.o kspectrumweight.o lcp.o misc.o msufsort.o
solvebqp.o stringk.o stringkernel.o svm.o wkasailcp.o wmsufsort.o
-L/Library/Frameworks/R.framework/Resources/lib/x86_64 -lRlapack
-L/Library/Frameworks/R.framework/Resources/lib/x86_64 -lRblas -lgfortran
-F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework
-Wl,CoreFoundation
installing to /Users/ahmednagi/Documents/UPF - Sound and Music Computing/R -
Workspace/kernlab/libs/x86_64
** R
** data
** inst
** preparing package for lazy loading
Error in .walkClassGraph(ClassDef, "contains", where, attr(ext,
"conflicts")) :
  the "superClass" list for class "list", includes an undefined class
"input"
Error in .walkClassGraph(ClassDef, "contains", where, attr(ext,
"conflicts")) :
  the "superClass" list for class "numeric", includes an undefined class
"output"
Error : evaluation nested too deeply: infinite recursion /
options(expressions=)?
Error in setClassUnion("listI", c("list", "numeric", "vector", "integer",
 :
  unable to create union class:  could not set members "list", "numeric"
Error : unable to load R code in package 'kernlab'
ERROR: lazy loading failed for package ‘kernlab’"


Any help how to resolve this issue and move forward will be MUCH
appreciated. The reason i am trying to build from source, and not use a
binary version of the library, is that i would like to modify a function in
the source file to suit my need.

Thanx for ur help in advance.

	[[alternative HTML version deleted]]

