libyal / libvmdk

Library and tools to access the VMware Virtual Disk (VMDK) format
GNU Lesser General Public License v3.0
163 stars 66 forks source link

Unable to make from git source - LIBFVALUE_VERSION_STRING #1

Closed CdtDelta closed 9 years ago

CdtDelta commented 9 years ago

I've done a git clone --recursive of the repo for libvmdk. I'm configuring with:

./configure --enable-python --enable-verbose-output

When I go to make I get the following error:

make[1]: Entering directory /usr/local/src/libvmdk/vmdktools' gcc -DHAVE_CONFIG_H -I. -I../common -I../include -I../common -I../libcstring -I../libcerror -I../libcdata -I../libclocale -I../libcnotify -I../libcsplit -I../libuna -I../libcfile -I../libcpath -I../libbfio -I../libfcache -I../libfdata -I/usr/local/include -I../libcsystem -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -g -O2 -MT vmdkoutput.o -MD -MP -MF .deps/vmdkoutput.Tpo -c -o vmdkoutput.o vmdkoutput.c vmdkoutput.c: In function âvmdkoutput_version_detailed_fprintâ: vmdkoutput.c:129:3: error: âLIBFVALUE_VERSION_STRINGâ undeclared (first use in this function) LIBFVALUE_VERSION_STRING ); ^ vmdkoutput.c:129:3: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [vmdkoutput.o] Error 1 make[1]: Leaving directory/usr/local/src/libvmdk/vmdktools' make: *\ [all-recursive] Error 1

joachimmetz commented 9 years ago

Before you run configure run:

./synclibs.sh
./autogen.sh

As described here: https://github.com/libyal/libvmdk/wiki/Building#git

CdtDelta commented 9 years ago

I did do that before I ran configure. The configuration file isn't there unless you run those first. On Nov 19, 2014 12:00 AM, "Joachim Metz" notifications@github.com wrote:

Before you run configure run:

./synclibs.sh ./autogen.sh

As described here: https://github.com/libyal/libvmdk/wiki/Building#git

— Reply to this email directly or view it on GitHub https://github.com/libyal/libvmdk/issues/1#issuecomment-63596269.

joachimmetz commented 9 years ago

Sorry not paying attention this morning.

Try changing: vmdktools/vmdkoutput.c

#if defined( HAVE_LOCAL_LIBFVALUE )
#include <libfvalue_definitions.h>
#elif defined( HAVE_LIBFVALUE_H )
#include <libfvalue.h>
#endif

into:

#include "vmdktools_libfvalue.h"
CdtDelta commented 9 years ago

So am I changing that entire statement to the one include statement? Or replacing one of the include lines?

On Wed, Nov 19, 2014 at 11:22 AM, Joachim Metz notifications@github.com wrote:

Sorry not paying attention this morning.

Try changing: vmdktools/vmdkoutput.c

if defined( HAVE_LOCAL_LIBFVALUE )

include

elif defined( HAVE_LIBFVALUE_H )

include

endif

into:

include "vmdktools_libfvalue.h"

— Reply to this email directly or view it on GitHub https://github.com/libyal/libvmdk/issues/1#issuecomment-63625909.

joachimmetz commented 9 years ago

Try the latest commit: https://github.com/libyal/libvmdk/commit/fd6cbfe41d1bf4feb13815ed2fc0396278f9764a

CdtDelta commented 9 years ago

That did it. Thanks!

On Wed, Nov 19, 2014 at 5:32 PM, Joachim Metz notifications@github.com wrote:

Try the latest commit: fd6cbfe https://github.com/libyal/libvmdk/commit/fd6cbfe41d1bf4feb13815ed2fc0396278f9764a

— Reply to this email directly or view it on GitHub https://github.com/libyal/libvmdk/issues/1#issuecomment-63679363.

joachimmetz commented 9 years ago

Thx, for confirming. Closing the issue.