New Linux-Bench request: Firefox Compile time

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Chuckleb

Moderator
Mar 5, 2013
1,017
331
83
Minnesota
*grumble* *grumble* apt-get install didn't install the additional packages? Due to path perhaps?

Ok, I just updated the script. Can you pull and rerun @Patrick ?
 

Chuckleb

Moderator
Mar 5, 2013
1,017
331
83
Minnesota
Even though I'm a CentOS guy, can we assume, for dev purposes, that it's Ubuntu LiveCD? I'll start to build out full toolchain version, not in the mood to dev on multiple ;0
 

Patrick

Administrator
Staff member
Dec 21, 2010
12,516
5,811
113
I am on a Ubuntu LiveCD also in a Hyper-V VM:
Code:
configure:17631: 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
configure: error: Library requirements (gtk+-2.0 >= 2.18.0 gtk+-unix-print-2.0 glib-2.0 >= 2.22 gobject-2.0 gdk-x11-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
make: *** No targets specified and no makefile found.  Stop.
 

Chuckleb

Moderator
Mar 5, 2013
1,017
331
83
Minnesota
So the revised script doesn't work? Can you do this by hand?

Code:
apt-get install python gtk+-2.0 dbus yasm libasound2-dev libxt-dev zip
Then run the script?
 

Patrick

Administrator
Staff member
Dec 21, 2010
12,516
5,811
113
Seems like that is doing something...

grrr spoke too soon
Code:
configure:17587: checking for pkg-config
configure:17631: 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
configure: error: Library requirements (gtk+-2.0 >= 2.18.0 gtk+-unix-print-2.0 glib-2.0 >= 2.22 gobject-2.0 gdk-x11-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
make: *** No targets specified and no makefile found.  Stop.
 

Chuckleb

Moderator
Mar 5, 2013
1,017
331
83
Minnesota
Looks like I will have to get my test bench up later today. Grr. I may just burn it as a docker so you can test too.
 

Chuckleb

Moderator
Mar 5, 2013
1,017
331
83
Minnesota
Ok, finding that we can't build this in LiveCD easily, the default volume is pretty small (2GB) so can't get much to compile. We're going the Docker route.

TESTERS WANTED

Code:
docker run chuckleb/sthdev
I don't have it recording output so I guess just cut/paste build time and we can see how it looks. I added the threads detect so it'll use all cores/HT that you have defined. It's not running out of ramdisk yet, will need to add checks for that later. Ubuntu and CentOS use different paths (as do others I assume)
 

Patrick

Administrator
Staff member
Dec 21, 2010
12,516
5,811
113
Hmmm - this is what I am getting:

Code:
ubuntu@ubuntu:~$ sudo docker run chuckleb/sthdev
Unable to find image 'chuckleb/sthdev:latest' locally
latest: Pulling from chuckleb/sthdev
d3a1f33e8a5a: Pull complete
c22013c84729: Pull complete
d74508fb6632: Pull complete
91e54dfb1179: Pull complete
5de558732e31: Pull complete
19cde6d63b07: Pull complete
6a7725e11d03: Pull complete
c0aa18e14892: Pull complete
0b3d1089e3fc: Pull complete
4e08d93e2ac3: Pull complete
93c029b0d3ab: Pull complete
a4bf1ab01ef8: Already exists
Digest: sha256:180b0f06764a404f6f05fd79b6e45bb013654f3f505b43bdcd840894dd11c5bb
Status: Downloaded newer image for chuckleb/sthdev:latest
permission denied
Error response from daemon: Cannot start container ece975402fdccac36d7185ff0963bdbcd2ae360021c9aa0d7fb04a43393031f8: [8] System error: permission denied
 

Patrick

Administrator
Staff member
Dec 21, 2010
12,516
5,811
113
I think this is a docker on LiveCD issue. It seems to be working on a full install.
 
Last edited:

Chuckleb

Moderator
Mar 5, 2013
1,017
331
83
Minnesota
I agree. I can't even get the basic test to work, I'll have to investigate running Docker out of LiveCD.

Code:
root@ubuntu:~# docker run hello-world
permission denied
Error response from daemon: Cannot start container f0f80e169226fa30de85a8ce530e94fd86d237f3ff9ce22fd9a4ba48717394dc: [8] System error: permission denied
root@ubuntu:~#
I think this is a docker on LiveCD issue. It seems to be working on a full install.