Re: [dev] compile error in latest hg

From: Stefan Pampel <spamtest-eir1beucei_AT_asp4.polyformal.de>
Date: Wed, 27 May 2009 21:06:10 +0200

Hello Kris,

On Mon, May 25, 2009 at 03:13:54PM -0400, Kris Maglione wrote:
> On Mon, May 25, 2009 at 09:01:49PM +0200, Stefan Pampel wrote:
>>> On my debian sid I've installed lsb-build-desktop3 which is needed
>>> for the new Xft support (rev 2458). It installs a lot of libdevel
>>> packages but it's the only way I found to make it working...
>>> It installs pkg-config which is needed since 2459 revision
>>
>> ok, after I had no success installing the packages as mentioned I simply
>> did a new 'make config', and et voilà: the compile process runs fine.
>
> Strange. Your pkg-config must not return your X11 include path
> correctly. Can you paste the stubs that 'make config' adds to config.mk?

here is the config.mk; same on both Systems (Debian Lenny and Debian
Sqeeze). Compile on Lenny fails, on Squeeze ok.
<snip>
# Customize below to fit your system

# Paths
PREFIX = /usr/local
  BIN = $(PREFIX)/bin
  MAN = $(PREFIX)/share/man
  ETC = $(PREFIX)/etc
  LIBDIR = $(PREFIX)/lib
  INCLUDE = $(PREFIX)/include

# Includes and libs
INCPATH = .:$(ROOT)/include:$(INCLUDE):/usr/include
LIBS = -L$(ROOT)/lib -L/usr/lib

# Flags
include $(ROOT)/mk/gcc.mk
CFLAGS += $(DEBUGCFLAGS) -O0
LDFLAGS += -g $(LIBS)
SOLDFLAGS += $(LDFLAGS)
SHARED = -shared -Wl,-soname=$(SONAME)
STATIC = -static

# Compiler, Linker. Linker should usually *not* be ld.
CC = cc -c
LD = cc
# Archiver
AR = ar crs

AWKPATH = $$(which awk)
P9PATHS = ${PLAN9}:"'$${HOME}/plan9'":/usr/local/plan9:/usr/local/9:/opt/plan9:/opt/9:/usr/plan9:/usr/9
# Your make shell. By default, the first found of /bin/dash, /bin/ksh,
# /bin/sh. Except with bsdmake, which assumes /bin/sh is sane. bash and zsh
# are painfully slow, and should be avoided.
#BINSH = /bin/ash

X11PACKAGES = xft
INCX11 = $$(pkg-config --cflags $(X11PACKAGES))
LIBICONV = # Leave blank if your libc includes iconv (glibc does)
LIBIXP = $(LIBDIR)/libixp.a

# Operating System Configurations

# KenCC
# Note: wmii *must* always compile under KenCC. It's vital for
# argument checking in formatted IO, and similar diagnostics.
#CFLAGS = -wF
#STATIC = # Implied
#CC=pcc -c
#LD=pcc

# *BSD
#LIBICONV = -L/usr/local/lib -liconv
# +Darwin
#STATIC = # Darwin doesn't like static linking
#SHARED = -dynamiclib
#SOEXT = dylib

# Solaris
#CFLAGS = -fast $(INCS)
#LDFLAGS = $(LIBS) -R$(PREFIX)/lib -lsocket -lnsl
#CFLAGS += -xtarget=ultra

# Generated by "make config"
AWKPATH=/usr/bin/awk
include $(ROOT)/mk/gcc.mk
CFLAGS+= ${DEBUGCFLAGS} -O0
LDFLAGS+= -g ${LIBS}
INCX11=-I/usr/include
LIBX11=-L/usr/lib -lX11
INCICONV=-I/usr/include
LIBIXP=/usr/lib/libixp.a
</snip>

<snip>
</snip>

best regards

Stefan

-- 
/ polyformal                  /
| Kaesenstraße 8             /
| 50677 Köln - Germany      /
| phone: +49 221 3103 122
| fax:   +49 221 9311 9223
| http://www.polyformal.de/
|______________________/
GPG KEY: 11678845

Received on Wed May 27 2009 - 19:06:10 UTC

This archive was generated by hypermail 2.2.0 : Wed May 27 2009 - 19:12:02 UTC