MozillaZine

No firefox-config with 3.0 + ldap issues

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
jong357
 
Posts: 21
Joined: May 4th, 2004, 9:11 pm

Post Posted June 22nd, 2008, 11:24 pm

I'll try to keep this short.

1.) Building from source on linux gives no /usr/bin/firefox-config which results in a non-existent librsvg plugin when compiling librsvg-2.22.2.... 2.x always installed a firefox-config....

2.) I can't use --enable-ldap in my .mozconfig anymore like I always did with 2.x.... @TOPSRCDIR@/../<my-seperate-build-directory>/directory/c-sdk winds up completely empty except for an unpopulated ldap directory. Didn't get very far on debugging. The files just aren't moved into the build directory or aren't even present in the source. Dunno. No configure errors or anything. Just stops when it get's to that point complaining of no makefile and nothing to do... [tier_toolkit] Error 2 and your done... :evil:

I don't build a full fledged openldap. Just the client. Pretty much exactly the same as Slackware does. Never mattered with firefox 2.x... Don't know if that's an issue or not with 3.0...

Oi... Anyway. Any and all comments are greatly appreciated. Other than those 2 build issues, she runs really nice and I love the new look.

BTW, here is my .mozconfig if it matters any.

Code: Select all
mk_add_options MOZ_CO_PROJECT=browser
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../firefox-build

ac_add_options --prefix=/usr
ac_add_options --with-default-mozilla-five-home=/usr/lib/firefox
# I overide -O2 from /etc/bashrc
ac_add_options --enable-optimize=-O3
ac_add_options --with-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --enable-system-cairo
# No animated png support. Ditch it.
#ac_add_options --with-system-png
ac_add_options --enable-official-branding
ac_add_options --enable-canvas
ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --enable-application=browser
ac_add_options --disable-accessibility
ac_add_options --enable-svg
ac_add_options --disable-installer
ac_add_options --disable-updater
ac_add_options --disable-tests
ac_add_options --enable-strip
ac_add_options --enable-cpp-rtti
## I need to debug this. TBH, I'm a little stumped ATM.
## Maybe from a client-only ldap package... Used to work anyway.
#ac_add_options --enable-ldap


EDIT - It's doing the same thing with VLC.... No plugin... Not cool.

Configure reports
checking for FIREFOX... no
checking for mozilla-config... no
checking for seamonkey-config... no
checking for xulrunner-config... no
configure: error: Please install the Mozilla development tools, mozilla-config was not found.


config.log reports
configure:62430: checking for FIREFOX
configure:62438: $PKG_CONFIG --exists --print-errors "firefox-plugin"
Package firefox-plugin was not found in the pkg-config search path.
Perhaps you should add the directory containing `firefox-plugin.pc'
to the PKG_CONFIG_PATH environment variable
No package 'firefox-plugin' found
configure:62441: $? = 1
configure:62456: $PKG_CONFIG --exists --print-errors "firefox-plugin"
Package firefox-plugin was not found in the pkg-config search path.
Perhaps you should add the directory containing `firefox-plugin.pc'
to the PKG_CONFIG_PATH environment variable
No package 'firefox-plugin' found
configure:62459: $? = 1
No package 'firefox-plugin' found
configure:62487: result: no
configure:62492: checking for mozilla-config
configure:62523: result: no
configure:62535: checking for seamonkey-config
configure:62566: result: no
configure:62578: checking for xulrunner-config
configure:62609: result: no
configure:62619: error: Please install the Mozilla development tools, mozilla-config was not found.


Open Office apparently does the same thing according to Gentoo bugzilla... This really needs to be resolved on the firefox side...... Looks like NO external plugins are compatable with FF3... Atleast that I'm aware of. Totem will probably do the same thing...

jong357
 
Posts: 21
Joined: May 4th, 2004, 9:11 pm

Post Posted June 23rd, 2008, 11:07 am

I just checked Rawhide and they do this in their spec file:

Code: Select all
%{__rm} -f $RPM_BUILD_ROOT/%{mozappdir}/firefox-config


That's frustrating. I don't know why I'm not getting a firefox-config but Fedora does.

Also, I noticed that NetBSD adds a bunch of .pc files, firefox-plugin.pc being one of them.....

Code: Select all
[root@jaguar /tmp/firefox-build] find . -type f -name "firefox-plugin.pc" -exec ls {} ';'
[root@jaguar /tmp/firefox-build] cd ../mozilla/
[root@jaguar /tmp/mozilla] find . -type f -name "firefox-plugin.pc" -exec ls {} ';'
[root@jaguar /tmp/mozilla] find . -type f -name "firefox-config" -exec ls {} ';'
[root@jaguar /tmp/mozilla] cd ../firefox-build/
[root@jaguar /tmp/firefox-build] find . -type f -name "firefox-config" -exec ls {} ';'

jong357
 
Posts: 21
Joined: May 4th, 2004, 9:11 pm

Post Posted June 23rd, 2008, 11:19 am

I just found mozilla-config.in in the source tree. I also have a mozilla-config.h in my build tree. Going to try and build directly in @TOPSRCDIR@ and see what happens. Looks like that what Fedora does...

jong357
 
Posts: 21
Joined: May 4th, 2004, 9:11 pm

Post Posted June 23rd, 2008, 7:02 pm

Well, I'm kinda stuck at this point. Hopefully there are some mozilla devs that pop in here from time to time who can verify whether or not firefox-config or .pc files are supposed to get installed with 3.0...... Not too concerned with mozldap ATM....

Thanks again everyone.

jong357
 
Posts: 21
Joined: May 4th, 2004, 9:11 pm

Post Posted June 25th, 2008, 1:15 pm

xulrunner seems to be the solution. This is what happens when you don't subscribe to mailing lists and/or keep up with development in general.... You can build it as part of firefox or go with the standalone package before building firefox. I'm in the midst of finding out which is more robust. Probably the latter. Tis a shame I'll have double the bloat on my system now but that's progress I suppose.

Thanks for allowing me to talk to myself here.... ;) I'll work on the ldap issue at a later date.

Return to Third Party/Unofficial Builds


Who is online

Users browsing this forum: Bing [Bot] and 1 guest