Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
02-07-2014, 07:58 AM
|
#196
|
Member
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368
Original Poster
Rep:
|
TobiSGD, I haven't had any error messages before.
Which ones are you facing ?
are you building with pam support, or without etc.
|
|
|
02-07-2014, 08:33 AM
|
#197
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
I am building without PAM. The errors I get are about missing libraries, issued by libtool. Example:
Code:
libtool: link: cannot find the library `libsystemd-shared.la' or unhandled argument `libsystemd-shared.la'
Building with -j1 however works, now I only have to figure out how to actually use systemd.
|
|
|
02-07-2014, 11:22 AM
|
#198
|
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,908
|
I think it is a missing dependency in the Makefile.
Especially since it works with -j1.
|
|
|
02-07-2014, 03:48 PM
|
#199
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Are you building with or without python support?
|
|
|
02-07-2014, 03:53 PM
|
#200
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
I use the Slackbuild as is, except of course switching out -j7 with -j1.
|
|
|
02-07-2014, 04:53 PM
|
#201
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Systemd should build with -j2 or higher MAKEOPTS flags. If it's not then I'd do a query of any dependencies in the system and double or triple check everything before continuing. Check your compiler as well.
One minimal build I've seen (LFS-systemd experimental) disables gudev and python support from the main build.
As an option try testing flags...
--disable-gudev
And...
--without-python
These flags are for entirely optional features according to the documentation. Maybe it's something else though if this isn't it.
Has anyone checked the configure script to see if a flag for
--disable-shared
Exists?
|
|
|
02-08-2014, 05:52 PM
|
#202
|
Member
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368
Original Poster
Rep:
|
Tobi, I was able to reproduce the same error with an AMD CPU only.
libsystemd-shared.la is being build by systemd itself, so either amd cpu's are doing some different things in parallel, or there is something different wrong.
|
|
|
02-08-2014, 06:03 PM
|
#203
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Quote:
Originally Posted by bartgymnast
Tobi, I was able to reproduce the same error with an AMD CPU only.
libsystemd-shared.la is being build by systemd itself, so either amd cpu's are doing some different things in parallel, or there is something different wrong.
|
I have currently no Intel systems available, the building was done on an Athlon QL-66 (dual-core) and a Phenom II X6 (six cores), both had that problem. Might be reasonable to add the information to your Wiki that in case of errors on AMD CPUs compiling with -j1 is recommended.
|
|
|
02-09-2014, 03:10 AM
|
#204
|
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,908
|
It has nothing to do with the processor type.
It only has to do with a missing dependency in the Makefile.
|
|
1 members found this post helpful.
|
02-09-2014, 05:04 AM
|
#205
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Quote:
Originally Posted by jpollard
It has nothing to do with the processor type.
It only has to do with a missing dependency in the Makefile.
|
Which?
|
|
|
02-09-2014, 07:53 AM
|
#206
|
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,908
|
Quote:
Originally Posted by ReaperX7
Which?
|
I assume you are meaning which Makefile... Can't help there.
Systemd has tentacles in so many places. But I would guess it is missing from the core systemd Makefile.
|
|
|
02-09-2014, 08:34 AM
|
#207
|
Senior Member
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727
|
Like I said in this thread, I run that SystemD build in two of my machines. Nothing spectacular, two desktop systems, on somewhat old hardware (think about P4 w. socket 478, with 1G RAM & Co.)...
Also, both runs fine that "disgusting bloated and resurce hog" called KDE(4).
I like to say that everything works fine, from all that time, feeling it as stable solution.
Congratulation, bartgymnast! Looks like you successfully ported that (so hatred) SystemD into Slackware!
Then, we have SystemD. Beyond of that, is just a question of taste (or religious beliefs) on using it or not.
Last edited by Darth Vader; 02-09-2014 at 08:35 AM.
|
|
|
02-09-2014, 09:42 AM
|
#208
|
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,908
|
Quote:
Originally Posted by Darth Vader
...
Congratulation, bartgymnast! Looks like you successfully ported that (so hatred) SystemD into Slackware!
|
Agree. It looks like it is compiled. Now to actually make it work takes a good bit of changes to the startup scripts, and in some cases, changes to the services themselves.
Quote:
Then, we have SystemD. Beyond of that, is just a question of taste (or religious beliefs) on using it or not.
|
Not exactly. It is a question of reliability. Network analysis for dependencies is an NP hard problem. It can be done for small environments such as desktops. But then, the time it takes is better put to use in actually starting them than in computing which comes first. Systemd attempts to do that with a "preprocessed network state"... Unfortunately, it can't be reliable as some things depend on outside operation before they can be started. Also systemd has trouble with timing issues - look at NetworkManager. Systemd has to depend on NetworkManager to tell it when things are ready, unfortunately, NetworkManager also depends on external things (like DHCP, DNS...) to be ready, and some of them aren't. By default systemd assumes the network is ready when NetworkManager is started... or (if directed) when NetworkManager tells systemd the network is ready. Then systemd starts things that depend on the network... like apache, which has been known to fail because the network isn't quite ready (dhcp took a little too long), or DNS isn't quite ready (after all it takes time to load tables...). Sometimes it works - if other services cause these to delay a bit while they get started. But it is now a VERY hard problem to solve when it doesn't work. And then there are services that SOMETIMES have additional dependencies - like apache needing a database (is it local... or remote? or both?)
It used to be trivial to handle...
|
|
1 members found this post helpful.
|
02-09-2014, 09:54 AM
|
#209
|
Member
Registered: Aug 2009
Location: Netherlands
Distribution: Slackware64-current
Posts: 167
Rep:
|
I've just compiled the systemd package on a freshly installed Virtualbox Slackware64 14.1 with an AMD Phenom II X4, with -j7, it did error on the readme while copying stuff over to the package. Tried to build it again with the "install readme" line commented out and it build successfully.
|
|
|
02-10-2014, 12:43 AM
|
#210
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Getting the network up and running has been a long running argument for server usage of systemd and parallel loading of daemons compared to traditional linear loading methods used by sysvinit.
Here's a good question, could systemd be scripted to load network related services without using parallel loading?
|
|
|
All times are GMT -5. The time now is 01:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|