LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-18-2017, 12:03 PM   #1
sdowney717
Member
 
Registered: Sep 2015
Posts: 447

Rep: Reputation: Disabled
fontconfig was not found, but it is installed.


How can I adjust the path?
I want to compile vdr 2.2
http://tvdr.de/download.htm

Code:
scott@scott-MS-7596:~/Downloads/vdr-2.2.0$ make
Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fontconfig' found
font.c:19:10: error: #include expects "FILENAME" or <FILENAME>
 #include FT_FREETYPE_H
          ^~~~~~~~~~~~~
make: *** Deleting file '.dependencies'
Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fontconfig' found
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DREMOTE_KBD -DLIRC_DEVICE=\"/var/run/lirc/lircd\" -DVIDEODIR=\"/srv/vdr/video\" -DCONFDIR=\"/var/lib/vdr\" -DARGSDIR=\"/etc/vdr/conf.d\" -DCACHEDIR=\"/var/cache/vdr\" -DRESDIR=\"/usr/local/share/vdr\" -DPLUGINDIR=\"/usr/local/lib/vdr\" -DLOCDIR=\"/usr/local/share/locale\"   -o dvbdevice.o dvbdevice.c
dvbdevice.c: In member function ‘bool cDvbTuner::SetFrontend()’:
dvbdevice.c:848:31: error: call of overloaded ‘abs(unsigned int&)’ is ambiguous
      frequency = abs(frequency); // Allow for C-band, where the frequency is less than the LOF
                               ^
In file included from /usr/include/c++/7/cstdlib:75:0,
                 from /usr/include/c++/7/stdlib.h:36,
                 from config.h:15,
                 from channels.h:13,
                 from device.h:13,
                 from dvbdevice.h:15,
                 from dvbdevice.c:10:
/usr/include/stdlib.h:722:12: note: candidate: int abs(int)
 extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
            ^~~
In file included from /usr/include/c++/7/cstdlib:77:0,
                 from /usr/include/c++/7/stdlib.h:36,
                 from config.h:15,
                 from channels.h:13,
                 from device.h:13,
                 from dvbdevice.h:15,
                 from dvbdevice.c:10:
/usr/include/c++/7/bits/std_abs.h:56:3: note: candidate: long int std::abs(long int)
   abs(long __i) { return __builtin_labs(__i); }
   ^~~
/usr/include/c++/7/bits/std_abs.h:61:3: note: candidate: long long int std::abs(long long int)
   abs(long long __x) { return __builtin_llabs (__x); }
   ^~~
/usr/include/c++/7/bits/std_abs.h:70:3: note: candidate: constexpr double std::abs(double)
   abs(double __x)
   ^~~
/usr/include/c++/7/bits/std_abs.h:74:3: note: candidate: constexpr float std::abs(float)
   abs(float __x)
   ^~~
/usr/include/c++/7/bits/std_abs.h:78:3: note: candidate: constexpr long double std::abs(long double)
   abs(long double __x)
   ^~~
/usr/include/c++/7/bits/std_abs.h:84:3: note: candidate: constexpr __int128 std::abs(__int128)
   abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; }
   ^~~
/usr/include/c++/7/bits/std_abs.h:102:3: note: candidate: constexpr __float128 std::abs(__float128)
   abs(__float128 __x)
   ^~~
Makefile:124: recipe for target 'dvbdevice.o' failed
make: *** [dvbdevice.o] Error 1
scott@scott-MS-7596:~/Downloads/vdr-2.2.0$

Code:
scott@scott-MS-7596:~/Downloads/vdr-2.2.0$ sudo apt install fontconfig
Reading package lists... Done
Building dependency tree       
Reading state information... Done
fontconfig is already the newest version (2.11.94-0ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
scott@scott-MS-7596:~/Downloads/vdr-2.2.0$
Well, I got fontconfig properly installed, but still wont compile.
https://www.linuxquestions.org/quest...fig-pc-235424/

Code:
scott@scott-MS-7596:~/Downloads/vdr-2.2.0$ make
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DREMOTE_KBD -DLIRC_DEVICE=\"/var/run/lirc/lircd\" -DVIDEODIR=\"/srv/vdr/video\" -DCONFDIR=\"/var/lib/vdr\" -DARGSDIR=\"/etc/vdr/conf.d\" -DCACHEDIR=\"/var/cache/vdr\" -DRESDIR=\"/usr/local/share/vdr\" -DPLUGINDIR=\"/usr/local/lib/vdr\" -DLOCDIR=\"/usr/local/share/locale\" -I/usr/include/freetype2  -o dvbdevice.o dvbdevice.c
dvbdevice.c: In member function ‘bool cDvbTuner::SetFrontend()’:
dvbdevice.c:848:31: error: call of overloaded ‘abs(unsigned int&)’ is ambiguous
      frequency = abs(frequency); // Allow for C-band, where the frequency is less than the LOF
                               ^
In file included from /usr/include/c++/7/cstdlib:75:0,
                 from /usr/include/c++/7/stdlib.h:36,
                 from config.h:15,
                 from channels.h:13,
                 from device.h:13,
                 from dvbdevice.h:15,
                 from dvbdevice.c:10:
/usr/include/stdlib.h:722:12: note: candidate: int abs(int)
 extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
            ^~~
In file included from /usr/include/c++/7/cstdlib:77:0,
                 from /usr/include/c++/7/stdlib.h:36,
                 from config.h:15,
                 from channels.h:13,
                 from device.h:13,
                 from dvbdevice.h:15,
                 from dvbdevice.c:10:
/usr/include/c++/7/bits/std_abs.h:56:3: note: candidate: long int std::abs(long int)
   abs(long __i) { return __builtin_labs(__i); }
   ^~~
/usr/include/c++/7/bits/std_abs.h:61:3: note: candidate: long long int std::abs(long long int)
   abs(long long __x) { return __builtin_llabs (__x); }
   ^~~
/usr/include/c++/7/bits/std_abs.h:70:3: note: candidate: constexpr double std::abs(double)
   abs(double __x)
   ^~~
/usr/include/c++/7/bits/std_abs.h:74:3: note: candidate: constexpr float std::abs(float)
   abs(float __x)
   ^~~
/usr/include/c++/7/bits/std_abs.h:78:3: note: candidate: constexpr long double std::abs(long double)
   abs(long double __x)
   ^~~
/usr/include/c++/7/bits/std_abs.h:84:3: note: candidate: constexpr __int128 std::abs(__int128)
   abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; }
   ^~~
/usr/include/c++/7/bits/std_abs.h:102:3: note: candidate: constexpr __float128 std::abs(__float128)
   abs(__float128 __x)
   ^~~
Makefile:124: recipe for target 'dvbdevice.o' failed
make: *** [dvbdevice.o] Error 1
scott@scott-MS-7596:~/Downloads/vdr-2.2.0$

Last edited by sdowney717; 10-18-2017 at 12:27 PM.
 
Old 10-18-2017, 12:56 PM   #2
sdowney717
Member
 
Registered: Sep 2015
Posts: 447

Original Poster
Rep: Reputation: Disabled
I found a ppa, but after I installed VDR, it locked all ATSC pci cards to itself, I suppose, so kaffeine now says no devices found.
So I dont have a clue what to do now.
I tried uninstalling everything I installed, and powered off but still no joy with kaffeine, which had been working ok.

unless someone has an idea, I am going to have to reinstall the OS.

I followed these instructions
http://kodi.wiki/view/VDR/Installation#Installation

ok, somehow doing all those installs modified the kaffeine config file to nothing for the source parameter. It is supposed to be US ATSC CENTER FREQUENCIES 8VSB, and it became set to nothing!

Got another issue with sudo, have to run this
xhost +si:localuser:root

Last edited by sdowney717; 10-18-2017 at 01:21 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Do I need both fontconfig and fontconfig-infinality? lionoceros Slackware 2 01-15-2014 12:58 PM
fatal error: fontconfig/fontconfig.h: No such file or directory bogzab Slackware 3 11-07-2011 04:13 PM
Fontconfig error: "conf.d" line 1 no element found MrVahn Slackware 3 06-01-2006 11:00 PM
Fontconfig error: "conf.d", line 1: no element found Li... Linux - Software 2 01-23-2006 04:44 PM
no fonts found (fontconfig) a10392 Debian 2 02-08-2005 05:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration