Lyle, others,
I am having trouble getting fxruby going again. I used to have it running fine on Leopard. Then, I upgraded to Snow Leopard and also upgraded ruby... and broke everything... I am currently in dependency hell... see below.
allen-macbook-pro:dev allen$ ruby dev.rb
/opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- fox16 (LoadError)
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /opt/local/lib/ruby/site_ruby/1.8/libGUIb16.rb:5
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from dev.rb:1
So, I tried to uninstall and reinstall the rb-fxruby, fox, fxscintilla ports...problems on the reinstall.
allen-macbook-pro:devsploit allen$ sudo port install rb-fxruby
Warning: Skipping upgrade since ncursesw 5.7_0 >= ncursesw 5.7_0, even though installed variants "" do not match "+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since ncurses 5.7_0 >= ncurses 5.7_0, even though installed variants "" do not match "+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested variants.
---> Computing dependencies for rb-fxruby
---> Fetching fox
---> Verifying checksum(s) for fox
---> Extracting fox
---> Configuring fox
---> Building fox
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_fox/work/fox-1.6.36" && /usr/bin/make -j2 all " returned error 2
Command output: /usr/bin/g++-4.2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"fox\" -DVERSION=\"1.6.36\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
<snip>
FXTreeList.lo FXTreeListBox.lo FXTriStateButton.lo FXUndoList.lo FXURL.lo FXVec2d.lo FXVec2f.lo FXVec3d.lo FXVec3f.lo FXVec4d.lo FXVec4f.lo FXVerticalFrame.lo FXVisual.lo FXWindow.lo FXWizard.lo FXXBMIcon.lo FXXBMImage.lo FXXPMIcon.lo FXXPMImage.lo fxascii.lo fxbmpio.lo fxfilematch.lo fxgifio.lo fxicoio.lo fxiffio.lo fxjpegio.lo fxkeyboard.lo fxkeysym.lo fxparsegeometry.lo fxpcxio.lo fxpngio.lo fxppmio.lo fxpriv.lo fxpsio.lo fxfsquantize.lo fxezquantize.lo fxwuquantize.lo fxrasio.lo fxrgbio.lo fxtargaio.lo fxtifio.lo fxunicode.lo fxutils.lo fxxbmio.lo fxxpmio.lo icons.lo strtoll.lo vsscanf.lo -lXext -lX11 -L/opt/local/lib -lXft -lXrender -lfontconfig -lexpat -lfreetype -lz -lX11 -lXau -lXdmcp -lXcursor -lXrandr -ldl -lpthread -ljpeg -lpng -ltiff -lz -lbz2 -lm -lcups -lGLU -lGL
grep: /usr/X11/lib/libX11.la: No such file or directory
sed: /usr/X11/lib/libX11.la: No such file or directory
libtool: link: `/usr/X11/lib/libX11.la' is not a valid libtool archive
make[1]: *** [
libFOX-1.6.la] Error 1
make: *** [all-recursive] Error 1
Error: The following dependencies failed to build: fox fxscintilla
Error: Status 1 encountered during processing.
allen-macbook-pro:devsploit allen$ sudo port list xorg-libX11
xorg-libX11 @1.3 x11/xorg-libX11
allen-macbook-pro:devsploit allen$ sudo port install fox
---> Computing dependencies for tiff
---> Configuring tiff
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_tiff/work/tiff-3.9.1" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-docdir=/opt/local/share/doc/tiff-3.9.1 --with-jpeg-include-dir=/opt/local/include --with-jpeg-lib-dir=/opt/local/lib --with-zlib-include-dir=/opt/local/include --with-zlib-lib-dir=/opt/local/lib --with-apple-opengl-framework " returned error 1
Command output: checking size of unsigned long... 8
checking size of signed long long... 8
checking size of unsigned long long... 8
checking for signed 64-bit type... signed long
checking for unsigned 64-bit type... unsigned long
checking for floor... yes
checking for isascii... yes
checking for memmove... yes
checking for memset... yes
checking for mmap... yes
checking for pow... yes
checking for setmode... yes
checking for sqrt... yes
checking for strchr... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for getopt... yes
checking for strcasecmp... yes
checking for strtoul... yes
checking for lfind... yes
checking native cpu bit order... lsb2msb
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for inflateEnd in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for jpeg_read_scanlines in -ljpeg... no
configure: error: IJG JPEG library not found at /opt/local/lib
Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade tiff failed
allen-macbook-pro:devsploit allen$ sudo port list jpeg
jpeg @6b graphics/jpeg
allen-macbook-pro:devsploit allen$
allen-macbook-pro:devsploit allen$ ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10]
allen-macbook-pro:devsploit allen$ gem -v
1.3.5
allen-macbook-pro:devsploit allen$ which ruby
/opt/local/bin/ruby
allen-macbook-pro:devsploit allen$ which gem
/opt/local/bin/gem
allen-macbook-pro:devsploit allen$
So, I am stuck, both installing fxruby or by just trying fox... any ideas?
I originally went to fxruby because I was having trouble with wxruby... now, I am afraid that my users will not be able to get my project running... since, I can't... please help.
Also, is there a one stop gem install for fx-ruby or dmg install in the works?
Allen
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users