Date: Wed, 8 Oct 2003 16:45:55 -0300 From: Fernan Aguero <fernan@iib.unsam.edu.ar> To: ports@freebsd.org Cc: anholt@freebsd.org Subject: xterm port Message-ID: <20031008194555.GB7221@iib.unsam.edu.ar>
next in thread | raw e-mail | index | archive | help
Hi! I'm compiling xterm myself from sources, to make some customizations. I'm using the latest version (179), and I'm using configure, not imake. (However, according to the xterm FAQ, configure does use imake to generate the Makefile). http://dickey.his.com/xterm/xterm.faq.html Basically I want the following: ./configure --prefix=/usr/tmp --disable-bold-color --enable-88-color --enable-tcap-query Right now it configures, builds and installs OK. In /usr/tmp I have a whole tree built using mtree, as explained in the porter's handbook. Installation goes like this: [fernan@pi] make install /bin/sh ./sinstall.sh "/usr/bin/install -c" xterm /usr/X11R6/bin/xterm /usr/tmp/bin/`echo xterm| sed 's/$//'|sed 's,x,x,'|sed 's/$//'` checking for presumed installation-mode ... if "/usr/X11R6/bin/xterm" is null, try the ls -g option ... if "/usr/X11R6/bin/xterm" is null, we do not look for group ... if we have date in proper columns (Sep 13 17:50), "" is null ... derived user "root", group "wheel" of previously-installed xterm ... see if mode "-rws--x--x" has s-bit set ... installing xterm as user "fernan", group "genoma" /usr/bin/install -c -m 755 xterm /usr/tmp/bin/xterm /usr/bin/install -c -s -m 755 resize /usr/tmp/bin/`echo resize| sed 's/$//'|sed 's,x,x,'|sed 's/$//'` /usr/bin/install -c -m 755 ./uxterm /usr/tmp/bin/`echo uxterm| sed 's/$//'|sed 's,x,x,'|sed 's/$//'` /bin/sh ./minstall.sh "/usr/bin/install -c -m 644" ./xterm.man /usr/tmp/man/man1/`echo xterm| sed 's,x,x,'`.1 /usr/bin/install -c -m 644 ./xterm.man /usr/tmp/man/man1/xterm.1 /bin/sh ./minstall.sh "/usr/bin/install -c -m 644" ./resize.man /usr/tmp/man/man1/`echo resize| sed 's,x,x,'`.1 /usr/bin/install -c -m 644 ./resize.man /usr/tmp/man/man1/resize.1 /bin/sh ./mkdirs.sh /usr/tmp/lib/X11/app-defaults mkdir /usr/tmp/lib/X11 mkdir /usr/tmp/lib/X11/app-defaults installing /usr/tmp/lib/X11/app-defaults/XTerm installing /usr/tmp/lib/X11/app-defaults/XTerm-color installing /usr/tmp/lib/X11/app-defaults/UXTerm Completed installation of executables and documentation. Use "make install-ti" to install terminfo description. Now if I make a minimal port, just specifying: GNU_CONFIGURE=yes CONFIGURE_ARGS+= --disable-bold-color --enable-88-color etc etc the port configures and builds OK, but fails at installation. I'm testing the port using: PREFIX=/usr/tmp PKG_DBDIR=/usr/tmp/pkgdb BATCH=yes ===> Checking if x11/xterm already installed /bin/sh ./sinstall.sh "install -c -s -o root -g wheel -m 555" xterm /usr/X11R6/bin/xterm /usr/tmp/bin/`echo xterm| sed 's/$//'|sed 's,x,x,'|sed 's/$//'` checking for presumed installation-mode ... if "/usr/X11R6/bin/xterm" is null, try the ls -g option ... if "/usr/X11R6/bin/xterm" is null, we do not look for group ... if we have date in proper columns (Sep 13 17:50), "" is null ... derived user "root", group "wheel" of previously-installed xterm ... see if mode "-rws--x--x" has s-bit set ... installing xterm as user "root", group "wheel" install -c -s -o root -g wheel -m 555 -m 4711 xterm /usr/tmp/bin/xterm install -c -s -o root -g wheel -m 555 -s -m 755 resize /usr/tmp/bin/`echo resize| sed 's/$//'|sed 's,x,x,'|sed 's/$//'` install -c -s -o root -g wheel -m 555 -m 755 ./uxterm /usr/tmp/bin/`echo uxterm| sed 's/$//'|sed 's,x,x,'|sed 's/$//'` /usr/libexec/elf/strip: /usr/tmp/bin/uxterm: File format not recognized install: wait: No such file or directory *** Error code 70 When I look in /usr/tmp/bin I see two binaries installed: xterm and resize. I've already gone through the XFree86-4 ports trying to get some hints on what I could change in my port to fix the installation problems ... but have not make much sense of it yet. Thus, I'm asking. I'd like to finish the port and submit it, so people can build xterm using options different from the default ones in XFree86 (and without having to download the whole XFree86 sources). Thanks in advance for any help, Fernan PS: you can get at the current status of the port at http://genoma.unsam.edu.ar/~fernan/xterm/ -- F e r n a n A g u e r o http://genoma.unsam.edu.ar/~fernan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031008194555.GB7221>