To get the task done, I used the listed steps (along with urls)
Steps followed
http://www.wallpaperama.com/forums/how-to-check-and-verify-imagemagick-installed-t6700.html- rpm -q ImageMagick
http://www.wallpaperama.com/forums/how-to-install-imagemagick-installing-imagemagick-package-t6701.html- yum install ImageMagick
imagemagick installed, now trying ghostscript
http://unixnewbie.org/blog/?p=30cd /usr/local/src/
wget
http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs863/ghostscript-8.63.tar.gztar zxf ghostscript-8.63.tar.gz
cd ghostscript-8.63
./configure
make
make install
-- problem --
[root@server ghostscript-8.63]# ./configure
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
http://www.linuxquestions.org/questions/linux-distributions-5/no-acceptable-c-compiler-found-in-path-...i-cant-make.-237970/echo $PATH
output : /usr/kerberos/sbin:/usr/ke
rberos/bin
://sbin://
bin:/usr/l
ocal/sbin:
/usr/local
/bin:/sbin
:/bin:/usr
/sbin:/usr
/bin:/root
/bin
updatedb
-- problem --
[root@server ghostscript-8.63]# updatedb
-bash: updatedb: command not found
find / -name gcc
output : /usr/libexec/gcc
http://ubuntuforums.org/archive/index.php/t-29118.htmlupdate path ???
http://www.linuxheadquarters.com/howto/basic/path.shtmlthis is for current login - need more permanent solution
http://www.codecoffee.com/tipsforlinux/articles/11.html(view) cat .bash_profile
(edit) vi .bash_profile
(view changes) cat bash_profile
run the script
. /root/.bash_profile
check path
echo $PATH
Output : /usr/kerberos/sbin:/usr/ke
rberos/bin
://sbin://
bin:/usr/l
ocal/sbin:
/usr/local
/bin:/sbin
:/bin:/usr
/sbin:/usr
/bin:/root
/bin:/root
/bin:/usr/
libexec/gc
c
now trying ghostscript install
[root@server ghostscript-8.63]# ./configure
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
-- problem --
path updated but still does not find compiler - why ???
I searched about this but could not figure out what am i missing. I am a newbie on linux, please provide detailed answer if possible.
Start Free Trial