[fxruby-users] also had problem installing fxruby

Jacob Hanson jacdx at jacobhanson.com
Wed Aug 17 18:01:42 EDT 2005


Wednesday, August 17, 2005, 3:45:01 PM, you wrote:
> On Wed, 17 Aug 2005 15:06:10 -0600, Jacob Hanson <jacdx at jacobhanson.com> wrote :

> Yes, compiling code is indeed a problem when you don't have a compiler
> installed. I wouldn't have expected to see "hundreds" of warnings when
> building FXRuby, though; it's developed on my Mac OS X box, also using the
> GCC compiler (version 3.3 maybe?).

Heh, ok, hundreds might be a slight exaggeration. ;) There were a bunch
though. More than seem to be in the log. Yes, gcc 3.3.5. Brand new
install of Kubuntu Hoary (debian based). FWIW

See ya,
--
       _/ _/  _/   Jacob Hanson
      _/ _/_/_/   mailto:jacdx at jacobhanson.com
 _/_/_/ _/  _/   http://www.jacobhanson.com
-------------- next part --------------
have_header: checking for sys/time.h... -------------------- yes

"gcc -E -I/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.6/ext/fox12 -I/usr/lib/ruby/1.8/i386-linux -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2  -I/usr/include/fox-1.2 -Wall -g -O2  -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
#include <sys/time.h>
/* end */

--------------------

have_header: checking for signal.h... -------------------- yes

"gcc -E -I/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.6/ext/fox12 -I/usr/lib/ruby/1.8/i386-linux -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2  -I/usr/include/fox-1.2 -Wall -g -O2  -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
#include <signal.h>
/* end */

--------------------

have_library: checking for png_create_read_struct() in -lpng... -------------------- no

"gcc -o conftest -I/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.6/ext/fox12 -I/usr/lib/ruby/1.8/i386-linux -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2  -I/usr/include/fox-1.2 -Wall -g -O2  -fPIC conftest.c  -L"/usr/local/lib" -L"/usr/lib"     -lstdc++  -lruby1.8-static -lpng -lstdc++  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function `t':
conftest.c:4: warning: implicit declaration of function `png_create_read_struct'
/usr/bin/ld: cannot find -lpng
collect2: ld returned 1 exit status
checked program was:
/* begin */

/*top*/
int main() { return 0; }
int t() { png_create_read_struct(); return 0; }
/* end */

"gcc -o conftest -I/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.6/ext/fox12 -I/usr/lib/ruby/1.8/i386-linux -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2  -I/usr/include/fox-1.2 -Wall -g -O2  -fPIC conftest.c  -L"/usr/local/lib" -L"/usr/lib"     -lstdc++  -lruby1.8-static -lpng -lstdc++  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function `t':
conftest.c:5: error: `png_create_read_struct' undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
checked program was:
/* begin */


/*top*/
int main() { return 0; }
int t() { void ((*volatile p)()); p = (void ((*)()))png_create_read_struct; return 0; }
/* end */

--------------------

have_library: checking for deflate() in -lz... -------------------- yes

"gcc -o conftest -I/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.6/ext/fox12 -I/usr/lib/ruby/1.8/i386-linux -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2  -I/usr/include/fox-1.2 -Wall -g -O2  -fPIC conftest.c  -L"/usr/local/lib" -L"/usr/lib"     -lstdc++  -lruby1.8-static -lz -lstdc++  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function `t':
conftest.c:4: warning: implicit declaration of function `deflate'
checked program was:
/* begin */

/*top*/
int main() { return 0; }
int t() { deflate(); return 0; }
/* end */

--------------------

have_library: checking for jpeg_mem_init() in -ljpeg... -------------------- no

"gcc -o conftest -I/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.6/ext/fox12 -I/usr/lib/ruby/1.8/i386-linux -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2  -I/usr/include/fox-1.2 -Wall -g -O2  -fPIC conftest.c  -L"/usr/local/lib" -L"/usr/lib"     -lz -lstdc++  -lruby1.8-static -ljpeg -lz -lstdc++  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function `t':
conftest.c:4: warning: implicit declaration of function `jpeg_mem_init'
/usr/bin/ld: cannot find -ljpeg
collect2: ld returned 1 exit status
checked program was:
/* begin */

/*top*/
int main() { return 0; }
int t() { jpeg_mem_init(); return 0; }
/* end */

"gcc -o conftest -I/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.6/ext/fox12 -I/usr/lib/ruby/1.8/i386-linux -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2  -I/usr/include/fox-1.2 -Wall -g -O2  -fPIC conftest.c  -L"/usr/local/lib" -L"/usr/lib"     -lz -lstdc++  -lruby1.8-static -ljpeg -lz -lstdc++  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function `t':
conftest.c:5: error: `jpeg_mem_init' undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
checked program was:
/* begin */


/*top*/
int main() { return 0; }
int t() { void ((*volatile p)()); p = (void ((*)()))jpeg_mem_init; return 0; }
/* end */

--------------------

have_library: checking for TIFFSetErrorHandler() in -ltiff... -------------------- no

"gcc -o conftest -I/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.6/ext/fox12 -I/usr/lib/ruby/1.8/i386-linux -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2  -I/usr/include/fox-1.2 -Wall -g -O2  -fPIC conftest.c  -L"/usr/local/lib" -L"/usr/lib"     -lz -lstdc++  -lruby1.8-static -ltiff -lz -lstdc++  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function `t':
conftest.c:4: warning: implicit declaration of function `TIFFSetErrorHandler'
/usr/bin/ld: cannot find -ltiff
collect2: ld returned 1 exit status
checked program was:
/* begin */

/*top*/
int main() { return 0; }
int t() { TIFFSetErrorHandler(); return 0; }
/* end */

"gcc -o conftest -I/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.6/ext/fox12 -I/usr/lib/ruby/1.8/i386-linux -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2  -I/usr/include/fox-1.2 -Wall -g -O2  -fPIC conftest.c  -L"/usr/local/lib" -L"/usr/lib"     -lz -lstdc++  -lruby1.8-static -ltiff -lz -lstdc++  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function `t':
conftest.c:5: error: `TIFFSetErrorHandler' undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
checked program was:
/* begin */


/*top*/
int main() { return 0; }
int t() { void ((*volatile p)()); p = (void ((*)()))TIFFSetErrorHandler; return 0; }
/* end */

--------------------

find_library: checking for XShmQueryVersion() in -lXext... -------------------- yes

"gcc -o conftest -I/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.6/ext/fox12 -I/usr/lib/ruby/1.8/i386-linux -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2  -I/usr/include/fox-1.2 -Wall -g -O2  -fPIC conftest.c  -L"/usr/local/lib" -L"/usr/lib"     -lz -lstdc++  -lruby1.8-static -lXext -lz -lstdc++  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function `t':
conftest.c:4: warning: implicit declaration of function `XShmQueryVersion'
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
checked program was:
/* begin */

/*top*/
int main() { return 0; }
int t() { XShmQueryVersion(); return 0; }
/* end */

"gcc -o conftest -I/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.6/ext/fox12 -I/usr/lib/ruby/1.8/i386-linux -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2  -I/usr/include/fox-1.2 -Wall -g -O2  -fPIC conftest.c  -L"/usr/local/lib" -L"/usr/lib"     -lz -lstdc++  -lruby1.8-static -lXext -lz -lstdc++  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function `t':
conftest.c:5: error: `XShmQueryVersion' undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
checked program was:
/* begin */


/*top*/
int main() { return 0; }
int t() { void ((*volatile p)()); p = (void ((*)()))XShmQueryVersion; return 0; }
/* end */

"gcc -o conftest -I/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.6/ext/fox12 -I/usr/lib/ruby/1.8/i386-linux -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2  -I/usr/include/fox-1.2 -Wall -g -O2  -fPIC conftest.c  -L"/usr/local/lib" -L"/usr/lib" -L"/usr/X11R6/lib"     -lz -lstdc++  -lruby1.8-static -lXext -lz -lstdc++  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function `t':
conftest.c:4: warning: implicit declaration of function `XShmQueryVersion'
checked program was:
/* begin */

/*top*/
int main() { return 0; }
int t() { XShmQueryVersion(); return 0; }
/* end */

--------------------

find_library: checking for XFindContext() in -lX11... -------------------- yes

"gcc -o conftest -I/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.6/ext/fox12 -I/usr/lib/ruby/1.8/i386-linux -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2  -I/usr/include/fox-1.2 -Wall -g -O2  -fPIC conftest.c  -L"/usr/local/lib" -L"/usr/lib" -L"/usr/X11R6/lib"     -lXext -lz -lstdc++  -lruby1.8-static -lX11 -lXext -lz -lstdc++  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function `t':
conftest.c:4: warning: implicit declaration of function `XFindContext'
checked program was:
/* begin */

/*top*/
int main() { return 0; }
int t() { XFindContext(); return 0; }
/* end */

--------------------

find_library: checking for glXCreateContext() in -lGL... -------------------- no

"gcc -o conftest -I/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.6/ext/fox12 -I/usr/lib/ruby/1.8/i386-linux -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2  -I/usr/include/fox-1.2 -Wall -g -O2  -fPIC conftest.c  -L"/usr/local/lib" -L"/usr/lib" -L"/usr/X11R6/lib"     -lX11 -lXext -lz -lstdc++  -lruby1.8-static -lGL -lX11 -lXext -lz -lstdc++  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function `t':
conftest.c:4: warning: implicit declaration of function `glXCreateContext'
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
checked program was:
/* begin */

/*top*/
int main() { return 0; }
int t() { glXCreateContext(); return 0; }
/* end */

"gcc -o conftest -I/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.6/ext/fox12 -I/usr/lib/ruby/1.8/i386-linux -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2  -I/usr/include/fox-1.2 -Wall -g -O2  -fPIC conftest.c  -L"/usr/local/lib" -L"/usr/lib" -L"/usr/X11R6/lib"     -lX11 -lXext -lz -lstdc++  -lruby1.8-static -lGL -lX11 -lXext -lz -lstdc++  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function `t':
conftest.c:5: error: `glXCreateContext' undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
checked program was:
/* begin */


/*top*/
int main() { return 0; }
int t() { void ((*volatile p)()); p = (void ((*)()))glXCreateContext; return 0; }
/* end */

"gcc -o conftest -I/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.6/ext/fox12 -I/usr/lib/ruby/1.8/i386-linux -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2  -I/usr/include/fox-1.2 -Wall -g -O2  -fPIC conftest.c  -L"/usr/local/lib" -L"/usr/lib" -L"/usr/X11R6/lib"     -lX11 -lXext -lz -lstdc++  -lruby1.8-static -lGL -lX11 -lXext -lz -lstdc++  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function `t':
conftest.c:4: warning: implicit declaration of function `glXCreateContext'
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
checked program was:
/* begin */

/*top*/
int main() { return 0; }
int t() { glXCreateContext(); return 0; }
/* end */

"gcc -o conftest -I/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.6/ext/fox12 -I/usr/lib/ruby/1.8/i386-linux -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2  -I/usr/include/fox-1.2 -Wall -g -O2  -fPIC conftest.c  -L"/usr/local/lib" -L"/usr/lib" -L"/usr/X11R6/lib"     -lX11 -lXext -lz -lstdc++  -lruby1.8-static -lGL -lX11 -lXext -lz -lstdc++  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function `t':
conftest.c:5: error: `glXCreateContext' undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
checked program was:
/* begin */


/*top*/
int main() { return 0; }
int t() { void ((*volatile p)()); p = (void ((*)()))glXCreateContext; return 0; }
/* end */

--------------------

find_library: checking for gluNewQuadric() in -lGLU... -------------------- no

"gcc -o conftest -I/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.6/ext/fox12 -I/usr/lib/ruby/1.8/i386-linux -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2  -I/usr/include/fox-1.2 -Wall -g -O2  -fPIC conftest.c  -L"/usr/local/lib" -L"/usr/lib" -L"/usr/X11R6/lib"     -lX11 -lXext -lz -lstdc++  -lruby1.8-static -lGLU -lX11 -lXext -lz -lstdc++  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function `t':
conftest.c:4: warning: implicit declaration of function `gluNewQuadric'
/usr/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
checked program was:
/* begin */

/*top*/
int main() { return 0; }
int t() { gluNewQuadric(); return 0; }
/* end */

"gcc -o conftest -I/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.6/ext/fox12 -I/usr/lib/ruby/1.8/i386-linux -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2  -I/usr/include/fox-1.2 -Wall -g -O2  -fPIC conftest.c  -L"/usr/local/lib" -L"/usr/lib" -L"/usr/X11R6/lib"     -lX11 -lXext -lz -lstdc++  -lruby1.8-static -lGLU -lX11 -lXext -lz -lstdc++  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function `t':
conftest.c:5: error: `gluNewQuadric' undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
checked program was:
/* begin */


/*top*/
int main() { return 0; }
int t() { void ((*volatile p)()); p = (void ((*)()))gluNewQuadric; return 0; }
/* end */

"gcc -o conftest -I/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.6/ext/fox12 -I/usr/lib/ruby/1.8/i386-linux -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2  -I/usr/include/fox-1.2 -Wall -g -O2  -fPIC conftest.c  -L"/usr/local/lib" -L"/usr/lib" -L"/usr/X11R6/lib"     -lX11 -lXext -lz -lstdc++  -lruby1.8-static -lGLU -lX11 -lXext -lz -lstdc++  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function `t':
conftest.c:4: warning: implicit declaration of function `gluNewQuadric'
/usr/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
checked program was:
/* begin */

/*top*/
int main() { return 0; }
int t() { gluNewQuadric(); return 0; }
/* end */

"gcc -o conftest -I/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.6/ext/fox12 -I/usr/lib/ruby/1.8/i386-linux -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2  -I/usr/include/fox-1.2 -Wall -g -O2  -fPIC conftest.c  -L"/usr/local/lib" -L"/usr/lib" -L"/usr/X11R6/lib"     -lX11 -lXext -lz -lstdc++  -lruby1.8-static -lGLU -lX11 -lXext -lz -lstdc++  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function `t':
conftest.c:5: error: `gluNewQuadric' undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
checked program was:
/* begin */


/*top*/
int main() { return 0; }
int t() { void ((*volatile p)()); p = (void ((*)()))gluNewQuadric; return 0; }
/* end */

--------------------



More information about the fxruby-users mailing list