hi,

i've started looking into the mac port of RKWard last week, so this is a 
status report. so far i've been able to successfully compile KDE 4.7.3 and 
RKWard using MacPorts, see below. before you raise your hopes: RKWard isn't 
really working yet. thomas resolved some issues in the cmake scripts, so for 
these instructions you need the svn sources.

this is what i did on a fresh installation (Mac OS X Lion):

KDE via MacPorts
================

preparations:
 - install XCode
   - hint: make absolutely sure no previous installation of XCode is lying
     around, because it *will* mess up the build with confusion about the gcc
     compilers available! a symptom for this might be a failing build of
     cairo. look for old "/Developer-X.Y" entries and remove them, e.g.:
     sudo /Developer-3.2/Library/uninstall-devtools --mode=all

 - didn't need to install X11-SDK as it was present (earlier OS X
   installations might differ)
 
 - install MacPorts: http://www.macports.org/install.php

# run in console:
 sudo port selfupdate
 sudo port -v install kdesdk4
 # this can take days, depending on your hardware...

 # - running into redland compile issues on Lion?
   sudo sed -i -e 's# -lltdl$# #' <path/to/redland/>Makefile
   sudo sed -i -e '/^LIBS =/s# = # = -lltdl #' <path/to/redland/>Makefile

# kate is not in kdelibs4
 sudo port -v install kate

# prepare to run KDE applications:
 sudo chown -R $USER ~/Library/Preferences/KDE
 sudo launchctl load  -w /Library/LaunchDaemons/org.freedesktop.dbus-
system.plist
 launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist


RKWard
======

# run in console:
 sudo port -v install subversion
 mkdir ~/software
 cd ~/software
 svn co http://rkward.svn.sourceforge.net/svnroot/rkward/trunk rkward_trunk
 cd rkward_trunk
 mkdir build
 cd build
 cmake ..
# to install to a custom path, run instead:
# cmake .. -DCMAKE_INSTALL_PREFIX=/custom/path
 make
 sudo make install


the build runs without errors, but RKWard cannot be launched successfully yet, 
perhaps someone has some clues.

first of all, there are some outstanding path issues. "make install" will 
create a directory
  <inst_dir>/lib/kde4/libexec/
including the file "rkward.backend" and another directory
  <inst_dir>/lib/kde4/libexec/rkward.frontend.app/Contents/MacOS/
including the files "rkward.frontend" and "rkward.frontend.shell".

looking at the MacPorts installation, i assume this should probably end up in
  /Applications/MacPorts/KDE4/rkward.app/Contents/MacOS/
when there's a real portfile for RKWard. however, <inst_dir>/bin/rkward (which 
should also be present in the just mentioned MacOS/ directory) will not launch 
without a symlink of "rkward.frontend" to 
  <inst_dir>/lib/kde4/libexec/rkward.frontend
so that probably needs some adjustment in the build scripts, right?

then, when RKWard starts, i get the famous "no plugins found" message, which 
is probably just another path problem. when i click "ok", the expected startup 
dialog asks if i want to start with an empty table. the rest of RKWard is 
visible in the background, but as soon as i close the dialog, everything 
vanishes into thin air. RKWard doesn't really crash, but all i get is one menu 
called "rkward.frontend" where basically all i can do is quit the program.

i started kate to see if it's a general KDE issue, but that just worked fine.


best regards :: m.eik

-- 
  dipl. psych. meik michalke
  abt. f"ur diagnostik und differentielle psychologie
  institut f"ur experimentelle psychologie
  heinrich-heine-universit"at d"usseldorf

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
RKWard-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rkward-devel

Reply via email to