lzma support in `stable' has potential issues

Tim Kientzle kientzle at freebsd.org
Wed May 26 05:06:17 UTC 2010


It would be nice if "cd /usr/src/lib/liblzma && make && make install"
just worked on an existing system that didn't already have
/usr/include/lzma, but I can't find anything in the
standard BSD makefiles to support this.

I think you can use:
   make hierarchy
to ensure that all the directories are present before
trying to build anything else.  (This is one of the
first steps in the "installworld" target.)

As for lzmainfo, I think the attached patch fixes
it so that it pulls the lzma headers from the source
tree and not the installed system.  A similar change
is probably appropriate for the other lzma and xz tools.

Tim


Garrett Cooper wrote:
> Hi Martin and Tim,
> 	I recently wiped off my Lenovo again to get a fresh install of FreeBSD on it, and started out at 8.0-RELEASE (it's the media that I had on hand at the time). Upgrading to 8-STABLE appears to be problematic though.
> 	On a few different occasions I ran into issues doing the following:
> 
> 	make -C /usr/src/usr.bin/lzmainfo depend - fails to find the appropriate headers
> 
> 	make -C /usr/src/lib/liblzma install - fails to install the headers into /usr/include/lzma
> 
> 	Etc. I didn't see these issues before lzma was imported into the tree, which makes me wonder whether or not there are some missing build or install dependencies somewhere.
> Thanks,
> -Garrett
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lzmainfo.Makefile.patch
Type: text/x-patch
Size: 597 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20100526/73cfc667/lzmainfo.Makefile.bin


More information about the freebsd-stable mailing list