LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   modifying Chromium slackbuild script to build newer release? (http://www.linuxquestions.org/questions/slackware-14/modifying-chromium-slackbuild-script-to-build-newer-release-935726/)

Cultist 03-21-2012 01:10 PM

modifying Chromium slackbuild script to build newer release?
 
The newest Slackbuild script I can find for the Chromium browser is for a 15.x version on slackbuilds.org. I built it (in sbopkg) and it compiled and installed fine. Using it right now, in fact.

But 15 is over 6 months old so I thought I'd build a newer version. I downloaded the latest build (19.something) and manually downloaded the same slackbuild script used for 15. I modified the version line but I wasn't sure about anything else that needed to be modified. Running the slackbuild script seems to work fine at first. But about 45 minutes into the compilation process, it quits with this error:

Code:

out/Release/../../third_party/gold/gold64: out/Release/obj.target/net/third_party/nss/libssl.a(out/Release/obj.target/net/third_party/nss/../../../libssl/net/third_party/nss/ssl/ssl3con.o): in function ssl3_HandleHandshakeMessage:ssl3con.c(.text.ssl3_HandleHandshakeMessage+0x1f60): error: undefined reference to 'PORT_ArenaAlloc_Util'
out/Release/../../third_party/gold/gold64: out/Release/obj.target/net/third_party/nss/libssl.a(out/Release/obj.target/net/third_party/nss/../../../libssl/net/third_party/nss/ssl/ssl3con.o): in function ssl3_HandleHandshakeMessage:ssl3con.c(.text.ssl3_HandleHandshakeMessage+0x2396): error: undefined reference to 'PORT_ArenaAlloc_Util'
out/Release/../../third_party/gold/gold64: out/Release/obj.target/chrome/libbrowser.a(out/Release/obj.target/chrome/../browser/chrome/third_party/mozilla_security_manager/nsNSSCertHelper.o): in function (anonymous namespace)::RegisterDynamicOid(char const*):nsNSSCertHelper.cpp(.text._ZN12_GLOBAL__N_118RegisterDynamicOidEPKc+0x48): error: undefined reference to 'SEC_StringToOID'
collect2: ld returned 1 exit status
make: *** [out/Release/chrome] Error 1

I don't really know what this is telling me. Considering that version 15.x compiles and installs just fine I don't think there's a library incompatibility. Running Slackware64 -current with all updates installed. Any ideas on how to fix this? Or can anyone point me to a script that will work for 19.x?

Thanks

kr4ey 03-21-2012 07:07 PM

Here is one for 19.0.1039.0 The script is in the src folder.

http://repository.slacky.eu/slackwar...m/19.0.1039.0/

EDIT: This version won't build on Slackware64 try a earlier version and edit the SlackBluild accordingly.
I did get 19.0.1035.0 to work

Cultist 03-22-2012 08:40 AM

19.0.1035.0 will do perfectly. Thanks, I didn't even think to look on Slacky.


All times are GMT -5. The time now is 01:17 AM.