Re: problems building most recent gtk2

From: Robert Staudinger (st@stereolyzer.net)
Date: Fri Jan 17 2003 - 17:09:22 EST

  • Next message: Dom Lachowicz: "Re: problems building most recent gtk2"

    Thanks for guiding me here Frank.
    It now starts to make nicely.
    But then ...

    c++ -DPACKAGE=\"AbiSuite-2.0\" -DVERSION=\"1.1.2\" -DSTDC_HEADERS=1
    -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_TIME_H=1
    -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_LIBXML2=1
    -DHAVE_WV=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DRETSIGTYPE=void
    -DHAVE_RE_COMP=1 -DHAVE_REGCOMP=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -I.
    -I. -UVERSION -I/opt/garnome-0.19.5/include/glib-2.0
    -I/opt/garnome-0.19.5/lib/glib-2.0/include
    -I/opt/garnome-0.19.5/include/gtk-2.0
    -I/opt/garnome-0.19.5/lib/gtk-2.0/include
    -I/opt/garnome-0.19.5/include/atk-1.0
    -I/opt/garnome-0.19.5/include/pango-1.0 -I/opt/garnome-0.19.5/include
    -I/opt/garnome-0.19.5/include/freetype2 -I/usr/X11R6/include
    -I/opt/garnome-0.19.5/include/glib-2.0
    -I/opt/garnome-0.19.5/lib/glib-2.0/include -I../../../../src/af/util/xp
    -I../../../../src/af/ev/xp -I../../../../src/af/ev/xp
    -I../../../../src/af/gr/xp -I../../../../src/af/xap/xp
    -I../../../../src/af/util/unix -I../../../../src/af/ev/unix
    -I../../../../src/af/gr/unix -I../../../../src/af/xap/unix
    -I../../../../src/wp/ap/xp -I../../../../src/wp/impexp/xp
    -I../../../../src/wp/ap/unix -I../../../../src/wp/ap/xp/ToolbarIcons
    -I../../../../src/text/ptbl/xp -I../../../../src/text/fmt/xp
    -I../../../../src/other/spell/xp -I../../../../src/other/fribidi/xp
    -I../../../../src/other/ttftool/unix -Wall -pedantic -ansi
    -D_POSIX_SOURCE -D_BSD_SOURCE -pipe -DNDEBUG
    -I/opt/garnome-0.19.5/include/libxml2 -I/usr/include -DBIDI_ENABLED
    -I/home/robert/Download/g2-dep/abiword/wv -DHAVE_THREADS=1 -pthread
    -I/opt/garnome-0.19.5/include/glib-2.0
    -I/opt/garnome-0.19.5/lib/glib-2.0/include
    -I/opt/garnome-0.19.5/include/glib-2.0
    -I/opt/garnome-0.19.5/lib/glib-2.0/include
    -I/opt/garnome-0.19.5/include/gtk-2.0
    -I/opt/garnome-0.19.5/lib/gtk-2.0/include
    -I/opt/garnome-0.19.5/include/atk-1.0
    -I/opt/garnome-0.19.5/include/pango-1.0 -I/opt/garnome-0.19.5/include
    -I/opt/garnome-0.19.5/include/freetype2 -I/usr/X11R6/include
    -I/opt/garnome-0.19.5/include/glib-2.0
    -I/opt/garnome-0.19.5/lib/glib-2.0/include -DSUPPORTS_UT_IDLE=1
    -DABI_BUILD_VERSION=\"1.1.2\" -c xap_UnixApp.cpp
    xap_UnixApp.cpp: In constructor `XAP_UnixApp::XAP_UnixApp(XAP_Args*,
    const
       char*)':
    xap_UnixApp.cpp:85: cannot allocate an object of type
    `UnixNull_Graphics'
    xap_UnixApp.cpp:85: because the following virtual functions are
    abstract:
    ../../../../src/af/gr/xp/gr_Graphics.h:451: virtual void
       GR_Graphics::saveRectangle(UT_Rect&, unsigned int)
    ../../../../src/af/gr/xp/gr_Graphics.h:452: virtual void
       GR_Graphics::restoreRectangle(unsigned int)
    make[5]: *** [xap_UnixApp.o] Error 1
    make[5]: Leaving directory
    `/home/robert/Download/g2-dep/abiword/abi/src/af/xap/unix'
    make[4]: *** [all-recursive] Error 1
    make[4]: Leaving directory
    `/home/robert/Download/g2-dep/abiword/abi/src/af/xap/unix'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory
    `/home/robert/Download/g2-dep/abiword/abi/src/af/xap'make[2]: ***
    [all-recursive] Error 1
    make[2]: Leaving directory
    `/home/robert/Download/g2-dep/abiword/abi/src/af'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory
    `/home/robert/Download/g2-dep/abiword/abi/src'
    make: *** [all-recursive] Error 1
    [robert@mostpress abi]$

    Robert

    On Fri, 2003-01-17 at 22:50, Robert Staudinger wrote:
    > oops, seems like it's all my fault.
    >
    > cat wv/config.log
    > [...]
    > configure:2016: checking for xmlParseDocument in -lxml2
    > configure:2035: gcc -o conftest -g -O2 -I/usr/include/libxml2
    > -L/usr/lib -lxml2 -lz -lm conftest.c -lxml2 -L/usr/lib -lxml2 -lz -lm
    > 1>&5
    > configure:2122: checking for pkg-config
    > [robert@mostpress wv]$
    >
    > maybe it's because i have a really weird setup because i have to compile
    > abi with gcc-2.95 otherwise it's really unstable and crashes immediately
    > after startup (already mentioned here).
    > the old gcc is in /usr/bin, there is also old pkg-config
    > so i have to use PKG_CONFIG_PATH to use gtk-2.x from eg:
    > /opt/garnome-0.19.5 where my gnome2 lives
    >
    > On Fri, 2003-01-17 at 22:16, F J Franklin wrote:
    > > > Type make to build AbiWord.
    > > > make -C ./../wv BUILD_FOR_ABIWORD=1
    > > > make[1]: Entering directory `/home/robert/Download/g2-dep/abiword/wv'
    > > > make[1]: *** No targets specified and no makefile found. Stop.
    > > > make[1]: Leaving directory `/home/robert/Download/g2-dep/abiword/wv'
    > > > make: *** [wv] Error 2
    > > > [robert@mostpress abi]$
    > >
    > > I changed wv's configure recently and that may be causing problems. The
    > > error you're seeing is usually an indication that wv's configure failed.
    > > Please check wv/config.log to see what went wrong...
    > >
    > > > I also tried --with-sys-wv but couldn't make it find it's headers
    > > > although messing around with CPPFLAGS a lot, even copying them to
    > > > /usr/include
    > >
    > > For this, please check abi/config.log to see what the real error is.
    > >
    > > Regards, Frank
    > >
    > > Francis James Franklin
    > > F.J.Franklin@shef.ac.uk
    > >
    > > `Medium atomic weights are available: Gold, Lead, Copper, Jet, Diamond,
    > > Radium, Sapphire, Silver and Steel.
    > > `Sapphire and Steel have been assigned...'
    > >
    >



    This archive was generated by hypermail 2.1.4 : Fri Jan 17 2003 - 17:12:00 EST