lzip-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lzip-bug] Tarlz 0.9: Unable to Compile Using Cygwin x86_64


From: Matias Fonzo
Subject: Re: [Lzip-bug] Tarlz 0.9: Unable to Compile Using Cygwin x86_64
Date: Thu, 24 Jan 2019 17:54:34 -0300

I haven't tried to install tarlz, yet.  But this looks like you need to
install lzlib, first.

On Thu, 24 Jan 2019 12:33:48 -0800
Timothy Beryl Grahek <address@hidden> wrote:

> Hi Antonio,
> 
> I haven't had any problems with Tarlz thus far on a GNU/Linux system,
> but I am unable to compile Tarlz on Cygwin x86_64. This has been the
> case since early versions on more than one machine, but I just
> haven't gotten around to bringing it to your attention. Lzip and
> lzlib compile just fine, though. Any ideas, once you look at the
> output?
> 
> Here's the output:
> 
> $ ./configure
> creating config.status
> creating Makefile
> VPATH = .
> prefix = /usr/local
> exec_prefix = $(prefix)
> bindir = $(exec_prefix)/bin
> datarootdir = $(prefix)/share
> infodir = $(datarootdir)/info
> mandir = $(datarootdir)/man
> CXX = g++
> CPPFLAGS =
> CXXFLAGS = -Wall -W -O2
> LDFLAGS =
> OK. Now you can run make.
> If make fails, verify that the lzlib compression library is correctly
> installed (see INSTALL).
> 
> $ make
> g++  -Wall -W -O2 -c -o arg_parser.o arg_parser.cc
> g++  -Wall -W -O2 -c -o lzip_index.o lzip_index.cc
> g++  -Wall -W -O2 -c -o create.o create.cc
> g++  -Wall -W -O2 -c -o extract.o extract.cc
> g++  -Wall -W -O2 -c -o list_lz.o list_lz.cc
> g++  -Wall -W -O2 -DPROGVERSION=\"0.9\" -c -o main.o main.cc
> g++  -Wall -W -O2 -o tarlz arg_parser.o lzip_index.o create.o
> extract.o list_lz.o main.o -llz -lpthread
> /usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld:
> cannot find -llz
> collect2: error: ld returned 1 exit status
> make: *** [Makefile:44: tarlz] Error 1
> 
> Best regards,
> 
> Timothy

Attachment: pgpk1etBfobCs.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]