On Wed, 2002-10-16 at 10:59, 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 -lreadline -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?
I don't know how postgresql gets its build configuration, but on my 'fresh' install of Woody, there is no /usr/X11. But the error above shows a '-L/usr/X11/lib', which would probably fail to find libX11, since that lives in /usr/X11R6/lib. Dunno why it works on other archs. At least my x86 Debian Woody has no /usr/X11 either. Maybe something goes wrong while detecting the path to X11 during build. Kars.

