#11 build gcdmaster on a Mandrake 8.0

closed
Manuel Clos
5
2001-08-02
2001-07-18
Paolo Saggese
No

Help: can't get gcdmaster to build on a Mandrake
8.0 Linux distro! :-(

Configure fails to build a gtkmm test program
(see attached config.log).

Mandrake provides libgtkmm and libgtkmm-devel
packages (providing version 1.2.5 of the lib,
which should be ok).

The gnomemm lib provided by Mandrake 8.0 is the
version 1.1.15, which seems not to be the proper
one. BTW, I have tryed to update it to version
1.2.0 (from a rebuild of a ximian gnome src rpm
package), but nothing seems to have changed.

Any idea?

Thanks in advance.

Ciao e grazie,
Paolo.

Discussion

  • Paolo Saggese
    Paolo Saggese
    2001-07-18

    log from (failed) configure...

     
    Attachments
  • Manuel Clos
    Manuel Clos
    2001-07-18

    • assigned_to: nobody --> llanero
     
  • Manuel Clos
    Manuel Clos
    2001-07-18

    Logged In: YES
    user_id=10219

    Hi Paolo,

    It seems that you don't have the gtk devel packages
    installed. So please install them and try again.

    /usr/include/gtk--.h:61:21: gtk/gtk.h: No such file or directory
    I will also look if we need to look for the gtk devel
    packages or if this should be a dependency in your package
    system.

    Thanks.

     
  • Manuel Clos
    Manuel Clos
    2001-07-18

    Logged In: YES
    user_id=10219

    Hi again,

    just found that the debian package for gtkmm-dev depends on
    the gtk-dev package, so this is a bug in Mandrake 8.0
    packages or the ones you installed for gtkmm-dev.

    Depends: libgtkmm1.2 (= 1.2.5-2), libgtk1.2-dev (>=
    1.2.7-1), libsigc++-dev (>= 1.0.1-1)
    BTW: Try also to install the gnomemm devel packages from
    red-carpet, it will tell you what you need to remove, and
    the ximian packages of gnomemm for debian work for me.

     
  • Paolo Saggese
    Paolo Saggese
    2001-07-19

    Logged In: YES
    user_id=272445

    Hi Manuel,

    well, that was what I did check first when I
    saw the errors in config.log... but, apparently, the
    gtk+ devel package is there:

    % rpm -qva | grep gtk | grep devel
    gtk+mdk-devel-0.1.5-5mdk
    libgtk+1.2-devel-1.2.10-1mdk
    libgtkmm1.2-devel-1.2.5-3mdk

    (as it should; also on Mandrake the gtkmm devel
    package correctly depends on the gtk+ devel one).

    Just to be sure, I have also checked for the file, and
    infact it is there:

    % find /usr/include/ -name gtk.h
    /usr/include/gtk-1.2/gtk/gtk.h

    That's why I got clueless... :-(

    Am I miss something else? Any other idea?

    Thanks again!

    Ciao,
    Paolo.

     
  • Paolo Saggese
    Paolo Saggese
    2001-07-19

    Logged In: YES
    user_id=272445

    Hi Manuel,

    After I have successfully compiled some examples for
    gtkmm etc, I decided that my installation should be ok
    so I have eventually done a crazy test:

    I have simply added "--disable-gtkmmtest" to the
    cdrdao ./configure command line and...

    yeah, it worked perfectly!!!

    now eventually I have working cdrdao+gcdmaster rpm
    packages for Mandrake 8.0, too, :->

    But, well, what does this mean?!?
    I'm a little bit confused, but I guess there is some
    sort of bug somewhere in the cdrdao autoconf process!

    As sort of a confirmation for this, I have been able
    to rebuild the ximian gnomemm src rpm package (the one
    for RedHat 71) on my system without any problem and
    without any complaint from configure (and, of course,
    it does the GTK-- test!).

    Hope it helps.

    P.S.: I can upload the packages and/or the script
    files, if you tell me how and where to put 'em...

    Ciao,
    Paolo.

     
  • Paolo Saggese
    Paolo Saggese
    2001-07-19

    Logged In: YES
    user_id=272445

    Oops, in the last comment I said script, obviously I
    meant "rpm spec file" (ok, indeed it's some sort of a
    script, after all! :-)

    I also forgot to say that the only "alien" package
    required is the gnomemm from Ximian GNOME distribution
    for RedHat 7.1. All the other are from Mandrake (well,
    maybe a couple packages from the "MandrakeFreq" distro
    are needed, too).

     
  • Manuel Clos
    Manuel Clos
    2001-07-19

    Logged In: YES
    user_id=10219

    Great to see that it finally works.

    This error happened to me when I used gtk-devel from debian
    + gtkmm-devel from ximian (either not recompiled on my
    machine). So perhaps this is the problem, anyway, I will try
    to get a Mandrake 8.0 CD, or a PC to test on.

    Can you put the rpm's and spec files somewhere? if not, send
    them to me: llanero -At- jazzfree -dot- com.

     
  • Manuel Clos
    Manuel Clos
    2001-07-24

    Logged In: YES
    user_id=10219

    I got a Mandrake 8.0 installed.

    I got the same problem, but doing a simple "autonconf" to
    recreate the configure works fine.

    The difference between the two scripts is:

    < extern "C" void exit(int) throw ();
    ---
    > extern "C" void exit(int);

    I'll continue to look into it.

     
  • Manuel Clos
    Manuel Clos
    2001-08-02

    • status: open --> closed