Compile fixes and typos corrected.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-07-29 13:43:08 +00:00
parent 631fd4122a
commit 9b61f868b5
13 changed files with 112 additions and 71 deletions

View File

@@ -6,42 +6,47 @@
* The most simple case
-----------------------
If you compile wxWindows on Unix for the first time and don't like to read
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 --with-motif
make
su <type root password>
make install
ldconfig
exit
> ./configure --with-motif
> 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-motif --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 <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
-----------------