Strange pwlib common.mak experience

Steve Ames steve at energistic.com
Tue Mar 14 13:23:55 UTC 2006


Make sure you have the latest version of pwlib installed.
The latest version allows for compiling openh323 and
openam just fine. Please verify that you have the latest
and if it still doesn't work for you let me know. If your
compiling something that uses openh323 make sure you have
the latest of those as well.

Also take a look at net/openam/Makefile for an example
of how to set the configure/make environment.

-Steve

On Tue, Mar 14, 2006 at 01:27:37PM +0100, Joerg Pulz wrote:
> -----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-----


More information about the freebsd-ports mailing list