LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-01-2013, 04:13 AM   #1
nuttynibbles
Member
 
Registered: Apr 2010
Posts: 59

Rep: Reputation: 0
installing xvidcap on suse linux with missing libs


hi,

im installing xvidcap 1.1.7 on suse linux 11 enterprise server and im facing missing packages.

Code:
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed...  de en it es
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... configure: error: Package requirements (gtk+-2.0 >= 2.4.0 libglade-2.0 glib-2.0 gthread-2.0) were not met:

No package 'gtk+-2.0' found
No package 'libglade-2.0' found
No package 'glib-2.0' found
No package 'gthread-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables PACKAGE_CFLAGS
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
i checked my software repo via yast and i have the following installed:
- gtk2 - Library for Creation of Graphical User Interfaces (version 2)
- glib2 - A Library with Convenient Functions Written in C
- libglade2 - Glade Library Compatible with the GNOME 2.x Desktop Platform
- libgthread-2_0-0 - A Library with Convenient Functions Written in C

what should i do? it says i should set my package_cflags and package_libs. but how should i do that?

Last edited by nuttynibbles; 01-01-2013 at 04:13 AM. Reason: added xvidcap version
 
Old 01-01-2013, 04:45 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Development packages ( -devel ) are required when you want to compile :

# zypper in libglade2-devel gtk2-devel glib2-devel


Note : The file xvidcap.spec, "BuildRequires" :
gtk2-devel libmp3lame-devel libglade2-devel perl-XML-Parser pkgconfig \
scrollkeeper update-desktop-files
ftp://ftp.pbone.net/mirror/packman.i....7-5.2.src.rpm

.
 
Old 01-01-2013, 07:30 AM   #3
nuttynibbles
Member
 
Registered: Apr 2010
Posts: 59

Original Poster
Rep: Reputation: 0
hi knudfl,

where should i get these devel packages? i couldnt find it in suse linux iso. what is the normal practise? get it from external parties?
 
Old 01-01-2013, 03:42 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 3 : No, none of the three packages are on the install DVD.
Usually you would type : 1) su <enter password>
2) zypper in <package> <package> <package>
... to get the packages installed.
But it won't work unless you have paid for the "SLE 11" support.

Please show the output from the commands :
a) uname -m
b) rpm -qa glib2
c) rpm -qa gtk2
d) rpm -qa libglade2

.
 
Old 01-04-2013, 08:58 AM   #5
nuttynibbles
Member
 
Registered: Apr 2010
Posts: 59

Original Poster
Rep: Reputation: 0
sorry i was away for a while. as request, the outputs from the commands are:
1) x86_64
2) glib2-2.22.5-0.2.23
3) gtk2-2.18.9-0.21.4
4) libglade2-2.6.4-1.2.267
 
Old 01-04-2013, 09:44 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 5

OK, that's SLE 11 SP2 packages.

The 64bits '-devel' packages are on the SLE11SP2-SDK-x64-DVD1
http://demeter.uni-regensburg.de/SLE...1/suse/x86_64/

→ glib2-devel atk-devel cairo-devel pango-devel gtk2-devel libglade2-devel


.

Last edited by knudfl; 01-04-2013 at 09:49 AM.
 
Old 01-04-2013, 08:56 PM   #7
nuttynibbles
Member
 
Registered: Apr 2010
Posts: 59

Original Poster
Rep: Reputation: 0
hi knudfl, thank you so much. you have been so much help!!! i managed to install xvidcap dependencies successfully. anyhow, i ran ./configure make make install, but where is it installed to? i can't find xvidcap in application browser nor in /usr/local/share/omf/xvidcap. is it installed correctly?? how can i check?
 
Old 01-04-2013, 11:23 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 7

The command : which xvidcap
.. will reply with /usr/local/bin/xvidcap

Starting the application is done with the command : xvidcap

And :
The launcher "/usr/local/share/applications/xvidcap.desktop"
can be copied to your Desktop.


( The Suse package from pacman, referred to in post #2,
creates a menu entry "xvidcap AudioVideo Recorder".)


.
 
Old 01-04-2013, 11:48 PM   #9
nuttynibbles
Member
 
Registered: Apr 2010
Posts: 59

Original Poster
Rep: Reputation: 0
hi knudfl, my installed dir is /usr/local/share/omf/xvidcap. there isnt a application dir in share. anyway the xvidcap dir is empty. strange!!! im not sure if it is installed correctly
 
Old 01-05-2013, 12:03 AM   #10
nuttynibbles
Member
 
Registered: Apr 2010
Posts: 59

Original Poster
Rep: Reputation: 0
i realise make install failed. i get install recursive error 1
 
Old 01-05-2013, 01:53 PM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
can you post the error .
I am guessing it is a mismatch in the

glib2-2.22.5-0.2.23 AND glib2-devel-2.22.5-0.2.23
gtk2-2.18.9-0.21.4 AND gtk2-devel-2.18.9-0.21.4
libglade2-2.6.4-1.2.267 AND libglade2-devel-2.6.4-1.2.267

the libs and the source headers must match

please rerun this
Code:
su - 
 rpm -qa glib2*
------------
 rpm -qa gtk2*
-------
 rpm -qa libglade2*
the " * " is a wild card
on opensuse 12.1 i get for "rpm -qa gtk2* "
Code:
rpm -qa gtk2*
gtk2-tools-2.24.7-2.5.1.x86_64
gtk2-engines-2.20.2-7.1.2.x86_64
gtk2-immodule-vietnamese-2.24.7-2.5.1.x86_64
gtk2-devel-2.24.7-2.5.1.x86_64
gtk2-immodule-amharic-2.24.7-2.5.1.x86_64
gtk2-metatheme-adwaita-3.2.1-2.1.2.noarch
gtk2-tools-32bit-2.24.7-2.5.1.x86_64
gtk2-branding-openSUSE-12.1-4.1.1.noarch
gtk2-data-2.24.7-2.5.1.noarch
gtk2-immodule-thai-2.24.7-2.5.1.x86_64
gtk2-immodule-inuktitut-2.24.7-2.5.1.x86_64
gtk2-engines-32bit-2.20.2-7.1.2.x86_64
some of those are dependencies for other programs
but
gtk2-tools-2.24.7-2.5.1.x86_64
gtk2-devel-2.24.7-2.5.1.x86_64
gtk2-data-2.24.7-2.5.1.noarch
------
All match
 
Old 01-05-2013, 09:22 PM   #12
nuttynibbles
Member
 
Registered: Apr 2010
Posts: 59

Original Poster
Rep: Reputation: 0
hi,

heres the reply to your q:

#rpm -qa glib2*
glib2-2.22.5-0.2.23
glib2-branding-SLES-2.16-47.3
glib2-devel-2.22.5-0.2.23
glib2-lang-2.22.5-0.2.23


# rpm -qa gtk2*
gtk2-devel-2.18.9-0.21.4
gtk2-engines-32bit-2.16.1-4.26
gtk2-2.18.9-0.21.4
gtk2-engines-2.16.1-4.26
gtk2-theme-SLED-11.1-1.29.82
gtk2-lang-2.18.9-0.21.4
gtk2-branding-SLED-11.1-1.26
gtk2-32bit-2.18.9-0.21.4
gtk2-themes-0.1-737.22

# rpm -qa libglade2*
libglade2-devel-2.6.4-1.2.267
libglade2-2.6.4-1.2.267
 
Old 01-05-2013, 09:54 PM   #13
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
can you post the error you are getting
http://sourceforge.net/projects/xvidcap/?source=dlp
is from 2009 and uses ffmpeg ( the OLD single threaded version i am guessing )
and not the current multi threaded one

i would expect some ffmpeg error

on OpenSUSE 12.1-64 bit, using an older gcc ( gcc4.1 ) i get this make error
Code:
gcc -Wall -g -DDBUS_SERVICE_DIR=\""/usr/local/share/dbus-1/service"\" -g -O2 -pthread -I /home/johnvv/Download/test/xvidcap-1.1.7 -I/home/johnvv/Download/test/xvidcap-1.1.7/ffmpeg/libavcodec -I/home/johnvv/Download/test/xvidcap-1.1.7/ffmpeg/libavformat -I/home/johnvv/Download/test/xvidcap-1.1.7/ffmpeg/libavutil -I/home/johnvv/Download/test/xvidcap-1.1.7/ffmpeg/libswscale -I/home/johnvv/Download/test/xvidcap-1.1.7/ffmpeg/libavdevice -export-dynamic -L/home/johnvv/Download/test/xvidcap-1.1.7/ffmpeg/libavcodec -L/home/johnvv/Download/test/xvidcap-1.1.7/ffmpeg/libavformat -L/home/johnvv/Download/test/xvidcap-1.1.7/ffmpeg/libavutil -L/home/johnvv/Download/test/xvidcap-1.1.7/ffmpeg/libswscale -L/home/johnvv/Download/test/xvidcap-1.1.7/ffmpeg/libavdevice -o xvidcap app_data.o capture.o codecs.o colors.o frame.o gnome_frame.o gnome_ui.o gnome_warning.o gnome_options.o led_meter.o main.o options.o xtoffmpeg.o xtoxwd.o job.o xvc_error_item.o eggtrayicon.o dbus-server-object.o -pthread -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -pthread -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0    -Wl,-Bstatic -lavdevice -Wl,-Bdynamic -Wl,-Bstatic -lavformat -Wl,-Bdynamic -Wl,-Bstatic -lavcodec -Wl,-Bdynamic -Wl,-Bstatic -lswscale -Wl,-Bdynamic -Wl,-Bstatic -lavutil -Wl,-Bdynamic  -lm -lXdamage -lXfixes -lXmu 
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: frame.o: undefined reference to symbol 'XGetWindowAttributes'
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: note: 'XGetWindowAttributes' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [xvidcap] Error 1
make[3]: Leaving directory `/home/johnvv/Download/test/xvidcap-1.1.7/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/johnvv/Download/test/xvidcap-1.1.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/johnvv/Download/test/xvidcap-1.1.7'
make: *** [all] Error 2
and it is a linker error


but ,xvidcap is in the "packman" repo ( suse 11.2 )
http://packman.inode.at/suse/11.2/Multimedia/x86_64/
--installing the repo file--
http://wiki.links2linux.de/packman:faq_en
and the repo file is here
http://packman.inode.at/suse/11.2/
and the muitimedia repo
http://packman.inode.at/suse/11.2/Mu...ultimedia.repo

Last edited by John VV; 01-05-2013 at 09:59 PM.
 
Old 01-06-2013, 02:09 AM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Ref. # 14

Confirm : The "pacman xvidcap" works out of the box, SLES 11 SP2.
> > >
xvidcap-1.1.7-5.2.x86_64.rpm :
http://packman.inode.at/suse/11.2/Mu...5.2.x86_64.rpm


@nuttynibbles : Please do not try to build xvidcap yourself.
None of the available { 1.1.7 sources, src packages / patches }
seem to work with SLE 11.
( I tried with a couple of SRC.RPMS , and the Debian "src" : No luck.)
.

Last edited by knudfl; 01-06-2013 at 02:19 AM.
 
Old 01-06-2013, 07:42 AM   #15
nuttynibbles
Member
 
Registered: Apr 2010
Posts: 59

Original Poster
Rep: Reputation: 0
hi knudfl, i downloaded xvidcap rpm and tried to install. it gives an error:

rpm -i xvidcap-1.1.7-5.2.x86_64.rpm
warning: xvidcap-1.1.7-5.2.x86_64.rpm: Header V4 RSA/SHA1 signature: NOKEY, key ID 1abd1afb
error: Failed dependencies:
libmp3lame.so.0()(64bit) is needed by xvidcap-1.1.7-5.2.x86_64


so i installed libmp3lame from here. more of it can be found here.

so i installed and im getting segemtation fault. see below for more error:
# rpm -i libmp3lame0-3.99.5-1002.1.x86_64.rpm
warning: libmp3lame0-3.99.5-1002.1.x86_64.rpm: Header V4 RSA/SHA1 signature: NOKEY, key ID 1abd1afb
# rpm -i xvidcap-1.1.7-5.2.x86_64.rpm
warning: xvidcap-1.1.7-5.2.x86_64.rpm: Header V4 RSA/SHA1 signature: NOKEY, key ID 1abd1afb
# xvidcap
Segmentation fault
 
  


Reply

Tags
sle11sp2, suse11, xvidcap



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
mjpegtools build error, missing libs which aren't missing vdemuth Slackware 6 03-16-2010 12:57 PM
"libpng missing" on xvidcap compilation ( Slack 10.2 ) Enjo Linux - Software 2 11-15-2005 12:13 PM
always missing some libs. txotxo SUSE / openSUSE 3 10-03-2005 04:36 PM
Missing libs that fluxbox uses after installing slack 8.1 via guide datamin0r Amigo 2 09-28-2004 03:31 PM
Installing/Configuring C++ Libs for Linux esenlik Programming 2 01-21-2004 01:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:45 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