LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ERROR running audacity.SlackBuild script (https://www.linuxquestions.org/questions/slackware-14/error-running-audacity-slackbuild-script-4175561191/)

Ztcoracat 12-10-2015 09:09 PM

ERROR running audacity.SlackBuild script
 
Hi:

I'm trying to install Audacity to upload podcasts for Linux.

The first run of the audacity.SlackBuild script gave me an error and asked if I had wxWidgets installed. I didn't so I installed wxWidgets. After wxWidgets was installed I had this message.

Code:

The installation of wxWidgets is finished.  On certain
 platforms (e.g. Linux) you'll now have to run ldconfig
 if you installed a shared library and also modify the
 LD_LIBRARY_PATH (or equivalent) environment variable.
 
 wxWidgets comes with no guarantees and doesn't claim
 to be suitable for any purpose.
 
 Read the wxWindows Licence on licencing conditions

I didn't modify anything and I allowed default settings during installation and didn't install a shared lib.

On the second run of the audacity.SlackBuild script, it ran for a good 15 minutes giving me another error.
I've never had errors while running a SlackBuild script till now.

Code:

/usr/lib64/../lib64/libwebkitgtk-1.0.so.0: undefined reference to `gst_is_initialized'
/usr/lib64/../lib64/libwebkitgtk-1.0.so.0: undefined reference to `png_get_iCCP@PNG16_0'
/usr/lib64/../lib64/libwebkitgtk-1.0.so.0: undefined reference to `gst_message_parse_warning'
/usr/lib64/../lib64/libwebkitgtk-1.0.so.0: undefined reference to `gst_is_missing_plugin_message'
/usr/lib64/../lib64/libwebkitgtk-1.0.so.0: undefined reference to `jpeg_input_complete@LIBJPEG_6.2'
/usr/lib64/../lib64/libwebkitgtk-1.0.so.0: undefined reference to `gst_object_unref'
/usr/lib64/../lib64/libwebkitgtk-1.0.so.0: undefined reference to `ucnv_countAliases_54'
collect2: error: ld returned 1 exit status
make[2]: *** [audacity] Error 1
make[2]: Leaving directory `/tmp/SBo/audacity-src-2.1.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/SBo/audacity-src-2.1.0/src'
make: *** [all-recursive] Error 1

Can someone explain what the error means and what I need to do to satisfy what went wrong in make?

willysr 12-11-2015 12:01 AM

I think you need wxPython

Ztcoracat 12-11-2015 12:11 AM

Quote:

Originally Posted by willysr (Post 5462733)
I think you need wxPython

Thanks, I'll install it tomorrow and see if the script runs w/o error.

willysr 12-11-2015 12:25 AM

You may want to remove wxWidgets first

Drakeo 12-11-2015 04:31 AM

just like Willy said. http://slackbuilds.org/repository/14.1/audio/audacity/

Ztcoracat 12-11-2015 09:41 PM

Quote:

Originally Posted by willysr (Post 5462737)
You may want to remove wxWidgets first

Done-:)

Ztcoracat 12-11-2015 09:44 PM

Quote:

Originally Posted by Drakeo (Post 5462790)

Thanks Drakeo.

When I looked at that SlackBuild page yesterday I didn't see wxPython.
It's better to install things during the day when I'm sharp.

I'm off to install wxPython than I'll re-run the SlackBuild script for Audacity.
bb to let you know how it goes.

Ztcoracat 12-11-2015 10:34 PM

Pkg wxPython is installed.

Code:

Executing install script for wxPython-2.8.12.1-x86_64-2_SBo.tgz.
Package wxPython-2.8.12.1-x86_64-2_SBo.tgz installed.

***Got an Error while running the audacity.SlackBuild script.***

Quote:

/usr/lib64/../lib64/libwebkitgtk-1.0.so.0: undefined reference to `gst_message_parse_warning'
/usr/lib64/../lib64/libwebkitgtk-1.0.so.0: undefined reference to `gst_is_missing_plugin_message'


Code:

/usr/lib64/../lib64/libwebkitgtk-1.0.so.0: undefined reference to `gst_is_missing_plugin_message'
/usr/lib64/../lib64/libwebkitgtk-1.0.so.0: undefined reference to `jpeg_input_complete@LIBJPEG_6.2'
/usr/lib64/../lib64/libwebkitgtk-1.0.so.0: undefined reference to `gst_object_unref'
/usr/lib64/../lib64/libwebkitgtk-1.0.so.0: undefined reference to `ucnv_countAliases_54'
collect2: error: ld returned 1 exit status
make[2]: *** [audacity] Error 1
make[2]: Leaving directory `/tmp/SBo/audacity-src-2.1.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/SBo/audacity-src-2.1.0/src'
make: *** [all-recursive] Error 1

What's wrong?

Drakeo 12-11-2015 11:28 PM

Between you and I audacity in slackbuilds is just the basic. I been building and using that program for sometime now. To be honest I never just build it the way it is in slackbuilds I always build it when I am building all the stuff for my studio. That includes the kitchen sink. As for gstreamer your missing gst-bad gst-ugly gst-ffmpeg.
wxGTK and wxPython must not be installed together. as per http://slackbuilds.org/repository/14.1/libraries/wxGTK/

I really find running sqg in sbopkg. https://github.com/sbopkg/sbopkg/blo...oc/contrib/sqg
it will really help you.
Code:

faad2
OpenAL
opencore-amr
orc
opus
celt
openjpeg
dirac
dvdauthor
gavl
recordmydesktop
gsm
rtmpdump
soundtouch
ladspa_sdk
speex
lame
twolame
libass
libavc1394
libdc1394
libbluray
libdv
libiec61883
libilbc
libmodplug
libmp4v2
dvgrab
LibRaw
libvpx
vamp-plugin-sdk
wxPython
xvidcore
x264
opencv
swh-plugins
faac
frei0r
schroedinger
jack-audio-connection-kit
ffmpeg
audacity
libquicktime
mlt
kdenlive

these are the basics I install on my system some of them are in current now. but that is the order of the build to do pretty much everything for sound and video.
then I build my extra gstreamers.
I named that multimedia.sqf put it in my /var/lib/sbopkg/queus

Ztcoracat 12-11-2015 11:38 PM

Quote:

Originally Posted by Drakeo (Post 5463165)
Between you and I audacity in slackbuilds is just the basic. I been building and using that program for sometime now. To be honest I never just build it the way it is in slackbuilds I always build it when I am building all the stuff for my studio. That includes the kitchen sink. As for gstreamer your missing gst-bad gst-ugly gst-ffmpeg.
wxGTK and wxPython must not be installed together. as per http://slackbuilds.org/repository/14.1/libraries/wxGTK/

I really find running sqg in sbopkg. https://github.com/sbopkg/sbopkg/blo...oc/contrib/sqg
it will really help you.
Code:

faad2
OpenAL
opencore-amr
orc
opus
celt
openjpeg
dirac
dvdauthor
gavl
recordmydesktop
gsm
rtmpdump
soundtouch
ladspa_sdk
speex
lame
twolame
libass
libavc1394
libdc1394
libbluray
libdv
libiec61883
libilbc
libmodplug
libmp4v2
dvgrab
LibRaw
libvpx
vamp-plugin-sdk
wxPython
xvidcore
x264
opencv
swh-plugins
faac
frei0r
schroedinger
jack-audio-connection-kit
ffmpeg
audacity
libquicktime
mlt
kdenlive

these are the basics I install on my system some of them are in current now. but that is the order of the build to do pretty much everything for sound and video.
then I build my extra gstreamers.
I named that multimedia.sqf put it in my /var/lib/sbopkg/queus

Unless I'm mistaken wxGTK is not installed. I didn't find it in my packages list.

Code:

bash-4.2# slackpkg search wxgtk

Looking for wxgtk in package list. Please wait... DONE

No package name matches the pattern.

Thanks for telling me about those libraries that I didn't have. I had on idea.
I haven't used 'sqg in sbopkg' before. Thanks for the link.

Diantre 12-11-2015 11:41 PM

Quote:

Originally Posted by Ztcoracat (Post 5463154)
What's wrong?

What I don't really understand is why you're getting libwebkitgtk related messages? AFAIK, libwebkitgtk is not a dependency of audacity. I just built audacity in my 14.1 system (no libwebkitgtk installed) without any problems. :scratch:

In any case, libwebkitgtk appears to be complaining about not finding gstreamer. Which is weird, because gstreamer is part of stock Slackware. But this is just a wild guess, I'm not really sure what's going on here, sorry...

Ztcoracat 12-12-2015 12:09 AM

Quote:

Originally Posted by Diantre (Post 5463169)
What I don't really understand is why you're getting libwebkitgtk related messages? AFAIK, libwebkitgtk is not a dependency of audacity. I just built audacity in my 14.1 system (no libwebkitgtk installed) without any problems. :scratch:

In any case, libwebkitgtk appears to be complaining about not finding gstreamer. Which is weird, because gstreamer is part of stock Slackware. But this is just a wild guess, I'm not really sure what's going on here, sorry...

I have Voice Recognition Software installed and I'm guessing that one of the libraries for Simon or the dictionaries might be dependent upon libwebkitgtk. Might also be a lib that HTK needs to work.
Simon uses engine libraries (gtk) and other libraries for multipule dictionaries.

willysr 12-12-2015 03:01 AM

try removing webkitgtk, build audacity and reinstall webkitgtk

suppy 12-12-2015 10:14 AM

Quote:

Originally Posted by Ztcoracat (Post 5463168)
Unless I'm mistaken wxGTK is not installed. I didn't find it in my packages list.

Code:

bash-4.2# slackpkg search wxgtk

Looking for wxgtk in package list. Please wait... DONE

No package name matches the pattern.

Thanks for telling me about those libraries that I didn't have. I had on idea.
I haven't used 'sqg in sbopkg' before. Thanks for the link.

slackpkg search only checks official slackware packages. Try
Code:

ls /var/log/packages/ | grep -i wxgtk
instead.

Ztcoracat 12-12-2015 08:26 PM

I'll try that willysr; hope it works.

Bash returned nothing for wxgtk:

Code:

bash-4.2$ ls /var/log/packages/ | grep -i wxgtk
bash-4.2$



All times are GMT -5. The time now is 01:46 PM.