From: <pst...@us...> - 2013-01-10 04:17:10
|
Revision: 954 http://sourceforge.net/p/jazzplusplus/code/954 Author: pstieber Date: 2013-01-10 04:17:05 +0000 (Thu, 10 Jan 2013) Log Message: ----------- Updated the wxWidgets build instructions for the latest svn version. Modified Paths: -------------- web/htdocs/buildingwx/index.php Modified: web/htdocs/buildingwx/index.php =================================================================== --- web/htdocs/buildingwx/index.php 2013-01-08 04:37:01 UTC (rev 953) +++ web/htdocs/buildingwx/index.php 2013-01-10 04:17:05 UTC (rev 954) @@ -23,7 +23,7 @@ version of wxWidgets was compiled for Windows, Linux, and the Mac. The Windows build was generated using Visual Studio. Either Visual Studio .NET 2008 or Visual Studio .NET 2010 can be used on Windows. The Linux install was tested -using Fedora 14 using GCC 4.5.1, Mandriva 2008.0 using GCC 4.2.2, and Debian 4.0 +using Fedora 17 using GCC 4.7.2, Mandriva 2008.0 using GCC 4.2.2, and Debian 4.0 (i386 & amd64) using gcc-4.1.2. The Mac build was tested using Mac OS X 10.5.2 and GCC 4.0.1. </P> @@ -38,22 +38,22 @@ <OL> <LI> Download -<A NAME="wxWidgets-2.9.2.zip-Download" -HREF="http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.9.2.zip"> -<TT>wxWidgets-2.9.2.zip</TT></A> from the wxWidgets web site. +<A NAME="wxWidgets-2.9.4.zip-Download" +HREF="http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.9.4.zip"> +<TT>wxWidgets-2.9.4.zip</TT></A> from the wxWidgets web site. </LI> <LI> Extract the zip file to <TT>C:\ExternalPackages</TT>. Extracting creates a -<TT>wxWidgets-2.9.2</TT> directory directly under <TT>C:\ExternalPackages</TT>. +<TT>wxWidgets-2.9.4</TT> directory directly under <TT>C:\ExternalPackages</TT>. </LI> <LI> Change the name of the top-level wxWidgets directory to -<TT>wxMSW-2.9.2-VC10</TT> so other versions of wxWidgets can be built with +<TT>wxMSW-2.9.4-VC10</TT> so other versions of wxWidgets can be built with other compilers in parallel with this directory. </LI> <LI> Make the following changes to -<TT>C:\ExternalPackages\wxMSW-2.9.2-VC10\include\wx\msw\setup.h</TT>: +<TT>C:\ExternalPackages\wxMSW-2.9.4-VC10\include\wx\msw\setup.h</TT>: <P> @@ -89,7 +89,7 @@ are installed and ready to run. </LI> <LI> -Change directory to <TT>C:\ExternalPackages\wxMSW-2.9.2-VC10\build\msw</TT>. +Change directory to <TT>C:\ExternalPackages\wxMSW-2.9.4-VC10\build\msw</TT>. </LI> <LI> Build the 32-bit, debug, static version of the wxWidgets libraries by typing: @@ -109,7 +109,7 @@ </LI> <LI>To conserve disk space, remove the build directories (<TT>vc_mswu</TT> and <TT>vc_mswud</TT>) under -<TT>c:\ExternalPackages\wxMSW-2.9.2-VC10\build\msw</TT>. +<TT>c:\ExternalPackages\wxMSW-2.9.4-VC10\build\msw</TT>. </LI> </OL> @@ -124,8 +124,8 @@ trick. <PRE> -export PATH=/usr/local/wx-2.9.2/bin:$PATH -export LD_LIBRARY_PATH=/usr/local/wx-2.9.2/lib:$LD_LIBRARY_PATH +export PATH=/usr/local/wx-svn/bin:$PATH +export LD_LIBRARY_PATH=/usr/local/wx-svn/lib:$LD_LIBRARY_PATH </PRE> After adding the above lines to your <TT>.bash_profile</TT> @@ -170,14 +170,11 @@ <PRE> ../wxWidgets/configure \ - --prefix=/usr/local/wx-2.9.2d \ + --prefix=/usr/local/wxsvnd \ --with-gtk \ --enable-exceptions \ - --disable-compat26 \ - --disable-visibility \ + --disable-compat28 \ --with-regex \ - --enable-std_iostreams \ - --enable-std_string \ --enable-stl \ --enable-debug \ --enable-debug_gdb @@ -199,9 +196,7 @@ <LI>If all goes well with the build, try to install wxWidgets as root. <PRE> -su -make install -exit +sudo make install </PRE> </LI> @@ -211,23 +206,27 @@ <PRE> cd ../WxBuildRelease ../wxWidgets/configure \ - --prefix=/usr/local/wx-2.9.2 \ + --prefix=/usr/local/wxsvn \ --with-gtk \ --enable-exceptions \ - --disable-compat26 \ - --disable-visibility \ + --disable-compat28 \ --with-regex \ - --enable-std_iostreams \ - --enable-std_string \ --enable-stl make 2>&1 | tee BuildLog -su -make install -exit +sudo make install </PRE> </LI> <LI> +Depending on the version of Linux you are using, you may have to run +<TT>ldconfig</TT> as root. + +<PRE> +sudo ldconfig +</PRE> +</LI> + +<LI> You can run the following command to determine the default configuration. <PRE> @@ -251,18 +250,18 @@ <LI> Download -<A NAME="wxWidgets-2.9.2.tar.bz2" -HREF="http://sourceforge.net/projects/wxwindows/files/wxWidgets-2.9.2.tar.bz2"> -<TT>wxWidgets-2.9.2.tar.bz2</TT></A> from the wxWidgets web site and extract this +<A NAME="wxWidgets-2.9.4.tar.bz2" +HREF="http://sourceforge.net/projects/wxwindows/files/wxWidgets-2.9.4.tar.bz2"> +<TT>wxWidgets-2.9.4.tar.bz2</TT></A> from the wxWidgets web site and extract this file under your <TT>OutsideSource</TT> directory. </LI> -<LI> Create a directory called <TT>WxBuild-2.9.2</TT> in parallel with the -<TT>wxWidgets-2.9.2</TT> directory and change directory to that location. +<LI> Create a directory called <TT>WxBuild-2.9.4</TT> in parallel with the +<TT>wxWidgets-2.9.4</TT> directory and change directory to that location. <PRE> -mkdir WxBuild-2.9.2 -cd WxBuild-2.9.2 +mkdir WxBuild-2.9.4 +cd WxBuild-2.9.4 </PRE> </LI> @@ -270,13 +269,11 @@ configure options. <PRE> -../wxWidgets-2.9.2/configure \ - --prefix=$HOME/wx-2.9.2 \ +../wxWidgets-2.9.4/configure \ + --prefix=$HOME/wx-2.9.4 \ --enable-exceptions \ - --disable-compat26 \ + --disable-compat28 \ --with-regex \ - --enable-std_iostreams \ - --enable-std_string \ --enable-stl \ --with-mac \ --enable-debug \ @@ -310,8 +307,8 @@ <TT>.bash_profile</TT> will do the trick. <PRE> -export PATH=/usr/local/wx-2.9.2/bin:$PATH -export LD_LIBRARY_PATH=/usr/local/wx-2.9.2/lib:$LD_LIBRARY_PATH +export PATH=/usr/local/wx-2.9.4/bin:$PATH +export LD_LIBRARY_PATH=/usr/local/wx-2.9.4/lib:$LD_LIBRARY_PATH </PRE> After adding the above lines to your <TT>.bash_profile</TT> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |