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 |
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. |
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.
|
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 |
You don't have to reboot just because your changed your PATH or modified your .profile. You can simply re-source your .profile.
|
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:
|
All times are GMT -5. The time now is 06:56 PM. |