neumoDVB

Sudden halt again. Probably need an earlier version of cmake? Mine's 3.20. Will have to find 3.19.


Code:
[root@fedora build]# make -j8
[  1%] Creating directories for 'libneumowxsvg'
[  1%] Building CXX object date/CMakeFiles/date-tz.dir/src/tz.cpp.o
[  2%] Building CXX object xformat/CMakeFiles/xformat.dir/src/ostream_formatter.cc.o
[  2%] Building CXX object xformat/CMakeFiles/xformat.dir/src/format.cc.o
[  3%] Building C object neumolmdb/CMakeFiles/neumolmdb.dir/mdb.c.o
[  3%] Generating code for neumodb chdb.
[  4%] Generating code for neumodb schema.
[  4%] Generating code for neumodb statdb.
cc1: warning: command-line option -fsized-deallocationâ is valid for C++/ObjC++ but not for C
[  4%] Performing download step for 'libneumowxsvg'
/home/davidL/Downloads/neumodvb-master/neumowxsvg/autogen.sh: line 2: libtoolize: command not found
make[2]: *** [CMakeFiles/libneumowxsvg.dir/build.make:97: ../build_ext/neumowxsvg/src/libneumowxsvg-stamp/libneumowxsvg-download] Error 1
make[1]: *** [CMakeFiles/Makefile2:436: CMakeFiles/libneumowxsvg.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  4%] Building C object neumolmdb/CMakeFiles/neumolmdb.dir/midl.c.o
cc1: warning: command-line option-fsized-deallocation is valid for C++/ObjC++ but not for C
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
[  4%] Built target schema_generated_files
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
[  4%] Built target stat_generated_files
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
[  4%] Built target ch_generated_files
[  5%] Linking CXX static library build/libxformat.a
[  5%] Built target xformat
[  6%] Linking C shared library libneumolmdb.so
[  6%] Built target neumolmdb
[  7%] Linking CXX shared library libdate-tz.so
[  7%] Built target date-tz
make: *** [Makefile:136: all] Error 2
[root@fedora build]#
 
BOOST was missing, or perhaps an unusable earlier version was in the package boost-program-options curl-devel.

Found a later version online.

Onwards and upwards...


View attachment 138577
I will add it to the list in the next version. That list may be incomplete.
 
Sudden halt again. Probably need an earlier version of cmake? Mine's 3.20. Will have to find 3.19.


Code:
[root@fedora build]# make -j8
[  1%] Creating directories for 'libneumowxsvg'
[  1%] Building CXX object date/CMakeFiles/date-tz.dir/src/tz.cpp.o
[  2%] Building CXX object xformat/CMakeFiles/xformat.dir/src/ostream_formatter.cc.o
[  2%] Building CXX object xformat/CMakeFiles/xformat.dir/src/format.cc.o
[  3%] Building C object neumolmdb/CMakeFiles/neumolmdb.dir/mdb.c.o
[  3%] Generating code for neumodb chdb.
[  4%] Generating code for neumodb schema.
[  4%] Generating code for neumodb statdb.
cc1: warning: command-line option -fsized-deallocationâ is valid for C++/ObjC++ but not for C
[  4%] Performing download step for 'libneumowxsvg'
/home/davidL/Downloads/neumodvb-master/neumowxsvg/autogen.sh: line 2: libtoolize: command not found
make[2]: *** [CMakeFiles/libneumowxsvg.dir/build.make:97: ../build_ext/neumowxsvg/src/libneumowxsvg-stamp/libneumowxsvg-download] Error 1
make[1]: *** [CMakeFiles/Makefile2:436: CMakeFiles/libneumowxsvg.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  4%] Building C object neumolmdb/CMakeFiles/neumolmdb.dir/midl.c.o
cc1: warning: command-line option-fsized-deallocation is valid for C++/ObjC++ but not for C
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
[  4%] Built target schema_generated_files
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
[  4%] Built target stat_generated_files
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
[  4%] Built target ch_generated_files
[  5%] Linking CXX static library build/libxformat.a
[  5%] Built target xformat
[  6%] Linking C shared library libneumolmdb.so
[  6%] Built target neumolmdb
[  7%] Linking CXX shared library libdate-tz.so
[  7%] Built target date-tz
make: *** [Makefile:136: all] Error 2
[root@fedora build]#
You need to also install clang-tools-extra.
sudo dnf install clang-tools-extra
 
Sudden halt again. Probably need an earlier version of cmake? Mine's 3.20. Will have to find 3.19.


Code:
[root@fedora build]# make -j8
[  1%] Creating directories for 'libneumowxsvg'
[  1%] Building CXX object date/CMakeFiles/date-tz.dir/src/tz.cpp.o
[  2%] Building CXX object xformat/CMakeFiles/xformat.dir/src/ostream_formatter.cc.o
[  2%] Building CXX object xformat/CMakeFiles/xformat.dir/src/format.cc.o
[  3%] Building C object neumolmdb/CMakeFiles/neumolmdb.dir/mdb.c.o
[  3%] Generating code for neumodb chdb.
[  4%] Generating code for neumodb schema.
[  4%] Generating code for neumodb statdb.
cc1: warning: command-line option -fsized-deallocationâ is valid for C++/ObjC++ but not for C
[  4%] Performing download step for 'libneumowxsvg'
/home/davidL/Downloads/neumodvb-master/neumowxsvg/autogen.sh: line 2: libtoolize: command not found
make[2]: *** [CMakeFiles/libneumowxsvg.dir/build.make:97: ../build_ext/neumowxsvg/src/libneumowxsvg-stamp/libneumowxsvg-download] Error 1
make[1]: *** [CMakeFiles/Makefile2:436: CMakeFiles/libneumowxsvg.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  4%] Building C object neumolmdb/CMakeFiles/neumolmdb.dir/midl.c.o
cc1: warning: command-line option-fsized-deallocation is valid for C++/ObjC++ but not for C
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
[  4%] Built target schema_generated_files
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
[  4%] Built target stat_generated_files
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
sh: line 1: clang-format: command not found
[  4%] Built target ch_generated_files
[  5%] Linking CXX static library build/libxformat.a
[  5%] Built target xformat
[  6%] Linking C shared library libneumolmdb.so
[  6%] Built target neumolmdb
[  7%] Linking CXX shared library libdate-tz.so
[  7%] Built target date-tz
make: *** [Makefile:136: all] Error 2
[root@fedora build]#
This requires
sudo dnf install libtool

If a command is missing, you can try to find the required rpm t install as follows:
sudo dnf provides /bin/libtoolize
libtool-2.4.6-40.fc34.x86_64


Last metadata expiration check: 1:55:50 ago on Fri 17 Sep 2021 06:19:34 PM CEST.
libtool-2.4.6-40.fc34.x86_64 : The GNU Portable Library Tool
Repo : @System
Matched from:
Filename : /usr/bin/libtoolize

libtool-2.4.6-40.fc34.x86_64 : The GNU Portable Library Tool
Repo : fedora
Matched from:
Filename : /usr/bin/libtoolize
 
Please also perform a pull to get a few recent bug fixes.
 
Please also perform a pull to get a few recent bug fixes.
For me, too many errors appearing during a make of this install.

For instance, libexif: it states that it's missing. Searching the file system for libexif confirms that it doesn't exist, yet doing a yum install tells me it is installed.

I also needed to install EXPAT.

I stillk have cmake version 20. I tried to install version 19 from the RPM package I found, bet it still says I'm using 20..

End of the compile:
---------------------------------------------------------------------------------------------------------------------------------------------------------------
checking for EXPAT... yes
checking for LIBEXIF... no
configure: error: *** missing libexif ***
make[2]: *** [CMakeFiles/libneumowxsvg.dir/build.make:92: ../build_ext/neumowxsvg/src/libneumowxsvg-stamp/libneumowxsvg-configure] Error 1
make[1]: *** [CMakeFiles/Makefile2:436: CMakeFiles/libneumowxsvg.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
[root@fedora build]#

---------------------------------------------------------------------------------------------------------------------------------------------------------------

I suppose the errors are because the app is still an alpha build?
 
For me, too many errors appearing during a make of this install.

For instance, libexif: it states that it's missing. Searching the file system for libexif confirms that it doesn't exist, yet doing a yum install tells me it is installed.

I also needed to install EXPAT.

I stillk have cmake version 20. I tried to install version 19 from the RPM package I found, bet it still says I'm using 20..

End of the compile:
---------------------------------------------------------------------------------------------------------------------------------------------------------------
checking for EXPAT... yes
checking for LIBEXIF... no
configure: error: *** missing libexif ***
make[2]: *** [CMakeFiles/libneumowxsvg.dir/build.make:92: ../build_ext/neumowxsvg/src/libneumowxsvg-stamp/libneumowxsvg-configure] Error 1
make[1]: *** [CMakeFiles/Makefile2:436: CMakeFiles/libneumowxsvg.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
[root@fedora build]#

---------------------------------------------------------------------------------------------------------------------------------------------------------------

I suppose the errors are because the app is still an alpha build?
Probably you need libexif-devel.
So far all reported errors are related to prerequisite software not being installed. Once the list
is complete, these errors will be gone.
 
Probably you need libexif-devel.
So far all reported errors are related to prerequisite software not being installed. Once the list
is complete, these errors will be gone.
Thankyou. I'm too impatient I suppose. Can't wait to have it working :)
 
Also: be sure to not confuse between the 686 and x86_64 version.
You need
/usr/lib64/libexif.so in the filesystem
and rpms ending in x86_64, like
libexif-devel-0.6.22-4.fc34.x86_64
That would be the default anyway.
 
Also: be sure to not confuse between the 686 and x86_64 version.
You need
/usr/lib64/libexif.so in the filesystem
and rpms ending in x86_64, like
libexif-devel-0.6.22-4.fc34.x86_64
That would be the default anyway.
OK with that, thanks.
Quick question. Log4cxx nowhere to be found, only have "Find log4cxx" in neumodvb-master/cmake/modules. No idea what to do with that.

Compile throws up "Can't find log4cxx.logger.h" so no progress after that.

Tried finding it online, there's Apache log4cxx and tried building it, but nothing comes of it.
 
OK with that, thanks.
Quick question. Log4cxx nowhere to be found, only have "Find log4cxx" in neumodvb-master/cmake/modules. No idea what to do with that.

Compile throws up "Can't find log4cxx.logger.h" so no progress after that.

Tried finding it online, there's Apache log4cxx and tried building it, but nothing comes of it.
I think it's built successfully now. Thankfully no errors. Just needed to install the RPM package log4cxx :-doh

Will see how far I've progressed (tomorrow now).
 
I will add the two missing dependencies to the documentation.

One step at a time.
 
I will add the two missing dependencies to the documentation.

One step at a time.
Unfortunately, I was checking blindscan-master when I said there were no errors. neumodvb still has a couple, namely concerning CLI. See screenshot.

In neumodvb/src/reciever. neumo-tune has *include "CLI/CLI.hpp and *include "neumofrontend.h, but only the latter has a presence in /src/reciever. Same in neumo-blindscan.

Also, I'm not sure how significant it is to the above, but /src/reciever/CLI is a link to /home/Philips/neumodvb/CLI11/include/CLI, whoever that is. I can't open that myself to change it - needs looking into perhaps in CLI at neumodvb GitHub?
 

Attachments

This is easy to fix:
cd ~/neumodvb/src/receiver
rm -f CLI
ln -s ../../CLI11/include/CLI/ .
cd ~/neumodvb/build
rm -fr ~/neumodvb/build/*
cmake ..
make -j8

I have fixed this in github. So another solution is to 'git pull' and then rebuild. Maybe it is best to
clean the already built files.
 
This is easy to fix:
cd ~/neumodvb/src/receiver
rm -f CLI
ln -s ../../CLI11/include/CLI/ .
cd ~/neumodvb/build
rm -fr ~/neumodvb/build/*
cmake ..
make -j8

I have fixed this in github. So another solution is to 'git pull' and then rebuild. Maybe it is best to
clean the already built files.
Yes, I've rebuilt a couple of times to refresh the build.

Ok, I'll do a fix with CLI, too. Thanks.
 
First try at a make today , one error caused by no libconfig.h++. Loads of verbose stuff to scroll back to actually find the error. :rolleyes:

Downloaded libconfig-devel, which includes it.

Now, recompiled, output gives me this:-
Code:
[ 23%] Built target pyspectrum
fatal error: PCH file '/home/davidL/neumodvb/build/src/neumodb/schema/CMakeFiles/schema.dir/cmake_pch.hxx.gch' is out of date and needs to be rebuilt: module file out of date
note: imported by '/home/davidL/neumodvb/build/src/neumodb/schema/CMakeFiles/schema.dir/cmake_pch.hxx.gch'
1 error generated.
fatal error: fatal error: PCH file '/home/davidL/neumodvb/build/src/neumodb/schema/CMakeFiles/schema.dir/cmake_pch.hxx.gch' is out of date and needs to be rebuilt: module file out of date
PCH file '/home/davidL/neumodvb/build/src/neumodb/schema/CMakeFiles/schema.dir/cmake_pch.hxx.gch' is out of date and needs to be rebuilt: module file out of date
note: note: imported by '/home/davidL/neumodvb/build/src/neumodb/schema/CMakeFiles/schema.dir/cmake_pch.hxx.gch'imported by '/home/davidL/neumodvb/build/src/neumodb/schema/CMakeFiles/schema.dir/cmake_pch.hxx.gch'

11 error generated.
 error generated.
make[2]: *** [src/neumodb/schema/CMakeFiles/schema.dir/build.make:141: src/neumodb/schema/CMakeFiles/schema.dir/schema_db.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [src/neumodb/schema/CMakeFiles/schema.dir/build.make:125: src/neumodb/schema/CMakeFiles/schema.dir/schema.cc.o] Error 1
make[2]: *** [src/neumodb/schema/CMakeFiles/schema.dir/build.make:157: src/neumodb/schema/CMakeFiles/schema.dir/schema_keys.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1164: src/neumodb/schema/CMakeFiles/schema.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
[davidL@fedora build]$


Too deep now for me to look for a fix. Best perhaps at this stage to wait now until everything's in good order.
 
Yet another missing dependency. Solution:

sudo dnf install -y libconfig libconfig-devel
 
Yet another missing dependency. Solution:

sudo dnf install -y libconfig libconfig-devel
Ye,s, I had done that, the result being the errors shown in my last post when next recompiling.

Edit: Just read the Installation notes mentioning the possible problem re cmake version. I'm using cmake 3.20, so I'll see if I can roll back to 3.19 (somehow).
 
sudo dnf downgrade cmake
sudo dnf versionlock cmake
 
Did that deeptho, but same problem. Instead I did your workaround rm -fr.

That cleared those errors, and now, unbelievably, builds to 99% and stops there :(

Are the errors concerned with the mpv player?

(The wxWidgets-devel mpv-libs-devel ffmpeg-devel ffmpeg-libs installed OK).

Code:
[ 98%] Building CXX object src/viewer/CMakeFiles/pyneumompv.dir/neumosvg.cc.o
[ 99%] Building CXX object src/viewer/CMakeFiles/pyneumompv.dir/neumompv_pybind.cc.o
/home/davidL/neumodvb/src/viewer/neumompv.cc:274:18: error: no member named 'glXGetProcAddressARB' in the global namespace
        return (void*)::glXGetProcAddressARB((const GLubyte*)name);
                      ~~^
/home/davidL/neumodvb/src/viewer/neumompv.cc:1145:15:error :pyneumompv.dir no matching constructor for initialization of 'wxPaintEvent'
        wxPaintEvent evt(wxID_ANY);
                     ^   ~~~~~~~~
/usr/include/wx-3.1/wx/event.h:2372:24: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'wxStandardID' to 'const wxPaintEvent' for 1st argument
class WXDLLIMPEXP_CORE wxPaintEvent : public wxEvent
                       ^
/usr/include/wx-3.1/wx/event.h:2379:14: note: candidate constructor not viable: no known conversion from 'wxStandardID' to 'wxWindowBase *' for 1st argument
    explicit wxPaintEvent(wxWindowBase* window = NULL);
             ^
/home/davidL/neumodvb/src/viewer/neumompv_pybind.cc:42:3: error: use of undeclared identifier 'XInitThreads'; did you mean 'init_threads'?
                XInitThreads();
                ^~~~~~~~~~~~
                init_threads
/home/davidL/neumodvb/src/viewer/neumompv_pybind.cc:39:6: note: 'init_threads' declared here
void init_threads() {
     ^
2 errors generated.
make[2]: *** [src/viewer/CMakeFiles/pyneumompv.dir/build.make:82: src/viewer/CMakeFiles/pyneumompv.dir/neumompv.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
1 error generated.
make[2]: *** [src/viewer/CMakeFiles/pyneumompv.dir/build.make:108: src/viewer/CMakeFiles/pyneumompv.dir/neumompv_pybind.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1576: src/viewer/CMakeFiles/pyneumompv.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 99%] Linking CXX shared module pyreceiver.cpython-39-x86_64-linux-gnu.so
[ 99%] Built target pyreceiver
make: *** [Makefile:149: all] error 2
[root@fedora build]#
 
Back
Top