[Matroska-users] build problem

Jim Shupert jshupert at pps-inc.com
Tue Dec 1 15:28:59 CET 2015


friends

I wish to be able to run mkvalidator

I have a ubuntu 12.04 64 system

I downloaded

mkvalidator-0.4.2.tar.bz2

this I unzipped as a dir
mkvalidator-0.4.2
inside that dir i did a
./configure

I then did
make -C mkvalidator


but if I open a shell and give it a try

:~$ mkvalidator
mkvalidator: command not found


what have i done wrong...
if it is amissing dependency ... i missed it

I also wish to have mkclean ... i might be missing the "same" step in my
fail with that as well

If you need more information I will be happy to try and communicate it to
you.

thanks much


jim S


================ the whole sheBang

i have it in a nested dir under home
~/Downloads/rbcm/mkvalidator-
0.4.2
that cannot matter -- right?

~/Downloads/rbcm/mkvalidator-0.4.2$ ./configure
Running ./coremake gcc_linux_x64
Now you can run make -C mkvalidator or gmake -C mkvalidator
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2$  make -C mkvalidator
make: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator'
make[1]: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator'
make[2]: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libmatroska2'
make[3]: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
compiling ../corec/corec/array/array.c
compiling ../corec/corec/helpers/charconvert/charconvert_linux.c
compiling ../corec/corec/helpers/date/date_libc.c
compiling ../corec/corec/helpers/file/bufstream.c
compiling ../corec/corec/helpers/file/file_libc.c
compiling ../corec/corec/helpers/file/memstream.c
compiling ../corec/corec/helpers/file/stream_stdio.c
compiling ../corec/corec/helpers/file/streams.c
compiling ../corec/corec/helpers/file/tools.c
compiling ../corec/corec/helpers/parser/buffer.c
compiling ../corec/corec/helpers/parser/dataheap.c
compiling ../corec/corec/helpers/parser/hotkey.c
compiling ../corec/corec/helpers/parser/nodelookup.c
compiling ../corec/corec/helpers/parser/parser2.c
../corec/corec/helpers/parser/parser2.c: In function ‘ParserIsFormat’:
../corec/corec/helpers/parser/parser2.c:398:45: warning: operation on ‘j’
may be undefined [-Wsequence-point]
../corec/corec/helpers/parser/parser2.c: In function ‘ExprIsToken’:
../corec/corec/helpers/parser/parser2.c:2022:5: warning: format not a
string literal and no format arguments [-Wformat-security]
../corec/corec/helpers/parser/parser2.c: In function ‘ExprIsPoint’:
../corec/corec/helpers/parser/parser2.c:2407:5: warning: format ‘%d’
expects argument of type ‘int’, but argument 3 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/parser2.c:2407:5: warning: format ‘%d’
expects argument of type ‘int’, but argument 4 has type ‘intptr_t *’
[-Wformat]
compiling ../corec/corec/helpers/parser/strtab.c
compiling ../corec/corec/helpers/parser/strtypes.c
../corec/corec/helpers/parser/strtypes.c: In function ‘RFC822ToRel’:
../corec/corec/helpers/parser/strtypes.c:504:5: warning: format ‘%d’
expects argument of type ‘int’, but argument 3 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:520:5: warning: format ‘%d’
expects argument of type ‘int’, but argument 3 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:520:5: warning: format ‘%d’
expects argument of type ‘int’, but argument 4 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:520:5: warning: format ‘%d’
expects argument of type ‘int’, but argument 5 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:520:5: warning: format ‘%d’
expects argument of type ‘int’, but argument 6 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:521:9: warning: format ‘%d’
expects argument of type ‘int’, but argument 3 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:521:9: warning: format ‘%d’
expects argument of type ‘int’, but argument 4 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:521:9: warning: format ‘%d’
expects argument of type ‘int’, but argument 5 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:527:5: warning: format ‘%d’
expects argument of type ‘int’, but argument 3 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:529:5: warning: format ‘%d’
expects argument of type ‘int’, but argument 3 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c: In function ‘ISO8601ToRel’:
../corec/corec/helpers/parser/strtypes.c:597:5: warning: format ‘%d’
expects argument of type ‘int’, but argument 3 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:597:5: warning: format ‘%d’
expects argument of type ‘int’, but argument 4 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:597:5: warning: format ‘%d’
expects argument of type ‘int’, but argument 5 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:598:9: warning: format ‘%d’
expects argument of type ‘int’, but argument 3 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:598:9: warning: format ‘%d’
expects argument of type ‘int’, but argument 4 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:598:9: warning: format ‘%d’
expects argument of type ‘int’, but argument 5 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:599:9: warning: format ‘%d’
expects argument of type ‘int’, but argument 3 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:599:9: warning: format ‘%d’
expects argument of type ‘int’, but argument 4 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:599:9: warning: format ‘%d’
expects argument of type ‘int’, but argument 5 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:600:9: warning: format ‘%d’
expects argument of type ‘int’, but argument 3 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:600:9: warning: format ‘%d’
expects argument of type ‘int’, but argument 4 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:600:9: warning: format ‘%d’
expects argument of type ‘int’, but argument 5 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:611:9: warning: format ‘%d’
expects argument of type ‘int’, but argument 3 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:611:9: warning: format ‘%d’
expects argument of type ‘int’, but argument 4 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:611:9: warning: format ‘%d’
expects argument of type ‘int’, but argument 5 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:612:13: warning: format ‘%d’
expects argument of type ‘int’, but argument 3 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:612:13: warning: format ‘%d’
expects argument of type ‘int’, but argument 4 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:612:13: warning: format ‘%d’
expects argument of type ‘int’, but argument 5 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:615:13: warning: format ‘%d’
expects argument of type ‘int’, but argument 3 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:620:17: warning: format ‘%d’
expects argument of type ‘int’, but argument 3 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:620:17: warning: format ‘%d’
expects argument of type ‘int’, but argument 4 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:621:21: warning: format ‘%d’
expects argument of type ‘int’, but argument 3 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:621:21: warning: format ‘%d’
expects argument of type ‘int’, but argument 4 has type ‘intptr_t *’
[-Wformat]
../corec/corec/helpers/parser/strtypes.c:622:21: warning: format ‘%d’
expects argument of type ‘int’, but argument 3 has type ‘intptr_t *’
[-Wformat]
compiling ../corec/corec/helpers/parser/urlpart.c
compiling ../corec/corec/node/node.c
../corec/corec/node/node.c: In function ‘Node_GetDataStart’:
../corec/corec/node/node.c:527:18: warning: unused variable ‘p’
[-Wunused-variable]
compiling ../corec/corec/node/nodetree.c
compiling ../corec/corec/str/str.c
compiling ../corec/corec/str/str_linux.c
compiling ebmlbinary.c
compiling ebmlcrc.c
compiling ebmldate.c
compiling ebmlelement.c
compiling ebmlmain.c
compiling ebmlmaster.c
ebmlmaster.c: In function ‘EBML_MasterSort’:
ebmlmaster.c:149:9: warning: passing argument 4 of ‘ArraySortEx’ from
incompatible pointer type [enabled by default]
../corec/corec/array/array.h:83:16: note: expected ‘arraycmp’ but argument
is of type ‘int (*)(const struct ebml_element *, const struct ebml_element
**, const struct ebml_element **)’
ebmlmaster.c: In function ‘ReadData’:
ebmlmaster.c:416:50: warning: ‘CRCDataSize’ may be used uninitialized in
this function [-Wuninitialized]
ebmlmaster.c:428:9: warning: ‘SubElement’ may be used uninitialized in
this function [-Wuninitialized]
compiling ebmlnumber.c
ebmlnumber.c: In function ‘ReadDataFloat’:
ebmlnumber.c:244:9: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
ebmlnumber.c:244:9: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
ebmlnumber.c:244:9: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
ebmlnumber.c:244:9: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
ebmlnumber.c:252:9: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
ebmlnumber.c:252:9: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
ebmlnumber.c:252:9: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
ebmlnumber.c:252:9: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
ebmlnumber.c:252:9: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
ebmlnumber.c:252:9: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
ebmlnumber.c:252:9: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
ebmlnumber.c:252:9: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
compiling ebmlstring.c
ebmlstring.c: In function ‘ReadData’:
ebmlstring.c:102:9: warning: ‘Buffer’ may be used uninitialized in this
function [-Wuninitialized]
compiling ebmlvoid.c
linking ../release/gcc_linux_x64/libebml2.a
make[3]: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
compiling matroska_sem.c
compiling matroskablock.c
compiling matroskamain.c
linking ../release/gcc_linux_x64/libmatroska2.a
make[2]: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libmatroska2'
make[2]: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
compiling mkvalidator_stdafx.c
compiling mkvalidator.c
mkvalidator.c: In function ‘CheckProfileViolation’:
mkvalidator.c:454:9: warning: passing argument 3 of
‘EBML_MasterCheckContext’ from incompatible pointer type [enabled by
default]
../libebml2/ebml/ebml.h:238:15: note: expected ‘ContextCallback’ but
argument is of type ‘bool_t (*)(struct profile_check *, int, const
tchar_t *, const struct ebml_element *)’
mkvalidator.c: In function ‘main’:
mkvalidator.c:1382:17: warning: format ‘%lld’ expects argument of type
‘long long int’, but argument 5 has type ‘int64_t’ [-Wformat]
linking ../release/gcc_linux_x64/mkvalidator
make[1]: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator'
make[1]: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libmatroska2'
make[2]: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
make[1]: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libmatroska2'
make[1]: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
make: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator'
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2$
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2$ ls
build          configure  GNUmakefile   mkvalidator  root.proj
ChangeLog.txt  corec      libebml2      ReadMe.txt
config.h       coremake   libmatroska2  release
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2$ cd mkvalidator/
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator$ ls
configure      mkvalidator.mak        mkvalidator_stdafx.c
GNUmakefile    mkvalidator.proj       mkvalidator_stdafx.h
mkvalidator.c  mkvalidator_project.h  pkg.sh
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator$ ./configure
bash: ./configure: Permission denied
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator$ sudo
./configure
[sudo] password for scnsvr:
sudo: ./configure: command not found
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator$ make
make[1]: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator'
make[2]: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libmatroska2'
make[3]: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
make[2]: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libmatroska2'
make[2]: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
linking ../release/gcc_linux_x64/mkvalidator
make[1]: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator'
make[1]: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libmatroska2'
make[2]: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
make[1]: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libmatroska2'
make[1]: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator$
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator$
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator$
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator$ coremake
coremake: command not found
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator$ .configure
.configure: command not found
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator$ ./configure
bash: ./configure: Permission denied
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator$ cd ..
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2$ ls
build          configure  GNUmakefile   mkvalidator  root.proj
ChangeLog.txt  corec      libebml2      ReadMe.txt
config.h       coremake   libmatroska2  release
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2$ ./configure
compiling coremake.c
coremake.c: In function ‘tokeneval’:
coremake.c:3862:21: warning: variable ‘flags’ set but not used
[-Wunused-but-set-variable]
coremake.c: In function ‘main’:
coremake.c:5382:11: warning: ignoring return value of ‘getcwd’, declared
with attribute warn_unused_result [-Wunused-result]
coremake.c: In function ‘reader_line’:
coremake.c:779:7: warning: ignoring return value of ‘fgets’, declared with
attribute warn_unused_result [-Wunused-result]
linking ../../../release/gcc_linux_x64/coremake
compiling corerc.c
linking ../../../release/gcc_linux_x64/corerc
mv: cannot stat `corec/tools/coremake/coremake': No such file or directory
Running ./coremake gcc_linux_x64
Now you can run make -C mkvalidator or gmake -C mkvalidator
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2$ make -C mkvalidator
make: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator'
make[1]: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator'
make[2]: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libmatroska2'
make[3]: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
make[2]: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libmatroska2'
make[2]: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
linking ../release/gcc_linux_x64/mkvalidator
make[1]: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator'
make[1]: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libmatroska2'
make[2]: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
make[1]: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libmatroska2'
make[1]: Entering directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/libebml2'
make: Leaving directory
`/home/scnsvr/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator'
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2$ mkvalidator
mkvalidator: command not found
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2$ mkvalidator
mkvalidator: command not found
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2$ ls
build          config.h   corec     GNUmakefile  libmatroska2 ReadMe.txt
root.proj
ChangeLog.txt  configure  coremake  libebml2     mkvalidator  release
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2$ cd mkvalidator/
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator$ make -C
mkvalidator
make: *** mkvalidator: No such file or directory.  Stop.
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator$ ls
configure    mkvalidator.c    mkvalidator.proj  mkvalidator_stdafx.c
pkg.sh
GNUmakefile  mkvalidator.mak  mkvalidator_project.h mkvalidator_stdafx.h
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2/mkvalidator$ cd ..
scnsvr at gus:~/Downloads/rbcm/mkvalidator-0.4.2$ coremake gcc_linux_x64
coremake: command not found


Thanks

jS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.matroska.org/pipermail/matroska-users/attachments/20151201/e357e986/attachment-0001.html>


More information about the Matroska-users mailing list