Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5074 - Pango 1.0.3 fails
Summary: Pango 1.0.3 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gabriele Giorgetti
URL:
Whiteboard:
Keywords:
: 5040 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-07-16 02:39 UTC by David Nielsen
Modified: 2003-02-04 19:42 UTC (History)
1 user (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 David Nielsen 2002-07-16 02:39:07 UTC
Quite critical since most Gnome stuff depends on Pango it seems 
 
Full error message: 
 
../pango/pangox.h:31:22: X11/Xlib.h: No such file or directory 
In file included from viewer-qt.cc:43: 
../pango/pangox.h:48: type specifier omitted for parameter `Drawable' 
../pango/pangox.h:48: parse error before `,' token 
../pango/pangox.h:55: type specifier omitted for parameter `Drawable' 
../pango/pangox.h:55: parse error before `,' token 
../pango/pangox.h:61: type specifier omitted for parameter `Drawable' 
../pango/pangox.h:61: parse error before `,' token 
../pango/pangox.h:96: syntax error before `*' token 
../pango/pangox.h:99: type specifier omitted for parameter `XFontStruct' 
../pango/pangox.h:99: parse error before `*' token 
viewer-qt.cc: In member function `virtual void 
ViewerView::drawContents(QPainter*, int, int, int, int)': 
viewer-qt.cc:216: `XGCValues' undeclared (first use this function) 
viewer-qt.cc:216: (Each undeclared identifier is reported only once for each 
function it appears in.) 
viewer-qt.cc:216: parse error before `;' token 
viewer-qt.cc:219: `values' undeclared (first use this function) 
viewer-qt.cc:219: `XCreateGC' undeclared (first use this function) 
viewer-qt.cc:221: `XSetForeground' undeclared (first use this function) 
viewer-qt.cc:223: `XRectangle' undeclared (first use this function) 
viewer-qt.cc:223: parse error before `=' token 
viewer-qt.cc: At global scope: 
viewer-qt.cc:224: `x11Display' was not declared in this scope 
viewer-qt.cc:224: `gc' was not declared in this scope 
viewer-qt.cc:224: `xclip' was not declared in this scope 
viewer-qt.cc:224: `YXBanded' was not declared in this scope 
viewer-qt.cc:224: ISO C++ forbids declaration of `XSetClipRectangles' with no 
type 
viewer-qt.cc:224: initializer list being treated as compound expression 
viewer-qt.cc:227: `paragraphs_' was not declared in this scope 
viewer-qt.cc:228: parse error before `for' 
viewer-qt.cc:228: syntax error before `.' token 
viewer-qt.cc:231: `para' was not declared in this scope 
viewer-qt.cc:233: parse error before `if' 
viewer-qt.cc:239: syntax error before `.' token 
viewer-qt.cc:240: ISO C++ forbids declaration of `bounds' with no type 
viewer-qt.cc:240: `p' was not declared in this scope 
viewer-qt.cc:242: parse error before `=' token 
viewer-qt.cc:244: `x11Display' was not declared in this scope 
viewer-qt.cc:244: `p' was not declared in this scope 
viewer-qt.cc:244: `gc' was not declared in this scope 
viewer-qt.cc:245: `xbounds' was not declared in this scope 
viewer-qt.cc:245: `xbounds' was not declared in this scope 
viewer-qt.cc:245: `xbounds' was not declared in this scope 
viewer-qt.cc:245: `xbounds' was not declared in this scope 
viewer-qt.cc:245: ISO C++ forbids declaration of `XFillRectangle' with no type 
viewer-qt.cc:245: initializer list being treated as compound expression 
viewer-qt.cc:247: `x11Display' was not declared in this scope 
viewer-qt.cc:247: `gc' was not declared in this scope 
viewer-qt.cc:247: `xbounds' was not declared in this scope 
viewer-qt.cc:247: `YXBanded' was not declared in this scope 
viewer-qt.cc:247: ISO C++ forbids declaration of `XSetClipRectangles' with no 
type 
viewer-qt.cc:247: redefinition of `int XSetClipRectangles' 
viewer-qt.cc:224: `int XSetClipRectangles' previously defined here 
viewer-qt.cc:247: initializer list being treated as compound expression 
viewer-qt.cc:248: `x11Display' was not declared in this scope 
viewer-qt.cc:248: `gc' was not declared in this scope 
viewer-qt.cc:248: `colorGroup' was not declared in this scope 
viewer-qt.cc:248: ISO C++ forbids declaration of `XSetForeground' with no type 
viewer-qt.cc:248: `int XSetForeground' used prior to declaration 
viewer-qt.cc:248: initializer list being treated as compound expression 
viewer-qt.cc:250: syntax error before `->' token 
viewer-qt.cc:252: `x11Display' was not declared in this scope 
viewer-qt.cc:252: `gc' was not declared in this scope 
viewer-qt.cc:252: `colorGroup' was not declared in this scope 
viewer-qt.cc:252: ISO C++ forbids declaration of `XSetForeground' with no type 
viewer-qt.cc:252: redefinition of `int XSetForeground' 
viewer-qt.cc:248: `int XSetForeground' previously defined here 
viewer-qt.cc:252: initializer list being treated as compound expression 
viewer-qt.cc:253: `x11Display' was not declared in this scope 
viewer-qt.cc:253: `gc' was not declared in this scope 
viewer-qt.cc:253: `xclip' was not declared in this scope 
viewer-qt.cc:253: `YXBanded' was not declared in this scope 
viewer-qt.cc:253: ISO C++ forbids declaration of `XSetClipRectangles' with no 
type 
viewer-qt.cc:253: redefinition of `int XSetClipRectangles' 
viewer-qt.cc:247: `int XSetClipRectangles' previously defined here 
viewer-qt.cc:253: initializer list being treated as compound expression 
viewer-qt.cc:254: parse error before `}' token 
viewer-qt.cc:256: ISO C++ forbids declaration of `y' with no type 
viewer-qt.cc:256: redefinition of `int y' 
viewer-qt.cc:226: `int y' previously defined here 
viewer-qt.cc:257: parse error before `}' token 
viewer-qt.cc:259: `x11Display' was not declared in this scope 
viewer-qt.cc:259: `gc' was not declared in this scope 
viewer-qt.cc:259: ISO C++ forbids declaration of `XFreeGC' with no type 
viewer-qt.cc:259: initializer list being treated as compound expression 
viewer-qt.cc:260: parse error before `}' token 
{standard input}: Assembler messages: 
{standard input}:204: Error: symbol `XSetClipRectangles' is already defined 
{standard input}:218: Error: symbol `XSetForeground' is already defined 
{standard input}:225: Error: symbol `XSetClipRectangles' is already defined 
{standard input}:232: Error: symbol `y' is already defined 
make[2]: *** [viewer-qt.o] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/pango-1.0.3/work/pango-1.0.3/examples' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/pango-1.0.3/work/pango-1.0.3' 
make: *** [all-recursive-am] Error 2 
 
!!! ERROR: The ebuild did not complete successfully. 
!!! Function src_compile, Line 32, Exitcode 2 
!!! paralell make and serial make failed 
 
!!! emerge aborting on  /usr/portage/x11-libs/pango/pango-1.0.3.ebuild .
Comment 1 Gabriele Giorgetti 2002-07-16 04:18:05 UTC
*** Bug 5040 has been marked as a duplicate of this bug. ***
Comment 2 Hannes Mehnert (RETIRED) gentoo-dev 2002-07-16 10:13:18 UTC
Hi,

I had the same problem, my fix was adding to pango/examples/Makefile
CPPFLAGS=-I/usr/X11R6/include

If You add this in the ebuild, it should be probably fixed.
Comment 3 Joe Roberts 2002-07-16 15:24:24 UTC
Where exactly in the process would I add that?  And then, how to continue
afterword?  It's sort of driving me nuts.  I tried adding it to a makefile in
the /var/tmp/portage/pango-1.0.3/work/pango-1.0.3/examples directory, then ran a
standard make command in there.  Everything seemed to go okay, but I guess it
didn't compile everything it needed to, or didn't update something because when
I tried to emerge pan, which requires this library, I got the same error.  Any
ideas?
Comment 4 Gabriele Giorgetti 2002-07-16 16:19:38 UTC
Can you please emerge the pango-1.0.3-r1 ebuild I've just committed and see If
fixes this issue ?

Thank you.
Comment 5 Joe Roberts 2002-07-17 02:25:34 UTC
That fixed it.  Provided no one else has problems, this one can be closed.  It 
emerged without a hitch.  Thanks very much for your efforts! 
Comment 6 Gabriele Giorgetti 2002-07-17 05:33:28 UTC
If anybody is still having problems with pango 1.0.3 please reopen this bug.
Thank you for reporting/testing.