MakeMKV v1.8 on CentOS 6.4 linux - compile errors

The place to discuss linux version of MakeMKV
Post Reply
ngc4013
Posts: 4
Joined: Wed Apr 17, 2013 12:28 am

MakeMKV v1.8 on CentOS 6.4 linux - compile errors

Post by ngc4013 »

All suggested libraries are installed. When trying to compile OSS it results in the following output:

mkdir -p out
gcc -Os -D_GNU_SOURCE -D_linux_ -D_REENTRANT -shared -Wl,-z,defs -oout/libmakemkv.so.1.full -Ilibebml/inc -DEBML_NO_READ -DEBML_STRICT_API -Ilibmatroska/inc \
-Ilibmakemkv/inc -Isstring/inc -Imakemkvgui/inc -Ilibabi/inc -Ilibffcodec/inc \
libebml/src/EbmlBinary.cpp libebml/src/EbmlContexts.cpp libebml/src/EbmlCrc32.cpp libebml/src/EbmlDate.cpp libebml/src/EbmlDummy.cpp libebml/src/EbmlElement.cpp libebml/src/EbmlFloat.cpp libebml/src/EbmlHead.cpp libebml/src/EbmlMaster.cpp libebml/src/EbmlSInteger.cpp libebml/src/EbmlString.cpp libebml/src/EbmlSubHead.cpp libebml/src/EbmlUInteger.cpp libebml/src/EbmlUnicodeString.cpp libebml/src/EbmlVersion.cpp libebml/src/EbmlVoid.cpp libebml/src/IOCallback.cpp libebml/src/MemIOCallback.cpp libmatroska/src/FileKax.cpp libmatroska/src/KaxAttached.cpp libmatroska/src/KaxAttachments.cpp libmatroska/src/KaxBlock.cpp libmatroska/src/KaxBlockData.cpp libmatroska/src/KaxChapters.cpp libmatroska/src/KaxCluster.cpp libmatroska/src/KaxClusterData.cpp libmatroska/src/KaxContentEncoding.cpp libmatroska/src/KaxContexts.cpp libmatroska/src/KaxCues.cpp libmatroska/src/KaxCuesData.cpp libmatroska/src/KaxInfo.cpp libmatroska/src/KaxInfoData.cpp libmatroska/src/KaxSeekHead.cpp libmatroska/src/KaxSegment.cpp libmatroska/src/KaxTag.cpp libmatroska/src/KaxTags.cpp libmatroska/src/KaxTrackAudio.cpp libmatroska/src/KaxTrackEntryData.cpp libmatroska/src/KaxTracks.cpp libmatroska/src/KaxTrackVideo.cpp libmatroska/src/KaxVersion.cpp libmakemkv/src/ebmlwrite.cpp libmakemkv/src/libmkv.cpp libmakemkv/src/version.cpp libmakemkv/src/world.cpp sstring/src/sstring.cpp \
libabi/src/ossl_aes.c libabi/src/ossl_sha.c libabi/src/ossl_ec.c libabi/src/zlib.c libabi/src/xpat.c libabi/pssl/ec_key.c libabi/pssl/ec_lib.c libabi/pssl/ec_cvt.c libabi/pssl/ec_mult.c libabi/pssl/ecp_mont.c libabi/pssl/ecp_smpl.c libabi/pssl/ecs_ossl.c libabi/pssl/ecs_sign.c libabi/pssl/ecs_vrf.c libabi/src/httplinux.cpp makemkvgui/src/api_linux.cpp libabi/src/sys_linux.c makemkvgui/src/spawn_posix.cpp libffcodec/src/ffcodec.c libffcodec/src/crc.c libffcodec/src/mlp.c libffcodec/src/mlp_parser.c libffcodec/src/mpegaudiodata.c libffcodec/src/mpegaudiodecheader.c libffcodec/src/aviobuf.c libffcodec/src/ffmdec.c libffcodec/src/ffmenc.c \
-DHAVE_BUILDINFO_H -Itmp \
-fPIC -Xlinker -dy -Xlinker --version-script=libmakemkv/src/libmakemkv.vers \
-Xlinker -soname=libmakemkv.so.1 -lc -lstdc++ -lcrypto -lz -lexpat
In file included from libmakemkv/src/world.cpp:35:
libabi/inc/lgpl/expatabi.h:24:19: error: expat.h: No such file or directory
In file included from libmakemkv/src/world.cpp:35:
libabi/inc/lgpl/expatabi.h:30: error: ‘XML_Parser’ does not name a type
libabi/inc/lgpl/expatabi.h:31: error: variable or field ‘XPAT_ParserFree’ declared void
libabi/inc/lgpl/expatabi.h:31: error: ‘XML_Parser’ was not declared in this scope
libabi/inc/lgpl/expatabi.h:32: error: variable or field ‘XPAT_SetUserData’ declared void
libabi/inc/lgpl/expatabi.h:32: error: ‘XML_Parser’ was not declared in this scope
libabi/inc/lgpl/expatabi.h:32: error: expected primary-expression before ‘void’
libabi/inc/lgpl/expatabi.h:33: error: variable or field ‘XPAT_SetElementHandler’ declared void
libabi/inc/lgpl/expatabi.h:33: error: ‘XML_Parser’ was not declared in this scope
libabi/inc/lgpl/expatabi.h:33: error: ‘XML_StartElementHandler’ was not declared in this scope
libabi/inc/lgpl/expatabi.h:33: error: ‘XML_EndElementHandler’ was not declared in this scope
libabi/inc/lgpl/expatabi.h:34: error: variable or field ‘XPAT_SetStartElementHandler’ declared void
libabi/inc/lgpl/expatabi.h:34: error: ‘XML_Parser’ was not declared in this scope
libabi/inc/lgpl/expatabi.h:34: error: ‘XML_StartElementHandler’ was not declared in this scope
libabi/inc/lgpl/expatabi.h:35: error: variable or field ‘XPAT_SetEndElementHandler’ declared void
libabi/inc/lgpl/expatabi.h:35: error: ‘XML_Parser’ was not declared in this scope
libabi/inc/lgpl/expatabi.h:35: error: ‘XML_EndElementHandler’ was not declared in this scope
libabi/inc/lgpl/expatabi.h:36: error: variable or field ‘XPAT_SetCharacterDataHandler’ declared void
libabi/inc/lgpl/expatabi.h:36: error: ‘XML_Parser’ was not declared in this scope
libabi/inc/lgpl/expatabi.h:36: error: ‘XML_CharacterDataHandler’ was not declared in this scope
libabi/inc/lgpl/expatabi.h:37: error: variable or field ‘XPAT_SetDefaultHandler’ declared void
libabi/inc/lgpl/expatabi.h:37: error: ‘XML_Parser’ was not declared in this scope
libabi/inc/lgpl/expatabi.h:37: error: ‘XML_DefaultHandler’ was not declared in this scope
libabi/inc/lgpl/expatabi.h:38: error: variable or field ‘XPAT_SetDefaultHandlerExpand’ declared void
libabi/inc/lgpl/expatabi.h:38: error: ‘XML_Parser’ was not declared in this scope
libabi/inc/lgpl/expatabi.h:38: error: ‘XML_DefaultHandler’ was not declared in this scope
libabi/inc/lgpl/expatabi.h:39: error: use of enum ‘XML_Status’ without previous declaration
libabi/inc/lgpl/expatabi.h:39: error: invalid type in declaration before ‘(’ token
libabi/inc/lgpl/expatabi.h:39: error: ‘XML_Parser’ was not declared in this scope
libabi/inc/lgpl/expatabi.h:39: error: expected primary-expression before ‘const’
libabi/inc/lgpl/expatabi.h:39: error: expected primary-expression before ‘int’
libabi/inc/lgpl/expatabi.h:39: error: expected primary-expression before ‘int’
libabi/inc/lgpl/expatabi.h:39: error: initializer expression list treated as compound expression
libabi/inc/lgpl/expatabi.h:41: error: use of enum ‘XML_Error’ without previous declaration
libabi/inc/lgpl/expatabi.h:41: error: invalid type in declaration before ‘(’ token
libabi/inc/lgpl/expatabi.h:41: error: ‘XML_Parser’ was not declared in this scope
libabi/inc/lgpl/expatabi.h:42: error: ‘XML_Size’ does not name a type
libabi/inc/lgpl/expatabi.h:43: error: ‘XML_Size’ does not name a type
libabi/inc/lgpl/expatabi.h:44: error: ‘XML_Index’ does not name a type
libabi/inc/lgpl/expatabi.h:46: error: expected initializer before ‘*’ token
libabi/inc/lgpl/expatabi.h:47: error: expected initializer before ‘*’ token
libmakemkv/src/world.cpp: In function ‘bool set_world(IWorld*, int)’:
libmakemkv/src/world.cpp:122: error: ‘XPAT_GetCurrentLineNumber’ was not declared in this scope
libabi/src/xpat.c:21:19: error: expat.h: No such file or directory
libabi/src/xpat.c:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XPAT_ParserCreate’
libabi/src/xpat.c:28: error: expected ‘)’ before ‘parser’
libabi/src/xpat.c:33: error: expected ‘)’ before ‘parser’
libabi/src/xpat.c:38: error: expected ‘)’ before ‘parser’
libabi/src/xpat.c:43: error: expected ‘)’ before ‘parser’
libabi/src/xpat.c:48: error: expected ‘)’ before ‘parser’
libabi/src/xpat.c:53: error: expected ‘)’ before ‘parser’
libabi/src/xpat.c:58: error: expected ‘)’ before ‘parser’
libabi/src/xpat.c:63: error: expected ‘)’ before ‘parser’
libabi/src/xpat.c:68: error: expected ‘)’ before ‘parser’
libabi/src/xpat.c:73: error: expected ‘)’ before ‘parser’
libabi/src/xpat.c:78: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XPAT_GetCurrentLineNumber’
libabi/src/xpat.c:83: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XPAT_GetCurrentColumnNumber’
libabi/src/xpat.c:88: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XPAT_GetCurrentByteIndex’
libabi/src/xpat.c:93: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
libabi/src/xpat.c:98: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
gmake: *** [out/libmakemkv.so.1.full] Error 1


Any suggestions?

Thanks,

Bill
Romansh
Posts: 873
Joined: Sat Jan 22, 2011 7:09 pm

Re: MakeMKV v1.8 on CentOS 6.4 linux - compile errors

Post by Romansh »

Missing expat-dev (maybe expat-devel) package?
ngc4013
Posts: 4
Joined: Wed Apr 17, 2013 12:28 am

Re: MakeMKV v1.8 on CentOS 6.4 linux - compile errors

Post by ngc4013 »

That was it! The install was missing the expat-devel.x86_64 which I failed to go back to look at when testing for libexpat-devel noted in the version announcement.

Package is installed, and I am doing a test run right now to see what this new computer can do compared to my old one.

Thanks for your suggestion.

Bill
ngc4013
Posts: 4
Joined: Wed Apr 17, 2013 12:28 am

Re: MakeMKV v1.8 on CentOS 6.4 linux - compile errors

Post by ngc4013 »

So now I am confused. Website I thought said the trial period was 60 days. After compiling the tool says 30 days, which is still okay. But tonight the tool says it is expired. Total run time was maybe about 45min max. So what happened to the 30 or 60 days?
paulster
Posts: 200
Joined: Sat Aug 20, 2011 6:54 pm

Re: MakeMKV v1.8 on CentOS 6.4 linux - compile errors

Post by paulster »

Read the announcements forum and all will become clear.
ngc4013
Posts: 4
Joined: Wed Apr 17, 2013 12:28 am

Re: MakeMKV v1.8 on CentOS 6.4 linux - compile errors

Post by ngc4013 »

I just had not gone deep enough, but I have figured it out. Running fine now without messages. Thanks for your help.
Post Reply