Andrew Jergens wrote:
> Hello List,
>
>
>
> I’m compiling everything from scratch (LFS v6) and am having a problem
> with smpeg. I’m not at my freevo machine right now, but does anyone
> know if there are patches to update smpeg to compile on recent GCC?
> Also, what actual functionality does smpeg give Freevo? Seems to me
> that MPlayer (with all the associated support libraries) will do
> everything smpeg will.
What do you mean by a recent version of gcc? 4.0.3 or 4.1.1
I had no problem building smpeg with gcc-4.0.2 on my AMD64 system.
As Jonathan says gentoo does apply a few patches:
epatch "${FILESDIR}"/${P}-m4.patch
epatch "${FILESDIR}"/${P}-gnu-stack.patch
epatch "${FILESDIR}"/${P}-config.patch
epatch "${FILESDIR}"/${P}-PIC.patch
epatch "${FILESDIR}"/${P}-gcc41.patch
epatch "${FILESDIR}"/${P}-flags.patch
epatch "${FILESDIR}"/${P}-automake.patch
epatch "${FILESDIR}"/${P}-mmx.patch
epatch "${FILESDIR}"/${P}-malloc.patch
cd "${WORKDIR}"
epatch "${DISTDIR}"/${P}-gtkm4.patch.bz2
rm "${S}/acinclude.m4"
but I haven't applied them to my smpeg version.
The gcc41 patch just moves a few lines around
The PIC patch adds a MUNG() around some constants if mmx is enabled.
Anyway you can download the patches from the gentoo website or simply
disable mmx. I've attached my LFS build script for your info.
Duncan
red="\033[01;31m"
green="\033[01;32m"
yellow="\033[01;33m"
blue="\033[01;34m"
function message () {
colour=${2:-${green}}
normal="\033[00m"
title_begin="\033]0;"
title_end="\007"
if [ "${TERM}" != "linux" ]; then
echo -en "${title_begin}$1${title_end}"
fi
echo -e "${colour}* $1${normal}"
}
installdir=/sources/Installed/ &&
installname=$(basename `pwd`) &&
installpaths="/cross-tools/ ${LFS}"
installpaths="/bin /boot /etc /lib /sbin /usr /var /tools"
installpaths="/bin /boot /etc /lib /sbin /usr /var /opt /srv"
message "Changing permissions" &&
chown -R root:root . &&
pushd . &&
message "Running configure" &&
(
./configure \
--prefix=/usr \
2>&1 | tee .configure.out && exit $PIPESTATUS
) &&
message "Running make" &&
make &&
message "Running make check" &&
make check &&
message "Press enter when ready to install" ${yellow} &&
read ENTER &&
message "Finding files before installing ${installname}" &&
(find ${installpaths} -depth -print 2> /dev/null > .before-${installname}) &&
message "Running make install" &&
make install &&
message "Finding files after installing ${installname}" &&
(find ${installpaths} -depth -print 2> /dev/null > .after-${installname}) &&
echo "${installname} built on $(date +"%d.%b.%Y %H:%M")" >>
${installdir}${installname} &&
if ! diff .before-${installname} .after-${installname} | grep '>' >>
${installdir}${installname}; then
echo "No additions" >> ${installdir}${installname}
fi &&
rm -f .before-${installname} .after-${installname} &&
message "Running make clean" &&
make clean &&
message "Running ldconfig" &&
/sbin/ldconfig &&
popd &&
cat ${installdir}${installname} &&
message "DONE\007"
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users