- Code: Select all
build_freetype
build_fontconfig
langerak wrote:The build process is good enough for the maintainers, but for me as a poweruser, I would like to build this stuff myself, maybe you want to create a userscript with the generic and native options applied to them. I never tend to download prebuild versions if I can build it myself and setting it up for my usage
.
langerak wrote:Have you looked into this as well:
I've also received an error about autoconf, the script does not check if this is installed, fixed by issuing:
- Code: Select all
apt-get install autoconf automake
On line 1262 there is:
- Code: Select all
$GPP -shared -static-libstdc++ -static-libgcc -o ./../libmediainfo.so ./*.o -Wl,--whole-archive -L./ -lzen -Wl,--no-whole-archive
That results in an error stating that you want to create a shared library with static options, I managed to get the compile further by changing it into:
- Code: Select all
$GPP -static-libstdc++ -static-libgcc -o ./../libmediainfo.so ./*.o -Wl,--whole-archive -L./ -lzen -Wl,--no-whole-archive
./configure --enable-static --disable-shared --disable-dependency-tracking --enable-staticlibs --prefix=$TARGET./configure --enable-shared --disable-dependency-tracking --prefix=$TARGET set_flags
mkdir tmp-libmediainfo
cd tmp-libmediainfo
cp $TARGET/lib/libmediainfo.a .
ar x libmediainfo.a
rm libmediainfo.a
$GPP -shared -static-libstdc++ -static-libgcc -o ./../libmediainfo.so ./*.o -Wl,--whole-archive -L./ -lzen -Wl,--no-whole-archive
exit_on_error
cd ..
rm -rf ./tmp-libmediainfocp $TARGET/lib/libmediainfo.so .chocolateboy wrote:Fix for 0.9.6: Fontconfig depends on FreeType:
- Code: Select all
build_freetype
build_fontconfig
happy.neko wrote:The problem is that resulting libmediainfo.so links to a shared version of libstdc++ and libgcc. I need to find better solution.
Users browsing this forum: No registered users and 7 guests