LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 04-05-2001, 09:18 PM   #1
ehsan
LQ Newbie
 
Registered: Mar 2001
Location: St. Louis
Posts: 17

Rep: Reputation: 0
Angry


I just installed gcc which I downloaded from solarisfreeware.com. I am trying to install mySql on my sun box. but when I run ./configure computer return not found.

Thank You
 
Old 12-17-2002, 09:02 AM   #2
sean_pereira
LQ Newbie
 
Registered: Mar 2002
Location: Perth, WA
Distribution: Gentoo, ubuntu, BeatrIX, Knoppix, RedHat <= 9, Solaris 8
Posts: 17

Rep: Reputation: 0
I suggest you copy the mysql-3.23.43-pkg.zip to a temporary folder like /opt/mysql. Then cd to /opt/mysql and run this command.

unzip *.zip - it will give you a Solaris pkg file like SFxxxx

Next
pkgadd -d /opt/mysql/SFxxx

Follow the prompts thereafter.
 
Old 12-17-2002, 09:12 AM   #3
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Is the "not found" error for gcc or configure? If the error is for gcc, then make sure that /usr/local/bin is in your PATH. This is where gcc from Sunfreeware installs. It might be easier for you to just install mysql from a package using pkgadd.
 
Old 12-21-2002, 03:11 AM   #4
sridhar11
Member
 
Registered: Dec 2002
Location: us
Posts: 108
Blog Entries: 321

Rep: Reputation: 15
You have to add path in .profile file as bello

PATH=/usr/local/bin:$PATH
export PATH

After that you reboot definitely it will work
 
Old 12-21-2002, 09:52 AM   #5
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
You don't have to reboot just because your changed your PATH or modified your .profile. You can simply re-source your .profile.
 
Old 01-08-2003, 12:18 PM   #6
dimes
LQ Newbie
 
Registered: Jan 2003
Posts: 1

Rep: Reputation: 0
FYI:

sourceing for different shells;

sh/ksh/bash:

. <path_to_envfile>

thats 'dot space path_to_env_file' where your env file is either .profile, .kshrc, or .bashrc(or .bash_profile)

csh/tcsh:

source <path_to_env_file>

thats 'source path_to_env_file' where your env file is either .cshrc or .tcshrc

all the above env files would normaly be found in your home directory for your user.

examples:

. /export/home/bob/.profile

source /home/jane/.cshrc

Lastly, logging your user out and back in will achieve the same results.



Quote:
Originally posted by stickman
You don't have to reboot just because your changed your PATH or modified your .profile. You can simply re-source your .profile.
 
  


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
How to configure network with solaris? subaruwrx Solaris / OpenSolaris 33 03-16-2007 05:33 PM
copimle gcc on solaris ines Solaris / OpenSolaris 2 07-31-2005 07:08 PM
compile gcc on solaris ines Solaris / OpenSolaris 7 05-02-2005 09:58 AM
Compiling a program with gcc on Solaris (I think) phekno Programming 2 09-15-2004 01:39 PM
gcc on Solaris g_goblin Solaris / OpenSolaris 7 10-30-2003 12:09 PM


All times are GMT -5. The time now is 08:56 AM.

Main Menu
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