Broken Build?

Alexander Boström abo at stacken.kth.se
Thu Jul 21 22:34:16 CEST 2005


On Thu, 2005-07-07 at 15:14 -0400, John Demme wrote: 
> On my Linux system, ./configure && make yields the following error:
> ...
> /bin/sh ../../libtool --tag=CC --mode=link gcc -Wall
> -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
> -Wmissing-declarations -Wnested-externs -g  -Wall -Wmissing-prototypes
> -Wpointer-arith -Wmissing-declarations -Wnested-externs    -o gensysname
> gensysname-gensysname.o ../../util/libarlautil.la ../../lib/roken/libroken.la -lcrypt  -L/usr/lib -L-Wl,-rpath -L-Wl,/usr/lib  -lkrb5 -lk5crypto -lcom_err -lresolv -lresolv  -lresolv -lresolv  -lresolv -lresolv
> ../../libtool: line 1836: cd: -W: invalid option

> This appears to happen with the .40, .39, and CVS versions.  Am I doing
> something wrong?

Hello and sorry for the late reply,

The arguments "-L-Wl,-rpath -L-Wl,/usr/lib" in the libtool command line
looks suspicious. First, because I think the correct syntax is 
"-Wl,-rpath -Wl,/usr/lib" and second because /usr/lib should already be
in the default rpath.

Did you run ./configure with any special arguments or environment
variables? Perhaps there's something relevant in config.log? Look for a
line like LDFLAGS='something', or just send it to me (off list please).

Did you install Heimdal? http://www.pdc.kth.se/heimdal/
If you make sure Heimdal's bin directory is first in $PATH or specify
the path to the Heimdal installation with --with-krb5=/path/to/heimdal
as an argument to configure, does that work better?

Arla is mostly(?) tested with Heimdal. This could be an MIT-KRB related
issue.

/abo and tol








More information about the Arla-drinkers mailing list