X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/abe1d62edf10aa9bf92fd45d7ae1dceb6f66c765..d355d3fe69153840d740469eddacc3336da2b5ae:/install/gtk/INSTALL?ds=inline diff --git a/install/gtk/INSTALL b/install/gtk/INSTALL index 37efbd0e06..f9376902d4 100644 --- a/install/gtk/INSTALL +++ b/install/gtk/INSTALL @@ -4,8 +4,48 @@ wxGTK uses GNU configure. If you have problems with your make use GNU make instead. +* Additional libraries +----------------------- + +wxGTK requires the GTK (The Gimp Toolkit) to be installed, +which probably makes sense. + +There will be a few more features of wxGTK, which will +require further libraries (on some platforms). These +features will be optional. I hope to teach configure +to check that out automatically. + +Thread support: + + Requires pthreads under Linux with glibc 2. pthreads are + always present on such systems, so just compile. + + Requires pcthreads under Linux with libc 5. If you + haven't installed pcthreads, there will be no thread + support in wxGTK, but the library will compile. + +Python scripting language support: + + Requires Python. Soon to come. + +* Other things to do +----------------------------- + +Copy the two files from ~/wxGTK/misc/imlib to your +home directory. You may also edit imrc by hand as +you like. The palette file is required when using +wxGTK in 256-colour mode. + +If you want to use wxGTK's ODBC support, you'll have +to create a .odbc.ini file. The readme file in +~/wxGTK/src/iodbc tells you what to do. + + * Create your configuration ----------------------------- + +This must be done in ~/wxGTK/install/gtk + Usage: ./configure options @@ -47,11 +87,13 @@ The following options handle the kind of library you want to build. broken. --with-mem_tracing Add built-in memory tracing. - Not yet. - --with-debug Add debug info to object + --with-debug_info Add debug info to object files. + --with-debug_flag Define __DEBUG__ and __WXDEBUG__ when + compiling. + * Feature Options ------------------- @@ -65,44 +107,20 @@ producing a shared library, wxGTK's configure system auto- matically enables all features, as long as they are already implemented. -* Additional libraries ------------------------ - -[Note: Currently wxGTK will compile out-of-the-box - with no extra libraries required. Support for - OpenGl, threads, Python and hopefully ODBC - support will soon be added.] - -wxGTK requires the GTK (The Gimp Toolkit) to be installed, -which probably makes sense. - -There will be a few more features of wxGTK, which will -require further libraries (on some platforms). These -features will be optional. I hope to teach configure -to check that out automatically. - -Thread support: - - Requires pthreads under Linux without glibc. - -OpenGl: - - Requires OpenGl or MesaGl. - -Python scripting language support: - - Requires Python. - * Compiling ------------- +The following must be done in ~/wxGTK + First you have to create all makefiles in all subdirectories: - make makefiles + make Makefiles Dependencies are generated automatically using make depend + +for some reason, this doesn't seem to work. Now the makefiles are created you can compile everything is as simple as typing: @@ -144,7 +162,7 @@ will do the work for you. -------------------------- I propose to put all contributed programs in the directory -"user", with a directory of its own. +"~/wxGTK/user", with a directory of its own. This directory then should include the following files: @@ -170,7 +188,7 @@ this will include all the necessary definitions for creating the applications the only case where you might want to add another line is the following: this version of configure also supports creation of source archives of the -application for easy distribution and updates to newer version of wxxt. +application for easy distribution and updates to newer version of wxGTK. For this purpose all files in the application-directory will be put into a gziped tar-file in the full notation user//* if you want to include some other files that you want "more visible", like @@ -190,7 +208,7 @@ distribution is: make distrib -NOTE: If you are in the base directory of wxxt it will create +NOTE: If you are in the base directory of wxGTK it will create distribution packages for wxxt as well as for all packages in the user directory. So if you want to create only packages for the files in user, @@ -318,4 +336,4 @@ In the hope that it will be useful, Robert Roebling roebling@sun2.ruf.uni-freiburg.de - \ No newline at end of file +