Menu

#1 configure errors

open
nobody
None
5
2002-03-10
2002-03-10
No

./configure doesn't check for gtk

WORKAROUND: Add "CXXFLAGS=`gtk-config --cflags`" before ./configure
(I don't know autoconf, so I can't suggest a FIX, I'm afraid.)

The above got me thru ./configure.

Here's the output (slightly trimmed)

make[3]: Entering directory `/usr/src/midimountain-0.3.0/midimountain'
c++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c mvcInputBox.cpp
In file included from mvcInputBox.cpp:4:
mvcBase.h:19: gtk/gtk.h: No such file or directory
In file included from mvcInputBox.cpp:5:
mvcInputBox.h:13: gtk/gtk.h: No such file or directory
In file included from mvcInputBox.h:15,
from mvcInputBox.cpp:5:
mvcBase.h:19: gtk/gtk.h: No such file or directory
make[3]: *** [mvcInputBox.o] Error 1
make[3]: Leaving directory `/usr/src/midimountain-0.3.0/midimountain'

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I use this ....
    -------------------------------------------------
    CFLAGS="-O2 -march=i686 -mcpu=i686 `glib-config --cflags`
    `gtk-config --cflags` " \
    CPPFLAGS="-O2 -march=i686 -mcpu=i686 `glib-config --cflags`
    `gtk-config --cflags` " \
    CXXFLAGS="-O2 -march=i686 -mcpu=i686 `glib-config --cflags`
    `gtk-config --cflags` " \
    LDFLAGS="`glib-config --libs` `gtk-config --libs` " \
    ./configure

     
  • Peter L Jones

    Peter L Jones - 2002-10-24

    Logged In: YES
    user_id=6366

    gtk-config --version -> 1.2.10
    glib-config --version -> 1.2.10
    Using config command line from "nobody" below with trailing
    spaces trimmed.

    source='glade_interface.cpp' object='glade_interface.o' libtool=no \
    depfile='.deps/glade_interface.Po'
    tmpdepfile='.deps/glade_interface.TPo' \
    depmode=none /bin/sh ../depcomp \
    c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=i686 -mcpu=i686
    -I/usr/include/glib-1.2 -I/usr/lib/glib/include
    -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
    -I/usr/lib/glib/include -I/usr/X11R6/include -O2 -march=i686
    -mcpu=i686 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
    -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
    -I/usr/lib/glib/include -I/usr/X11R6/include -c -o
    glade_interface.o `test -f glade_interface.cpp || echo
    './'`glade_interface.cpp
    glade_interface.cpp: In function `struct GtkWidget *
    create_wndMain()':
    glade_interface.cpp:362: conversion from `int' to `enum
    GtkAccelFlags'
    (*last line repeats many times, plus a scattering of other errors*)

    Looks like some header/version/mismatch - I'll try to investigate
    shortly.

     

Log in to post a comment.

MongoDB Logo MongoDB