libyal / libpff

Library and tools to access the Personal Folder File (PFF) and the Offline Folder File (OFF) format
GNU Lesser General Public License v3.0
289 stars 74 forks source link

Compilation issue since your last commit in libcerror #30

Closed udgover closed 8 years ago

udgover commented 8 years ago

Since yesterday, it is impossible to compile libpff (and should be the same for most of libyal libraries). I did the usual following steps:

./synclibs.sh ./autogen.sh ./configure make

and I'm getting the following errors:

libcerror_error.c:24:27: fatal error: narrow_string.h: No such file or directory

include

After digging a bit, I found you committed yesterday the following includes in libcerror_error.c

located in common folder of libcerror but which are not available when doing synclibs.sh in libpff. My current workaround is to rm -rf libcerror and clone from commit 78d9b41c9efacc169d9a259694e891e6257d23b2 Cheers!
joachimmetz commented 8 years ago

You'll have to wait until the code migration is done, also it is not recommended to "live on HEAD" unless you're actively developing libpff. Also see: https://github.com/libyal/libpff/wiki/Building#read-first.

udgover commented 8 years ago

Thanks for your quick reply, as always!

I know that I shouldn't "live on HEAD" but since there is no source distribution package in downloads and package for libpff in all Debian based distribution are from 2012, I have to build packages directly from your github repository.

Anyway, if others packagers are dealing with the same issues, I temporary fixed the problem until your code migration by resetting to first commit before 2016-11-01 just after the git clone command in synclibs.sh thiw way:

    cd ${LOCAL_LIB}-$$
    git reset --hard `git rev-list -n 1 --before="2016-11-01" master`
    cd ..

Looking forward to downloading your new release ;)

joachimmetz commented 8 years ago

Looking forward to downloading your new release ;)

I see, working on it when time permits.