Date: Tue, 14 Mar 2006 13:27:37 +0100 (CET) From: Joerg Pulz <Joerg.Pulz@frm2.tum.de> To: Edwin Groothuis <edwin@mavetju.org> Cc: steve@energistic.com, freebsd-ports@freebsd.org Subject: Re: Strange pwlib common.mak experience Message-ID: <20060314131913.O54268@hades.admin.frm2> In-Reply-To: <20060314103129.GA953@k7.mavetju> References: <20060314103129.GA953@k7.mavetju>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 14 Mar 2006, Edwin Groothuis wrote: > Hi, > > I'm trying to compile OPAL (Open Phone Abstraction Library, available > from http://www.mavetju.org/~edwin/opal.shar and pwlib.shar). > Everything compiles fine, but at the end it says... > > gmake[1]: Entering directory `/usr/home/edwin/cvs/ports/NEW/opal/work/opal-2.2.0' > set -e; for i in /usr/home/edwin/cvs/ports/NEW/opal/work/opal-2.2.0 /usr/local/share/pwlib/; do gmake -C $i debugdepend debug; done > gmake[2]: Entering directory `/usr/home/edwin/cvs/ports/NEW/opal/work/opal-2.2.0' > Created dependencies. > set -e; > set -e; > gmake[2]: Leaving directory `/usr/home/edwin/cvs/ports/NEW/opal/work/opal-2.2.0' > gmake[2]: Entering directory `/usr/local/share/pwlib' > gmake[2]: *** No rule to make target `debugdepend'. Stop. > gmake[2]: Leaving directory `/usr/local/share/pwlib' > gmake[1]: *** [libs] Error 2 > > What? Who? Where? Why is it going to /usr/local/share/pwlib. A quick > check later and it seems that the inclusion of > /usr/local/share/pwlib//make/common.mak, the definition of LIBDIRS > in there and the executing of "gmake -C $i debugdepend debug" there > confuses somewhere the whole system. > > Is there somebody with a little bit more clue than me who understands > what is going wrong here and how to resolve it? Hi Edwin, the same happens when you try to compile ohphone or some other pwlib/openh323 dependant port. Please try the following: edit /usr/local/share/pwlib/make/unix.mak and change PW_LIBDIR = $(PWLIBDIR)/lib to PW_LIBDIR = /usr/local/lib and set PTLIB_FILE to PTLIB_FILE = /usr/local/lib/lib$(PTLIB_BASE)$(LIB_TYPE).$(LIB_SUFFIX) i can't remeber the original value of this variable.. I hope that this solves the problem for you. The pwlib and the openh323 ports definitely need some tweaking for these .mak files. regards Joerg - -- The beginning is the most important part of the work. -Plato -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (FreeBSD) iD8DBQFEFra7SPOsGF+KA+MRAhyWAJ9rJ4BRzdr0GB1Lwf2WAsoTcGbXlgCfRCAT elA7Ag0oW5ap3KOvd0Hrb0M= =tjYY -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060314131913.O54268>