This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Script to Compile Krita & Karbon for You v1.1.2 -Oneiric Edn

Tags: None
(comma "," separated)
atmycrossroads
Registered Member
Posts
3
Karma
0
OS
I am trying to run this script.

Here is the output of my console.

Code: Select all
-desktop:~$ wget http://krita.org/builder/calligra-creative_build-script.sh.tar.gz && tar -xvf calligra-creative_build-script.sh.tar.gz && rm ./calligra-creative_build-script.sh.tar.gz
--2012-04-11 15:46:28--  http://krita.org/builder/calligra-creative_build-script.sh.tar.gz
Resolving proxy.xxx.xxx
Connecting to proxy... connected.
Proxy request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `calligra-creative_build-script.sh.tar.gz'

    [ <=>                                   ] 2,585       --.-K/s   in 0.001s 

2012-04-11 15:46:28 (3.33 MB/s) - `calligra-creative_build-script.sh.tar.gz' saved [2585]


gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now


when I do a file on the supposed compressed file, im told its an HTML document?

Code: Select all
desktop:~$ file calligra-creative_build-script.sh.tar.gz
calligra-creative_build-script.sh.tar.gz: HTML document text


EDIT: Im using ubuntu 11.10
Is something wrong on that end or mine?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I would recommend trying again - it seems you were affected by the krita.org outage - which has been fixed.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
YAFU
Registered Member
Posts
55
Karma
0
OS
atmycrossroads wrote:EDIT: Im using ubuntu 11.10
Is something wrong on that end or mine?


Now you can install Krita, Karbon (or all Calligra) from PPA in 11.10:
http://www.kubuntu.org/news/calligra-2.4.0
User avatar
ALeXeY(akaNord3D)
Registered Member
Posts
177
Karma
0
OS
Now I copied the output from the Ubuntu bash terminal, so the error messages is there (but them absent in calligra-builder.log).
Ubuntu 10.10 x64.

This is a fragment, containing errors:
Code: Select all
[ 90%] Building CXX object krita/plugins/formats/pdf/CMakeFiles/kritapdfimport.dir/kis_pdf_import_widget.o
Linking CXX shared module ../../../../lib/kritabmpexport.so
/home/alex/Calligra/calligra/calligra-src/krita/plugins/paintops/libbrush/kis_text_brush.cpp: In copy constructor 'KisTextBrushesPipe::KisTextBrushesPipe(const KisTextBrushesPipe&)':
/home/alex/Calligra/calligra/calligra-src/krita/plugins/paintops/libbrush/kis_text_brush.cpp:38: error: class 'KisTextBrushesPipe' does not have any field named 'KisBrushesPipe'
/home/alex/Calligra/calligra/calligra-src/krita/plugins/paintops/libbrush/kis_text_brush.cpp:37: warning: base class 'class KisBrushesPipe<KisGbrBrush>' should be explicitly initialized in the copy constructor
Linking CXX shared module ../../../../lib/kritabmpimport.so
make[2]: *** [krita/plugins/paintops/libbrush/CMakeFiles/kritalibbrush.dir/kis_text_brush.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 90%] Building CXX object krita/plugins/formats/ora/CMakeFiles/kritaoraexport.dir/ora_load_context.o
Scanning dependencies of target kritaoraimport
[ 90%] [ 90%] Built target kritabmpexport
Building CXX object krita/plugins/formats/ora/CMakeFiles/kritaoraimport.dir/kritaoraimport_automoc.o
[ 91%] Building CXX object krita/plugins/formats/ora/CMakeFiles/kritaoraimport.dir/ora_import.o
[ 91%] Generating ui_kis_wdg_options_ppm.h
[ 91%] Built target kritabmpimport
[ 91%] Building CXX object krita/plugins/formats/ora/CMakeFiles/kritaoraexport.dir/ora_save_context.o
Scanning dependencies of target kritappmexport
[ 91%] Building CXX object krita/plugins/formats/ppm/CMakeFiles/kritappmexport.dir/kritappmexport_automoc.o
make[1]: *** [krita/plugins/paintops/libbrush/CMakeFiles/kritalibbrush.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 91%] Building CXX object krita/plugins/formats/ppm/CMakeFiles/kritappmexport.dir/kis_ppm_export.o
[ 91%] Building CXX object krita/plugins/formats/ora/CMakeFiles/kritaoraimport.dir/ora_converter.o
[ 91%] Building CXX object krita/plugins/formats/ora/CMakeFiles/kritaoraimport.dir/ora_load_context.o
Linking CXX shared module ../../../../lib/kritapdfimport.so
[ 91%] Building CXX object krita/plugins/formats/ora/CMakeFiles/kritaoraimport.dir/ora_save_context.o
Linking CXX shared module ../../../../lib/kritaoraexport.so
[ 91%] Built target kritapdfimport
[ 91%] Built target kritaoraexport
Linking CXX shared module ../../../../lib/kritaoraimport.so
/home/alex/Calligra/calligra/calligra-src/krita/plugins/formats/ppm/kis_ppm_export.cpp: In member function 'virtual KoFilter::ConversionStatus KisPPMExport::convert(const QByteArray&, const QByteArray&)':
/home/alex/Calligra/calligra/calligra-src/krita/plugins/formats/ppm/kis_ppm_export.cpp:238: warning: 'KisHLineIteratorPixel KisPaintDevice::createHLineIterator(qint32, qint32, qint32, const KisSelection*)' is deprecated (declared at /home/alex/Calligra/calligra/calligra-src/krita/image/kis_paint_device.h:640)
[ 91%] Built target kritaoraimport
Linking CXX shared module ../../../../lib/kritappmexport.so
[ 91%] Built target kritappmexport
make: *** [all] Error 2
Oh noes! I've hit a bash error number 2. Please look just above this text and see if you can see anything that looks like it may be an error message. You can then tell us about it at krita or on IRC at #krita.


This is entire log:
http://www.sendspace.com/file/cxj3w8
User avatar
ALeXeY(akaNord3D)
Registered Member
Posts
177
Karma
0
OS
Now I tried the script under Kubuntu 12.04 x64 beta (with updates).

Here are two logs, calligra-builder.log that was automatic generated and bash_copy.log, copied "by hand" from the terminal. Only the second one contains an error message:
http://www.sendspace.com/filegroup/Fj2y ... FrMr0UAPOQ
User avatar
ALeXeY(akaNord3D)
Registered Member
Posts
177
Karma
0
OS
After manually install some dependencies, I have this warning, that, as I think, prevents the compilation:
Code: Select all
-- WARNING: You are using a version of Qt that causes crashes. As a result Words and Stage will not be built. Please upgrade to 4.8.2. You can also patch Qt and when building Calligra set IHAVEPATCHEDQT. Patch against Qt can be found in qt48setx.patch


What can I do with this?
(In my Kubuntu 12.04, I have installed Qt 4:4.8.1-0Ubuntu4)

I have download the patch from here:
Code: Select all
http://130.75.2.12/source/xref/kde/calligra/qt48setx.patch

So, am I have to launch it and then add "IHAVEPATCHEDQT" to the compiler script?
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
This doesn't prevent Krita from being compiled; but it means there will be no multiline text support.

You first need to do:

git apply qt48setx.patch, if you're in the calligra source directory

then add -DIHAVEPATCHEDQT=true to the cmake command line in the script.

By the way, Qt 4.8 has a lot more bugs. I advise everyone who can, to stay with 4.7.
User avatar
ALeXeY(akaNord3D)
Registered Member
Posts
177
Karma
0
OS
Thanks, Boud! Yes, I understand, it's just warning... there are more errors (about other dependencies).

May be it will be better to downgrade to Qt 4.7.?
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
With Qt 4.7, you definitely will have fewer bugs ;-)
User avatar
ALeXeY(akaNord3D)
Registered Member
Posts
177
Karma
0
OS
Finally it works!!! :)

For now, I leave Qt as is. Will later look what to do if it cause some trouble.
User avatar
ALeXeY(akaNord3D)
Registered Member
Posts
177
Karma
0
OS
ALeXeY(akaNord3D) wrote:...if it cause some trouble.
...Yes, it does. Krita crashes when I try to work with combination of libglew (both 1.5 & 1.6) and 16-bit image.

Code: Select all
[KCrash Handler]
#6  0x00007ff51c22c445 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007ff51c22fbab in abort () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x00007ff51d5f250b in qt_message_output(QtMsgType, char const*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007ff51d5f28bf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007ff51d5f2a64 in qFatal(char const*, ...) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4

So, i'll try to downgrade it to this:
http://www.developer.nokia.com/info/sw. ... 1_1_2.html
User avatar
ALeXeY(akaNord3D)
Registered Member
Posts
177
Karma
0
OS
ALeXeY(akaNord3D) wrote:to downgrade

As it turns out, it's not so easy...
User avatar
ALeXeY(akaNord3D)
Registered Member
Posts
177
Karma
0
OS
Chakra Linux! And the Script now do it well: all dependencies installed and Krita compiled and work (16-bit & OGL+shaders & no that bug* with [x] key)! :)


EDIT: But the [x]-key bug* is present with the multihand tool... :(


Edit2: *I mean the Bug 297833, or similar.
User avatar
ALeXeY(akaNord3D)
Registered Member
Posts
177
Karma
0
OS
ALeXeY(akaNord3D) wrote:Chakra Linux!
...
EDIT: But the [x]-key bug* is present with the multihand tool... :(

Edit2: *I mean the Bug 297833, or similar.


Now I see, that this bug (with multihand) was present even in "old good" Krita, the last one I can build in my old Ubuntu 10.10 (it's version, probably, v2.3.87-572-ga4e01d0). So, I going to continue testing Chakra. :)
User avatar
Kubuntiac
Registered Member
Posts
786
Karma
2
Just a hint to speed things up on Chakra, ALeXeY,

Chakra's package manager (Pacman) doesn't automatically skip installing packages if they are already installed. If you choose the defaults in the script it will reinstall the dependencies each time (unlike on other distros).

When you see:
Code: Select all
Proceed with installation? [Y/n]

Just choose "no" (unless it's your first time running the script).


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot]