[mythtv-commits] Ticket #4360: configure doesn't complain when directfb-devel is missing
MythTV
mythtv at cvs.mythtv.org
Mon Feb 25 21:27:15 UTC 2008
#4360: configure doesn't complain when directfb-devel is missing
---------------------------+------------------------------------------------
Reporter: Joep Admiraal | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------+------------------------------------------------
Comment(by anonymous):
The exact error I get is this:
{{{
g++ -shared -Wl,-soname,libmythupnp-0.21.so.0 -o
libmythupnp-0.21.so.0.21.0 version.o httprequest.o upnp.o ssdp.o
taskqueue.o upnputil.o upnpdevice.o upnptasknotify.o upnptasksearch.o
threadpool.o httpserver.o upnpcds.o upnpcdsobjects.o
bufferedsocketdevice.o eventing.o upnpcmgr.o upnpmsrr.o upnptaskevent.o
ssdpcache.o configuration.o soapclient.o mythxmlclient.o moc_ssdpcache.o
-L/usr/lib/ -L/usr/lib/qt3/lib/ -lfreetype -lmp3lame -lasound
-L/opt/kde3/lib -lartsc -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -ljack
-L/usr/lib -ldirectfb -lfusion -ldirect -lz -ldl -L/usr/lib/
-L/usr/X11R6/lib/ -lXinerama -lXv -lXxf86vm -lXrandr -lXvMCW -lXvMC -lGL
-lGLU -lqt-mt -lXext -lX11 -lm -lpthread
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../../i586-suse-linux/bin/ld:
cannot find -ldirectfb
collect2: ld returned 1 exit status
make[2]: *** [libmythupnp-0.21.so.0.21.0] Fout 1
make[2]: Map '/home/joep/Documents/vj/mythtv/mythtv/libs/libmythupnp'
wordt verlaten
make[1]: *** [sub-libmythupnp] Fout 2
make[1]: Map '/home/joep/Documents/vj/mythtv/mythtv/libs' wordt verlaten
make: *** [sub-libs] Fout 2
}}}
When I install directfb-devel the problem is solved.
On my system directfb-devel includes a directory in /usr/include.
So I created a patch which does a check for /usr/include/directfb.
I don't have a lot of experience with adjusting configure files.
So please read the patch file carefully before submitting it to the trunk
:)
Also, maybe directfb-devel could be installed in an other directory on
other distros.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4360#comment:2>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list