PDA

View Full Version : Compiling nspluginwrapper



greygene
31st July 2007, 01:42 AM
FC7 x86_64 everything up to date

Compiling nspluginwrapper got the following error:


/usr/bin/ld: cannot find -lgcc_s

Anybody can help me out?

leigh123linux
31st July 2007, 03:40 AM
try these rpm's they work great with F7




su
wget http://gwenole.beauchesne.info/projects/nspluginwrapper/files/nspluginwrapper-0.9.91.4-1.x86_64.rpm
wget http://gwenole.beauchesne.info/projects/nspluginwrapper/files/nspluginwrapper-i386-0.9.91.4-1.x86_64.rpm
yum gtk2.i386
rpm -ivh nspluginwrapper-i386-0.9.91.4-1.x86_64.rpm nspluginwrapper-0.9.91.4-1.x86_64.rpm

greygene
31st July 2007, 08:28 PM
try these rpm's they work great with F7




su
wget http://gwenole.beauchesne.info/projects/nspluginwrapper/files/nspluginwrapper-0.9.91.4-1.x86_64.rpm
wget http://gwenole.beauchesne.info/projects/nspluginwrapper/files/nspluginwrapper-i386-0.9.91.4-1.x86_64.rpm
yum gtk2.i386
rpm -ivh nspluginwrapper-i386-0.9.91.4-1.x86_64.rpm nspluginwrapper-0.9.91.4-1.x86_64.rpm

I tried with these packages but I got a whole bunch of dependency problems. This was the reason I tried to compile from source.

leigh123linux
31st July 2007, 08:33 PM
I tried with these packages but I got a whole bunch of dependency problems. This was the reason I tried to compile from source.

Try rebuilding this modified src.rpm


rpmbuild --rebuild nspluginwrapper-0.9.91.4-1.src.rpm

greygene
1st August 2007, 01:34 AM
Try rebuilding this modified src.rpm


rpmbuild --rebuild nspluginwrapper-0.9.91.4-1.src.rpm


When I built the rpm I still got:

gcc -std=c99 -m32 -shared -o libxpcom.so libxpcom-libxpcom.o libxpcom-debug.o -Wl,--soname,libxpcom.so
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
make: *** [libxpcom.so] Error 1

leigh123linux
1st August 2007, 02:24 AM
When I built the rpm I still got:

gcc -std=c99 -m32 -shared -o libxpcom.so libxpcom-libxpcom.o libxpcom-debug.o -Wl,--soname,libxpcom.so
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
make: *** [libxpcom.so] Error 1

you need firefox.i386 installed to build

su -
yum install firefox.i386


[leigh@localhost ~]$ yum whatprovides libxpcom.so
Loading "downloadonly" plugin
Loading "tsflags" plugin
Loading "changelog" plugin
Loading "allowdowngrade" plugin
Loading "security" plugin
Loading "protectbase" plugin
Reducing Fedora Core 7 - i386 to included packages only
Finished
Reducing Livna for Fedora Core 7 - i386 - Base to included packages only
Finished
Reducing Fedora Core 7 - i386 - Updates to included packages only
Finished
74 packages excluded due to repository protections



firefox.i386 2.0.0.5-1.fc7 updates-32bit
Matched from:
libxpcom.so



firefox.i386 2.0.0.3-4.fc7 core-32bit
Matched from:
libxpcom.so



firefox.i386 2.0.0.3-4.fc7 fedora
Matched from:
libxpcom.so



firefox.i386 2.0.0.5-1.fc7 updates
Matched from:
libxpcom.so



firefox.i386 2.0.0.5-1.fc7 installed
Matched from:
Provides-match: libxpcom.so



nspluginwrapper-i386.x86_64 0.9.91.4-1 installed
Matched from:
Provides-match: libxpcom.so