X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4dcaf11a7b5189be78e52e1412febd7689a959f8..583a65787f3c08dc30772673cbe32190c1eec613:/docs/gtk/install.txt diff --git a/docs/gtk/install.txt b/docs/gtk/install.txt index 091e743a96..5cc34a7f41 100644 --- a/docs/gtk/install.txt +++ b/docs/gtk/install.txt @@ -9,39 +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 -make install -ldconfig -exit +> ./configure --with-gtk +> make +> su +> 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 -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 -You may also want to try to edit the wrongly created libtool script -in your build directory, if you need shared libraries on Unix. The -wrong entries are something like 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 +> make install +> ldconfig +> exit If you want to remove wxWindows on Unix you can do this: -su -make uninstall -ldconfig -exit +> su +> make uninstall +> ldconfig +> exit * The expert case -----------------