Problems compiling on linux

Hi all!
I have just compiled Audacity successfully from svn codebase.
But still there are problems while linking:
3 “DSO missing error” with libX11.so, libogg.so and libvorbis.so.
I have to add them to link flag into src/Makefile manually.

So I wondered if there is any other method (maybe more elegant)
to correct this? I’m not familiar with autotools =_=

Thanks in advance!

It probably depends which distro you use.
On Debian based distros the steps 1 to 8 described here should usually work without additional options or configurations: http://wiki.audacityteam.org/wiki/CompilingAudacityForBeginners#Example_compiling_the_latest_Audacity_source_code_on_Ubuntu_and_derivatives_.28like_Linux_Mint.29

autoreconf should only be required if there have been files added or removed since the makefile was last updated. I built on Debian stable a few days ago (r13063) and autoreconf was not required. I’m not aware of any added or removed files since then (https://groups.google.com/forum/#!forum/audacity-svn)

Thank you steve.
My distro is Archlinux. And the Audacity version I compiled is also r13063.