On Thu, Apr 14, 2016 at 08:52:14PM +0200, Stefan Wollny wrote: > Hi there! > > Today I fetched the latest sources from http://ftp.hostserver.de and > rebuild GENERIC.MP (dmesg at the end) and userland. Then moved on for X. > > I followed the instructions on "5.4 - Building X" > (http://www.openbsd.org/faq/faq5.html#Xbld): > > $ doas rm -rf /usr/xobj/* > $ cd /usr/xenocara/ > $ doas make bootstrap > $ doas make obj > $ doas make build > > And this is what happend: > > [ ... ] > libtool: link: ar cru .libs/libXpm.a Attrib.o CrBufFrI.o CrBufFrP.o > CrDatFrI.o CrDatFrP.o CrIFrBuf.o CrIFrDat.o CrIFrP.o CrPFrBuf.o > CrPFrDat.o CrPFrI.o Image.o Info.o RdFToBuf.o RdFToDat.o RdFToI.o > RdFToP.o WrFFrBuf.o WrFFrDat.o WrFFrI.o WrFFrP.o create.o data.o > hashtab.o misc.o parse.o rgb.o scan.o > libtool: link: ranlib .libs/libXpm.a > libtool: link: ( cd ".libs" && rm -f "libXpm.la" && ln -s "../libXpm.la" > "libXpm.la" ) > Making all in sxpm > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/usr/xenocara/lib/libXpm/sxpm -I.. > -I/usr/xenocara/lib/libXpm/include -Wall -Wpointer-arith > -Wmissing-declarations -Wformat=2 -Wstrict-prototypes > -Wmissing-prototypes -Wnested-externs -Wbad-function-cast > -Wold-style-definition -Wdeclaration-after-statement -Wunused > -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn > -Wmissing-format-attribute -Werror=implicit -Werror=nonnull > -Werror=init-self -Werror=main -Werror=missing-braces > -Werror=sequence-point -Werror=return-type -Werror=trigraphs > -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast > -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/X11R6/include > -O2 -pipe -MT sxpm.o -MD -MP -MF .deps/sxpm.Tpo -c -o sxpm.o > /usr/xenocara/lib/libXpm/sxpm/sxpm.c > /usr/xenocara/lib/libXpm/sxpm/sxpm.c:55:21: error: libintl.h: No such > file or directory
Look at /usr/xobj/lib/libXpm/config.log For some reason your build system manage to think that you have GNU gettext available, which should not be the case as Xenocara doesn't look in /usr/local/ (where the gettext port install its stuff). Either you have manually installed libgettext or libintl in /usr/lib, or you have managed to tweak environment variables in a way that lets the configure script find stuff in /usr/local/lib in a way that escapes the normal protections set in the Xenocara build system to avoid looking there. -- Matthieu Herrb [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]