live555 package issue #yocto


sateesh m
 

Hi Guys,

               I am working on live555 package.have compiled on  live555_20210406.bb successfully. finally created  debs. through apt-get server I am trying to install live555 package I am facing issue live555-dev is not installed. so I got libcrypto issue & libopenssl issue.

Manually on target Board ,I clone the sources using bellow steps compiled successfully and finally generated binaries.

Same steps I have created  my own recipe and try to build package it was build successfully.
live555.bb file
/***************************************************************************/
DEPENDS = "openssl"
 
SRC_URI = "file://live555-latest.tar.gz \
           file://config.linux-cross \
          "
 
S = "${WORKDIR}/live"
 
TARGET_CC_ARCH += "${LDFLAGS}"
 
do_configure() {
    cp ${WORKDIR}/config.linux-cross .
    echo "COMPILE_OPTS+=" -fPIC -DXLOCALE_NOT_USED"" >> config.linux-cross
    ./genMakefiles linux-cross
}
do_install() {
    install -d ${D}${includedir}/BasicUsageEnvironment
    install -d ${D}${includedir}/groupsock
    install -d ${D}${includedir}/liveMedia
    install -d ${D}${includedir}/UsageEnvironment
    install -d ${D}${libdir}
    cp -R --no-dereference --preserve=mode,links -v ${S}/BasicUsageEnvironment/include/*.hh ${D}${includedir}/BasicUsageEnvironment/
    cp -R --no-dereference --preserve=mode,links -v ${S}/groupsock/include/*.h ${D}${includedir}/groupsock/
    cp -R --no-dereference --preserve=mode,links -v ${S}/groupsock/include/*.hh ${D}${includedir}/groupsock/
    cp -R --no-dereference --preserve=mode,links -v ${S}/liveMedia/include/*.hh ${D}${includedir}/liveMedia/
    cp -R --no-dereference --preserve=mode,links -v ${S}/UsageEnvironment/include/*.hh ${D}${includedir}/UsageEnvironment/
    for i in $(find . -name "*.hh") $(find . -name "*.h") ; do
        install ${i} ${D}${includedir}
    done
    cp ${S}/*/*.a ${D}${libdir}
    install -d ${D}${bindir}
    for i in MPEG2TransportStreamIndexer openRTSP playSIP sapWatch testMPEG1or2ProgramToTransportStream testMPEG1or2Splitter testMPEG1or2VideoReceiver testMPEG2TransportStreamTrickPlay testOnDemandRTSPServer testRelay testAMRAudioStreamer testDVVideoStreamer testMP3Receiver testMP3Streamer testMPEG1or2AudioVideoStreamer testMPEG1or2VideoStreamer testMPEG2TransportStreamer testMPEG4VideoStreamer testWAVAudioStreamer vobStreamer; do
        install -m 0755 ${S}/testProgs/${i} ${D}${bindir}/
    done
    install -m 0755 ${S}/mediaServer/live555MediaServer ${D}${bindir}/
}
 
PACKAGES =+ "live555-openrtsp live555-playsip live555-mediaserver live555-examples"
FILES_live555-openrtsp = "${bindir}/openRTSP"
FILES_live555-playsip = "${bindir}/playSIP"
FILES_live555-mediaserver = "${bindir}/live555MediaServer"
FILES_live555-examples = "${bindir}/*"
/***********************************************************************************************************/


I have created deb file  while installing this package from apt-get server I am facing problem.
using dpkg command I am trying to install package on target baord. I am facing bellow problem. 
using dpkg -i live555 
dpkg : dependency problems prevent configuration of live555-dev. live555-dev depends on live555.pacakge live555 not installed.
dpkg : dependency problems prevent configuration of live555-staticdev: package live555-dev is not configured yet.

dpkg: error processing package package live555-staticdev (--installed): dependency problems -leaving unconfigured. Error: were encountered while processing : live555-dev ,live555-static.

Can anybody know please help to me. Is I missed anything please give response ASAP. it will helpful to fix this issue. 

--
Regards,
Sateesh

Join yocto@lists.yoctoproject.org to automatically receive all group messages.