LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-22-2015, 09:25 AM   #1
brodo
Member
 
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current 32 / 64
Posts: 406

Rep: Reputation: 30
Kicad 4.0 on current compiling error


Hi folks,

I tried to compile the latest Kicad 4.0 version in the current Slack enviroinmet using Ponce's scripts, but all i got is this:

[ 68%] Linking CXX executable eeschema
cd /tmp/SBo/kicad-4.0.0/build/eeschema && /usr/bin/cmake -E cmake_link_script CMakeFiles/eeschema.dir/link.txt --verbose=1
/usr/bin/c++ -Wall -O2 -march=i486 -mtune=i686 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -fPIC -Wno-unused-local-typedefs -Wno-strict-aliasing -pthread -O2 -DNDEBUG -s -Wl,-cref -Wl,-Map=eeschema.map CMakeFiles/eeschema.dir/__/common/single_top.cpp.o CMakeFiles/eeschema.dir/__/common/pgm_base.cpp.o -o eeschema -rdynamic ../common/libcommon.a ../bitmaps_png/libbitmaps.a -pthread -lwx_gtk2u_gl-3.0 -lwx_gtk2u_aui-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0 -lwx_baseu_xml-3.0 -lwx_gtk2u_stc-3.0 -lboost_context -lboost_date_time -lboost_filesystem -lboost_iostreams -lboost_locale -lboost_program_options -lboost_regex -lboost_system -lboost_thread
/usr/lib/libwebkitgtk-1.0.so.0: undefined reference to `hb_icu_get_unicode_funcs'
/usr/lib/libwebkitgtk-1.0.so.0: undefined reference to `hb_icu_script_to_script'
collect2: error: ld returned 1 exit status
eeschema/CMakeFiles/eeschema.dir/build.make:131: recipe for target 'eeschema/eeschema' failed
make[2]: *** [eeschema/eeschema] Error 1
make[2]: Leaving directory '/tmp/SBo/kicad-4.0.0/build'
CMakeFiles/Makefile2:1030: recipe for target 'eeschema/CMakeFiles/eeschema.dir/all' failed
make[1]: *** [eeschema/CMakeFiles/eeschema.dir/all] Error 2
make[1]: Leaving directory '/tmp/SBo/kicad-4.0.0/build'
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
bash-4.3#

What can be done further to do it properly ?
 
Old 12-22-2015, 10:04 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,077

Rep: Reputation: Disabled
Please post this kind of issue in this thread.
 
Old 12-22-2015, 10:04 AM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,131

Rep: Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202
Quote:
Originally Posted by brodo View Post
/usr/lib/libwebkitgtk-1.0.so.0: undefined reference to `hb_icu_get_unicode_funcs'
/usr/lib/libwebkitgtk-1.0.so.0: undefined reference to `hb_icu_script_to_script'
at a first glance I'm not sure this is a current-specific issue: looks like for some reason webkitgtk gets called in the kicad build and breaks it (underlinking? has to be rebuild against the new harfbuzz?).
try removing temporarily webkitgtk from your system and then rebuild wxGTK3 and kicad.
FYI I just tested building kicad (and mandatory dependencies) in a clean installation of slackware64-current and it went fine.

Last edited by ponce; 12-22-2015 at 10:15 AM.
 
Old 01-02-2016, 02:32 AM   #4
brodo
Member
 
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current 32 / 64
Posts: 406

Original Poster
Rep: Reputation: 30
It seems that installing webkitgtk-2.4.9 instead of older 2.2.2 version solved the problem.
I also recompiled libgnomeprintui, libgnomeprint, libgnomecanvas libgnomecups and libwebp.
And finally Kicad 4.0 of course.
 
  


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
error while compiling kernel 2.6.36 in slackware 13.1 -current el_jauzaa Slackware 8 08-29-2012 08:36 PM
[SOLVED] compiling glibmm on current error zasavage Slackware 2 08-14-2012 02:00 AM
Error compiling Sportwatcher on Slackware current vbisis Slackware 1 08-12-2012 06:24 AM
[SOLVED] Error when compiling Linux-PAM in slackware64-current fakhry Slackware 2 01-02-2012 11:42 AM
[SOLVED] error compiling virtualbox 3.2.10 on current Barx Slackware 4 12-13-2010 05:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:30 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
Open Source Consulting | Domain Registration