(I don't think this is an exact dupe of any thread (I checked this time) but forgive me if it is)

I have apple's X11 server installed and running but when I try to emerge mrxvt it claim that I don't.

Code:

checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for X... no
configure: error: Mrxvt requires the X Window System libraries and headers.