LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 02-16-2009, 11:41 PM   #1
keika
LQ Newbie
 
Registered: Feb 2009
Posts: 24

Rep: Reputation: 15
"No gecko found"error when building Galeon


hi,all!

I got the following error when rpmbuilding the source code of Galeon. (rpmbuild -tb galeon-2.0.7.tar.bz2)
checking which mozilla engine to use... configure: error: No gecko found
error: Bad exit status from /var/tmp/rpm-tmp.QZcWul (%build)


I know that Gecko is a part of xulrunner and will be installed when I installed xulrunner,and I did install xulrunner.
after I type export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig,I still got the same error!

can anyone give me a clue?
Thanks in advance!
Ricard
 
Old 02-17-2009, 02:14 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,675

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546
*
# 'yum install xulrunner-devel'

Will provide libxul.pc in /usr/lib/pkgconfig/

# 'yum install galeon' provides galeon.
.....
 
Old 02-17-2009, 11:33 PM   #3
keika
LQ Newbie
 
Registered: Feb 2009
Posts: 24

Original Poster
Rep: Reputation: 15
thanks knudfl
I did as you said,but didn't get the problem solved.
did you build the Galeon source code successfully?
 
Old 02-18-2009, 06:20 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,675

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546
Sorry, but I never used Galeon.

Still : The convenient way to get it : # 'yum install galeon'

And by the way : Which Linux are you using ? Fedora 10 ?

....
 
Old 02-18-2009, 07:33 PM   #5
keika
LQ Newbie
 
Registered: Feb 2009
Posts: 24

Original Poster
Rep: Reputation: 15
hi.knudfl
I don't want to use the Galeon,just want to learn the build process of Galeon.
Actually it might not be that difficult,but for me it is.I need to learn some new things.

yes.I am using Fedora 10.
Is that too new for Galeon?
 
Old 02-19-2009, 01:12 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,675

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546
Not at all easy, but feasible.
You will need this dependancy too :
"gecko-devel-unstable" = xulrunner-devel-unstable
# 'yum install xulrunner-devel-unstable'

And this source code package with patching to fix bugs :
'galeon-2.0.7-3.fc10.src.rpm' from
http://download.fedora.redhat.com/pu.../source/SRPMS/

Move it to an empty directory in /home/<username>/ , e.g. new-dir/
'cd new-dir/' and extract the 'src.rpm' with :
'rpm2cpio galeon-2.0.7-3.fc10.src.rpm | cpio -idmv'
.... then :
'tar xvf galeon-2.0.7.tar.bz2' to get 'galeon-2.0.7/'
Apply the patches :
'patch -p0 < galeon-2.0.7-confignspr.patch'
'patch -p0 < galeon-2.0.7-dfltfont.patch'
'patch -p0 < galeon-2.0.7-plugins.patch'
'patch -p0 < galeon-2.0.7-print.patch'
'patch -p0 < galeon-2.0.7-warnings.patch'

Next 'cd galeon-2.0.7/' and configure with

Code:
 ./configure --prefix=/usr --disable-nautilus-view --disable-werror --disable-schemas-install --disable-dependency-tracking --with-mozilla=libxul-embedding-unstable
All this is just the configure line from the 'galeon.spec' file.
.....
'make' .. # 'make install'
But 'galeon' didn't run correctly for me, after install,
so now it's your try ....
.....

This worked better ...
# 'rpmbuild -bb galeon.spec' and when the package is build:
# 'rpm -Uvh /root/rpmbuild/RPMS/i386/galeon-2.0.7-3.fc10.i386.rpm'
( Try reading galeon.spec, and may be find what's the difference )

.....
P.S.: The thing that prevented you finishing configure was the missing :
'./configure --with-mozilla=xulrunner', but 'make' wouldn't have worked
because of the bugs.
.....

Last edited by knudfl; 02-19-2009 at 01:39 PM.
 
Old 02-19-2009, 10:03 PM   #7
keika
LQ Newbie
 
Registered: Feb 2009
Posts: 24

Original Poster
Rep: Reputation: 15
thanks knudfl
I did as you said,and built the source code successfully!
but I didn't run Galeon correctly as well.
here is the error when I type galeon in the command line:
myportal is not a registered protocol

I have googled and think it might be a bug?
I emailed a developer of Galeon and didn't get the reply.
I'll let you know when I get any progress
 
Old 02-20-2009, 12:15 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,675

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546
Quote:
myportal is not a registered protocol
Congratulations ! It works !
Just the "home" address, ( start page )
replace with Google 'URL' or whatever,
not a bug !
.....

Last edited by knudfl; 02-20-2009 at 12:28 AM.
 
Old 02-20-2009, 04:03 AM   #9
keika
LQ Newbie
 
Registered: Feb 2009
Posts: 24

Original Poster
Rep: Reputation: 15
yes knudfl
it's working!
Thank you so much for you kind help!

Hope you enjoy everyday!
 
Old 01-27-2010, 11:50 PM   #10
raghupal
LQ Newbie
 
Registered: Mar 2006
Location: Hyderabad
Distribution: Fedora Core 8
Posts: 15

Rep: Reputation: 0
Smile

Quote:
Originally Posted by knudfl View Post
Not at all easy, but feasible.
You will need this dependancy too :
"gecko-devel-unstable" = xulrunner-devel-unstable
# 'yum install xulrunner-devel-unstable'

And this source code package with patching to fix bugs :
'galeon-2.0.7-3.fc10.src.rpm' from
http://download.fedora.redhat.com/pu.../source/SRPMS/

Move it to an empty directory in /home/<username>/ , e.g. new-dir/
'cd new-dir/' and extract the 'src.rpm' with :
'rpm2cpio galeon-2.0.7-3.fc10.src.rpm | cpio -idmv'
.... then :
'tar xvf galeon-2.0.7.tar.bz2' to get 'galeon-2.0.7/'
Apply the patches :
'patch -p0 < galeon-2.0.7-confignspr.patch'
'patch -p0 < galeon-2.0.7-dfltfont.patch'
'patch -p0 < galeon-2.0.7-plugins.patch'
'patch -p0 < galeon-2.0.7-print.patch'
'patch -p0 < galeon-2.0.7-warnings.patch'

Next 'cd galeon-2.0.7/' and configure with

Code:
 ./configure --prefix=/usr --disable-nautilus-view --disable-werror --disable-schemas-install --disable-dependency-tracking --with-mozilla=libxul-embedding-unstable
All this is just the configure line from the 'galeon.spec' file.
.....
'make' .. # 'make install'
But 'galeon' didn't run correctly for me, after install,
so now it's your try ....
.....

This worked better ...
# 'rpmbuild -bb galeon.spec' and when the package is build:
# 'rpm -Uvh /root/rpmbuild/RPMS/i386/galeon-2.0.7-3.fc10.i386.rpm'
( Try reading galeon.spec, and may be find what's the difference )

.....
P.S.: The thing that prevented you finishing configure was the missing :
'./configure --with-mozilla=xulrunner', but 'make' wouldn't have worked
because of the bugs.
.....


I am also facing the same problem. I did what you said , but i am gettign the below error:

Quote:
gul-download.c: In function 'gul_download_external_save_url':
gul-download.c:69: warning: implicit declaration of function 'gtk_file_chooser_dialog_new'
gul-download.c:71: error: 'GTK_FILE_CHOOSER_ACTION_SAVE' undeclared (first use in this function)
gul-download.c:71: error: (Each undeclared identifier is reported only once
gul-download.c:71: error: for each function it appears in.)
gul-download.c:73: warning: initialization makes pointer from integer without a cast
gul-download.c:104: warning: implicit declaration of function 'gtk_file_chooser_set_filename'
gul-download.c:104: warning: implicit declaration of function 'GTK_FILE_CHOOSER'
gul-download.c:116: warning: implicit declaration of function 'gtk_file_chooser_get_filename'
gul-download.c:116: warning: passing argument 2 of 'gul_download_save_url_with_dir' makes pointer from integer without a cast
make[3]: *** [gul-download.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
gul-general.c: In function 'gul_general_read_line_from_file':
gul-general.c:371: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
gul-general.c: In function 'gul_copy_file':
gul-general.c:503: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../bookmarks -I../embed -I../libegg -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -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/lib64/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libglade-2.0 -I/usr/include/gnome-vfs-module-2.0 -I/usr/include/gnome-desktop-2.0 -I/usr/include/startup-notification-1.0 -DSHARE_DIR=\"/usr/share/galeon\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Wmissing-declarations -Wmissing-prototypes -Wsign-compare -c gul-glade-gconf.c -fPIC -DPIC -o .libs/gul-glade-gconf.o
make[3]: Leaving directory `/usr/src/redhat/BUILD/galeon-2.0.7/utils'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/galeon-2.0.7/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/galeon-2.0.7'
make: *** [all] Error 2
My OS is RHEL5-x86-64. Could you please help me to resolve this error?
 
Old 01-29-2010, 02:31 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,675

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546
@ raghupal , post # 10 ..

No galeon is available for RH EL 5.

No galeon in the basic repo's , none in the epel, rpmfusion
rpmforge, ccrma , atrpms repo's.

So why isn't anybody supplying galeon :
May not be possible to build on the Fedora 6 based EL5.
The galeon requirements may also not be possible to build
to perfection on EL 5.

Suggest :
Use something else, there's quite a number to choose from.
.....

Last edited by knudfl; 01-29-2010 at 09:07 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alsaconf Error: "No supported PnP or PCI cards found..." Baix Linux - Newbie 6 06-22-2009 05:08 AM
LFS6.3 - Ch5.4.1 "/bin/sh sort not found" error at "make bootstrap" ubyt3m3 Linux From Scratch 2 06-23-2008 12:09 AM
LFS6.3 livecd "ls : command not found" error after "su - lfs" rotu Linux From Scratch 2 06-19-2008 03:59 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
getting "bool" error while building with AIX4.3 anc vacpp5.0 rajamp AIX 3 02-26-2004 07:41 AM


All times are GMT -5. The time now is 11:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration