Re: make error on FreeBSD "make dynamic"

[email protected] (Jason E. Stewart)
Newsgroups gmane.text.xml.xerces-p.devel
Message-ID <[email protected]>
"Xin \(Victoria\) Wang" <[email protected]> writes:

> I built xerces-c-2.3.0. Then I ran perl Makefile.PL fine. But got the
> following mesg when running make.  Any idea?
> 
> chmod 755 ../blib/arch/auto/Handler/Handler.a cc -c -I. -IHandler
> -I/home/vwang/xerces-c-src_2_3_0/src/ -D_REENTRANT -O -pip e
> -mcpu=pentiumpro -DVERSION=\"2.3.0-4\" -DXS_VERSION=\"2.3.0-4\" -DPIC
> -fPI C "-I/usr/local/lib/perl5/5.8.2/mach/CORE" Xerces.cpp Running
> Mkbootstrap for XML::Xerces () chmod 644 Xerces.bs rm -f
> blib/arch/auto/XML/Xerces/Xerces.so LD_RUN_PATH="" cc -shared
> -L/usr/local/lib Xerces.o -o blib/arch/auto/XML/Xer ces/Xerces.so
> blib/arch/auto/Handler/Handler.a chmod 755
> blib/arch/auto/XML/Xerces/Xerces.so cp Xerces.bs
> blib/arch/auto/XML/Xerces/Xerces.bs chmod 644
> blib/arch/auto/XML/Xerces/Xerces.bs make: don't know how to make
> dynamic. Stop *** Error code 2

Huh. Don't remember seening this one before.

If you look through the Makefile (not Makefile.PL) do you have
something like the following:

# --- MakeMaker dynamic section:

dynamic :: $(FIRST_MAKEFILE) $(INST_DYNAMIC) $(INST_BOOT)
	$(NOECHO) $(NOOP)

Cheers,
jas.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.