Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8481 - Galeon-1.2.6 don't emerge (gdk-pixbuf problems)
Summary: Galeon-1.2.6 don't emerge (gdk-pixbuf problems)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-27 15:13 UTC by Ph. Bobo
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 Ph. Bobo 2002-09-27 15:13:08 UTC
In file included from ProgressListener2.cpp:26:
../../src/misc_gui.h:28: gdk-pixbuf/gdk-pixbuf.h: No such file or directory
In file included from ProgressListener2.cpp:26:
../../src/misc_gui.h:52: `GdkPixbuf' was not declared in this scope
../../src/misc_gui.h:52: `pixbuf' was not declared in this scope
../../src/misc_gui.h:52: parse error before `)'
ProgressListener2.cpp:354: prototype for `nsresult
GProgressListener2::Init(nsIURI *, nsILocalFile *, const PRUnichar *, const
PRUnichar *, long long int, nsIWebBrowserPersist *)' does not match any in class
`GProgressListener2'
ProgressListener2.h:63: candidate is: nsresult GProgressListener2::Init(nsIURI
*, nsILocalFile *, const PRUnichar *, nsIMIMEInfo *, long long int,
nsIWebBrowserPersist *)
ProgressListener2.cpp:419: no `nsresult
GProgressListener2::GetOpeningWith(PRUnichar **)' member function declared in
class `GProgressListener2'
make[3]: *** [ProgressListener2.o] Error 1
make[3]: Leaving directory
`/mnt/main/tmp/portage/galeon-1.2.6/work/galeon-1.2.6/src/mozilla'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/mnt/main/tmp/portage/galeon-1.2.6/work/galeon-1.2.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/main/tmp/portage/galeon-1.2.6/work/galeon-1.2.6'
make: *** [all-recursive-am] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 65, Exitcode 2
!!! (no error message)
Comment 1 Spider (RETIRED) gentoo-dev 2002-09-27 23:07:09 UTC
you are probably trying to build against moz 1.1 or so. that means you have to
change the galeon ebuild. galeon as-is is made for moz 1.0.1 
Comment 2 Greg Coit 2002-09-28 02:03:28 UTC
I'm not sure that above info is correct.  I'm trying to build galeon-1.2.6
against  mozilla-1.1-r1 and get the same error (so yes, that part is true) but
the galeon ebuild says:

# This version of galeon supports multiple versions.  We are allowing only
# mozilla 1.1-r1 and 1.2a at this time.

Is this info not correct?

BTW, doesn't compiling galeon-1.2.6 against net-www/mozilla-1.0-r3 cause an
error during launch of galeon (something like galeon-1.2.6 is supposed to be
compiled against mozilla-1.1 or greater and may be buggy in this config)...
Comment 3 Greg Coit 2002-09-28 02:13:44 UTC
Doh!  I searched the forums and someone pointed out that if you replace the
version number in this line of the galeon-1.2.6 ebuild:

local myconf="--with-mozilla-snapshot=1.0" 

so it reads 1.1 (or 2.0) then galeon compiles fine...

Worked for me.  Hope this helps...

Then again, maybe this is what Spider meant in the first place...
Comment 4 Ph. Bobo 2002-09-28 03:37:06 UTC
I changed the "LOCAL" line, but it still not emerge :

i586-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src
-I/usr/lib/mozilla/include -I/usr/lib/mozilla/include/nspr
-I/usr/lib/mozilla/include/appcomps -I/usr/lib/mozilla/include/caps
-I/usr/lib/mozilla/include/content -I/usr/lib/mozilla/include/cookie
-I/usr/lib/mozilla/include/docshell -I/usr/lib/mozilla/include/dom
-I/usr/lib/mozilla/include/exthandler -I/usr/lib/mozilla/include/find
-I/usr/lib/mozilla/include/gfx -I/usr/lib/mozilla/include/gtkembedmoz
-I/usr/lib/mozilla/include/helperAppDlg -I/usr/lib/mozilla/include/java
-I/usr/lib/mozilla/include/js -I/usr/lib/mozilla/include/jsconsole
-I/usr/lib/mozilla/include/layout -I/usr/lib/mozilla/include/mimetype
-I/usr/lib/mozilla/include/mozxfer -I/usr/lib/mozilla/include/necko
-I/usr/lib/mozilla/include/necko2 -I/usr/lib/mozilla/include/nkcache
-I/usr/lib/mozilla/include/oji -I/usr/lib/mozilla/include/pref
-I/usr/lib/mozilla/include/progressDlg -I/usr/lib/mozilla/include/sidebar
-I/usr/lib/mozilla/include/string -I/usr/lib/mozilla/include/shistory
-I/usr/lib/mozilla/include/uconv -I/usr/lib/mozilla/include/uriloader
-I/usr/lib/mozilla/include/wallet -I/usr/lib/mozilla/include/webbrowserpersist
-I/usr/lib/mozilla/include/webbrwsr -I/usr/lib/mozilla/include/webshell
-I/usr/lib/mozilla/include/widget -I/usr/lib/mozilla/include/windowwatcher
-I/usr/lib/mozilla/include/xpcom -I/usr/lib/mozilla/include/xpconnect
-I/usr/include/gconf/1 -I/usr/include -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2
-I/usr/X11R6/include
-I/var/tmp/portage/gdk-pixbuf-0.18.0-r1/image//usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/usr/include/gnome-vfs-1.0
-I/usr/lib/gnome-vfs-1.0/include -I/usr/include/gnome-xml -I/usr/include
-I/usr/include/orbit-1.0 -I/usr/include/gconf/1 -D_REENTRANT
-I/usr/include/libglade-1.0 -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
-I/usr/lib/gnome-libs/include -DLIB_DIR=\"/usr/lib/galeon\"
-DSHARE_DIR=\"/usr/share/galeon\"     -fno-rtti -march=i586 -O3 -pipe -Wall
-Wmissing-declarations -Wmissing-prototypes -Wsign-compare -c ProgressListener2.cpp
In file included from ProgressListener2.cpp:26:
../../src/misc_gui.h:28: gdk-pixbuf/gdk-pixbuf.h: No such file or directory
In file included from ProgressListener2.cpp:26:
../../src/misc_gui.h:52: `GdkPixbuf' was not declared in this scope
../../src/misc_gui.h:52: `pixbuf' was not declared in this scope
../../src/misc_gui.h:52: parse error before `)'
make[3]: *** [ProgressListener2.o] Error 1
make[3]: Leaving directory
`/mnt/main/tmp/portage/galeon-1.2.6/work/galeon-1.2.6/src/mozilla'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/mnt/main/tmp/portage/galeon-1.2.6/work/galeon-1.2.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/main/tmp/portage/galeon-1.2.6/work/galeon-1.2.6'
make: *** [all-recursive-am] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 65, Exitcode 2
!!! (no error message)
Comment 5 Ph. Bobo 2002-09-28 05:34:34 UTC
Sorry, this is for version 1.4_rc1.
Comment 6 Spider (RETIRED) gentoo-dev 2002-09-28 08:09:23 UTC
Thats a different story. seems your gdk-pixbuf build is corrupt. emerge
gdk-pixbuf and see if that changes it. 
Comment 7 Ph. Bobo 2002-09-28 11:23:03 UTC
I "resolve" this problem by making a ln -s gdk-pixbuf-1.0/gdk-pixbuf gdk-pixbuf

I don't know if this is the best way, but that let the package emerge

Comment 8 Spider (RETIRED) gentoo-dev 2002-09-30 18:24:06 UTC
can you give the output of :
 gdk-pixbuf-config --cflags --libs 


Comment 9 Spider (RETIRED) gentoo-dev 2002-09-30 18:53:34 UTC
please try the new and masked gdk-pixbuf 0.20.0 to see if this problem goes away
Comment 10 Ph. Bobo 2002-10-04 13:48:34 UTC
As I needed a quick solution, I just created a symbolic link inside /lib
directory (I don't remember wich one and I can't find it anymore). That solves
the problem. I haven't try your new version, sorry.
Comment 11 foser (RETIRED) gentoo-dev 2002-10-12 05:59:57 UTC
Closing this one, the reporter seems not willing to test it any further.