Re: eterm build error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 chip: In x11/eterm/Makefile, libast needs to bump the major revision. Change the part of LIB_DEPENDS that says ast.1 to ast.2 and redo your portinstall. - -Adam (10.25.2002 @ 2226 PST): chip said, in 1.5K: I tried portinstall eterm, here's the version - -# New ports collection makefile for:eterm # Date created:24 November 1997 # Whom:Murray Stokely [EMAIL PROTECTED] # # $FreeBSD: ports/x11/eterm/Makefile,v 1.40 2002/05/31 19:57:05 olgeni Exp $ # PORTNAME= eterm PORTVERSION=0.9.1 PORTREVISION= 1 --- and it failed with these errors: Anyone else seen this? Should I send this to the port maintainer? --- o url.o ranlib .libs/libast.a creating libast.la (cd .libs rm -f libast.la ln -sf ../libast.la libast.la) Making all in test === Installing for libast-0.5 === libast-0.5 is already installed - perhaps an older version? If so, you may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of libast-0.5 without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/devel/libast. *** Error code 1 Stop in /usr/ports/x11/eterm. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall74524.0 make ** Fix the problem and try again. ** The following packages were not installed or upgraded (*:skipped / !:failed) ! x11/eterm (unknown build error) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message end of eterm build error from chip - -- Adam Weinberger [EMAIL PROTECTED] [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE9ujBgo8KM2ULHQ/0RAr0jAKCiiT+/siihhyRLC0M08duUlJurKwCfSxns 3c6/dmuC9kWowzf9tIvV+kE= =TdKZ -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: eterm build error
Adam Weinberger wrote this stuff on Fri, 25 Oct 2002 23:04:16 -0700: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 chip: In x11/eterm/Makefile, libast needs to bump the major revision. Change the part of LIB_DEPENDS that says ast.1 to ast.2 and redo your portinstall. - -Adam Thanks Adam, that worked. How do you learn about something like that? -- Chip (10.25.2002 @ 2226 PST): chip said, in 1.5K: I tried portinstall eterm, here's the version - -# New ports collection makefile for:eterm # Date created:24 November 1997 # Whom:Murray Stokely [EMAIL PROTECTED] # # $FreeBSD: ports/x11/eterm/Makefile,v 1.40 2002/05/31 19:57:05 olgeni Exp $# PORTNAME= eterm PORTVERSION=0.9.1 PORTREVISION= 1 --- and it failed with these errors: Anyone else seen this? Should I send this to the port maintainer? --- o url.o ranlib .libs/libast.a creating libast.la (cd .libs rm -f libast.la ln -sf ../libast.la libast.la) Making all in test === Installing for libast-0.5 === libast-0.5 is already installed - perhaps an older version? If so, you may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of libast-0.5 without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/devel/libast. *** Error code 1 Stop in /usr/ports/x11/eterm. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall74524.0 make ** Fix the problem and try again. ** The following packages were not installed or upgraded (*:skipped / !:failed) ! x11/eterm (unknown build error) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message end of eterm build error from chip - -- Adam Weinberger [EMAIL PROTECTED] [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE9ujBgo8KM2ULHQ/0RAr0jAKCiiT+/siihhyRLC0M08duUlJurKwCfSxns 3c6/dmuC9kWowzf9tIvV+kE= =TdKZ -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: eterm build error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (10.25.2002 @ 2317 PST): Chip Wiegand said, in 2.4K: Adam Weinberger wrote this stuff on Fri, 25 Oct 2002 23:04:16 -0700: In x11/eterm/Makefile, libast needs to bump the major revision. Change the part of LIB_DEPENDS that says ast.1 to ast.2 and redo your portinstall. - -Adam Thanks Adam, that worked. How do you learn about something like that? Simple answer: read the porter's handbook. http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html More explanatory answer: Hopefully it'll help explain a good ports diagnostic process... - From the log you gave, installing eterm made you build a dependency which was already installed. If you build x, but the ports system installs y, then y is a dependency of x. Part of the ports build is a list of things that are required to make the port work. The eterm Makefile has a list of libraries that eterm needs: LIB_DEPENDS=Imlib2.1:${PORTSDIR}/graphics/imlib2 \ ast.1:${PORTSDIR}/devel/libast ast.1 means look for the library libast.so.2. eterm also looks for libImlib2.so.1. Get it? Now, your log showed that your system built libast but it was already installed. Here's a little diagram: Build eterm - Port needs libast.so.1 - It doesn't exist - Install libast - It's already installed - Barf. So, there can only be one of two problems: either libast.so.1 DOES exist and it's not being found (a transient linker error cuz you mucked with /etc/make.conf or ldd), or the more likely possibility: libast.so.1 doesn't exist. % monkey@smacky:~% pkg_info -L libast\*|grep \.so /usr/X11R6/include/libast/socket.h /usr/X11R6/lib/libast.so /usr/X11R6/lib/libast.so.2 or: % monkey@smacky:~% grep \.so /usr/ports/devel/libast/pkg-plist include/libast/socket.h lib/libast.so lib/libast.so.2 There's the problem: libast.so is up to version 2. Fix what eterm is looking for, and it'll stop digging in the wrong holes. Summary: If a port tries to install a package that's already installed, it's looking for a wrong library version number, or a file that doesn't exist. This usually happens because something is out of date. Find what it's looking for, and find out what it SHOULD be looking for. - -Adam - -- Adam Weinberger [EMAIL PROTECTED] [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE9ujbko8KM2ULHQ/0RAs0RAJ9dOzzMukdHxF1Odie3PwIoBIYj0wCgtsDD sefX8FP27itsk1YXN6Ew41A= =uslD -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: eterm build error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (10.25.2002 @ 2332 PST): Adam Weinberger said, in 2.6K: ast.1:${PORTSDIR}/devel/libast ast.1 means look for the library libast.so.2 make that libast.so.1. libast.so.2 is what it SHOULD have been looking for. - -Adam - -- Adam Weinberger [EMAIL PROTECTED] [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE9ujdKo8KM2ULHQ/0RAp0pAJ9qcw6DSJgfg6VaJqk2uQ9MFg1UaQCgzqvy EwOwe6rtnI3IxtNZE6Y/sAY= =VrnM -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: eterm build error
Thanks for all the info, got it fixed and working last night. Much appreciated, Regards, Chip W Adam Weinberger wrote this stuff on Fri, 25 Oct 2002 23:33:46 -0700: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (10.25.2002 @ 2332 PST): Adam Weinberger said, in 2.6K: ast.1:${PORTSDIR}/devel/libast ast.1 means look for the library libast.so.2 make that libast.so.1. libast.so.2 is what it SHOULD have been looking for. - -Adam - -- Adam Weinberger [EMAIL PROTECTED] [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE9ujdKo8KM2ULHQ/0RAp0pAJ9qcw6DSJgfg6VaJqk2uQ9MFg1UaQCgzqvy EwOwe6rtnI3IxtNZE6Y/sAY= =VrnM -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message