David Nusinow <[EMAIL PROTECTED]> writes: > On Mon, Apr 03, 2006 at 12:25:00AM -0400, Greg Stark wrote: > > > > This is my first time trying to build local X packages. I seem to be running > > into various build errors. The current one that's stumping me seems to be a > > missing Imake definition? Is there something obvious I'm missing here? > > > > > > cd ./config/imake && /usr/bin/make -f Makefile.proto imakeonly > > make[3]: Entering directory > > `/r3/usr_local/src/xserver/xorg-x11-6.9.0.dfsg.1/build-tree/xc/config/imake' > > gcc -m32 -g DefaultGcc2OptimizeOpt -fno-strict-aliasing -ansi -Wall > > -Wpointer-arith -Wundef -I../../include -I../../exports/include/X11 > > -I../.. -I../../exports/include -Dlinux -D__i386__ > > -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE > > -D_XOPEN_SOURCE -D_BSD_SOURCE > > -D_SVID_SOURCE -D_LARGEFILE_SOURCE > > -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE > > -DFUNCPROTO=15 -DNARROWPROTO > > -DCPP_PROGRAM="\"cpp\"" -DHAS_MERGE_CONSTANTS=`if gcc -m32 > > -fmerge-constants -xc /dev/null -S -o /dev/null 2> /dev/null 1> /dev/null; > > then echo 1; else echo 0; fi` -DMONOLITH -c -o imake.o imake.c > > gcc: DefaultGcc2OptimizeOpt: No such file or directory > > That's an Imake variable defined in the debian packaging in > patches/general/003_linux.cf_and_xfree86.cf.diff (and also in the > hurd-specific stuff for that arch). How are you building the package? It > seems that you're doing it incorrectly.
All I've been doing is "debian/rules build-arch-only": bash-3.1$ rm -r xorg-x11-6.9.0.dfsg.1 bash-3.1$ dpkg-source -x xorg-x11_6.9.0.dfsg.1-5.dsc gpg: Signature made Mon Mar 20 19:41:25 2006 EST using DSA key ID D63469DF gpg: Can't check signature: public key not found dpkg-source: extracting xorg-x11 in xorg-x11-6.9.0.dfsg.1 dpkg-source: unpacking xorg-x11_6.9.0.dfsg.1.orig.tar.gz dpkg-source: applying ./xorg-x11_6.9.0.dfsg.1-5.diff.gz bash-3.1$ ls xorg-x11-6.9.0.dfsg.1 xorg-x11_6.9.0.dfsg.1-5.dsc xorg-x11_6.9.0.dfsg.1-5.diff.gz xorg-x11_6.9.0.dfsg.1.orig.tar.gz bash-3.1$ cd xorg-x11* current-directory-is /usr/local/src/xserver/xorg-x11-6.9.0.dfsg.1 bash-3.1$ ls debian xc bash-3.1$ debian/rules build This target does nothing. Please specify "build-arch-only" or "build-all" instead. Note that it is also acceptable to use the "binary-arch" or "binary-indep" targets. If you are using dpkg-buildpackage, you can safely ignore this message. bash-3.1$ debian/rules build-arch-only ... I've attached the output of the debian/rules build-arch-only command.
log
Description: Binary data
-- greg