LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 09-25-2012, 11:55 PM   #1
mister_sai
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Rep: Reputation: Disabled
Need help (badly) on installing Spark on CentOS6.3


Hi

Need help on installing Spark on my CentOS6.3 desktop. Already tried searching for steps but still no go.

I tried the steps here http://community.igniterealtime.org/.../196969#196969 but nothing happens.

Am I missing some steps here... Please help... Complete noob here...
 
Old 09-26-2012, 12:14 AM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Philly, PA
Distribution: Kubuntu x64, RHEL, Fedora Core, FreeBSD, Windows x64
Posts: 1,509
Blog Entries: 35

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Spark comes prepackaged with Java.

There is an RPM package available for download. Why are you not using that?

What steps have you actually taken specifically? Giving a link doesn't really tell what exactly you've tried. What error messages do you get when you run ./Spark?

Last edited by sag47; 09-26-2012 at 12:21 AM.
 
Old 09-26-2012, 12:17 AM   #3
mister_sai
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Here's what i get when i "java -varsion"

java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.4) (rhel-1.49.1.11.4.el6_3-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
 
Old 09-26-2012, 12:20 AM   #4
sag47
Senior Member
 
Registered: Sep 2009
Location: Philly, PA
Distribution: Kubuntu x64, RHEL, Fedora Core, FreeBSD, Windows x64
Posts: 1,509
Blog Entries: 35

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Please re-read my second post. I have edited it since you last posted likely.
 
Old 09-26-2012, 01:17 AM   #5
mister_sai
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
i already tried using the RPM version and i got this error :

Spark-2.6.3.12555-1.x86_64 requires libodbc.so
Spark-2.6.3.12555-1.x86_64 requires libodbcinst.so

i already tried this command : yum install libstdc++.so.5

and when I do ./Spark nothing happens, no error whatsoever. it just immediately goes to prompt again.
 
Old 09-26-2012, 05:29 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,284

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
Quote:
I already tried this command : yum install libstdc++.so.5
Not a valid command. No package is named libstdc++.so.5 . That's a file name.
Please use : yum provides */libstdc++.so.5
The reply is the package name : compat-libstdc++-33
# yum install compat-libstdc++-33


But why not install Spark with yum ?
# yum localinstall --nogpgcheck <path-to-spark>/spark-2.6.3.rpm
.... or whatever the Spark package name is.
I.e. yum will also install all the dependencies.

.
 
Old 09-26-2012, 05:48 AM   #7
mister_sai
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Not a valid command. No package is named libstdc++.so.5 . That's a file name.
Please use : yum provides */libstdc++.so.5
The reply is the package name : compat-libstdc++-33
# yum install compat-libstdc++-33


But why not install Spark with yum ?
# yum localinstall --nogpgcheck <path-to-spark>/spark-2.6.3.rpm
.... or whatever the Spark package name is.
I.e. yum will also install all the dependencies.

.
i just tried the "yum localinstall" and got this error :

Error: Package: Spark-2.6.3.12555-1.x86_64 (/spark-2.6.3)
Requires: libodbcinst.so
Error: Package: Spark-2.6.3.12555-1.x86_64 (/spark-2.6.3)
Requires: libodbc.so
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

i also tried using "--skip-broken" and it did complete the installation but nothing happened when I tried "./Spark", again no error just went to prompt again...
 
Old 09-26-2012, 05:54 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,284

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
The package is for a 64bits OS. ( x86_64 ).

May be your CentOS 6 is 32bits ? ( i686 ).

This command will tell : uname -m
 
Old 09-26-2012, 05:56 AM   #9
mister_sai
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
The package is for a 64bits OS. ( x86_64 ).

May be your CentOS 6 is 32bits ? ( i686 ).

This command will tell : uname -m
here's what i have :

[root@pc24 Spark]# uname -m
x86_64
[root@pc24 Spark]#

Thanks for helping me out!!!
 
Old 09-26-2012, 06:41 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,284

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
OK, there is an error in the Spark-2.6.3.12555-1.x86_64 install files.

This will do :
# yum install unixODBC.i686 alsa-lib.i686 libX11.i686 libXau.i686 \
libXext.i686 libXi.i686 libXp.i686 libXtst.i686 libxcb.i686

# rpm -Uvh --nodeps spark-2.6.3.rpm

$ spark : The "Spark GUI" will open.

.
 
1 members found this post helpful.
Old 09-26-2012, 09:19 PM   #11
mister_sai
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by knudfl View Post
OK, there is an error in the Spark-2.6.3.12555-1.x86_64 install files.

This will do :
# yum install unixODBC.i686 alsa-lib.i686 libX11.i686 libXau.i686 \
libXext.i686 libXi.i686 libXp.i686 libXtst.i686 libxcb.i686

# rpm -Uvh --nodeps spark-2.6.3.rpm

$ spark : The "Spark GUI" will open.

.
it's working now!!! THANKS A BUNCH!!!!!!

one last thing... when I close the terminal, Spark also closes... is it suppose to do that?

Last edited by mister_sai; 09-26-2012 at 09:30 PM.
 
Old 09-26-2012, 09:51 PM   #12
mister_sai
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
one last thing... when I close the terminal, Spark also closes... is it suppose to do that?
 
Old 09-26-2012, 11:55 PM   #13
sag47
Senior Member
 
Registered: Sep 2009
Location: Philly, PA
Distribution: Kubuntu x64, RHEL, Fedora Core, FreeBSD, Windows x64
Posts: 1,509
Blog Entries: 35

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
That sometimes happens if an application doesn't properly handle that (in fact most applications are like that). You could create a .desktop shortcut add spark to $PATH and launch it from the launcher (Alt+F2) if you didn't want to launch it from a terminal. Your file manager might even be set up to launch it when you open the Spark script.
 
1 members found this post helpful.
Old 09-27-2012, 12:02 AM   #14
mister_sai
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by sag47 View Post
That sometimes happens if an application doesn't properly handle that (in fact most applications are like that). You could create a .desktop shortcut add spark to $PATH and launch it from the launcher (Alt+F2) if you didn't want to launch it from a terminal. Your file manager might even be set up to launch it when you open the Spark script.
WoW thanks! I forgot all about the "create Launcher" option... Thanks again!
 
Old 09-27-2012, 01:11 AM   #15
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,634
Blog Entries: 29

Rep: Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900
Or if you are using KDE, you can add Spark to your "start menu" by right
clicking the start menu and clicking "add items".
 
1 members found this post helpful.
  


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
Installing Centos6.3-minimal on RAID 1 chen.yo Linux - Server 2 09-09-2012 04:22 AM
Installing Broadcom Wlan drivers in Centos6 tarunchawla Linux - Hardware 7 05-10-2012 10:10 AM
[SOLVED] Installing softwares /update methods in centos6 tarunchawla Red Hat 4 05-08-2012 04:45 AM
Installing vlc rpm file in centos6 tarunchawla Red Hat 1 05-08-2012 03:15 AM
LXer: on the economics of Spark LXer Syndicated Linux News 0 02-21-2012 04:11 AM


All times are GMT -5. The time now is 01:03 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration