bugged bzip2?

John B Brown jbb at vcn.com
Mon Oct 25 09:50:51 PDT 2010



Bradley Giesbrecht wrote:
> 
> On Oct 25, 2010, at 8:29 AM, John B Brown wrote:
> 
>>
>>
>> Ryan Schmidt wrote:
>>> On Oct 24, 2010, at 22:46, John B Brown wrote:
>>>>     The version in /opt/local/bin is 1.0.6, installed with texlive. 
>>>> There is another bzip2 in /user/bin which is version 1.0.5. It was 
>>>> put there with the latest combined Apple update, Mac OS 10.6.4. I'll 
>>>> just use rm on it. That should fix my "bug" problems with bzip2.
>>> Removing parts of Mac OS X is probably not a good idea; there may be 
>>> other parts of Mac OS X that rely on bzip2 being there.
>>>>     It's nice that the xcode compiler found that, or the source code 
>>>> was set up to look for it. It's too bad the folk at Apple didn't use 
>>>> the later version of bzip2 in their update load.
>>> Perhaps Apple will update bzip to 1.0.6 in an upcoming security update.
>>
>>     Would copying the bzip2 from the port tree into /usr/bin work 
>> without problems?
> 
> If /opt/local/bin is before /usr/bin in your PATH env var I'd think you 
> would not have this issue. Does clamav configure allow you to tell it 
> where to find bzip2 with something like --with-bzip2=/opt/local/bin?
> 
> ./configure --help
> 
> Brad
> 
> 

	There are possibilities: "--with-PACKAGE[=ARG]", "--disable-bzip2", and 
--with[out]-libbz2-prefix[=DIR]. Since the mess, I've installed clamav 
with port and it now resides in the port tree. The port tree executables 
are all first in my PATH as the install set it.

	I have no idea why the mess except I changed the install location from 
/usr/local to /usr. That is a stretch but it's always a possibility. The 
source came through clamav.net.

	I just ran 'configure --with-libbz2-prefix=/opt/local', no change of 
install location, and there was no complaint of "bugged" so I'll see if 
it compiles to a working set of files. The compile completed with no 
problem.

	After wiping that compile tree I installed the source again. This time 
I changed the install point to /usr but included the same libbz2 
configure as above. The same warning about a bugged bzip2 was presented. 
It's probably the libraries in the /usr tree that have the bug. I'll 
stick with the port install of clamav.

	Shalom,

	John B. Brown.
	[jbb at vcn.com]
	358 High Street,
	Buffalo, Wyoming
	82834

"Freedom is not worth having if it does not include
the freedom to make mistakes"  Mahatma Gandhi
"If any question why we died, tell them,
because our fathers lied."  Rudyard Kipling
"A man who does not know the truth is just an idiot
but a man who knows the truth and calls it a lie
is a crook."  Bertolt Brecht
"I wonder whether the world is being run
by smart people who are putting us on
or by imbeciles who really mean it."  Mark Twain

1-307-684-9068


More information about the macports-users mailing list