LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Problem building from slackbuilds (https://www.linuxquestions.org/questions/slackware-14/problem-building-from-slackbuilds-808503/)

~sHyLoCk~ 05-18-2010 12:40 AM

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

dive 05-18-2010 12:48 AM

What is the output of

ls /var/log/packages/glib2*

~sHyLoCk~ 05-18-2010 12:49 AM

Quote:

Originally Posted by dive (Post 3972334)
What is the output of

ls /var/log/packages/glib2*

Code:

/var/log/packages/glib2-2.22.5-x86_64-1

dive 05-18-2010 12:59 AM

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.

ponce 05-18-2010 01:09 AM

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

dive 05-18-2010 01:12 AM

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.

~sHyLoCk~ 05-18-2010 08:43 AM

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.


sahko 05-18-2010 09:14 AM

Since you're in current try building the latest version of the ugly plugins (0.10.14).
Also try without sbopkg first.

ponce 05-18-2010 12:05 PM

these are the corrections I applied to slackbuilds.org's version for building gst-plugins-ugly with a new x264.

chess 05-18-2010 12:28 PM

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

sahko 05-18-2010 12:59 PM

Quote:

Originally Posted by chess (Post 3973008)
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.

chess 05-18-2010 01:19 PM

Quote:

Originally Posted by sahko (Post 3973035)
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.

ponce 05-18-2010 01:37 PM

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.

~sHyLoCk~ 05-18-2010 01:40 PM

ponce to the rescue yet again. :D

dive 05-18-2010 01:48 PM

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.


All times are GMT -5. The time now is 06:50 AM.