Tech Thought

Tech tips, hints, and general musings. PHP, Perl, Mysql, Javascript, AJAX, JSON, Linux, Mac OSX

Entries for June 20th, 2008

How-To Fix: make: yacc: Command not found

I have been getting the following error when trying to compile monit for my CentOS server: make: *** [y.tab.c] Error 127 To resolve it, I simply installed bison: yum install bison Then run configure again: ./configure make && make install And that fixed the problem!  Hope that helps someone.

Comments (1)

Handy RPM Search Utility – rpm.pbone.net

If you are looking for an easy way to find RPMs for your favourite linux distribution, there are many options out there.  However none seem to have the easy of use and search capabilites of rpm.pbone.net.  The service is easy to use and covers all the major distributions and version.  Very handy.

Comments (2)

How-To: Configure Postfix to Relay based on Domain

We use Postfix as a dropin replacement for Sendmail on our servers.  We wanted to configure postfix to relay email via our internal mail server for internal email addresses, and send directly if the email address was external. To do this, follow these steps: Edit the /etc/postfix/transport file and add the following line: myinternaldomain.com smtp:[ipaddress]:25 [...]

Leave a Comment