Patches: Browse | Submit New | Admin

[#23116] Patch to fix compilation on OS X

Date:
2008-12-05 17:28
Priority:
3
Submitted By:
Nobody
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Patch to fix compilation on OS X

Detailed description
Thanks to the tip at http://rubyforge.org/forum/forum.php?thread_id=29560&forum_id=722, here are patches for qtruby
1.4.10.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2008-12-05 17:47
Sender: Jason Clouse

I should add a note about the symptoms here.  If you see the
following when building on OS X (I'm on 10.4.11), you may need
this patch:

Linking CXX shared module qtruby4.so
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined
symbols:
QWebHistoryItem::QWebHistoryItem(QWebHistoryItem const&)
QWebHistoryItem::~QWebHistoryItem()
collect2: ld returned 1 exit status
make[2]: *** [ruby/qtruby/src/qtruby4.so] Error 1
make[1]: *** [ruby/qtruby/src/CMakeFiles/qtruby4.dir/all] Error
2
make: *** [all] Error 2

Attached Files:

Name Description Download
qt4-qtruby.patch Patch to fix FindQt4.cmake and extconf.rb Download

Changes:

Field Old Value Date By
File Added4207: qt4-qtruby.patch2008-12-05 17:28None