Wednesday, 6 November 2013

Re: Suggestion for GTK version: replace lcms with lcms2

Hi Chris,

> It is not NetSurf that depends on it, but libmng. If you build
> NetSurf without MNG support the dependency on liblcms1 will go.

That's not what I have. I build netsurf without MNG support:

cat > Makefile.config << EOF
override NETSURF_USE_MNG := NO
override PREFIX ?= /usr
EOF

sed -i '/LDFLAGS/s|lm|lm -ldl|' gtk/Makefile.target

PKG_CONFIG_PATH=/opt/netsurf/lib/pkgconfig \
make

During make, the build stops with this message:

...
M.CONFIG: JNG/MNG/PNG (libmng) disabled (NETSURF_USE_MNG := NO)
...
PKG.CNFG: lcms (lcms) failed
gtk/Makefile.target:65: *** Unable to find library for: lcms (lcms). Stop.

Did I do something wrong?

Christophe

No comments:

Post a Comment