LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-15-2018, 10:50 AM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
need help figuring this one out, I am hacking away on a dockapp and I ran into a snatch...


this little bugger is called. wmcpuwatch. at the bottom of the output posted is the error I am now getting preventing it from sowing on the desktop (WMaker).

first it told me I needed
Code:
# Define CMake minimum
cmake_minimum_required(VERSION 3.9)
So I changed it to this..
Code:
# Define CMake minimum
cmake_minimum_required(VERSION 3.5)
it did its thing, I did the steps from here.
https://bitbucket.org/StarFire/wmcpuwatch
Build
Source package
Installing

in the building I got some warnings,
Code:
$ cmake .
CMake Error at CMakeLists.txt:3 (cmake_minimum_required):
  CMake 3.9 or higher is required.  You are running version 3.5.2


-- Configuring incomplete, errors occurred!
userx@slackwhere:~/Documents/wmcpuwatch-0.2
$ cmake .
-- The C compiler identification is GNU 5.5.0
-- The CXX compiler identification is GNU 5.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found DOCKAPP: /usr/local/lib/libdockapp.so  
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.9.1") 
doxygen found: Creating code documentation
-- Configuring done
-- Generating done
-- Build files have been written to: /home/userx/Documents/wmcpuwatch-0.2
userx@slackwhere:~/Documents/wmcpuwatch-0.2
$ make
Scanning dependencies of target wmcpuwatch
[ 25%] Building C object CMakeFiles/wmcpuwatch.dir/ulllib.c.o
[ 50%] Building C object CMakeFiles/wmcpuwatch.dir/wmcpuwatch.c.o
[ 75%] Linking C executable wmcpuwatch
[ 75%] Built target wmcpuwatch
Scanning dependencies of target doc_doxygen
[100%] Generating code documentation
Warning: ignoring unsupported tag `TOC_INCLUDE_HEADINGS   =' at line 313, file /home/userx/Documents/wmcpuwatch-0.2/doc/Doxyfile
Warning: ignoring unsupported tag `GROUP_NESTED_COMPOUNDS =' at line 370, file /home/userx/Documents/wmcpuwatch-0.2/doc/Doxyfile
Warning: ignoring unsupported tag `WARN_AS_ERROR          =' at line 765, file /home/userx/Documents/wmcpuwatch-0.2/doc/Doxyfile
Warning: Tag `CLANG_ASSISTED_PARSING' at line 1082 of file `/home/userx/Documents/wmcpuwatch-0.2/doc/Doxyfile' belongs to an option that was not enabled at compile time.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u", or recompile doxygen with this feature enabled.
Warning: Tag `CLANG_OPTIONS' at line 1090 of file `/home/userx/Documents/wmcpuwatch-0.2/doc/Doxyfile' belongs to an option that was not enabled at compile time.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u", or recompile doxygen with this feature enabled.
Warning: ignoring unsupported tag `LATEX_TIMESTAMP        =' at line 1829, file /home/userx/Documents/wmcpuwatch-0.2/doc/Doxyfile
Warning: ignoring unsupported tag `PLANTUML_CFG_FILE      =' at line 2429, file /home/userx/Documents/wmcpuwatch-0.2/doc/Doxyfile
sh: dot: command not found
sh: dot: command not found
[100%] Built target doc_doxygen
userx@slackwhere:~/Documents/wmcpuwatch-0.2
$ make package_source
Run CPack packaging tool for source...
CPack: Create package using TBZ2
CPack: Install projects
CPack: - Install directory: /home/userx/Documents/wmcpuwatch-0.2
CPack: Create package
CPack: - package: /home/userx/Documents/wmcpuwatch-0.2/wmcpuwatch-0.2.tar.bz2 generated.
userx@slackwhere:~/Documents/wmcpuwatch-0.2
$ 
userx@slackwhere:~/Documents/wmcpuwatch-0.2
$ su
Password: 
root@slackwhere:/home/userx/Documents/wmcpuwatch-0.2
# make install
[ 75%] Built target wmcpuwatch
[100%] Generating code documentation
Warning: ignoring unsupported tag `TOC_INCLUDE_HEADINGS   =' at line 313, file /home/userx/Documents/wmcpuwatch-0.2/doc/Doxyfile
Warning: ignoring unsupported tag `GROUP_NESTED_COMPOUNDS =' at line 370, file /home/userx/Documents/wmcpuwatch-0.2/doc/Doxyfile
Warning: ignoring unsupported tag `WARN_AS_ERROR          =' at line 765, file /home/userx/Documents/wmcpuwatch-0.2/doc/Doxyfile
Warning: Tag `CLANG_ASSISTED_PARSING' at line 1082 of file `/home/userx/Documents/wmcpuwatch-0.2/doc/Doxyfile' belongs to an option that was not enabled at compile time.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u", or recompile doxygen with this feature enabled.
Warning: Tag `CLANG_OPTIONS' at line 1090 of file `/home/userx/Documents/wmcpuwatch-0.2/doc/Doxyfile' belongs to an option that was not enabled at compile time.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u", or recompile doxygen with this feature enabled.
Warning: ignoring unsupported tag `LATEX_TIMESTAMP        =' at line 1829, file /home/userx/Documents/wmcpuwatch-0.2/doc/Doxyfile
Warning: ignoring unsupported tag `PLANTUML_CFG_FILE      =' at line 2429, file /home/userx/Documents/wmcpuwatch-0.2/doc/Doxyfile
sh: dot: command not found
sh: dot: command not found
[100%] Built target doc_doxygen
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/bin/wmcpuwatch

[ WHOLE BUNCH OF PATH STATEMENTS WHERE STUFF IS GOING]

root@slackwhere:/home/userx/Documents/wmcpuwatch-0.2
# wmcpuwatch
Invalid MIT-MAGIC-COOKIE-1 keywmcpuwatch: can't open display :0
root@slackwhere:/home/userx/Documents/wmcpuwatch-0.2
#
when ran in the cli I get this with a no show of dockapp.. (of course)

so anyone one any ideas how to fix that?
thanks
 
Old 02-15-2018, 10:54 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Screew it! I got it, as I was root on cli and well .. that was it. it is working I ran it in run (little window that pops open) and it is now up on my desktop.
 
  


Reply



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
LXer: Using Android 4.3? Don't let malware snatch your private login keys LXer Syndicated Linux News 0 06-30-2014 06:41 PM
LXer: Citrix set to snatch XenSource LXer Syndicated Linux News 0 08-13-2007 11:42 PM
Dapper-swap-snatch! aquaboot Ubuntu 5 06-03-2006 10:35 PM
How does fluxbox know a dockapp is a dockapp? Cerbere Linux - Software 1 11-12-2003 05:38 AM
Dockapp questions e1000 Linux - Software 1 11-04-2003 11:42 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:17 PM.

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
Open Source Consulting | Domain Registration