From: Craig Files Date: 2001-07-11T06:55:06+09:00 Subject: [ruby-talk:17632] Re: SWIG We have done this two ways... 1) change the file_wrap.c: //# define VALUEFUNC(f) ((VALUE (*)(...))f) # define VALUEFUNC(f) ((VALUE (*)())f) 2) We have edited the SWIG source code to take care of this problem. If you want I can send the changed code to you. Craig Files Matteo Giacomazzi wrote: > Hi all, > > I have a problem using SWIG and I hope someone else uses it. > I've downloaded the last stable snapshot from SourceForge; I > configured it and I run the make command. No problems here. > Then I tried to run make check, and here comes the problem 'cause it > says that it cannot find the 'ruby.h' file. If I move the ruby.h > file from /usr/local/lib/ruby/.../ruby.h it says that it cannot find > 'config.h' and so on. > Once I moved all the .h files in /usr/include/ it gives me a lot of > errors (cannot convert VALUE (*) (...) in VALUE (*)() and so on). > I have ruby 1.6.4. > Can anybody help me? > > Thanks in advance. > > Matteo > > mailto:mgiacoma@dsi.unive.it > http://www.dsi.unive.it/~mgiacoma/ > ICQ# 24075529