[OPEN-ILS-DEV] (no subject)

Jason Zou qzou at lakeheadu.ca
Tue May 15 12:30:55 EDT 2007


Christopher Kupec wrote:
> I'm going through the prerequisites for a generic installation to see 
> if I can get it going on an old iBook running Mac OS X 10.4.9,  and 
> I'm working through the perl modules now.
>
> Are you still using Net::Z3950, or can we use ZOOM?
>
> I tried CPAN first, and that couldn't find the yaz-config file.
>
> I then ried installing the Z3950 module manually, going into the 
> Makefile.PL to tell it about yaz-config, /usr/local/bin/yaz-config, 
> and am getting the craziest stuff.
>
> Is there another yaz-config I should be pointing to?
>
> The ./configure goes fine, making a makefile for Z3950 and yazwrap, 
> but when I go to make, I get this:
>
> CKiBook:/usr/local/Net-Z3950-0.51 ckupec$ make
> cd yazwrap && make INC=-I/usr/local/include -DYAZ_HAVE_XML2=1 
> -DYAZ_HAVE_XSLT=1 -I/usr/include/libxml2 LIB="" LIBPERL_A="libperl.a" 
> LINKTYPE="dynamic" PREFIX="" OPTIMIZE="-Os" PASTHRU_DEFINE="" 
> PASTHRU_INC="-I/usr/local/include -DYAZ_HAVE_XML2=1 -DYAZ_HAVE_XSLT=1 
> -I/usr/include/libxml2"
> make: invalid option -- D
> make: invalid option -- Y
> make: invalid option -- A
> make: invalid option -- Z
> make: invalid option -- _
> make: invalid option -- H
> make: invalid option -- A
> make: invalid option -- V
> make: invalid option -- E
> make: invalid option -- _
> make: invalid option -- X
> make: invalid option -- M
> make: invalid option -- L
> make: invalid option -- 2
> make: invalid option -- =
> make: invalid option -- 1
> make: invalid option -- D
> make: invalid option -- Y
> make: invalid option -- A
> make: invalid option -- Z
> make: invalid option -- _
> make: invalid option -- H
> make: invalid option -- A
> make: invalid option -- V
> make: invalid option -- E
> make: invalid option -- _
> make: invalid option -- X
> make: invalid option -- L
> make: invalid option -- T
> make: invalid option -- =
> make: invalid option -- 1
> Usage: make [options] [target] ...
> Options:
>
> ...I cut out all the lengthy options that go here...
>
> This program built for powerpc-apple-darwin8.0
> Report bugs to <bug-make at gnu.org>
> make: *** [yazwrap/libyazwrap.a] Error 2
>
>
> I took a look within the yazwrap Makefile.PL, since it seems to be 
> coughing on making yazwrap, which just passes through the INC info, so 
> I changed that INC pasthru to point explicitly to 
> /usr/local/bin/yaz-config, and made the makefile without a hitch, but 
> then I was getting errors with not being able to find oid.h when I 
> tried making it without making it via Z3950's make.
>
> So, I'm beat. Any ideas? Did I install yaz incorrectly?
>
> Chris
>
>
>
>
>
Hi Chris,

A simple solution for this is to comment out the last three lines of 
your Makefile.PL

Jason

Lakehead University



More information about the Open-ils-dev mailing list