[Kst] extragear/graphics/kst

George Staikos staikos at kde.org
Wed Nov 23 17:00:07 CET 2005


SVN commit 482612 by staikos:

update macos installation based on Rick's notes and some modifications and
additions by me


 M  +45 -15    README.MacOS  


--- trunk/extragear/graphics/kst/README.MacOS #482611:482612
@@ -1,27 +1,57 @@
 How to build Kst for Mac OS X
 -----------------------------
 
-[Work in progress]
+1. Make sure the X11SDK is installed (check if /usr/X11R6/include has X.h).  If
+it is not installed, run the X11SDK installer from Applications/Installers.
 
-1) Install Mac OS X developer tools (gcc)
-2) Install Mac OS X X11 server
-3) Install Qt and KDE via fink, along with dependencies
-4) Install Kst:
+2. Make sure root user is enabled (try su at a terminal).  If it is not
+enabled, run Applications/Utilities/NetInfo.  Select Authenticate from the
+Security menu, and enter in an administrator username and password.  Then
+select Enable Root User from the Security menu.
 
-4a) Check out from CVS or unpackage tarball
-4b) export QTDIR=/sw
-    export KDEDIR=/sw
-4c) make -f Makefile.cvs if you use anoncvs
-4d) ./configure --prefix=/sw --enable-debug --without-arts \
-    --with-qt-includes=/sw/include/qt 
-4e) cd kst ; make && sudo make install
-4f) cd ../doc/kst ; make && sudo make install
+3. Run Fink Commander and make sure the following is installed:
+kdelibs3
+kdebase3
+libpng3
+libart2
+libpng-shlibs
+svn-client
 
+4. Open a terminal and type: export PATH=$PATH:/sw/bin
 
+5. Create an empty directory and checkout kst:
+svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics
+
+6. edit configure.in.in in the graphics directory so that
+MINCONFIG(3.3)
+says
+MINCONFIG(3.1)
+
+8. Type:
+make -f Makefile.cvs
+
+9. Type:
+./configure --prefix=/sw --enable-debug --with-qt-includes=/sw/include/qt \
+--x-libraries=/usr/X11R6/lib --x-includes=/usr/X11R6/include \
+--with-qt-dir=/sw/share/qt3 --with-qt-libraries=/sw/lib --without-arts
+
+10. Read any errors and install any missing libraries using Fink, then
+return to step 9
+
+11. try to compile kst:
+cd kst
+make
+
+12. Go to step 10
+
+13. install kst: sudo make install
+
+14. install documentation:
+cd ../doc/kst/
+make && sudo make install
+
 Notes
 -----
-o Errors about AC_CHECK_STDBOOL?  Remove this entry from
-  showimg/showimg/configure.in.in or upgrade to a newer autoconf
 o Make sure you have all the image libraries installed (jpeg, png, etc) or
   you may not be able to export those formats in Kst
 o You may need additional configure parameters in order to pick up cfitsio,


More information about the Kst mailing list