Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 749 - Screem compile error (gdk-pixbuf)
Summary: Screem compile error (gdk-pixbuf)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-18 07:25 UTC by Fred Bulthuis
Modified: 2003-02-04 19:42 UTC (History)
0 users

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 Fred Bulthuis 2002-02-18 07:25:35 UTC
After the command emerge net-www/screem the compilation of screem fails.
[screenshot]
make[2]: Entering directory `/var/tmp/portage/screem-0.4.1-r1/work/screem-0.4.1/src'
Making all in glade
make[3]: Entering directory
`/var/tmp/portage/screem-0.4.1-r1/work/screem-0.4.1/src/g
lade'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/var/tmp/portage/screem-0.4.1-r1/work/screem-0.4.1/src/gl
ade'
make[3]: Entering directory `/var/tmp/portage/screem-0.4.1-r1/work/screem-0.4.1/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../pixmaps                     
-DG_L
OG_DOMAIN=\"screem\"                    -DGNOMELOCALEDIR=\""/usr/share/locale"\"
   -
DPLUGIN_PATH=\""/usr/lib/"\"                   
-DTAG_TREE_FILE=\""/usr/share/screem/
screem.tagtree"\"                      
-DSPLASH_DIR=\""/usr/share/pixmaps/screem/spl
ash/"\"                        
-DGLADE_PATH=\""/usr/share/screem/glade//screem.glade
"\"                     -DRESOURCE_PATH=\""/usr/share/screem/resources/"\"     
    -
DPIXMAP_PATH=\""/usr/share/pixmaps/screem/"\"                  
-DHINTS_PATH=\""/usr/
share/screem/hints"\"                  
-DHELP_PATH=\""/usr/share/screem/htmlhelp"\"-
DSYNTAX_PATH=\""/usr/share/screem/syntax"\"                    
-DSCREEM_DTD_PATH=\""
/usr/share/screem/dtd"\"                        -I/usr/include/gnome-1.0
-DNEED_GNOME
SUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2
-I/usr/lib/glib/inclu
de -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include        
    -
D _GNU_SOURCE  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include
 -I/usr/X11R6/include  -mcpu=i686 -march=i686 -O3 -pipe
-I/usr/include/libglade-1.0 -
I/usr/include/gnome-xml -Wall -Wunused  -I../libneon -I/usr/include/gnome-xml -c
site
UI.c
In file included from siteUI.c:45:
../include/support.h:5: gdk-pixbuf/gdk-pixbuf.h: No such file or directory
In file included from siteUI.c:45:
../include/support.h:19: parse error before `GdkPixbuf'
../include/support.h:19: warning: no semicolon at end of struct or union
../include/support.h:22: parse error before `}'
../include/support.h:22: warning: type defaults to `int' in declaration of `Icons'
../include/support.h:22: warning: data definition has no type or storage class
../include/support.h:24: parse error before `*'
../include/support.h:24: warning: type defaults to `int' in declaration of
`icon_from
_mime_type'
../include/support.h:24: warning: data definition has no type or storage class
siteUI.c: In function `screem_site_close_site':
siteUI.c:117: warning: unused variable `pagebook'
siteUI.c: In function `screem_site_open_with_filename':
siteUI.c:305: warning: implicit declaration of function `cvs_update_site'
make[3]: *** [siteUI.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/screem-0.4.1-r1/work/screem-0.4.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/screem-0.4.1-r1/work/screem-0.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/screem-0.4.1-r1/work/screem-0.4.1'
make: *** [all-recursive-am] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 24, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/net-www/screem/screem-0.4.1-r1.ebuild .
[/screenshot]
My system was updated last night (emerge --world update). I use a non-patched
2.4.17 kernel with the correct headers installed.
Comment 1 Grant Goodyear (RETIRED) gentoo-dev 2002-02-21 21:59:41 UTC
A workaround is to "ln -s /usr/include/gdk-pixbuf-1.0/gdk-pixbuf 
/usr/include/gdk-pixbuf".  I'm not sure if the screem package is 
broken, or what, since we do have other ebuilds that do build w/
gdk-pixbuf.  I'm going to reassign this ebuild to Azarah, since 
he fixed the gdk-pixbuf ebuild and might have more insight.  Azarah?
Comment 2 Fred Bulthuis 2002-02-23 05:55:29 UTC
With the symlink added screem does compile but doesn't run using KDE or Gnome.
After the splashscreen it freezes and that's it.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-02-23 09:42:31 UTC
the actual fix for this is to add before the ./configure line if it exists:

CFLAGS="-I/usr/include/gdk-pixbuf-1.0 ${CFLAGS}"


The freezing .. not sure. Make sure you have stuff in /usr/lib/gdk-pixbuf/loaders
Comment 4 Spider (RETIRED) gentoo-dev 2002-03-19 21:52:58 UTC
actual fix is to do which is better and more modular.
export CFLAGS=${CLFAGS} `/usr/bin/gdk-pixbuf-config --cflags`

this is really a bug in the screem configure script
Comment 5 Chris Johnson 2002-03-28 11:09:40 UTC
I had further compile errors before adding this to the .ebuild (which was a
final fix for me): 

change the line before the ./configure line (with CFLAGS):

CFLAGS="${CFLAGS} `gnome-config --cflags libglade` `libglade-config --cflags` \
    `gdk-pixbuf-config --cflags`"

HTH
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-04-08 13:02:41 UTC
Fixed in screem-0.4.1-r2.  SSL support should be working now again as
well.