Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
X-RT-Original-Encoding: utf-8
Content-Type: multipart/mixed; boundary="----------=_1304525181-18807-202"
Content-Length: 0
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 529
Download (untitled) / with headers
text/plain 529b
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
MIME-Version: 1.0
Content-Type: application/x-gzip; name="7zip.patch.gz"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline; filename="7zip.patch.gz"
Content-Transfer-Encoding: base64
Content-Length: 1540528
Download 7zip.patch.gz
application/x-gzip 1.4m

Message body not shown because it is not plain text.

Subject: compile.txt
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; name="compile.txt"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline; filename="compile.txt"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: ascii
Content-Length: 1852
Download compile.txt
text/plain 1.8k
$ 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
From derhoermi [...] gmx.net Wed May 4 12: 27:00 2011
MIME-Version: 1.0
X-Y-GMX-Trusted: 0
X-Spam-Status: No, score=-7.168 tagged_above=-99.9 required=10 tests=[AWL=-0.280, BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, SPF_FAIL=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-18807-1304525182-1255.67943-4-0 [...] rt.cpan.org>
X-Mailer: Forte Agent 3.3/32.846
X-Spam-Flag: NO
X-Authenticated: #723575
X-Provags-ID: V01U2FsdGVkX1+yF5RxMcqyY4BRwgGtcEoCrh4BPN/nmsIVpAcCE5 k8pHoJDvJZ1pb5
References: <RT-Ticket-67943 [...] rt.cpan.org> <rt-3.8.HEAD-18807-1304525182-1255.67943-4-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <rev2s6lsmmkcblvfqiken697a1gljols1p [...] hive.bjoern.hoehrmann.de>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -7.168
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 1E60A2418CF for <cpan-bug+Compress-Deflate7 [...] hipster.bestpractical.com>; Wed, 4 May 2011 12:27:00 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LcfcDP+wNqXg for <cpan-bug+Compress-Deflate7 [...] hipster.bestpractical.com>; Wed, 4 May 2011 12:26:58 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id B82B22418A1 for <bug-Compress-Deflate7 [...] rt.cpan.org>; Wed, 4 May 2011 12:26:57 -0400 (EDT)
Received: (qmail 29468 invoked by uid 103); 4 May 2011 16:26:56 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 4 May 2011 16:26:56 -0000
Received: from mailout-de.gmx.net (HELO mailout-de.gmx.net) (213.165.64.23) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with SMTP; Wed, 04 May 2011 09:26:54 -0700
Received: (qmail invoked by alias); 04 May 2011 16:26:50 -0000
Received: from dslb-094-223-189-018.pools.arcor-ip.net (EHLO HIVE) [94.223.189.18] by mail.gmx.net (mp017) with SMTP; 04 May 2011 18:26:50 +0200
Delivered-To: cpan-bug+Compress-Deflate7 [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #67943] does not want to compile on Linux
Return-Path: <derhoermi [...] gmx.net>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Compress-Deflate7 [...] hipster.bestpractical.com
X-RT-Mail-Extension: compress-deflate7
Date: Wed, 04 May 2011 18:26:54 +0200
X-Spam-Level:
To: bug-Compress-Deflate7 [...] rt.cpan.org
Content-Transfer-Encoding: 8bit
From: Bjoern Hoehrmann <derhoermi [...] gmx.net>
RT-Message-ID: <rt-3.8.HEAD-18810-1304526420-355.67943-0-0 [...] rt.cpan.org>
Content-Length: 682
Download (untitled) / with headers
text/plain 682b
* 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/


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.