Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-04-2008, 10:13 AM
|
#1
|
Member
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423
Rep:
|
Build Chrome on Slackware-current fail--No package 'nss' found
When I try to build Google Chrome on slackware-current, it fail on seeking package 'nss':
Code:
grissiom@gri:/usr/local/src/chromium/src/chrome$ ../third_party/scons/scons.py Hammer
scons: Reading SConscript files ...
Package nss was not found in the pkg-config search path.
Perhaps you should add the directory containing `nss.pc'
to the PKG_CONFIG_PATH environment variable
No package 'nss' found
OSError: 'pkg-config --cflags --libs nss' exited 1:
File "/usr/local/src/chromium/src/chrome/SConstruct", line 7:
exports=['build_component'])
File "/usr/local/src/chromium/src/third_party/scons/scons-local-0.98.3/SCons/Script/SConscript.py", line 596:
return apply(method, args, kw)
File "/usr/local/src/chromium/src/third_party/scons/scons-local-0.98.3/SCons/Script/SConscript.py", line 533:
return apply(_SConscript, [self.fs,] + files, subst_kw)
File "/usr/local/src/chromium/src/third_party/scons/scons-local-0.98.3/SCons/Script/SConscript.py", line 256:
exec _file_ in call_stack[-1].globals
File "/usr/local/src/chromium/src/build/SConscript.main", line 371:
env.ParseConfig('pkg-config --cflags --libs nss')
File "/usr/local/src/chromium/src/third_party/scons/scons-local-0.98.3/SCons/Environment.py", line 1371:
return function(self, self.backtick(command))
File "/usr/local/src/chromium/src/third_party/scons/scons-local-0.98.3/SCons/Environment.py", line 549:
raise OSError("'%s' exited %d" % (command, status))
I did some search on slackbuilds.org and packages.slackware.it but hardly to find any package meets the demand. The mozilla-firefox-3.0.1-i686-1 package contain usr/lib/firefox-3.0.1/libnss3.so but could not reslove the problem. Does anyone have any idea? Thanks in advance
|
|
|
09-04-2008, 10:27 AM
|
#2
|
Senior Member
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541
Rep:
|
Chrome doesn't work on Linux.At most it will build some modules and check them.
|
|
|
09-04-2008, 10:37 AM
|
#3
|
Member
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423
Original Poster
Rep:
|
Quote:
Originally Posted by crashmeister
Chrome doesn't work on Linux.At most it will build some modules and check them.
|
Hmm,,,,sad news....;(
|
|
|
09-04-2008, 11:23 AM
|
#4
|
Member
Registered: Jun 2004
Location: USA
Distribution: Slackware
Posts: 137
Rep:
|
actually...
actually, they have 'released' Chrome for linux:
arstechnica.com
or go right to the source:
Chromium
As for building it, I haven't tried yet. I'll check back if/when I do.
|
|
|
09-04-2008, 11:47 AM
|
#5
|
Senior Member
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541
Rep:
|
Quoting the build instructions:
Note: There is no working Chromium-based browser on Linux. Although many Chromium submodules build under Linux and a few unit tests pass, all that runs is a command-line "all tests pass" executable.
It's in a big red box on top of the page.
|
|
|
09-04-2008, 12:01 PM
|
#6
|
Member
Registered: Jan 2007
Distribution: Slackware
Posts: 341
Rep:
|
1. Take the build files from here
2. Replace nss-3.11.4-with-nspr-4.6.4.tar.gz with nss-3.12-with-nspr-4.7.tar.gzfrom here
3. Modify mozilla-nss.SlackBuild:
Code:
(...)
VERSION=${VERSION:-3.12}
(...)
NSPR=4.7
(...)
4. Build the package
5. Install the package
6. Rename /usr/lib/pkgconfig/mozilla-nss.pc to /usr/lib/pkgconfig/nss.pc -- I forgot when exactly is needed this step, I think right before run
Code:
$ ../third_party/scons/scons.py Hammer
There is no functional build for Linux.
|
|
|
09-04-2008, 10:17 PM
|
#7
|
Member
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423
Original Poster
Rep:
|
Thanks Road_map, your post rocks~ But just as crashmeister said, There is no working Chromium-based browser on Linux. Chrome won't build on my box due to a v8 compile error... (src version 1754) Is Google truely Linux-friendly?
|
|
|
09-04-2008, 10:53 PM
|
#8
|
Guru
Registered: Mar 2004
Location: Canada
Distribution: Slackware, Void
Posts: 7,413
|
I'm very-much looking forward to a Linux version of Chrome.....heh....I don't do Winders.
|
|
|
09-05-2008, 10:09 AM
|
#9
|
Member
Registered: Jan 2007
Distribution: Slackware
Posts: 341
Rep:
|
Quote:
Originally Posted by grissiom
Chrome won't build on my box due to a v8 compile error... (src version 1754)
|
After Build Instructions (Linux):
Code:
$mkdir ~/chromium
$ cd chromium
$ svn co http://src.chromium.org/svn/trunk/depot_tools/linux depot_tools
$ export LANG=C
$ ./depot_tools/gclient config http://src.chromium.org/svn/trunk/src
$ ./depot_tools/gclient sync
$ cd chromium/src/chrome
$ ../third_party/scons/scons.py Hammer
And the result is
Quote:
scons: done building targets.
|
Then, there are 2 tests (in ~/chromium/src/chrome/Hammer):
Code:
$ ./base_unittests
$ ./net_unittests
That is all, till now:
Quote:
[----------] Global test environment tear-down
[==========] 188 tests from 40 test cases ran.
[ PASSED ] 188 tests.
...
[----------] Global test environment tear-down
[==========] 174 tests from 17 test cases ran.
[ PASSED ] 174 tests.
|
|
|
|
09-05-2008, 09:10 PM
|
#10
|
Member
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423
Original Poster
Rep:
|
Quote:
Originally Posted by Road_map
After Build Instructions (Linux):
Code:
$mkdir ~/chromium
$ cd chromium
$ svn co http://src.chromium.org/svn/trunk/depot_tools/linux depot_tools
$ export LANG=C
$ ./depot_tools/gclient config http://src.chromium.org/svn/trunk/src
$ ./depot_tools/gclient sync
$ cd chromium/src/chrome
$ ../third_party/scons/scons.py Hammer
And the result is
Then, there are 2 tests (in ~/chromium/src/chrome/Hammer):
Code:
$ ./base_unittests
$ ./net_unittests
That is all, till now:
|
Hmm, that sounds exciting~ Is there only unittests but not chrome binary?
|
|
|
09-05-2008, 10:01 PM
|
#11
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
Quote:
Is Google truely Linux-friendly?
|
This is the very first public release of a BETA product. It isn't surprising that they have only targeted the largest userbase for the test so they can collect the most amount of feedback possible (while targeting only one platform for the sake of simplicity).
Once the codebase is refined, the OS X and Linux specific changes will be put in and official versions of Chrome for those platforms can be released. As it is, we can clearly see that their codebase was at least designed from the start to be portable and Unix-compatible; which is already more than a lot of other developers are willing to go. Google is investing heavily in Linux (I.E. Android) and they are certainly progressing with an eye towards multiplatform applications.
|
|
|
09-06-2008, 12:26 AM
|
#12
|
Member
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423
Original Poster
Rep:
|
Quote:
Originally Posted by MS3FGX
This is the very first public release of a BETA product. It isn't surprising that they have only targeted the largest userbase for the test so they can collect the most amount of feedback possible (while targeting only one platform for the sake of simplicity).
Once the codebase is refined, the OS X and Linux specific changes will be put in and official versions of Chrome for those platforms can be released. As it is, we can clearly see that their codebase was at least designed from the start to be portable and Unix-compatible; which is already more than a lot of other developers are willing to go. Google is investing heavily in Linux (I.E. Android) and they are certainly progressing with an eye towards multiplatform applications.
|
Yes, you said the truth. Maybe I'm too hasted
|
|
|
09-06-2008, 04:43 AM
|
#13
|
Senior Member
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541
Rep:
|
|
|
|
All times are GMT -5. The time now is 12:09 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|