Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18573 - Abiword 1.1.4 does not compile
Summary: Abiword 1.1.4 does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-01 02:05 UTC by Andreas Proschofsky (RETIRED)
Modified: 2003-04-03 11:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Proschofsky (RETIRED) gentoo-dev 2003-04-01 02:05:09 UTC
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether byte ordering is bigendian... no
checking for xml2-config... /usr/bin/xml2-config
checking for wv-libconfig... /usr/bin/wv-libconfig
checking for wvInitParser in -lwv... yes
checking wv.h usability... no
checking wv.h presence... no
checking for wv.h... no
configure: error: * * * Sorry, unable to find wv.h * * *

!!! ERROR: app-office/abiword-1.1.4 failed.
!!! Function econf, Line 273, Exitcode 1
!!! econf failed


Reproducible: Always
Steps to Reproduce:
1. emerge abiword
2. read ;-)
3.




emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0)
=================================================================
System uname: 2.4.20-xfs-r2 i686 AMD Athlon(TM) XP 1700+
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde libg++ mikmod mmx mpeg
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa
gdbm berkdb slang readline arts aalib bonobo svga tcltk java guile mysql X sdl
gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt motif
opengl mozilla cdr scanner dvd gtk2 samba xfs moznoirc moznomail moznocompose"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 foser (RETIRED) gentoo-dev 2003-04-01 06:06:15 UTC
what version(s) if libole2 and glib do you have ?
Comment 2 Tristan Henderson 2003-04-01 08:00:26 UTC
I have the same problem. From /var/tmp/portage/abiword-1.1.4/work/abiword-1.1.4/abi/config.log:

configure:9159: checking for wvInitParser in -lwv
configure:9190: gcc -o conftest -mcpu=i686 -march=i686 -O3 -pipe   conftest.c -lwv -L/usr
/lib -lwv -lpng -lz -lglib-2.0 -lm  >&5
/usr/lib/libwv.a(generic.o)(.text+0x18e): In function `wvTempName':
: the use of `tmpnam' is dangerous, better use `mkstemp'
configure:9193: $? = 0
configure:9196: test -s conftest
configure:9199: $? = 0
configure:9211: result: yes
configure:9236: checking wv.h usability
configure:9249: gcc -c -mcpu=i686 -march=i686 -O3 -pipe  conftest.c >&5
In file included from /usr/include/libole2/ms-ole.h:24,
                 from /usr/include/wv.h:12,
                 from configure:9300:
/usr/include/glib-1.2/glib.h:66: glibconfig.h: No such file or directory
In file included from /usr/include/libole2/ms-ole.h:24,
                 from /usr/include/wv.h:12,
                 from configure:9300:
/usr/include/glib-1.2/glib.h:502: parse error before `gssize'
/usr/include/glib-1.2/glib.h:502: warning: data definition has no type or storage class
/usr/include/glib-1.2/glib.h:503: parse error before `gsize'
/usr/include/glib-1.2/glib.h:503: warning: data definition has no type or storage class
/usr/include/glib-1.2/glib.h:504: parse error before `GQuark'
/usr/include/glib-1.2/glib.h:504: warning: data definition has no type or storage class
/usr/include/glib-1.2/glib.h:505: parse error before `GTime'
/usr/include/glib-1.2/glib.h:505: warning: data definition has no type or storage class
/usr/include/glib-1.2/glib.h:769: parse error before `key_id'
/usr/include/glib-1.2/glib.h:840: parse error before `guint8'
/usr/include/glib-1.2/glib.h:840: warning: no semicolon at end of struct or union
/usr/include/glib-1.2/glib.h:842: parse error before `}'
/usr/include/glib-1.2/glib.h:1573: parse error before `mask'
/usr/include/glib-1.2/glib.h:1591: parse error before `mask'
/usr/include/glib-1.2/glib.h:1737: parse error before `*'
/usr/include/glib-1.2/glib.h:1740: parse error before `*'
/usr/include/glib-1.2/glib.h:1773: parse error before `g_quark_try_string'
/usr/include/glib-1.2/glib.h:1773: warning: data definition has no type or storage class
/usr/include/glib-1.2/glib.h:1774: parse error before `g_quark_from_static_string'
/usr/include/glib-1.2/glib.h:1774: warning: data definition has no type or storage class
/usr/include/glib-1.2/glib.h:1775: parse error before `g_quark_from_string'
/usr/include/glib-1.2/glib.h:1775: warning: data definition has no type or storage class
/usr/include/glib-1.2/glib.h:1776: parse error before `quark'
/usr/include/glib-1.2/glib.h:1785: parse error before `GQuark'
/usr/include/glib-1.2/glib.h:1787: parse error before `GQuark'
/usr/include/glib-1.2/glib.h:1791: parse error before `GQuark'
/usr/include/glib-1.2/glib.h:1816: parse error before `GQuark'
/usr/include/glib-1.2/glib.h:1818: parse error before `GQuark'
/usr/include/glib-1.2/glib.h:1822: parse error before `GQuark'
/usr/include/glib-1.2/glib.h:2094: parse error before `GDateYear'
/usr/include/glib-1.2/glib.h:2094: warning: data definition has no type or storage class
/usr/include/glib-1.2/glib.h:2095: parse error before `GDateDay'
/usr/include/glib-1.2/glib.h:2095: warning: data definition has no type or storage class
/usr/include/glib-1.2/glib.h:2168: parse error before `day'
/usr/include/glib-1.2/glib.h:2171: parse error before `julian_day'
/usr/include/glib-1.2/glib.h:2180: parse error before `day'
/usr/include/glib-1.2/glib.h:2182: parse error before `year'
/usr/include/glib-1.2/glib.h:2184: parse error before `julian_date'
/usr/include/glib-1.2/glib.h:2185: parse error before `day'
/usr/include/glib-1.2/glib.h:2191: parse error before `g_date_year'
/usr/include/glib-1.2/glib.h:2191: warning: data definition has no type or storage class
/usr/include/glib-1.2/glib.h:2192: parse error before `g_date_day'
/usr/include/glib-1.2/glib.h:2192: warning: data definition has no type or storage class
/usr/include/glib-1.2/glib.h:2193: parse error before `g_date_julian'
/usr/include/glib-1.2/glib.h:2193: warning: data definition has no type or storage class
/usr/include/glib-1.2/glib.h:2219: parse error before `GTime'
/usr/include/glib-1.2/glib.h:2223: parse error before `GDateDay'
/usr/include/glib-1.2/glib.h:2225: parse error before `GDateYear'
/usr/include/glib-1.2/glib.h:2227: parse error before `GDateDay'
/usr/include/glib-1.2/glib.h:2231: parse error before `guint32'
/usr/include/glib-1.2/glib.h:2252: parse error before `year'
/usr/include/glib-1.2/glib.h:2253: parse error before `g_date_days_in_month'
/usr/include/glib-1.2/glib.h:2254: parse error before `GDateYear'
/usr/include/glib-1.2/glib.h:2254: warning: data definition has no type or storage class
/usr/include/glib-1.2/glib.h:2255: parse error before `g_date_monday_weeks_in_year'
/usr/include/glib-1.2/glib.h:2255: parse error before `year'
/usr/include/glib-1.2/glib.h:2255: warning: data definition has no type or storage class
/usr/include/glib-1.2/glib.h:2256: parse error before `g_date_sunday_weeks_in_year'
/usr/include/glib-1.2/glib.h:2256: parse error before `year'
/usr/include/glib-1.2/glib.h:2256: warning: data definition has no type or storage class
/usr/include/glib-1.2/glib.h:2267: parse error before `g_date_strftime'
/usr/include/glib-1.2/glib.h:2268: parse error before `gsize'
/usr/include/glib-1.2/glib.h:2270: warning: data definition has no type or storage class
/usr/include/glib-1.2/glib.h:2354: parse error before `GLIB_SYSDEF_POLLIN'
In file included from /usr/include/wv.h:12,
                 from configure:9300:
/usr/include/libole2/ms-ole.h:50: parse error before `MsOlePos'
etc...

It looks like libole2 is looking for glib-1.2, but abiword is looking for glib-2.0?

I have dev-libs/glib-1.2.10-r5, dev-libs/glib-2.2.1 and dev-libs/libole2-0.2.4-r1 installed.

emerge info:
Portage 2.0.47-r10 (default-1.0, gcc-2.95.3, glibc-2.2.5-r8)
=================================================================
System uname: 2.4.20-ck4 i686 Transmeta(tm) Crusoe(tm) Processor TM5800
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss apm avi crypt cups encode jpeg libg++ mmx mpeg ncurses pdflib quicktime spell truetype xml2 xmms xv berkdb cdr esd gdbm gif gnome-libs gpm gtk imlib java libwww motif oggvorbis opengl pam png python readline sdl snmp ssl svga tcpd X -3dnow apache2 -arts bonobo curses dga dvd ethereal fbcon gnome gtk2 gtkhtml guile -kde lcms -mikmod mozilla moznoirc moznomail moznocompose mysql nas odbc pcmcia pda perl pic plotutils pnp -qt -qtmt samba -slang smooth tcltk tetex tiff trusted usb xml -nls"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=i686 -march=i686 -O3 -pipe"
CXXFLAGS="-mcpu=i686 -march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache digest"
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2003-04-01 09:13:55 UTC
libole2-0.2.4-r1

and

glib-1.2.10-r5
glib-2.2.1
Comment 4 foser (RETIRED) gentoo-dev 2003-04-01 12:10:00 UTC
ok there is a fix in the tree right now, rsync and test please
Comment 5 Andreas Proschofsky (RETIRED) gentoo-dev 2003-04-01 14:33:00 UTC
Compiles fine now, thanks.
Comment 6 foser (RETIRED) gentoo-dev 2003-04-01 19:31:52 UTC
good enough 
Comment 7 Tristan Henderson 2003-04-02 15:22:18 UTC
It now gets through the configure OK for me, with the warnings:
checking for wv-libconfig... /usr/bin/wv-libconfig
checking for wvInitParser in -lwv... yes
checking wv.h usability... no
checking wv.h presence... yes
configure: WARNING: wv.h: present but cannot be compiled
configure: WARNING: wv.h: check for missing prerequisite headers?
configure: WARNING: wv.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for wv.h... yes
checking wvexporter.h usability... no
checking wvexporter.h presence... yes
configure: WARNING: wvexporter.h: present but cannot be compiled
configure: WARNING: wvexporter.h: check for missing prerequisite headers?
configure: WARNING: wvexporter.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for wvexporter.h... yes

and it then fails to compile:
g++ -DPACKAGE_NAME=\"AbiSuite\" -DPACKAGE_TARNAME=\"abisuite\" -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_STRING=\"AbiSuite\ 2.0\" -DPACKAGE_BUGREPORT=\"http://www.abisource.com/\" -DPACKAG
E=\"AbiSuite-2.0\" -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTY
PES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNI
STD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_LIBXML2=1 -DHAVE_LIBWV=1 -DHAVE_WV=1 -DHAVE_ALLOCA_H=1 -D
HAVE_ALLOCA=1 -DRETSIGTYPE=void -DHAVE_RE_COMP=1 -DHAVE_REGCOMP=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1  -I. -I. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I
/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libglade-2.0 -I/usr/include/libxml2   -I/usr/i
nclude/glib-2.0 -I/usr/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/af/xap/unix/gnome' -I'../
../../../src/af/ev/unix/gnome' -I'../../../../src/wp/ap/xp' -I'../../../../src/wp/impexp/xp' -I'../../../../src/wp/ap/unix' -I'../../../../src/wp/ap/xp/ToolbarIcons' -I'../../../../s
rc/wp/ap/unix/gnome' -I'../../../../src/text/ptbl/xp' -I'../../../../src/text/fmt/xp'     -mcpu=i686 -march=i686 -O3 -pipe -Wall -pedantic -ansi -D_POSIX_SOURCE -D_BSD_SOURCE -pipe -
DNDEBUG -I/usr/include/libxml2  -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/X11R6/include -DHAVE_THREADS=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -p
thread -DORBIT2=1 -I/usr/include/eel-2 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/gconf/2 -I/usr/include/gtk-2.0 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include
/libgnomeui-2.0 -I/usr/include/libxml2 -I/usr/include/gail-1.0 -I/usr/include/libglade-2.0 -I/usr/include/orbit-2.0 -I/usr/include/linc-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/
atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libgnomecanvas-2.0   -DHAVE_NAUTILUS=1 -DORBIT2=1 -pthread -I/usr/include/libbonobo-2.0 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/linc-1.0 -I/usr/include/libglade-2.0 -I/usr/include/g
tk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libgnomeui-2.0 -
I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/g
nome-vfs-2.0/include -I/usr/include/gal-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2   -DHAVE_GNOME=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
  -DSUPPORTS_UT_IDLE=1   -DABISUITE_HOME=\"/usr/share/AbiSuite-2.0\" -DABI_BUILD_VERSION=\"1.1.4\" -c -o ev_UnixToolbar_ViewListener.o `test -f ev_UnixToolbar_ViewListener.cpp || ech
o './'`ev_UnixToolbar_ViewListener.cpp
ev_UnixToolbar.cpp: In method `bool EV_UnixToolbar::synthesize()':
ev_UnixToolbar.cpp:884: static_cast from `char **' to `const char **'
ev_UnixToolbar.cpp:888: static_cast from `char **' to `const char **'
ev_UnixToolbar.cpp:882: warning: `struct GdkPixbuf * pixbuf' might be used uninitialized in this function
ev_UnixToolbar.cpp: In method `bool EV_UnixToolbar::bindListenerToView(AV_View *)':
ev_UnixToolbar.cpp:983: warning: unused variable `bool bResult'
make[4]: *** [ev_UnixToolbar.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/abiword-1.1.4/work/abiword-1.1.4/abi/src/af/ev/unix'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/abiword-1.1.4/work/abiword-1.1.4/abi/src/af/ev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/abiword-1.1.4/work/abiword-1.1.4/abi/src/af'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/abiword-1.1.4/work/abiword-1.1.4/abi/src'
make: *** [all-recursive] Error 1

!!! ERROR: app-office/abiword-1.1.4 failed.
!!! Function src_compile, Line 63, Exitcode 2
!!! (no error message)

emerge info:
Portage 2.0.47-r10 (default-1.0, gcc-2.95.3, glibc-2.2.5-r8)
=================================================================
System uname: 2.4.20-ck4 i686 Transmeta(tm) Crusoe(tm) Processor TM5800
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss apm avi crypt cups encode jpeg libg++ mmx mpeg ncurses pdflib quicktime spell truetype xml2 xmms xv berkdb cdr esd gdbm gif gnome-libs gpm gtk imlib java libwww motif oggvorbis opengl pam png python readline sdl snmp ssl svga tcpd X -3dnow apache2 -arts bonobo curses dga dvd ethereal fbcon gnome gtk2 gtkhtml guile -kde lcms -mikmod mozilla moznoirc moznomail moznocompose mysql nas odbc pcmcia pda perl pic plotutils pnp -qt -qtmt samba -slang smooth tcltk tetex tiff trusted usb xml -nls"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=i686 -march=i686 -O3 -pipe"
CXXFLAGS="-mcpu=i686 -march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache digest"
Comment 8 foser (RETIRED) gentoo-dev 2003-04-03 11:25:37 UTC
#7 is another problem and unrelated. I talked to an abiword dev and he said these gcc2 compile problems (thats what it is) have been fixed in cvs, but since it is a dev release and p.mask-ed i'm not gonna try and fix it by patching it up. Upgrade your compiler, wait for a new 1.1 release or just use 1.0.5 .