[Gridflow-dev] osx ruby/ruby configure

james tittle tigital at mac.com
Tue Mar 21 13:49:22 EST 2006

...after looking again at the config.log, trying to figure out why  
it's not finding m_pd.h, I decided to "export C_INCLUDE_PATH=/path/to/ 
m_pd.h"...this then found the header, but as you can see from the  
following, configure doesn't know what to do with it!

[puredata] Miller Puckette's Pure Data:

			#include <m_pd.h>

			#include <stdio.h>
			int main () {
			printf("#define PD_VERSION_INT %d\n",
			return 0;
/usr/bin/env g++ -I/sw/include -I/usr/local/include -I/Users/tigital/ 
include -xc++ -fno-operator-names -fno-omit-frame-pointer -I/usr/ 
X11R6/include -I/Users/tigital/puredataDev/gridflow/lib/ruby/1.9/ 
powerpc-darwin8.5.0 tmp/24224.cpp -o tmp/24224 -L/Users/tigital/lib - 
L/usr/local/lib -L/sw/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/ 
tmp/24224.cpp:2:21: error: m_pd.h: No such file or directory
tmp/24224.cpp: In function 'int main()':
tmp/24224.cpp:10: error: 'PD_VERSION' was not declared in this scope

error #256
--------------------------------------> missing (gcc: error:  
'PD_VERSION' was not declared in this scope)
#<RuntimeError: gcc: error: 'PD_VERSION' was not declared in this scope>
configure:168:in `c_test'
configure:902:in `try'


...as you can see, the attempt at compiling above fails because the  
C_INCLUDE_PATH isn't included, but instead a whole bunch of  
assumptions are in place (like -I/Users/tigital/include and  
friends?)...so, is there a way for me to tell "ruby/ruby configure"  
to look somewhere, and it passes it on?


More information about the Gridflow-dev mailing list