acidburn0zzz / totem-pps

Automatically exported from code.google.com/p/totem-pps
GNU General Public License v2.0
2 stars 0 forks source link

Can't compile libppswrapper in Fedora 11 64-bit #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Copy libpps* to /usr/lib/
2. Download and untar the libppswrapper files 
3. Run ./configure --prefix=/usr from the firectory

What is the expected output? What do you see instead?
I expect to see ./configure runs without error.
However, I got the following error:
checking whether pps libraris is available... no
checking whether pps 32bit libraris is available... no
configure: error: 'couldn't find pps libraries.

What version of the product are you using? On what operating system?
I have tried both 0.0.17.9, 0.0.18.1.
I'm using Fedora 11 64-bit version.

Please provide any additional information below.
I have the full output attached.

Original issue reported on code.google.com by arnold.x...@gmail.com on 3 Dec 2009 at 6:20

Attachments:

GoogleCodeExporter commented 9 years ago
I have the same issue too. My system is UBUNTU 9.10 amd64.

Original comment by andygon...@gmail.com on 10 Dec 2009 at 3:48

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Try to use /usr/lib32/ instead of /usr/lib/ when copying libpps*.

Original comment by coder...@gmail.com on 31 Dec 2009 at 7:24

GoogleCodeExporter commented 9 years ago
I have tried to use /usr/lib32/ instead of /usr/lib/, but the problem persists. 
My
system is Ubuntu 9.10 amd64.

Original comment by ocean...@gmail.com on 31 Jan 2010 at 5:59

GoogleCodeExporter commented 9 years ago
same issue in fedora 12, except that I put the pps libs in /usr/local/lib and 
ran the
following command

./configure --prefix=/usr/local

everything is fine until last few lines

checking for socket... yes
checking for strerror... yes
checking to see if compiler understands -Wall... yes
checking whether pps libraris is available... no
checking whether pps 32bit libraris is available... no
configure: error: 'couldn't find pps libraries.

Original comment by tpka...@gmail.com on 9 Feb 2010 at 5:33

GoogleCodeExporter commented 9 years ago
You must installed 32bit glibc-devel:
yum install glibc-devel.i686

Fedora 12, 64bit

Original comment by darkrang...@gmail.com on 10 Feb 2010 at 1:33

GoogleCodeExporter commented 9 years ago
I met the same problem...It still remains after I install glibc-devel-32bit 
(couldn't
find pps libraries).

My system is opensuse 11.2 x64-86. Would anyone please give me some 
suggestions? Thanks.

Original comment by jzhang.P...@gmail.com on 13 Feb 2010 at 2:49

GoogleCodeExporter commented 9 years ago
The problem is solved after I install libstdc++44-devel-32bit. 

Original comment by jzhang.P...@gmail.com on 13 Feb 2010 at 4:12

GoogleCodeExporter commented 9 years ago
I have tried both suggestions, installing 32bit glic-devel and libstdc++, and I 
am
still having the same issue.
[root@mars lib64]# rpm -qa | grep glibc
glibc-2.11.1-1.x86_64
glibc-devel-2.11.1-1.i686
glibc-common-2.11.1-1.x86_64
glibc-2.11.1-1.i686
glibc-headers-2.11.1-1.x86_64
glibc-devel-2.11.1-1.x86_64
[root@mars lib64]# rpm -qa | grep libstdc++
libstdc++-4.4.3-4.fc12.i686
compat-libstdc++-33-3.2.3-68.i686
libstdc++-4.4.3-4.fc12.x86_64
libstdc++-devel-4.4.3-4.fc12.x86_64
compat-libstdc++-296-2.96-143.i686
libstdc++-devel-4.4.3-4.fc12.i686
compat-libstdc++-33-3.2.3-68.x86_64
[root@mars lib64]# ldconfig -p | grep pps
    libppsvodres.so.0 (libc6) => /usr/local/lib/pps/libppsvodres.so.0
    libppsvodres.so (libc6) => /usr/local/lib/pps/libppsvodres.so
    libppsvodnet.so.0 (libc6) => /usr/local/lib/pps/libppsvodnet.so.0
    libppsvodnet.so (libc6) => /usr/local/lib/pps/libppsvodnet.so
    libppssg.so.0 (libc6) => /usr/local/lib/pps/libppssg.so.0
    libppssg.so (libc6) => /usr/local/lib/pps/libppssg.so
    libppsfds.so.0 (libc6) => /usr/local/lib/pps/libppsfds.so.0
    libppsfds.so (libc6) => /usr/local/lib/pps/libppsfds.so
    libppsbase.so.0 (libc6) => /usr/local/lib/pps/libppsbase.so.0
    libppsbase.so (libc6) => /usr/local/lib/pps/libppsbase.so
    libppsapi.so.0 (libc6) => /usr/local/lib/pps/libppsapi.so.0
    libppsapi.so (libc6) => /usr/local/lib/pps/libppsapi.so

BTW, I heard PPS has stopped Linux support. Is this true? In other words, even I
manage to get this working somehow magically, I still can't view PPS any more 
in Linux. 

Original comment by arnold.x...@gmail.com on 17 Feb 2010 at 6:26

GoogleCodeExporter commented 9 years ago
1.
make sure you copied pps libararies to correct path
Your ldconfig output looks like something went wrong at this step.

2.
PPS has stopped Linux support, but newer totem-pps actually works.
I guess PPS did not change their protocol code, so the original libraries still 
works
after some modified.

3.
In Fedora 64bit, after installed libppswrapper, gst-plugins-pps, totem-pps
you must copy all of them from /usr/lib to /usr/lib64

Original comment by darkrang...@gmail.com on 19 Feb 2010 at 2:59

GoogleCodeExporter commented 9 years ago
Thanks for the response. Since I have defined the location of the libpps 
libraries in
the ld.conf file, it should matter where I put them, I think. Any way, I copied 
them
to "/usr/lib" and I'm still having the same problem. 
[root@mars lib]# ldconfig -p | grep libpps
    libppsvodres.so.0 (libc6) => /usr/lib/libppsvodres.so.0
    libppsvodres.so (libc6) => /usr/lib/libppsvodres.so
    libppsvodnet.so.0 (libc6) => /usr/lib/libppsvodnet.so.0
    libppsvodnet.so (libc6) => /usr/lib/libppsvodnet.so
    libppssg.so.0 (libc6) => /usr/lib/libppssg.so.0
    libppssg.so (libc6) => /usr/lib/libppssg.so
    libppsfds.so.0 (libc6) => /usr/lib/libppsfds.so.0
    libppsfds.so (libc6) => /usr/lib/libppsfds.so
    libppsbase.so.0 (libc6) => /usr/lib/libppsbase.so.0
    libppsbase.so (libc6) => /usr/lib/libppsbase.so
    libppsapi.so.0 (libc6) => /usr/lib/libppsapi.so.0
    libppsapi.so (libc6) => /usr/lib/libppsapi.so
[root@mars lib]# ls -l /usr/lib/libpps*
lrwxrwxrwx. 1 root root     20 2010-02-16 21:32 /usr/lib/libppsapi.so ->
libppsapi.so.0.1.940
lrwxrwxrwx. 1 root root     20 2010-02-16 21:32 /usr/lib/libppsapi.so.0 ->
libppsapi.so.0.1.940
-rwxr-xr-x. 1 root root 192476 2009-11-13 02:12 /usr/lib/libppsapi.so.0.1.940
lrwxrwxrwx. 1 root root     21 2010-02-16 21:32 /usr/lib/libppsbase.so ->
libppsbase.so.0.1.940
lrwxrwxrwx. 1 root root     21 2010-02-16 21:32 /usr/lib/libppsbase.so.0 ->
libppsbase.so.0.1.940
-rwxr-xr-x. 1 root root 579484 2009-11-13 02:12 /usr/lib/libppsbase.so.0.1.940
lrwxrwxrwx. 1 root root     20 2010-02-16 21:32 /usr/lib/libppsfds.so ->
libppsfds.so.0.1.940
lrwxrwxrwx. 1 root root     20 2010-02-16 21:32 /usr/lib/libppsfds.so.0 ->
libppsfds.so.0.1.940
-rwxr-xr-x. 1 root root   3336 2009-11-13 02:12 /usr/lib/libppsfds.so.0.1.940
lrwxrwxrwx. 1 root root     19 2010-02-16 21:32 /usr/lib/libppssg.so ->
libppssg.so.0.1.940
lrwxrwxrwx. 1 root root     19 2010-02-16 21:32 /usr/lib/libppssg.so.0 ->
libppssg.so.0.1.940
-rwxr-xr-x. 1 root root  98028 2009-11-13 02:12 /usr/lib/libppssg.so.0.1.940
lrwxrwxrwx. 1 root root     23 2010-02-16 21:32 /usr/lib/libppsvodnet.so ->
libppsvodnet.so.0.1.940
lrwxrwxrwx. 1 root root     23 2010-02-16 21:32 /usr/lib/libppsvodnet.so.0 ->
libppsvodnet.so.0.1.940
-rwxr-xr-x. 1 root root 914452 2009-11-13 02:12 /usr/lib/libppsvodnet.so.0.1.940
lrwxrwxrwx. 1 root root     23 2010-02-16 21:32 /usr/lib/libppsvodres.so ->
libppsvodres.so.0.1.940
lrwxrwxrwx. 1 root root     23 2010-02-16 21:32 /usr/lib/libppsvodres.so.0 ->
libppsvodres.so.0.1.940
-rwxr-xr-x. 1 root root 389800 2009-11-13 02:12 /usr/lib/libppsvodres.so.0.1.940
[root@mars lib]# 
[awang@mars SPECS]$ rpmbuild -bb libppswrapper.spec 
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cOSgXC
+ umask 022
+ cd /home/awang/rpmbuild/BUILD
+ cd /home/awang/rpmbuild/BUILD
+ rm -rf libppswrapper-0.0.18.2
...........
checking to see if compiler understands -Wall... yes
checking whether pps libraris is available... no
checking whether pps 32bit libraris is available... no
configure: error: 'couldn't find pps libraries.
error: Bad exit status from /var/tmp/rpm-tmp.JalTqc (%build)

Original comment by arnold.x...@gmail.com on 19 Feb 2010 at 5:00

GoogleCodeExporter commented 9 years ago
I found my problem, I even didn't have gcc-c++ installed. What a shame! 
BTW, darkrangerred is right that I have to copy the pps libraries to /usr/lib 
for the
wrapper to find them properly. 

Original comment by arnold.x...@gmail.com on 19 Feb 2010 at 5:34

GoogleCodeExporter commented 9 years ago
Yes, copy pps libraries to /usr/lib

Original comment by darkrang...@gmail.com on 19 Feb 2010 at 7:55

GoogleCodeExporter commented 9 years ago
checking to see if compiler understands -Wall... yes
checking whether pps libraris is available... no
checking whether pps 32bit libraris is available... no
configure: error: 'couldn't find pps libraries.
[root@localhost libppswrapper]# 

Red Hat Enterprise Linux Server release 5.3 (Tikanga

Original comment by hfy...@gmail.com on 18 Jan 2011 at 6:09

GoogleCodeExporter commented 9 years ago
@hfy...: Read HowToInstall carefully. Install g++ and the error "configure: 
error: 'couldn't find pps libraries." will be gone. Feedback is appreciated.

Original comment by germanic...@googlemail.com on 19 Jan 2011 at 12:26

GoogleCodeExporter commented 9 years ago
Well I've read it very carefully too, installed all the pre-requisites, but 
still getting the same error.  ldconfig shows up all the PPS libraries.

I'm running Ubuntu Maverick AMD-64..  I just can't get it to configure.

Original comment by steve.mu...@mobile-dev-management.com on 4 Apr 2011 at 10:01

GoogleCodeExporter commented 9 years ago
you need a gcc with 32 bit support

Original comment by arc.miss...@gmail.com on 16 Apr 2011 at 8:32