Trouble shooting:
1. configure step
1.1 error "Couldn't find Xaw library"
xaw library is a basic library for x window system, only libXaw is not enough for compiling, a develop-version is needed : libXaw-devel.
1.2 bison is needed fo XSPICE
bison is a general purpose parser of GNU project, this is needed for XSPICE, install the bison from GNU normally.
1.3 configure: error: Flex is required for building XSPICE.
solution: install flex.
1.4 If you want Verilog-A models you should install admsXml
adms is a code generator that converts electrical compact device models specified in high-level description language into ready-to-compile c code
for the API of spice simulators. Based on transformations specified in xml language adms transforms Verilog-AMS code into other target languages.
1.5 Couldn't find GNU readline headers
A useful link is found here: http://www.linuxquestions.org/questions/debian-26/the-question-of-ngspice-i-confused-815874/
Solution: install the develop-verion of readline library.