./configure fails looking for xz
Brought to you by:
gtkwave,
joel1234567
Trying to install 3.3.4 from source under Cygwin I run ./configure and it runs until the following appears:
checking for lzma_end in -llzma... no
configure: error: LZMA support for VZT is enabled, but xz could not be found. Please install xz, see http://tukaani.org/xz website or use the --disable-xz flag.
I checked the Cygwin install and xz 4.999beta is installed. I even tried reinstalling it but ./configure still has the same problem.
-Will
P.S. Thank you guys soooooooo much for this program. I was running the 3.3.0 version for Windows but am trying to upgrade to the newer version. Without this software my life would have so much pain in it... :)
It sounds to me like the library isn't installed properly. Look around for liblzma.a to see if it even exists in one of the usual linker directories (/usr/lib, /usr/local/lib, etc).
I installed xz from source on my Cygwin machine and it works on that. I didn't use the Cygwin install as I have an old version and don't want to break it via upgrade/reinstall.
-Tony
I just installed the newer version of Cygwin and it didn't find my xz either. I installed one in /usr/local/lib and that worked. It's a problem with Cygwin. Strangely, I installed the Judy Array support in /usr/local/lib and I can't get that to be recognized unless I point directly to the .a file. Something in Cygwin is seriously broken.
It looks like a search path thing. OK, to get things straight...xz works in my Cygwin install and all the /usr/local/lib files are found if I symlink /usr/local/lib to /lib. It does seem like Cygwin is configured incorrectly. (e.g., tcl.init isn't found normally)