Skip Menu |

This queue is for tickets about the Compress-Deflate7 CPAN distribution.

Report information
The Basics
Id: 67943
Status: open
Priority: 0/
Queue: Compress-Deflate7

People
Owner: Nobody in particular
Requestors: oleg [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.0
Fixed in: (no value)



Subject: does not want to compile on Linux
Hi Björn Unfortunately my attempt to compile Compress::Deflate7 on my Linux box was unsuccessful. See an attachment with error log. I wonder, is 7zip source code in the distribution for windows only? After my unsuccessful attempt I downloaded p7zip_9.20.1 source code from sourceforge and replaced all files that exists in 7zip/C, 7zip/CPP, 7zip/ASM with same from p7zip. Then tried to compile, get some errors, edited some source code. So, now it compiles and works. I attached a patch: cd 7zip zcat 7zip.patch.gz | patch -p1
Subject: 7zip.patch.gz
Download 7zip.patch.gz
application/x-gzip 1.4m

Message body not shown because it is not plain text.

Subject: compile.txt
$ perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Compress::Deflate7 $ make cp lib/Compress/Deflate7.pm blib/lib/Compress/Deflate7.pm g++ -c -I7zip/CPP -D_REENTRANT -D_GNU_SOURCE -DUSE_SITECUSTOMIZE -fno-merge-constants -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/home/oleg/perl/lib/CORE" InBuffer.cpp g++ -c -I7zip/CPP -D_REENTRANT -D_GNU_SOURCE -DUSE_SITECUSTOMIZE -fno-merge-constants -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/home/oleg/perl/lib/CORE" OutBuffer.cpp g++ -c -I7zip/CPP -D_REENTRANT -D_GNU_SOURCE -DUSE_SITECUSTOMIZE -fno-merge-constants -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/home/oleg/perl/lib/CORE" StreamObjects.cpp In file included from StreamObjects.cpp:1:0: 7zip/CPP/7zip/Common/StreamObjects.cpp: In member function 'void CByteDynBuffer::Free()': 7zip/CPP/7zip/Common/StreamObjects.cpp:43:12: error: 'free' was not declared in this scope 7zip/CPP/7zip/Common/StreamObjects.cpp: In member function 'bool CByteDynBuffer::EnsureCapacity(size_t)': 7zip/CPP/7zip/Common/StreamObjects.cpp:60:40: error: 'realloc' was not declared in this scope 7zip/CPP/7zip/Common/StreamObjects.cpp: In member function 'void CDynBufSeqOutStream::CopyToBuffer(CByteBuffer&) const': 7zip/CPP/7zip/Common/StreamObjects.cpp:81:30: error: conversion from 'const CByteDynBuffer' to 'const void*' is ambiguous 7zip/CPP/7zip/Common/StreamObjects.h:52:3: note: candidates are: CByteDynBuffer::operator const Byte*() const 7zip/CPP/7zip/Common/StreamObjects.h:51:3: note: CByteDynBuffer::operator Byte*() const make: *** [StreamObjects.o] Error 1
Subject: Re: [rt.cpan.org #67943] does not want to compile on Linux
Date: Wed, 04 May 2011 18:26:54 +0200
To: bug-Compress-Deflate7 [...] rt.cpan.org
From: Bjoern Hoehrmann <derhoermi [...] gmx.net>
* Oleg G via RT wrote: Show quoted text
>Unfortunately my attempt to compile Compress::Deflate7 on my Linux box >was unsuccessful. See an attachment with error log. >I wonder, is 7zip source code in the distribution for windows only?
See the bottom of https://github.com/hoehrmann/pngwolf -- the problem is known and I believe fixed in the current beta version of 7-Zip; I'll up- date the 7-Zip sources when there is a new stable release. Thank you for your report. -- Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/