How to make khtml2png work?

Under CentOS + Apache, download the khtml2png-2.0.6.tar.gz but dun know what to do next...

tried ./configure --prefix=/usr/local

but it said "rm: cannot remove ..." x 4 and
"./configure: line 2: cmake: command not found"
"./configure: line 3: cmake: command not found"
then END.

What can I do next, and the complete steps? I'm new to Linux so please help even if this is a stupid Q, thx!
adidazAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

hernst42Commented:
Install the cmake package via your package managment tool
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hernst42Commented:
0
Richard DavisSenior Web DeveloperCommented:
I hope that you don't find this as rude as it's meant to be helpful advise, but this question hardly relates to "PHP and Databases" as the topic describes. This question would be one more appropriate for either the 'Linux' topic area or even the 'Apache' area under Web Servers.

As for your problem, it would appear that you don't have cmake installed on your system. Perhaps go and install the rpm of cmake. I don't know Linux that well, so as to exactly how to do that, I don't quite know, but that at least is the reason for the cmake issue in your configure responses.

~AB~
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.