]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/gtk/install.txt
Corrected PNG etc include paths
[wxWidgets.git] / docs / gtk / install.txt
index cbc7f33ed8fa47db5a7f34d8acef5538d5e59d1e..5cc34a7f415a1116752bcde418f61d1aa4b90618 100644 (file)
@@ -9,30 +9,44 @@
 If you compile wxWindows on Linux for the first time and don't like to read 
 install instructions just do (in the base dir):
 
-./configure
-make
-su <type root password>
-make install
-ldconfig
-exit
+> ./configure --with-gtk
+make
+su <type root password>
+make install
+ldconfig
+exit
 
-On all other Unices (maybe except *BSD), shared libraries are not supported
-out of the box due to the utter stupidity of libtool, so you'll have to do
-this instead:
+On all variants of Unix except Linux (and maybe except *BSD), shared libraries 
+are not supportet out of the box due to the utter stupidity of libtool, so you'll 
+have to do this to get shared library support:
 
-./configure --enable-static --disable-shared
-make
-su <type root password>
-make install
-ldconfig
-exit
+> ./configure --with-gtk --disable-static --enable-shared
+
+Then you'll have to edit the wrongly created libtool script. There are two
+important entries with respect to shared library creation, which are
+
+  archive_cmds="\$LD -shared ....
+  archive_expsym_cmds="\$LD -shared ....
+  
+which should be something like
+
+  archive_cmds="\$CC -shared ....
+  archive_expsym_cmds="\$CC -shared ....
+  
+Afterwards you can continue with
+
+> make
+> su <type root password>
+> make install
+> ldconfig
+> exit
 
 If you want to remove wxWindows on Unix you can do this:
 
-su <type root password>
-make uninstall
-ldconfig
-exit
+su <type root password>
+make uninstall
+ldconfig
+exit
 
 * The expert case
 -----------------