im new in linux/gentoo and i did my first mistake

My system, amd 2350be, abit an-m2hd, x1950pro, 4gig ram, sabayon 3.5 x86-64
I deleted wine 1.1.4 because i saw a 1.1.6 version of it. Ihad/have some problems with prince of persia. I deleted with the unmerge command. Now i cant install no version of wine, it says failed
ERROR: app-emulation/wine-1.1.4 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2489: Called econf '--sysconfdir=/etc/wine' '--with-curses' '--with-opengl' '--with-x'
* ebuild.sh, line 548: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed
Any ideas?
One Question, are there specified version of wine for amd systems? on winehq there was something with amd-64?
Thanks, and sry for my english
lanc