LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-22-2018, 02:50 PM   #1
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys for decades while testing others to keep up
Posts: 1,975

Rep: Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867
Need Help compiling new Firefox with --enable-alsa


Greetings

I am trying to compile Firefox source for either v57 or v58 and I have fixed many dependency-based ./configure failures but now I'm stuck.

This is the errors I now get

Code:
 ### ./configure --enable-alsa --disable-pulseaudio ###
..........
checking for gconf-2.0 >= 1.2.1 gobject-2.0 ... configure: error: * * * Could not find gconf-2.0 
DEBUG: <truncated - see config.log for full output>
DEBUG: #line 9513 "configure"
DEBUG: #include "confdefs.h"
DEBUG: #include <malloc.h>
DEBUG:                   #include <stddef.h>
DEBUG:                   size_t malloc_usable_size(const void *ptr);
DEBUG: int main() {
DEBUG: return malloc_usable_size(0);
DEBUG: ; return 0; }
DEBUG: configure:9544: checking for valloc in malloc.h
DEBUG: configure:9569: checking for valloc in unistd.h
DEBUG: configure:9724: checking NSPR selection
DEBUG: configure:10853: checking if app-specific confvars.sh exists
DEBUG: configure:12038: checking for gtk+-3.0 >= 3.4.0 gtk+-unix-print-3.0 glib-2.0 gobject-2.0
DEBUG: configure:12045: checking MOZ_GTK3_CFLAGS
DEBUG: configure:12050: checking MOZ_GTK3_LIBS
DEBUG: configure:12124: checking for gtk+-2.0 >= 2.18.0 gtk+-unix-print-2.0 glib-2.0 >= 2.22 gobject-2.0 gdk-x11-2.0
DEBUG: configure:12131: checking MOZ_GTK2_CFLAGS
DEBUG: configure:12136: checking MOZ_GTK2_LIBS
DEBUG: configure:12962: checking for gconf-2.0 >= 1.2.1 gobject-2.0
DEBUG: configure: error: * * * Could not find gconf-2.0
ERROR: old-configure failed
I did "dpkg -l | grep gconf" as root and got

Code:
 # dpkg -l | grep gconf
ii  gconf-service                                 3.2.6-4+b1                          amd64        GNOME configuration database system (D-Bus service)
ii  gconf2-common                                 3.2.6-4                             all          GNOME configuration database system (common files)
ii  gir1.2-gconf-2.0                              3.2.6-4+b1                          amd64        GNOME configuration database system (GObject-Introspection)
ii  gpgconf                                       2.2.4-1                             amd64        GNU privacy guard - core configuration utilities
ii  libgconf-2-4:amd64                            3.2.6-4+b1                          amd64        GNOME configuration database system (shared libraries)
What am I missing?
 
Old 01-22-2018, 10:11 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Manjaro
Posts: 8,914
Blog Entries: 14

Rep: Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085
After reading this thread:

https://ubuntuforums.org/showthread.php?t=1305310

Maybe you are missing python-gconf and gconf-cleaner? <guessing>

https://packages.debian.org/search?k...s=python-gconf
https://packages.debian.org/search?keywords=gconf

The problem is configure can't find gconf which doesn't make sense because dpkg confirms it's installed.

Maybe try looking in the Debian Forum if you have the time.
http://forums.debian.net/index.php

Last edited by Ztcoracat; 01-22-2018 at 10:17 PM.
 
Old 01-23-2018, 12:28 AM   #3
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 556

Rep: Reputation: 127Reputation: 127
The --enable-alsa parameter was removed in ff 54. It's pulseaudio or no-audio whether we like it or not. If you still want alsa, stick to firefox-esr.

And the worst thing is it was not written in any changelog! Here is a bug report from arch, where the maintainer states that he built ff with --enable-alsa until until ff 54.
https://bugs.archlinux.org/task/53195#comment155941

Last edited by jim_p; 01-23-2018 at 12:33 AM.
 
Old 01-23-2018, 07:52 AM   #4
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys for decades while testing others to keep up
Posts: 1,975

Original Poster
Rep: Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867
Thank you Ztcoracat, I will check that out. Thank you also, jim p but i don't think that's quite accurate. The ALSA support code is still in there, just disabled, or more accurately "deferred", by default. There is now a github selection possible for both v56 and v57 with ALSA enabled and Pulse disabled. Even though it is github I rarely just blindly install what amounts to a blob like that on my main so I have tried it on a secondary box and other than renaming Firefox to Nightly (easily altered in about:config but not needed) so far no issues and it definitely works with just ALSA. You can check it out here ====>>>>

--- Monsterovich GitHub Firefox-fuckPA ---

though I'd still prefer to compile my own so I will continue to work on this. With all the growing disdain for ALSA but with no workable alternative (Pulseaudio can't do ALSA's job, just direct it) something has to give. Nature abhors a vacuum, right?

Last edited by enorbet; 01-25-2018 at 04:24 PM.
 
Old 01-23-2018, 01:14 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Manjaro
Posts: 8,914
Blog Entries: 14

Rep: Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085
You're Welcome-
 
Old 01-23-2018, 03:19 PM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro / Parrot
Posts: 7,181

Rep: Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439
don't know if this is still valid, don't see why not, it's worth a look see.

Firefox and ALSA sound without pulseaudio

Last edited by BW-userx; 01-23-2018 at 03:20 PM.
 
Old 01-25-2018, 03:50 PM   #7
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys for decades while testing others to keep up
Posts: 1,975

Original Poster
Rep: Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867Reputation: 1867
I hate to fallback on "the shotgun method" but that's what I had to do for the gconf dependency problem. I just upgraded to Buster and installed almost everything gconf, and replaced "pkg-config" with "pkgconf" and got past that obstacle. There were several more but they responded with just an install or two until finally ./configure completed without error.

Make is taking awhile. I'm typing this while it chugs along. I don't want to replace Firefox-ESR just yet as I want a fallback so I am yet undecided how to install it. In Slackware, at least with the blobs, I just untar them and copy to "/usr/lib64/firefox-version" and then create symlinks. I may try that after "make" as i don't want to "make install" and find myself unable to remove it it is unsatisfactory and I don't want to create a .deb package for fear it will replace ESR, so I'm still just following my nose and trying to be safe. I'll report back for any interested in rolling their own FF with ALSA support.

UPDATE: make failed with this error


Code:
 recipe for target 'force-cargo-library-build' failed
make[3]: *** [force-cargo-library-build] Error 101
so now I need to research why that failed and if forcing cargo is required or mot.

Last edited by enorbet; 01-25-2018 at 04:00 PM.
 
Old 07-16-2018, 05:49 PM   #8
jamtat
Member
 
Registered: Oct 2004
Distribution: Debian/Ubuntu, Arch, Gentoo, Void
Posts: 109

Rep: Reputation: 22
Building Firefox for ALSA (non PulseAudio) Sound: http://shallowsky.com/blog/tags/linux/
 
Old 07-17-2018, 09:18 AM   #9
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,150
Blog Entries: 5

Rep: Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201
Quote:
Originally Posted by enorbet View Post
Code:
DEBUG: configure: error: * * * Could not find gconf-2.0
ERROR: old-configure failed
One thing that jumped out at me, was that you did not seem to have libgconf2-dev installed. It's missing dev files which will usually generate these compiler errors rather than missing binary packages.

You can also disable gconf support via the mozconfig

//edit: Last error seems more like a compiler problem. You may need to build a newer rust... good luck...

Last edited by cynwulf; 07-17-2018 at 09:45 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
[SOLVED] Enable mic in Skype. Using Alsa sound. Please help. disco_slack Slackware 5 05-23-2011 03:43 PM
Mandriva: how to disable pulseaudio and enable Alsa veezee Linux - Hardware 5 09-16-2009 09:21 AM
not able to enable record function in alsa mixer in Ubuntu 8.1 ilovepenguinstoo Linux - Newbie 0 11-19-2008 07:34 PM
ALSA - how to enable Synth devices to play Midi phleva Linux - General 2 04-28-2006 11:28 AM
how do i enable 4CH sound with cm8738 with ALSA on slack9.1 hypermegachi Linux - Hardware 2 10-29-2003 05:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:36 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration