LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-12-2021, 05:22 PM   #16
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 20.10
Posts: 366

Original Poster
Rep: Reputation: 70

Quote:
Originally Posted by shruggy View Post
These are equivalent as they include both main and universe components:
Code:
deb-src http://ca.archive.ubuntu.com/ubuntu/ groovy multiverse restricted universe main
[...]
deb-src http://ca.archive.ubuntu.com/ubuntu/ groovy-updates multiverse restricted universe main
Alright.
So, what is going on with the cmake thing?
Is there a way to debug it, sort of how we can run a C++ program in an IDE and step through the code?
 
Old 06-14-2021, 03:57 AM   #17
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,425

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
Ref. post #14
Quote:
So I added these lines at the bottom
#I added these for krita
deb-src http://archive.ubuntu.com/ubuntu groovy main universe
deb-src http://archive.ubuntu.com/ubuntu groovy-updates main universe

and ran
sudo apt-get build-dep krita
! ! !
You forgot the important $ sudo apt update
... before $ sudo apt build-dep krita

-
 
Old 06-15-2021, 12:57 PM   #18
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 20.10
Posts: 366

Original Poster
Rep: Reputation: 70
Quote:
Originally Posted by knudfl View Post
Ref. post #14

! ! !
You forgot the important $ sudo apt update
... before $ sudo apt build-dep krita

-
I redid it.
I added those 2 lines to that /etc/apt/sources.list file

and run
the 2 commands and I get
Code:
jake@john-desktop90:~$ sudo apt update
[sudo] password for jake: 
Get:1 http://security.ubuntu.com/ubuntu groovy-security InRelease [110 kB]
Hit:2 http://ca.archive.ubuntu.com/ubuntu groovy InRelease                            
Hit:3 http://archive.canonical.com/ubuntu groovy InRelease                            
Get:4 http://archive.ubuntu.com/ubuntu groovy InRelease [267 kB]                      
Get:5 http://ca.archive.ubuntu.com/ubuntu groovy-updates InRelease [115 kB]           
Hit:6 https://repo.steampowered.com/steam stable InRelease                            
Get:7 http://security.ubuntu.com/ubuntu groovy-security/universe Sources [21.6 kB]    
Get:8 http://ca.archive.ubuntu.com/ubuntu groovy-backports InRelease [101 kB]         
Get:9 http://security.ubuntu.com/ubuntu groovy-security/main amd64 DEP-11 Metadata [18.8 kB]
Get:10 http://security.ubuntu.com/ubuntu groovy-security/universe amd64 Packages [98.3 kB]
Get:11 http://security.ubuntu.com/ubuntu groovy-security/universe i386 Packages [69.0 kB]
Get:12 http://ca.archive.ubuntu.com/ubuntu groovy-updates/universe Sources [49.6 kB]  
Get:13 http://archive.ubuntu.com/ubuntu groovy-updates InRelease [115 kB]             
Get:14 http://security.ubuntu.com/ubuntu groovy-security/universe amd64 DEP-11 Metadata [4,624 B]
Get:15 http://security.ubuntu.com/ubuntu groovy-security/universe amd64 c-n-f Metadata [4,048 B]
Get:16 http://ca.archive.ubuntu.com/ubuntu groovy-updates/main amd64 Packages [492 kB]
Get:17 http://archive.ubuntu.com/ubuntu groovy/main Sources [1,300 kB]                
Get:18 http://ca.archive.ubuntu.com/ubuntu groovy-updates/main i386 Packages [217 kB]
Get:19 http://archive.ubuntu.com/ubuntu groovy/universe Sources [16.3 MB]             
Get:20 http://ca.archive.ubuntu.com/ubuntu groovy-updates/main amd64 DEP-11 Metadata [55.6 kB]
Get:21 http://ca.archive.ubuntu.com/ubuntu groovy-updates/universe i386 Packages [107 kB]
Get:22 http://ca.archive.ubuntu.com/ubuntu groovy-updates/universe amd64 Packages [198 kB]
Get:23 http://ca.archive.ubuntu.com/ubuntu groovy-updates/universe amd64 DEP-11 Metadata [111 kB]
Get:24 http://ca.archive.ubuntu.com/ubuntu groovy-updates/universe amd64 c-n-f Metadata [6,324 B]
Get:25 http://ca.archive.ubuntu.com/ubuntu groovy-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:26 http://ca.archive.ubuntu.com/ubuntu groovy-backports/universe amd64 DEP-11 Metadata [600 B]
Get:27 http://archive.ubuntu.com/ubuntu groovy-updates/universe Sources [49.6 kB]     
Get:28 http://archive.ubuntu.com/ubuntu groovy-updates/main Sources [165 kB]          
Fetched 19.9 MB in 32s (624 kB/s)                                                     
Reading package lists... Done
Building dependency tree       
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
jake@john-desktop90:~$ sudo apt build-dep krita
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  firebird3.0-common firebird3.0-common-doc firebird3.0-server-core firebird3.0-utils
  fonts-liberation2 fonts-open-sans fonts-opensymbol fonts-wine frei0r-plugins
  gir1.2-javascriptcoregtk-4.0 gir1.2-soup-2.4 gir1.2-webkit2-4.0
  glib-networking:i386 gstreamer1.0-plugins-good:i386 gstreamer1.0-x:i386 libaa1:i386
  libabw-0.1-1 libavc1394-0:i386 libboost-date-time1.71.0 libcaca0:i386 libcdr-0.1-1
  libclucene-contribs1v5 libclucene-core1v5 libcmis-0.5-5v5 libdv4:i386
  libe-book-0.1-1 libebur128-1 libel-api-java libeot0 libepubgen-0.1-1
  libetonyek-0.1-1 libexttextcat-2.0-0 libexttextcat-data libfbclient2
  libfreehand-0.1-1 libgavl1 libgstreamer-plugins-good1.0-0:i386 libgudev-1.0-0:i386
  libhsqldb1.8.0-java libib-util libiec61883-0:i386 libjs-three libjsp-api-java
  liblangtag-common liblangtag1 libmhash2 libmlt++3 libmlt-data libmlt6 libmovit8
  libmspub-0.1-1 libmwaw-0.3-3 libmythes-1.2-0 libodfgen-0.1-1 libopencore-amrnb0
  libopencore-amrwb0 liborcus-0.15-0 liborcus-parser-0.15-0 libpagemaker-0.0-0
  libproxy1v5:i386 libqt5websockets5 libraptor2-0 librasqal3 libraw1394-11:i386
  librdf0 librevenge-0.0-0 librtaudio6 libservlet-api-java libservlet3.1-java
  libshout3:i386 libslang2:i386 libsoup2.4-1:i386 libsox-fmt-alsa libsox-fmt-base
  libsox3 libtag1v5:i386 libtag1v5-vanilla:i386 libuno-cppu3 libuno-cppuhelpergcc3-3
  libuno-purpenvhelpergcc3-3 libuno-sal3 libuno-salhelpergcc3-3 libunoloader-java
  libvisio-0.1-1 libvkd3d1 libvkd3d1:i386 libwebsocket-api-java libwine libwine:i386
  libwpd-0.10-10 libwpg-0.3-3 libwps-0.4-4 libxmlsec1 libxmlsec1-nss libxv1:i386
  libyajl2 lp-solve melt qml-module-qtquick-extras uno-libs-private ure wine32:i386
  wine64
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jake@john-desktop90:~$
 
Old 06-15-2021, 11:36 PM   #19
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 20.10
Posts: 366

Original Poster
Rep: Reputation: 70
I tried
sudo apt remove zlib1g-dev
sudo apt install zlib1g-dev

then it looks like
libquazip5-dev
libpng-dev
disappeared so I had to run
sudo apt install libquazip5-dev
sudo apt install libpng-dev

so, then I was able to run
cmake ../krita \
-DCMAKE_INSTALL_PREFIX=$HOME/kritadev/install \
-DCMAKE_BUILD_TYPE=Debug \
-DKRITA_DEVS=ON

and that completed. Then I ran and it looks like install actually does a compile.

make install

Code:
In file included from /usr/include/KF5/KWindowSystem/kkeyserver.h:19,
                 from /home/jake/kritadev/krita/libs/widgetutils/xmlgui/kkeysequencewidget.cpp:23:
/usr/include/KF5/KWindowSystem/kkeyserver_x11.h:16:10: fatal error: xcb/xcb.h: No such file or directory
   16 | #include <xcb/xcb.h>
      |          ^~~~~~~~~~~
compilation terminated.
Wow! It’s not easy.

Last edited by vmelkon; 06-15-2021 at 11:37 PM.
 
Old 06-16-2021, 01:02 AM   #20
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 2,326

Rep: Reputation: Disabled
Code:
apt install libxcb1-dev
 
2 members found this post helpful.
Old 06-18-2021, 10:05 PM   #21
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 20.10
Posts: 366

Original Poster
Rep: Reputation: 70
Quote:
Originally Posted by shruggy View Post
Code:
apt install libxcb1-dev
Thanks dudes.
I had to run
sudo apt remove libxcb1-dev
and then
sudo apt install libxcb1-dev

and that fixed things up. I guess there is something wrong with my Kubuntu 20.10 since I had to do the same with zlib1g-dev and libpng-dev.

SO NOW, the compilation worked! I have a working Linux EXE for Krita!
SOLVED!
 
1 members found this post helpful.
  


Reply

Tags
krita


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
LXer: Krita Devs Work on SVG Support, Python Scripting, and Text Tools for Krita 3.2 LXer Syndicated Linux News 0 12-23-2016 05:07 AM
LXer: Digital Painting with Krita 2.9 provides the missing Krita documentation LXer Syndicated Linux News 0 01-22-2016 05:41 AM
LXer: Krita Animation Edition Gets a Second Beta Release, Still Not Based on Krita 3.0 - Video LXer Syndicated Linux News 0 12-13-2015 12:44 AM
LXer: Krita Port to KDE Frameworks 5 and Qt 5 Almost Done, Krita 3.0 Coming Later This Year LXer Syndicated Linux News 0 09-26-2015 10:23 PM
LXer: Krita Team Seeking Sponsorship to Take Krita to Next Level LXer Syndicated Linux News 0 12-02-2009 10:20 PM

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

All times are GMT -5. The time now is 01:22 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