[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Build failure postgresql 7.2.3-0.1



Ivo Timmermans wrote:
> 
> The NMU of postgresql (7.2.3-0.1) fails to build on m68k, but all
> (well, almost) other archs compile fine.
> 
> The error:
> 
>        gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations pgtkAppInit.o=
> -L../../../src/interfaces/libpgtcl -lpgtcl -L../../../src/interfaces/libpq=
> -lpq -L/usr/lib -ltk8.3 -L/usr/X11/lib -lX11 -ldl  -lieee -lm -L/usr/lib -=
> ltcl8.3  -lpam -lssl -lcrypto -lz -lcrypt -lresolv -lnsl -ldl -lm -lreadlin=
> e  -o pgtksh
>        /usr/bin/ld: cannot find -lX11
>        collect2: ld returned 1 exit status
>        make[4]: *** [pgtksh] Error 1
>        make[4]: Leaving directory `/build/buildd/postgresql-7.2.3/src/bin/pgtclsh'
> 
> During installation, xlibs-dev is installed, so there bust be an error
> somewhere outside of postgresql, right?  I just uploaded -0.2, could
> someone attend to that build please?

The bogus -L/usr/X11/lib was supplied by tkConfig.sh so tk8.3
needs looking at.  Same build failure with gcl.

  # Additional libraries to use when linking Tk.
  TK_LIBS='-L/usr/X11/lib -lX11 -ldl  -lieee -lm'

Rick
-- 



Reply to: