You are not logged in.

#1 2016-12-23 13:38:54

ArchNoobYo
Member
Registered: 2016-12-07
Posts: 39

Installing firefox gtk2 [Solved]

Good morning all,

I'm trying to install firefox-gtk2 with pacaur and I'm failing towards the end. I had tried to download the clone with git and then use

 makepkg -si 

and that failed too so I'm a little baffled. I'm guessing this is something to do with dependencies but tbh I'm not sure where to start. I've run

 pacman -Syu 

to update my kernal stuffs so I will try again. Below is the last few lines when I tried to make.

" ERROR : A failure has occured in build().
Aborting...
: : failed to build firefox-gtk2 package (s)"

So this package has all these dependencies, so I'm wondering if there's a way to query against the firefox package to determine if I meet all the dependency requirements, or if I just need to query each dependency one by one to see if they're installed?

Many thanks.

Last edited by ArchNoobYo (2017-01-03 13:49:58)

Offline

#2 2016-12-23 13:41:33

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,644
Website

Re: Installing firefox gtk2 [Solved]

What is it actually failing on? Post the output.

Mod note: Moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-12-23 13:57:12

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,516
Website

Re: Installing firefox gtk2 [Solved]

ArchNoobYo wrote:

So this package has all these dependencies, so I'm wondering if there's a way to query against the firefox package to determine if I meet all the dependency requirements

This doesn't make any sense.  With the -s flag, makepkg installs dependencies.  That's it.

As noted above, we need to see the actual error.  Please use code tags, and please type carefully: `make -si` != `makepkg -si`.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2016-12-23 14:47:10

ArchNoobYo
Member
Registered: 2016-12-07
Posts: 39

Re: Installing firefox gtk2 [Solved]

Ok I will get the output. I had to re-run the command and output to .txt so it's taking a while. Actually it's possibly crashing right lol but will update as soon as I'm able. #1gB ram life

Last edited by ArchNoobYo (2016-12-23 14:48:43)

Offline

#5 2016-12-23 14:50:13

ArchNoobYo
Member
Registered: 2016-12-07
Posts: 39

Re: Installing firefox gtk2 [Solved]

Trilby wrote:
ArchNoobYo wrote:

So this package has all these dependencies, so I'm wondering if there's a way to query against the firefox package to determine if I meet all the dependency requirements

This doesn't make any sense.  With the -s flag, makepkg installs dependencies.  That's it.

As noted above, we need to see the actual error.  Please use code tags, and please type carefully: `make -si` != `makepkg -si`.

Sorry that was just a typo. I did use

 makepkg -si 

. Well I guess this isn't a dependency issue then. Currently trying to get an output to post . Thanks for the replies.

Last edited by ArchNoobYo (2016-12-23 14:52:09)

Offline

#6 2016-12-23 15:12:37

metak
Member
Registered: 2009-09-27
Posts: 199

Re: Installing firefox gtk2 [Solved]

You can also get a built package here if you want: http://repo.archlinuxcn.org/

Offline

#7 2016-12-24 21:10:20

ArchNoobYo
Member
Registered: 2016-12-07
Posts: 39

Re: Installing firefox gtk2 [Solved]

WorMzy wrote:

What is it actually failing on? Post the output.

Mod note: Moving to AUR Issues.

here is the output.

http://pastebin.com/2qu2awMZ

Offline

#8 2016-12-24 21:20:30

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,644
Website

Re: Installing firefox gtk2 [Solved]

virtual memory exhausted: Cannot allocate memory
virtual memory exhausted: Cannot allocate memory
make[5]: *** [/home/dan/.cache/pacaur/firefox-gtk2/src/firefox-50.0.2/config/rules.mk:936: Unified_cpp_dom_cellbroadcast0.o] Error 1
make[5]: Leaving directory '/home/dan/.cache/pacaur/firefox-gtk2/src/firefox-50.0.2/obj-x86_64-pc-linux-gnu/dom/cellbroadcast'
make[4]: *** [/home/dan/.cache/pacaur/firefox-gtk2/src/firefox-50.0.2/config/recurse.mk:71: dom/cellbroadcast/target] Error 2
make[4]: *** Waiting for unfinished jobs....

Looks like you don't have enough RAM.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#9 2016-12-24 22:40:55

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: Installing firefox gtk2 [Solved]

I don't think you'll be able to compile modern Firefox with 1GB of RAM. Since quite some time now Firefox uses what they call a "unified build system", where several files are merged into one big file which is then compiled. This speeds up the process a lot and allows the compiler to create more optimized binaries, but it requires way more memory than compiling each file individually. It used to be possible to turn off unified compilation, but that's not the case anymore. So if you can't add more RAM to your machine, your only option are prebuilt packages.

Offline

#10 2016-12-25 21:09:49

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Installing firefox gtk2 [Solved]

I build firefox myself, with 2GB RAM. And I still had to disable debug symbols and tests in my mozconfig, or else I eventually error out trying to link libxul.so with not enough memory. (And I still barely squeak by, I can't imagine trying that on half the memory!)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#11 2017-01-03 13:50:23

ArchNoobYo
Member
Registered: 2016-12-07
Posts: 39

Re: Installing firefox gtk2 [Solved]

WorMzy wrote:
virtual memory exhausted: Cannot allocate memory
virtual memory exhausted: Cannot allocate memory
make[5]: *** [/home/dan/.cache/pacaur/firefox-gtk2/src/firefox-50.0.2/config/rules.mk:936: Unified_cpp_dom_cellbroadcast0.o] Error 1
make[5]: Leaving directory '/home/dan/.cache/pacaur/firefox-gtk2/src/firefox-50.0.2/obj-x86_64-pc-linux-gnu/dom/cellbroadcast'
make[4]: *** [/home/dan/.cache/pacaur/firefox-gtk2/src/firefox-50.0.2/config/recurse.mk:71: dom/cellbroadcast/target] Error 2
make[4]: *** Waiting for unfinished jobs....

Looks like you don't have enough RAM.

Hey thanks, so simple yet I had no idea!

Thanks for the responses guys. I'll try opening her up to see if I can add another stick.

Last edited by ArchNoobYo (2017-01-03 13:51:30)

Offline

#12 2017-01-04 19:27:58

ArchNoobYo
Member
Registered: 2016-12-07
Posts: 39

Re: Installing firefox gtk2 [Solved]

Hey sorry to necro here. But I was talking with someone and they suggested that my RAM shouldn't be the issue. They suggested that things should spill over into swap and just take a lot longer. What do you think?

Offline

#13 2017-01-04 19:46:24

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: Installing firefox gtk2 [Solved]

Might work in theory, but in practice... don't go there. Seriously. You wouldn't believe how much slower a disk is compared to ram. We're talking hours of disk thrashing. Don't do that to the poor disk. And forget about using the machine while this is going down, it will be completely impossible. metak in post #6 gave you a link where you can get pre-compiled gtk2 firefox, just use that.

Offline

#14 2017-01-06 16:18:35

ArchNoobYo
Member
Registered: 2016-12-07
Posts: 39

Re: Installing firefox gtk2 [Solved]

Gusar wrote:

Might work in theory, but in practice... don't go there. Seriously. You wouldn't believe how much slower a disk is compared to ram. We're talking hours of disk thrashing. Don't do that to the poor disk. And forget about using the machine while this is going down, it will be completely impossible. metak in post #6 gave you a link where you can get pre-compiled gtk2 firefox, just use that.

Hey thanks for the help. I'm officionaly running the prebuilt package now smile

Offline

Board footer

Powered by FluxBB