|
Programming C, bash, Python, Perl, PHP, Java, you name it. |
|
Thread Tools | Display Modes |
|
|||
Ruby qtruby installation
I would like to start playing around with qtruby.
How do I go about installing the qtruby4 package under FreeBSD 7.0? It doesn't seem to be in ports and 'gem install qtruby4' doesn't want to work. |
|
||||
You have to compile it manually from source code.
I once had QtRuby for Qt3 bindings working on a PC-BSD machine (FreeBSD 6.2 or 6.1 under the hood back then), I haven't tried on any other system yet. Korundums support for FreeBSD is broken and has been for a _long_ time, I tried helping a friend with getting it to compile awhile back. It involved a fair bit of punching and kicking to the build system, not sure if he ever got it compiled though. Perls Qt bindings in ports has also been marked broken for a _long_ time, so long that it may get removed last I heard. Ruby and Qt is however quite nice a tag team. For *easy* installation of stuff and portability to other peoples bsd machines, GUI programming in Ruby on FreeBSD should probably be done using GTK+, WxWidgets, or TK.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
If I wanted to try and compile the source where is the best place to start?
Is the qt4-qtruby-1.4.10.tgz file the correct download from the Korundum/QtRuby site: http://rubyforge.org/frs/?group_id=181 ? or is there a better source? |
|
||||
Korundum includes QtRuby among other things -> I have never gotten it to build.
QtRuby -> I did once get to build but it was an older one for Qt3 support. best start point would likely to install qt4 meta port (or use a pkg -> it's not a small compile!) if you haven't already, then download QtRuby source code, unpack, cd to it's directory, do a ./configure --help to check for any important options you might need. -> Your in the right directory if there is a file called 'configure' there. I don't recall needing any but, age of my last test + newer versions == YMMV run ./configure and pass any needed args to it, e.g. --with-somefeature if configure passes, try to compile it with GNU make (gmake command) and install as normal, e.g. 'gmake install' should only have to be root to install it.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
When I do a 'cmake .' on QTRuby I get this error:
Code:
CMake Error at cmake/modules/FindRUBY.cmake:84 (MESSAGE): Could not find Ruby Call Stack (most recent call first): CMakeLists.txt:24 (FIND_PACKAGE) |
|
||||
When I compiled it they still used GNU autotools, KDE hadn't even adapted CMake yet.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
I found that if I do a
Code:
# gem list --remote | grep -i qt Code:
# gem install qtruby4 --remote ERROR: could not find qtruby4 locally or in a repository |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Xorg installation | LordZ | OpenBSD Installation and Upgrading | 10 | 23rd November 2008 05:52 PM |
cannot login after installation | ccc | FreeBSD Installation and Upgrading | 3 | 28th October 2008 11:54 AM |
freebsd 7 64 bit installation | ijk | FreeBSD Installation and Upgrading | 9 | 1st September 2008 03:16 AM |
ruby execute commands remotely | Dr_Death_UAE | Programming | 0 | 18th August 2008 11:23 AM |
Ruby-gem problem | giga | FreeBSD Ports and Packages | 2 | 21st July 2008 02:34 PM |