From owner-freebsd-ports@FreeBSD.ORG Wed Oct 8 12:46:19 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B00A16A4B3; Wed, 8 Oct 2003 12:46:19 -0700 (PDT) Received: from smtp.unsam.edu.ar (smtp.unsam.edu.ar [170.210.48.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1827343F3F; Wed, 8 Oct 2003 12:46:15 -0700 (PDT) (envelope-from fernan@iib.unsam.edu.ar) Received: from pi.iib.unsam.edu.ar (pi.iib.unsam.edu.ar [192.168.10.11]) by smtp.unsam.edu.ar (8.12.6/8.12.6) with ESMTP id h98Jm2Ma005973; Wed, 8 Oct 2003 16:48:02 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: from pi.iib.unsam.edu.ar (localhost [127.0.0.1]) by pi.iib.unsam.edu.ar (8.12.9/8.12.9) with ESMTP id h98JjuiH018633; Wed, 8 Oct 2003 16:45:57 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: (from fernan@localhost) by pi.iib.unsam.edu.ar (8.12.9/8.12.9/Submit) id h98JjtKU018632; Wed, 8 Oct 2003 16:45:55 -0300 (ART) X-Authentication-Warning: pi.iib.unsam.edu.ar: fernan set sender to fernan@iib.unsam.edu.ar using -f Date: Wed, 8 Oct 2003 16:45:55 -0300 From: Fernan Aguero To: ports@freebsd.org Message-ID: <20031008194555.GB7221@iib.unsam.edu.ar> Mail-Followup-To: ports@freebsd.org, anholt@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i cc: anholt@freebsd.org Subject: xterm port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2003 19:46:19 -0000 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