"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "Gtk-Perl-0.7009/INSTALL" of archive Gtk-Perl-0.7009.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 To install Gtk-Perl-0.7005:
    2 
    3 First install the Gtk part of the package by executing the following
    4 commands at your shell:
    5 
    6    $ tar -xvzf Gtk-Perl-0.7005.tar.gz
    7    $ cd Gtk-Perl-0.7005
    8    $ perl Makefile.PL
    9    $ make
   10    $ make install 
   11 
   12    *** NOTE *** : The 'make install' step may need to be performed as user root.
   13 
   14 Starting with version 0.7005 the toplevel makefile tries to autodetect
   15 what modules can be compiled on your system and will do that for you
   16 taking into account any dependencies between the modules. This means that
   17 if you have all the developement packages installed, the above steps will
   18 compile Perl support for all the "stable" modules. If you know better, read on.
   19 
   20 If you want to disable autodetection, use the flag --without-guessing:
   21 
   22 	perl Makefile.PL --without-guessing
   23 
   24 This will compile the main Gtk module only.
   25 You may disable autodetection of any submodule with the --without-module switch,
   26 where module is one on the submodule tags:
   27 
   28 	gdkimlib, gtkglarea, gdkpixbuf, gtkhtml, gnome, gnomeprint, applets, glade
   29 
   30 You may force the compilation of a misdetected submodule with the --with-module-force switch,
   31 where module is one of the submodule tags above.
   32 
   33 To install any of the optional modules such as Glade, Gnome, GdkImlib,
   34 GtkGLArea, GtkHTML, Mozilla, Bonobo or GtkXmHTML at a later time do the following:
   35 
   36    cd <module>           ( Where <module> is the name of the module
   37                            you wish to compile and install ).
   38    perl Makefile.PL
   39    make
   40    make install 
   41 
   42    *** NOTE *** : The 'make install' step may need be performed as user root.
   43 
   44 Repeat the above steps for each of the modules you wish to install on 
   45 your system.
   46 
   47 Note that support for panel applets has moved in his own submodule an is no longer
   48 compiled in the Gnome module with the --panel-applet switch. Compile the applets
   49 submodule instead (directory Applet).
   50 
   51   *** NOTE *** : GdkImlib MUST be compiled and installed BEFORE Gnome 
   52                  support may be installed. Please make sure you install 
   53                  GdkImlib first to make sure your Gnome support gets 
   54                  installed correctly.  
   55 
   56 If your system supports it, you can try to use the LD version script (ldscript) to
   57 improve the loading time of the module: the script will instruct the linker to
   58 make fewer symbols shared in the shared module, speeding up the dynamic linker.
   59 When you compile, simply set the LDDLFLAGS make variable:
   60 
   61 	make LDDLFLAGS="--shared -Wl,--version-script=`pwd`/ldscript"
   62 
   63 This works on modern Linux systems and should work also on Solaris.
   64