[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

cannot find -lselinux during kdemultimedia compile

Hello all,

I'm trying to rebuild the kdemultimedia rpm package in FC2 :

I've downloaded the source tarball from a KDE mirror (version 3.2.2)

I put the source tarball into /usr/src/redhat/SOURCES

I installed the kdemultimedia-3.2.2-2.src.rpm from FC2.

I went into the SPECS directory and edited the spec file
(changed build_mpeglib to 1)

then issued:
rpmbuild -bb kdemultimedia.spec

This gave me automake errors because it wanted to use automake 1.5 (KDE 
requires 1.6 or later), so in the specfile I changed the libtool variable 
from 1 to 0, then reran rpmbuild.

Everything configured ok and it began to build.

However, I'm now getting the error below.  It seems to be complaining about an 
SELinux library -- I'm not using SELinux (as far as I know -- I didn't 
manually install/request it).

Any ideas?

/bin/sh ../../../libtool --silent --mode=link --tag=CXX g++  
-Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W 
-Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -g -pipe 
-march=i386 -mcpu=i686 -DNDEBUG -fno-use-cxa-atexit -I/usr/include/kde/artsc 
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new 
-DQT_NO_COMPAT -DQT_NO_TRANSLATION   -L/usr/lib -ldl -lartsc -lpthread 
-lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -o libartsgui_kde.la 
-rpath /usr/lib -L/usr/X11R6/lib -L/usr/lib/qt-3.3/lib -L/usr/lib  
-no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined kwidget_impl.lo 
kbutton_impl.lo kpoti_impl.lo kpoti.lo kwidgetrepo.lo kartswidget.lo 
klineedit_impl.lo khbox_impl.lo kvbox_impl.lo kspinbox_impl.lo 
kcombobox_impl.lo kfader.lo kfader_impl.lo kgraph_impl.lo kgraph.lo 
kgraphline_impl.lo kframe_impl.lo klayoutbox_impl.lo kpopupbox_impl.lo 
klevelmeter_impl.lo klevelmeter_small.lo klevelmeter_linebars.lo 
klevelmeter_normalbars.lo klevelmeter_firebars.lo ktickmarks_impl.lo 
kvolumefader_impl.lo klabel_impl.lo -lkio -lkdecore 
-lkdeui ../../../arts/gui/common/libartsgui_idl.la
/usr/bin/ld: cannot find -lselinux
collect2: ld returned 1 exit status
make[5]: *** [libartsgui_kde.la] Error 1
make[5]: Leaving directory 
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory 
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/kdemultimedia-3.2.2/arts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/kdemultimedia-3.2.2'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.17632 (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.17632 (%build)

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]