[Tioga-users] Trouble installing
Ken Shen
kenshen at physics.ucsb.edu
Mon Dec 17 10:29:50 EST 2007
Here is what my mkmf2.log says:
have_header: checking for zlib.h... -------------------- yes
"gcc -E -I/usr/local/lib/ruby/1.8
-I/usr/local/lib/ruby/1.8/universal-darwin8.0 -I. -I./include -IDvector
-IDvector/include -IDtable -IDtable/include -IFlate -IFlate/include
-IFunction -IFunction/include -g -O2 -fno-common -pipe -fno-common
conftest.c -o conftest.i"
checked program was:
/* begin */
#include <zlib.h>
/* end */
--------------------
have_library: checking for compress() in -lz... -------------------- no
"gcc -o conftest $INCFLAGS conftest.c -I$hdrdir -g -O2 -fno-common
-pipe -fno-common $src $LIBPATH -arch i386 -lpthread -ldl -lobjc
-lz"
cc1: error: unrecognized command line option "-arch"
checked program was:
/* begin */
#include <zlib.h>
/*top*/
int main() { return 0; }
int t() { compress(); return 0; }
/* end */
"gcc -o conftest $INCFLAGS conftest.c -I$hdrdir -g -O2 -fno-common
-pipe -fno-common $src $LIBPATH -arch i386 -lpthread -ldl -lobjc
-lz"
cc1: error: unrecognized command line option "-arch"
checked program was:
/* begin */
#include <zlib.h>
/*top*/
int main() { return 0; }
int t() { void ((*volatile p)()); p = (void ((*)()))compress; return 0; }
/* end */
--------------------
-Ken
On Mon, 17 Dec 2007, Vincent Fourmond wrote:
> Hello,
>
> On Dec 17, 2007 12:16 AM, Ken Shen <kenshen at physics.ucsb.edu> wrote:
> > Hi, I'm having problems installing Tioga. Running ./QUICK_INSTALL yields:
> >
> > -----------
> > checking for zlib.h... yes
> > checking for compress() in -lz... no
> > Error: you should have zlib (including development files) installed to
> > build and run Tioga. You can get it there:
> >
> > http://www.zlib.net/
> >
> > If that doesn't solve your problem, please report it on the Tioga tracker:
> >
> > http://rubyforge.org/tracker/?group_id=701
> > -----------
> >
> > I reinstalled zlib-1.2.3 from zlib.net, thinking that the zlib that came
> > with Leopard might be funny. So I have a libz.a in my /usr/local/lib. I
> > don't know if it matters, but I don't have a libz.a in my /usr/lib, I only
> > have libz.dylib and various versions of that (libz.1, libz.1.1.3,
> > libz.1.2.3). Also, I have zlib.h in both /usr/include and
> > /usr/local/include.
>
> Funny... There should be a file split/mkmf2.log produced during the
> build process. Could you post it here, so we can get a better idea ?
>
> Cheers,
>
> Vincent
>
More information about the Tioga-users
mailing list