LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 02-24-2014, 08:37 PM   #1
bmarley83
Member
 
Registered: Apr 2013
Location: Pennsylvania
Distribution: Slackware
Posts: 128

Rep: Reputation: 27
Unhappy virt-manager slackbuild dependency problem slackware 14.1 multilib


Hello everyone, I'm running a multi-lib Slackware 14.1 and recently decided to switch from vmware to kvm after finding this nice blog post on how to set it all up, but I've hit a road block because I can't get the virt-manager dependency libcacard from slackbuilds passed the configure stage. I used sbopkg for it and then tried to download and and execute the script myself with the same results. It has no dependencies listed and the error I get in terminal is listed below. I have attached the config.log as well but I'm afraid diagnosing such a log is way beyond my understanding. Anyone else have this problem or any hints or tips?

ERROR:

checking for a BSD-compatible install... /bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/tmp/SBo/libcacard-0.1.2':
configure: error: C compiler cannot create executables
See `config.log' for more details
Attached Files
File Type: log config.log (8.5 KB, 4 views)
 
Old 02-24-2014, 09:46 PM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,030

Rep: Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967
In your log, I see this:
Code:
configure:3030: gcc -O2 -fPIC -I/usr/include/nss -I/usr/include/nspr -lnss3 -lpthread conftest.c  >&5
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: cannot find -lnss3
collect2: error: ld returned 1 exit status
configure:3034: $? = 1
But in mine (genuine Slackware64-14.1, no multi-lib):
Code:
configure:3030: gcc -O2 -fPIC -I/usr/include/nss -I/usr/include/nspr -lnss3 -lpthread conftest.c  >&5
configure:3034: $? = 0
I can only guess that your dynamic linking problem is due to your multi-lib installation.

You could post your problem on the slackbuilds.org mailing list. They don't support multi-lib, though.
 
1 members found this post helpful.
Old 02-24-2014, 10:09 PM   #3
bmarley83
Member
 
Registered: Apr 2013
Location: Pennsylvania
Distribution: Slackware
Posts: 128

Original Poster
Rep: Reputation: 27
Thank you Didier. I guess I'll go ahead and do that, is there anyone else running a multilib system who has successfully installed this package from slack builds?
 
Old 02-25-2014, 12:48 AM   #4
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,407

Rep: Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853
builds fine here on multilib...

is that a Slackware full install? that error could appear also if the mozilla-nss package is not installed.
 
1 members found this post helpful.
Old 02-25-2014, 12:49 AM   #5
JackHair
Member
 
Registered: Aug 2009
Location: Netherlands
Distribution: OpenSuse 13.1
Posts: 80

Rep: Reputation: 16
I could build libcacard without problem, I also have multilib installed. Maybe something else you installed is interfering. I've uploaded the package to dropbox you can download it if you want.

https://dl.dropboxusercontent.com/u/...6_64-1_SBo.tgz
 
1 members found this post helpful.
Old 02-25-2014, 10:30 AM   #6
bmarley83
Member
 
Registered: Apr 2013
Location: Pennsylvania
Distribution: Slackware
Posts: 128

Original Poster
Rep: Reputation: 27
Would doing a slackpkg upgrade and upgrading the kernel images affect my builds? If so how can I go about downgrading them to their original versions otherwise I've backed up and prepared an install medium to reinstall now that I have a better grasp on how I should update the system and install my packages. also thank you everyone for your time and help.

Last edited by bmarley83; 02-25-2014 at 10:36 AM.
 
Old 02-25-2014, 04:27 PM   #7
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,514

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
No, upgrading your kernel does not affect virt-manager
 
Old 02-25-2014, 07:00 PM   #8
bmarley83
Member
 
Registered: Apr 2013
Location: Pennsylvania
Distribution: Slackware
Posts: 128

Original Poster
Rep: Reputation: 27
Reinstalled and it worked, marked solved. Well at least I got a chance to practice backing up and that was a breeze. But I finally broke my Slackware, took me long enough. Still wish I knew what the hell I did wrong, but now I will be much more careful when dealing with packages, actually I know what it was because of ponce's answer. I think a while back I was compiling something from source to do with mozilla-nss and must have overwritten something important. Thanks everybody for your time and consideration this is by far the best Linux community I have ever been a part of, everyone is so knowledgeable.
 
Old 02-25-2014, 11:28 PM   #9
michaelslack
Member
 
Registered: Feb 2013
Location: Sydney
Distribution: slackware
Posts: 79

Rep: Reputation: 25
Hi bmarley83,

Could you post a link to the blog you referred to please?

Thanks,

Michael
 
Old 02-26-2014, 01:59 AM   #10
bmarley83
Member
 
Registered: Apr 2013
Location: Pennsylvania
Distribution: Slackware
Posts: 128

Original Poster
Rep: Reputation: 27
Sure michaelslack, here you go --> http://blog.ataboydesign.com/2013/01...-virt-manager/

Maybe you'll have better luck than I did. Even though the package in question built along with all the other packages, I can't get virt-manager to install a virtual machine without major errors. I saw something on here about updating to the cairo version in current and did so to no avail. Let me know how it goes for you. One thing I wasn't able to get built was Eric's qemu-kvm, so I just installed the package he already built.

Oddly enough, and even though he doesn't mention it in the blog post, it doesn't seem like there is a version on slackbuilds for qemu-kvm, at least not for 14.1. But of coarse I'm not giving up, just need to take some more time to carefully see what needs to be done and then if I can't get it I'm sure one of the many great minds on here can point me in the right direction.

EDIT: Found the deps for qemu-kvm on Aliens repo. Guess I should have checked those first, doh! Homer Simpson moment. I'll give it another shot tomorrow.

Last edited by bmarley83; 02-26-2014 at 02:21 AM.
 
Old 02-26-2014, 03:21 AM   #11
ml4711
Member
 
Registered: Aug 2012
Location: Ryomgård, Danmark
Distribution: Slackware
Posts: 74

Rep: Reputation: 34
from http://http://wiki.qemu.org/KVM

as of the 1.3 release all qemu-kvm features have been merged into upstream QEMU
 
1 members found this post helpful.
Old 02-26-2014, 03:29 AM   #12
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,407

Rep: Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853
the updated queue of packages from SBo needed is this (remove Slackware's nc first)
Code:
netcat-openbsd
yajl
vala
tunctl
urlgrabber
gtk-vnc
usbredir
celt051
pyparsing
spice-protocol
spice
libcacard
spice-gtk
device-tree-compiler
qemu
gnome-python2-gconf
libvirt
libvirt-python
libvirt-glib
ipaddr-py
pygobject3
vte3
virt-manager
you don't need to update cairo as the fixed one has been backported to 14.1.

Last edited by ponce; 02-26-2014 at 03:30 AM.
 
1 members found this post helpful.
Old 02-26-2014, 11:51 AM   #13
bmarley83
Member
 
Registered: Apr 2013
Location: Pennsylvania
Distribution: Slackware
Posts: 128

Original Poster
Rep: Reputation: 27
Thanks Ponce and ml4711. Ponce after using your queue file my build fails for the first dep netcat-openbsd with this error. I just did a fresh install and have multilib. I'm using sbopkg and copied pasted, and replaced the queue file autogenerated by sqg with your list into the sbopkg virt-manager.

ERROR:

netcat.c:99:24: fatal error: bsd/stdlib.h: No such file or directory
#include <bsd/stdlib.h>
^
compilation terminated.
make: *** [netcat.o] Error 1
make: *** Waiting for unfinished jobs....
socks.c:41:32: fatal error: bsd/readpassphrase.h: No such file or directory
#include <bsd/readpassphrase.h>
^
compilation terminated.
make: *** [socks.o] Error 1

Last edited by bmarley83; 02-26-2014 at 12:04 PM.
 
Old 02-26-2014, 12:15 PM   #14
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,514

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
have you installed this package: http://slackbuilds.org/repository/14...raries/libbsd/ ??
 
1 members found this post helpful.
Old 02-26-2014, 12:16 PM   #15
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,437
Blog Entries: 2

Rep: Reputation: 4000Reputation: 4000Reputation: 4000Reputation: 4000Reputation: 4000Reputation: 4000Reputation: 4000Reputation: 4000Reputation: 4000Reputation: 4000Reputation: 4000
netcat.openbsd has a dependency on libbsd. I would gues that ponce just missed that.
 
1 members found this post helpful.
  


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
Problem with virt-manager sanaz Linux - Virtualization and Cloud 2 04-09-2013 02:43 PM
SBo Protocol for using slackware-current package as slackbuild dependency? michaelslack Slackware 7 03-07-2013 07:35 PM
[SOLVED] Broffice not compile on Slack64(multilib or no multilib);SlackBuild afreitascs Slackware 4 06-14-2010 07:16 AM
LXer: Hacking libvirt/virsh/virt-manager/virt-install at Xen 4.0 Dom0 on top of Ubunt LXer Syndicated Linux News 0 05-06-2010 02:50 PM
LXer: Virt-install&Virt-manager at Xen 4.0-rc8 (2.6.32.10 pvops) Dom0 on top Ubuntu K LXer Syndicated Linux News 0 03-26-2010 09:41 PM


All times are GMT -5. The time now is 03:37 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration