Attempting to compile an application that is not located in any of the repos yet for 11.3 64 bit.

I have downloaded the appropriate src and untarred it. However, when I attempt to run the ./configure command here is the error I receive.

checking build system type... Invalid configuration `x86_64-unknown-linux-': machine `x86_64-unknown-linux' not recognized
configure: error: /bin/sh ./config.sub x86_64-unknown-linux- failed

I have made sure that I have all kernel-headers packages installed and am unsure as how to proceed. I tried using the command "./configure --build=x86_64" and then receive an error stating that the "SYSTEM IS NOT SUPPORTED" and continued errors stating that gcc is not installed, eve though it is.

What can I do to fix this, besides waiting for it to be added to the repos.