LinuxQuestions.org
Review your favorite Linux distribution.
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 05-18-2010, 12:40 AM   #1
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Problem building from slackbuilds


I have tried building a couple of packages like gst-plugins-bad, Qtcurve-Gtk2, but I get make error at this line:

Code:
/usr/lib64/gcc/x86_64-slackware-linux/4.4.4/../../../../x86_64-slackware-linux/bin/ld: cannot find -lgio-2.0
For gparted I'm getting:
Code:
g++: /usr/lib64/libgio-2.0.so: No such file or directory
make[2]: *** [gpartedbin] Error 1
make[2]: Leaving directory `/tmp/SBo/gparted-0.5.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/gparted-0.5.2'
make: *** [all] Error 2
Any ideas?


EDIT: using Slackware64 - current

Last edited by ~sHyLoCk~; 05-18-2010 at 12:43 AM.
 
Old 05-18-2010, 12:48 AM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
What is the output of

ls /var/log/packages/glib2*
 
Old 05-18-2010, 12:49 AM   #3
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173

Original Poster
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by dive View Post
What is the output of

ls /var/log/packages/glib2*
Code:
/var/log/packages/glib2-2.22.5-x86_64-1
 
Old 05-18-2010, 12:59 AM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
libgio-2.0.so should be a symlink to the actual lib. For me (on 32 bit):

ls -l /usr/lib/libgio-2.0.so
lrwxrwxrwx 1 root root 22 2010-04-07 13:44 /usr/lib/libgio-2.0.so -> libgio-2.0.so.0.1800.4*

can you 'locate libgio-2.0.so' and see if it's been made in /usr/lib/ instead?

It may help to reinstall the package glib2.
 
Old 05-18-2010, 01:09 AM   #5
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,131

Rep: Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203
on 64 bit current
Code:
$ ls -la /usr/lib64/libgio-2.0.s*
lrwxrwxrwx 1 root root     22 2010-04-30 12:48 /usr/lib64/libgio-2.0.so -> libgio-2.0.so.0.2200.5
lrwxrwxrwx 1 root root     22 2010-04-30 12:48 /usr/lib64/libgio-2.0.so.0 -> libgio-2.0.so.0.2200.5
-rwxr-xr-x 1 root root 673824 2010-04-30 02:14 /usr/lib64/libgio-2.0.so.0.2200.5
$ ls -la /var/log/packages/glib2-2*              
-rw-r--r-- 1 root root 30949 2010-04-30 12:48 /var/log/packages/glib2-2.22.5-x86_64-1
$ grep libgio-2.0.so /var/log/packages/*
/var/log/packages/glib2-2.22.5-x86_64-1:usr/lib64/libgio-2.0.so.0.2200.5
I would suggest a
Code:
slackpkg reinstall glib2

Last edited by ponce; 05-18-2010 at 01:11 AM.
 
Old 05-18-2010, 01:12 AM   #6
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Yeah, looks like the symlinks are missing. Shylock can you reinstall glib2 and see if they are made?

The doinst.sh in the package looks ok to me so maybe just a borked install.

Last edited by dive; 05-18-2010 at 01:30 AM.
 
Old 05-18-2010, 08:43 AM   #7
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173

Original Poster
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Ok reinstalled glib2, now I'm having weird problems while building gst-plugins-ugly. I get this:

Code:
Making all in x264
  CC    gstx264enc.o
gstx264enc.c:425:3: error: attempt to use poisoned "gst_debug_log_valist"
gstx264enc.c: In function 'gst_x264_enc_log_callback':
gstx264enc.c:425: error: 'x264_enc_debug' undeclared (first use in this function)
gstx264enc.c:425: error: (Each undeclared identifier is reported only once
gstx264enc.c:425: error: for each function it appears in.)
gstx264enc.c: In function 'gst_x264_enc_init_encoder':
gstx264enc.c:579: error: 'x264_param_t' has no member named 'b_bframe_pyramid'
gstx264enc.c: In function 'gst_x264_enc_header_buf':
gstx264enc.c:728: warning: implicit declaration of function 'x264_nal_encode'
make[3]: *** [libgstx264_la-gstx264enc.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
So I remove x264 and then build gst-plugins-ugly, I get:

Code:
libtool: install: warning: remember to run `libtool --finish /usr/lib64/gstreamer-0.10'
Making install in docs
Making install in m4
Making install in tests
Making install in check
Making install in common
Making install in m4
Making install in po
installing af.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/af/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing az.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/az/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing bg.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/bg/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing ca.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/ca/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing cs.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/cs/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing da.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/da/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing en_GB.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/en_GB/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing es.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/es/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing fi.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/fi/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing fr.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/fr/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing hu.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/hu/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing id.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/id/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing it.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/it/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing ja.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/ja/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing lt.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/lt/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing mt.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/mt/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing nb.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/nb/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing nl.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/nl/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing or.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/or/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing pl.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/pl/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing pt_BR.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/pt_BR/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing ru.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/ru/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing sk.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/sk/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing sq.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/sq/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing sr.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/sr/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing sv.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/sv/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing tr.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/tr/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing uk.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/uk/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing vi.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/vi/LC_MESSAGES/gst-plugins-ugly-0.10.mo
installing zh_CN.gmo as /tmp/SBo/package-gst-plugins-ugly/usr/share/locale/zh_CN/LC_MESSAGES/gst-plugins-ugly-0.10.mo

gst-plugins-ugly:
Would you like to continue processing the rest of the
build queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

Press (Y)es to continue, (N)o to abort, (R)etry to try
to build the package again.
 
Old 05-18-2010, 09:14 AM   #8
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Since you're in current try building the latest version of the ugly plugins (0.10.14).
Also try without sbopkg first.
 
Old 05-18-2010, 12:05 PM   #9
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,131

Rep: Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203
these are the corrections I applied to slackbuilds.org's version for building gst-plugins-ugly with a new x264.
 
1 members found this post helpful.
Old 05-18-2010, 12:28 PM   #10
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware and OpenBSD
Posts: 740

Rep: Reputation: 190Reputation: 190
Yes, this is an issue with the SlackBuild script not sbopkg. I am sure it will be addressed when SBo releases the repo for Slackware 13.1
 
Old 05-18-2010, 12:59 PM   #11
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Quote:
Originally Posted by chess View Post
Yes, this is an issue with the SlackBuild script not sbopkg.
Yes my recommendation to build without sbopkg was due to the fact that its output is "not standard" and im unfamiliar with it.
 
Old 05-18-2010, 01:19 PM   #12
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware and OpenBSD
Posts: 740

Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by sahko View Post
Yes my recommendation to build without sbopkg was due to the fact that its output is "not standard" and im unfamiliar with it.
Oh, I understand. That's my first recommendation also -- build with and then without sbopkg to narrow down the issue. :-) But, the vast majority of the time, it is the same result since sbopkg just executes the SlackBuild the same way the user would outside sbopkg.

There are issues with several SlackBuilds w/ -current which is why the 13.0 SBo repo is not really intended to be used with -current.

Last edited by chess; 05-18-2010 at 01:21 PM.
 
Old 05-18-2010, 01:37 PM   #13
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,131

Rep: Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203
soon there will be the new slackbuilds.org repo for 13.1, alien bob says there will be suprises

in the meantime, if you're feeling brave ( ), you can have a look here.
 
Old 05-18-2010, 01:40 PM   #14
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173

Original Poster
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
ponce to the rescue yet again.
 
Old 05-18-2010, 01:48 PM   #15
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Surprises is right. Have a whole lot of scripts not only need fixing/testing with 13.1 libs but now we have to contend with bash 4 too.

Oh well. It will all work out in the end.
 
  


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
Building slackbuilds.org packages with gcc 4.4.2 ponce Slackware 1 11-05-2009 11:07 AM
slackbuilds.org submission problem Daedra Slackware 3 09-07-2009 12:53 AM
building kdebluetooth from Slackbuilds on Slackware64-current gtludwig Slackware 5 06-27-2009 05:59 PM
SlackBuilds.org Discussions and Problem Solving Woodsman LQ Suggestions & Feedback 3 03-29-2008 06:30 PM
Use SlackBuilds.org or my own hosting to offer up SlackBuilds? hollywoodb Slackware 6 11-30-2006 08:56 PM

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

All times are GMT -5. The time now is 04:52 PM.

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