Re: [gtk-list] Re: Gtk-Perl CVS111699 & Gnome Panel



>>>>> On Wed, 17 Nov 1999 17:16:36 +0000, Dermot Musgrove <dermot@glade.perl.connectfree.co.uk> said:

    > "BrYan P. Johnson" wrote:
    >>  This may be a stupid question, but since Gtk-Perl now has to
    >> be compiled piecemeal, how do I compile it with support for the
    >> gnome panel? The Makefile.PL in the Gnome directory doesn't do
    >> anything when I specify --with-gnome-panel or --with-panel.
    > This may be a stupid answer but as far as I can work it out: The
    > new approach allows you to rebuild a submodule without having to
    > rebuild the whole package.

It's not a stupid answer, as it took me quite a while of banging my
head against the desk yesterday to get the various submodules to
compile. Then I remembered a post Paolo made that said essentially the 
same thing you did below.

But my problem comes from the fact that in the old way of doing
things, to get Gnome support you had to supply --with-gnome to the
toplevel Makefile.PL, to get Gnome Panel support you had to add
--with-gnome-panel in addition to --with-gnome, and the same with Zvt
(which I don't use, so doesn't concern me as much). But when you did
that under the old way, when you did:

perl Makefile.PL --with-gnome --with-gnome-panel

It built just one Gnome.pm, but with panel support added in.

Now when I do things the new way, I get Gnome support by cd Gnome/ and 
making the module, but there's no panel support and no obvious way
that I can see to enable it.

BrYan


    > The toplevel Makefile.PL now creates the documentation for the
    > specified packages but does no more for the sub modules. So what
    > I do is

    >   cd /path/to/gnome-perl-cvs-dir perl Makefile.PL --with-gnome
    > ...etc...

    > All the generated docs for all the modules are in the build
    > directory /path/to/gnome-perl-cvs-dir/build/perl-gtk-ref.pod and
    > perl-gtk-ds.pod I usually run pod2html on them to make some
    > browsable files and then

    >   perl Makefile.PL # Without submodules so that it only builds
    > Gtk make test su make install

    >   cd GdkImlib # necessary to build Gnome perl Makefile.PL make
    > test su make install

    >   cd ../Gnome perl Makefile.PL make test su make install

    >   ...  # repeat for each submodule that I want to build

    > I don't know if it is necessary to 'make install' each package
    > before you build the next submodule but it doesn't seem to hurt
    > :)

    > HTH, Dermot



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]