LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 06-29-2015, 05:22 PM   #16
re_nelson
Member
 
Registered: Oct 2011
Location: Texas, USA
Distribution: LFS-SVN, Gentoo~amd64, CentOS-7, Slackware64-current, FreeBSD-11.1, Arch
Posts: 229

Rep: Reputation: Disabled

Quote:
Originally Posted by Keith Hedger View Post
pretty colours good black and white bad!
All kidding aside, I'm still trying to figure out what problem cmake is attempting to solve over the GNU configure tools. Granted, I've only superficially studied cmake and have, over 20+ years, attained a mastery of GNU configure. So that probably influences my stance. In short, if all goes well and there are no dependencies to track down, cmake is fine. Only when things go wrong or there are headers in out-of-the-way places, do I find cmake nearly inscrutable.

Maybe cmake is the systemd of build systems!
 
Old 06-29-2015, 05:28 PM   #17
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,137

Rep: Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855
I get the impression cmake and the like was just made because someone could it doesn't seem to have any advantages over the configure/make cycle except that the output is neater, personnaly I stick to autotools becuse like you I have invested time in learning them and dont see the need to learn a new build system just for the hell of it, maybe some one can explain why we should prefer cmake over gnu?
 
1 members found this post helpful.
Old 06-30-2015, 01:04 AM   #18
anak_bawang
Member
 
Registered: Jun 2015
Location: Bandung Indonesia
Distribution: Debian, LFS/BLFS
Posts: 138

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by ReaperX7 View Post
Did you install phonon-4.3.80 or later? It said it errored trying to find it. Did you set it in your environment path?
Environment path
Code:
anak_bawang [ ~ ]$ cat /etc/profile.d/kde.sh
# Begin /etc/profile.d/kde.sh

KDE_PREFIX=/opt/kde
KDEDIR=$KDE_PREFIX

pathappend $KDE_PREFIX/bin             PATH
pathappend $KDE_PREFIX/lib/pkgconfig   PKG_CONFIG_PATH
pathappend $KDE_PREFIX/share/pkgconfig PKG_CONFIG_PATH
pathappend $KDE_PREFIX/share           XDG_DATA_DIRS
pathappend $KDE_PREFIX/share/man       MANPATH
pathappend /etc/kde/xdg                XDG_CONFIG_DIRS

export KDE_PREFIX KDEDIR

# End /etc/profile.d/kde.sh

anak_bawang [ ~ ]$ echo $KDE_PREFIX
/opt/kde

anak_bawang [ ~ ]$ echo $PATH
/opt/qt4/bin:/usr/local/bin:/bin:/usr/bin:/opt/ant/bin:/opt/kde/bin:/opt/jdk/bin:/opt/fop
And, phonon installed
Code:
anak_bawang [ ~ ]$ ls -l $KDE_PREFIX/lib/libphonon*
lrwxrwxrwx 1 root root     26 Jun 24 17:31 /opt/kde/lib/libphononexperimental.so -> libphononexperimental.so.4
lrwxrwxrwx 1 root root     30 Jun 24 17:31 /opt/kde/lib/libphononexperimental.so.4 -> libphononexperimental.so.4.8.3
-rwxr-xr-x 1 root root 126556 Jun 24 17:31 /opt/kde/lib/libphononexperimental.so.4.8.3
lrwxrwxrwx 1 root root     14 Jun 24 17:31 /opt/kde/lib/libphonon.so -> libphonon.so.4
lrwxrwxrwx 1 root root     18 Jun 24 17:31 /opt/kde/lib/libphonon.so.4 -> libphonon.so.4.8.3
-rwxr-xr-x 1 root root 619116 Jun 24 17:31 /opt/kde/lib/libphonon.so.4.8.3

anak_bawang [ ~ ]$ ls -l $KDE_PREFIX/include/phonon/
total 548
-rw-r--r-- 1 root root    33 Dec  4  2014 AbstractAudioOutput
-rw-r--r-- 1 root root  1851 Dec  4  2014 abstractaudiooutput.h
-rw-r--r-- 1 root root    33 Dec  4  2014 AbstractMediaStream
-rw-r--r-- 1 root root  6632 Dec  4  2014 abstractmediastream.h
-rw-r--r-- 1 root root    33 Dec  4  2014 AbstractVideoOutput
-rw-r--r-- 1 root root  2226 Dec  4  2014 abstractvideooutput.h
-rw-r--r-- 1 root root    28 Dec  4  2014 AddonInterface
-rw-r--r-- 1 root root  8205 Dec  4  2014 addoninterface.h
-rw-r--r-- 1 root root    31 Dec  4  2014 AudioCaptureDevice
-rw-r--r-- 1 root root    36 Dec  4  2014 AudioCaptureDeviceModel
-rw-r--r-- 1 root root    31 Dec  4  2014 AudioChannelDescription
-rw-r--r-- 1 root root    36 Dec  4  2014 AudioChannelDescriptionModel
-rw-r--r-- 1 root root    29 Dec  4  2014 AudioDataOutput
-rw-r--r-- 1 root root  4863 Dec  4  2014 audiodataoutput.h
-rw-r--r-- 1 root root  1576 Dec  4  2014 audiodataoutputinterface.h
-rw-r--r-- 1 root root    25 Dec  4  2014 AudioOutput
-rw-r--r-- 1 root root    31 Dec  4  2014 AudioOutputDevice
-rw-r--r-- 1 root root    36 Dec  4  2014 AudioOutputDeviceModel
-rw-r--r-- 1 root root  6926 Dec  4  2014 audiooutput.h
-rw-r--r-- 1 root root    34 Dec  4  2014 AudioOutputInterface
-rw-r--r-- 1 root root    34 Dec  4  2014 AudioOutputInterface40
-rw-r--r-- 1 root root    34 Dec  4  2014 AudioOutputInterface42
-rw-r--r-- 1 root root  7627 Dec  4  2014 audiooutputinterface.h
-rw-r--r-- 1 root root    36 Dec  4  2014 AvCapture
-rw-r--r-- 1 root root    33 Dec  4  2014 BackendCapabilities
-rw-r--r-- 1 root root  8797 Dec  4  2014 backendcapabilities.h
-rw-r--r-- 1 root root    30 Dec  4  2014 BackendInterface
-rw-r--r-- 1 root root  9756 Dec  4  2014 backendinterface.h
-rw-r--r-- 1 root root    20 Dec  4  2014 Effect
-rw-r--r-- 1 root root    31 Dec  4  2014 EffectDescription
-rw-r--r-- 1 root root    36 Dec  4  2014 EffectDescriptionModel
-rw-r--r-- 1 root root  3674 Dec  4  2014 effect.h
-rw-r--r-- 1 root root    29 Dec  4  2014 EffectInterface
-rw-r--r-- 1 root root  2262 Dec  4  2014 effectinterface.h
-rw-r--r-- 1 root root    29 Dec  4  2014 EffectParameter
-rw-r--r-- 1 root root  7578 Dec  4  2014 effectparameter.h
-rw-r--r-- 1 root root    26 Dec  4  2014 EffectWidget
-rw-r--r-- 1 root root  2447 Dec  4  2014 effectwidget.h
drwxrwxr-x 2 root root  4096 Jun 24 17:31 experimental
-rw-r--r-- 1 root root    29 Dec  4  2014 Global
-rw-r--r-- 1 root root  4024 Dec  4  2014 globalconfig.h
-rw-r--r-- 1 root root    40 Dec  4  2014 GlobalDescriptionContainer
-rw-r--r-- 1 root root  9268 Dec  4  2014 globaldescriptioncontainer.h
-rw-r--r-- 1 root root    29 Dec  4  2014 MediaController
-rw-r--r-- 1 root root 14159 Dec  4  2014 mediacontroller.h
-rw-r--r-- 1 root root    23 Dec  4  2014 MediaNode
-rw-r--r-- 1 root root  2147 Dec  4  2014 medianode.h
-rw-r--r-- 1 root root    25 Dec  4  2014 MediaObject
-rw-r--r-- 1 root root 25306 Dec  4  2014 mediaobject.h
-rw-r--r-- 1 root root    34 Dec  4  2014 MediaObjectInterface
-rw-r--r-- 1 root root  8887 Dec  4  2014 mediaobjectinterface.h
-rw-r--r-- 1 root root    25 Dec  4  2014 MediaSource
-rw-r--r-- 1 root root 12975 Dec  4  2014 mediasource.h
-rw-r--r-- 1 root root    17 Dec  4  2014 Mrl
-rw-r--r-- 1 root root  2644 Dec  4  2014 mrl.h
-rw-r--r-- 1 root root    31 Dec  4  2014 ObjectDescription
-rw-r--r-- 1 root root    31 Dec  4  2014 ObjectDescriptionData
-rw-r--r-- 1 root root 13219 Dec  4  2014 objectdescription.h
-rw-r--r-- 1 root root    36 Dec  4  2014 ObjectDescriptionModel
-rw-r--r-- 1 root root    36 Dec  4  2014 ObjectDescriptionModelData
-rw-r--r-- 1 root root 17018 Dec  4  2014 objectdescriptionmodel.h
-rw-r--r-- 1 root root    18 Dec  4  2014 Path
-rw-r--r-- 1 root root  8029 Dec  4  2014 path.h
-rw-r--r-- 1 root root  4189 Dec  4  2014 phonondefs.h
-rw-r--r-- 1 root root  1795 Dec  4  2014 phonon_export.h
-rw-r--r-- 1 root root 10012 Jun 24 17:30 phononnamespace.h
-rw-r--r-- 1 root root    28 Dec  4  2014 PlatformPlugin
-rw-r--r-- 1 root root  4727 Dec  4  2014 platformplugin.h
-rw-r--r-- 1 root root  6072 Dec  4  2014 pulsesupport.h
-rw-r--r-- 1 root root    24 Dec  4  2014 SeekSlider
-rw-r--r-- 1 root root  4813 Dec  4  2014 seekslider.h
-rw-r--r-- 1 root root    29 Dec  4  2014 StreamInterface
-rw-r--r-- 1 root root  5203 Dec  4  2014 streaminterface.h
-rw-r--r-- 1 root root    31 Dec  4  2014 SubtitleDescription
-rw-r--r-- 1 root root    36 Dec  4  2014 SubtitleDescriptionModel
-rw-r--r-- 1 root root    31 Dec  4  2014 VideoCaptureDevice
-rw-r--r-- 1 root root    36 Dec  4  2014 VideoCaptureDeviceModel
-rw-r--r-- 1 root root    25 Dec  4  2014 VideoPlayer
-rw-r--r-- 1 root root  6434 Dec  4  2014 videoplayer.h
-rw-r--r-- 1 root root    25 Dec  4  2014 VideoWidget
-rw-r--r-- 1 root root  7598 Dec  4  2014 videowidget.h
-rw-r--r-- 1 root root    34 Dec  4  2014 VideoWidgetInterface
-rw-r--r-- 1 root root    34 Dec  4  2014 VideoWidgetInterface44
-rw-r--r-- 1 root root  2741 Dec  4  2014 videowidgetinterface.h
-rw-r--r-- 1 root root    34 Dec  4  2014 VideoWidgetInterfaceLatest
-rw-r--r-- 1 root root    31 Dec  4  2014 VolumeFaderEffect
-rw-r--r-- 1 root root  6262 Dec  4  2014 volumefadereffect.h
-rw-r--r-- 1 root root    34 Dec  4  2014 VolumeFaderInterface
-rw-r--r-- 1 root root  1914 Dec  4  2014 volumefaderinterface.h
-rw-r--r-- 1 root root    26 Dec  4  2014 VolumeSlider
-rw-r--r-- 1 root root  4922 Dec  4  2014 volumeslider.h

anak_bawang [ ~ ]$ ls -l $KDE_PREFIX/lib/cmake/phonon/
total 16
-rw-r--r-- 1 root root 1332 Jun 24 17:30 PhononConfig.cmake
-rw-r--r-- 1 root root 1174 Jun 24 17:30 PhononConfigVersion.cmake
-rw-r--r-- 1 root root 3372 Jun 24 17:30 PhononTargets.cmake
-rw-r--r-- 1 root root 1549 Jun 24 17:30 PhononTargets-release.cmake

anak_bawang [ ~ ]$ ls -l $KDE_PREFIX/lib/pkgconfig/phonon.pc
-rw-r--r-- 1 root root 294 Jun 24 17:30 /opt/kde/lib/pkgconfig/phonon.pc

Last edited by anak_bawang; 06-30-2015 at 01:11 AM.
 
Old 07-06-2015, 06:28 PM   #19
flesh75
LQ Newbie
 
Registered: May 2002
Location: Canada
Distribution: Debian
Posts: 11

Rep: Reputation: 0
cmake reported that it did not find the symbol 'setproctitle'. On my LFS, I found it in three files :
/usr/lib/libblkid.so, /usr/lib/libmount.so and /usr/lib/libruby.so. The first two are from util-linux and the last one from ruby. Hope this helps.

Last edited by flesh75; 07-06-2015 at 06:36 PM.
 
Old 07-06-2015, 09:21 PM   #20
anak_bawang
Member
 
Registered: Jun 2015
Location: Bandung Indonesia
Distribution: Debian, LFS/BLFS
Posts: 138

Original Poster
Rep: Reputation: 23
After trying so many times, with failure, I decided to start building KDE from the beginning.
I remove all installed KDE packages (binaries, libraries, symbolic links, etc).

Re-create KDE directory, and environment, then compile the first KDE package Automoc4.
Next another packages, one by one following the BLFS book.
Everything is okay. I can start my KDE now.

But I'm still curious about this.
 
Old 10-20-2015, 07:48 PM   #21
re_nelson
Member
 
Registered: Oct 2011
Location: Texas, USA
Distribution: LFS-SVN, Gentoo~amd64, CentOS-7, Slackware64-current, FreeBSD-11.1, Arch
Posts: 229

Rep: Reputation: Disabled
Quote:
Originally Posted by Keith Hedger View Post
I get the impression cmake and the like was just made because someone could it doesn't seem to have any advantages over the configure/make cycle except that the output is neater, personnaly I stick to autotools becuse like you I have invested time in learning them and dont see the need to learn a new build system just for the hell of it, maybe some one can explain why we should prefer cmake over gnu?
What a difference a few months make! At least to me.

Like you, Keith, my comfort zone was autotools/GNU make and I was skeptical of anything else. Just over the past few weeks, I've been exploring the LLVM toolchain, especially the lldb debugger, far better than gdb IMHO.

That journey of discovery led down the path to ninja and, thus, a reassessment of cmake since LLVM is slightly biased in that direction. It took some education on my part and discarding some ingrained ideas but I'm now convinced that cmake/ninja is at least a viable (if not superior) alternative to what had previously been part of my DNA. I can now see why many software projects have migrated to this newer way of building.

I am reluctant to give up the familiar which is why I had similar growing pains years ago as I evolved from CVS to Git for source code management. I'm glad I made that change back in 2011 and have become increasingly at home with cmake/ninja.

YMMV. But ain't it great that the LFS/BLFS foundation allows a means for us to explore and learn some new things!
 
  


Reply


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
[SOLVED] [How-To] Setting up X in BLFS if auto configuration doesn't work. ReaperX7 Linux From Scratch 13 04-19-2016 10:09 AM
[SOLVED] Xorg configuration fails - BLFS 6.3 DougCM Linux From Scratch 3 12-25-2010 10:49 AM
cmake: Using find_package(Boost) when FindBoost.cmake is not in the default location damien_d Programming 3 10-27-2010 03:40 PM
desktop configuration file on blfs ashmita04 Linux From Scratch 1 07-18-2007 10:12 PM
Incomplete Internet Configuration Wizard tom54 Linux - Wireless Networking 1 05-21-2007 11:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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