Bug 271293 - Compilation of parts/kbytesedit failed because of mistake in oktetacore library name.
Summary: Compilation of parts/kbytesedit failed because of mistake in oktetacore libra...
Status: RESOLVED FIXED
Alias: None
Product: okteta
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: ---
Assignee: Friedrich W. H. Kossebau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-19 14:11 UTC by Alexandr Akulich
Modified: 2011-04-24 18:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch, that change oktetacore to ${oktetacore_LIB}. (355 bytes, patch)
2011-04-19 14:11 UTC, Alexandr Akulich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Akulich 2011-04-19 14:11:49 UTC
Created attachment 59130 [details]
Patch, that change oktetacore to ${oktetacore_LIB}.

Version:           unspecified (using Devel) 
OS:                Linux

Commit 1228291 change oktetagui to ${oktetagui_LIB}, but (i think that) oktetacore should be changed to ${oktetacore_LIB} too, like in other files. It fix compile of okteta in Gentoo with kde-live overlay.

Reproducible: Didn't try

Steps to Reproduce:
Try to compile okteta.

Actual Results:  
[ 30%] Building CXX object okteta/kasten/core/CMakeFiles/oktetakastencore1.dir/io/filesystem/bytearrayrawfileconnectjob.o                      
[ 30%] Building CXX object okteta/kasten/core/CMakeFiles/oktetakastencore1.dir/io/filesystem/bytearrayrawfilewritejob.o                        
Linking CXX shared module ../../../lib/libkbytearrayedit.so                                                                                    
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -loktetacore                                        
collect2: ld returned 1 exit status
make[2]: *** [lib/libkbytearrayedit.so] Error 1
make[1]: *** [okteta/parts/kbytesedit/CMakeFiles/kbytearrayedit.dir/all] Error 2

Expected Results:  
[ 30%] Building CXX object okteta/kasten/core/CMakeFiles/oktetakastencore1.dir/io/filesystem/bytearrayrawfileconnectjob.o                      
[ 30%] Building CXX object okteta/kasten/core/CMakeFiles/oktetakastencore1.dir/io/filesystem/bytearrayrawfilewritejob.o                        
Linking CXX shared module ../../../lib/libkbytearrayedit.so   
[ 30%] Built target kbytearrayedit
Comment 1 Friedrich W. H. Kossebau 2011-04-19 23:19:40 UTC
SVN commit 1228535 by kossebau:

fixed: turn oktetacore to ${oktetacore_LIB} also in linked-lib list for kbytesedit
Thanks for reporting with a proper patch to Alexandr Akulich
BUG:271293


 M  +1 -1      CMakeLists.txt  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1228535
Comment 2 Christoph Feck 2011-04-24 17:44:19 UTC
I don't know if it is related, but kdevelop no longer compiles in the kdev-okteta support.
Comment 3 Friedrich W. H. Kossebau 2011-04-24 18:21:39 UTC
(In reply to comment #2)
> I don't know if it is related, but kdevelop no longer compiles in the
> kdev-okteta support.

No longer compiles means it does not find Okteta/Kasten libs and skips kdev-okteta support, or? At least that is what should happen...
well, until someone (like me? :) ) also adds support for the new version of the Okteta/Kasten libs.