[Tioga-users] Tioga 1.7 installation error
Ken Shen
kenshen at physics.ucsb.edu
Tue Jan 29 20:35:02 EST 2008
Hi Vincent, thanks for the update. Unfortunately, no luck with the
installation! This is what it spat out when I ran QUICK_INSTALL:
checking for zlib.h... yes
checking for compress() in -lz... yes
checking for ieee754.h... no
You lack the ieee754.h header file, which might mean lower reliability
when Marshalling Dvectors and Dtables
checking for isnan() ... no
MacOS specific installation
Writing Makefile
gcc -g -O2 -pipe -fno-common -O2 -Wall -I/usr/local/lib/ruby/1.8
-I/usr/local/lib/ruby/1.8/i686-darwin9.1.0 -I. -I./include -IDvector
-IDvector/include -IDtable -IDtable/include -IFlate -IFlate/include
-IFunction -IFunction/include -ITioga -D_HAVE_ZLIB_H -D_HAVE_Z -c
Dtable/dtable.c -o Dtable/dtable.o
In file included from Dtable/dtable_intern.h:27,
from Dtable/dtable.c:23:
Dvector/include/dvector.h:34: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'rb_export_Dvector_Data_for_Read_type'
Dvector/include/dvector.h:36: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'rb_export_Dvector_Data_Copy_type'
Dvector/include/dvector.h:38: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'rb_export_Dvector_Data_for_Write_type'
Dvector/include/dvector.h:40: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'rb_export_Dvector_Data_Resize_type'
Dvector/include/dvector.h:41: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'rb_export_Dvector_Data_Replace_type'
Dvector/include/dvector.h:44: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'rb_export_Dvector_Create_type'
Dvector/include/dvector.h:45: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'rb_export_Dvector_Store_Double_type'
Dvector/include/dvector.h:47: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'rb_export_Dvector_Push_Double_type'
Dvector/include/dvector.h:50: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'rb_export_c_dvector_spline_interpolate_type'
Dvector/include/dvector.h:53: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'rb_export_c_dvector_linear_interpolate_type'
Dvector/include/dvector.h:55: error: expected '=', ',', ';', 'asm' or
'__attribute__' before
'rb_export_c_dvector_create_spline_interpolant_type'
Dtable/dtable.c: In function 'dtable_row':
Dtable/dtable.c:410: warning: implicit declaration of function
'Dvector_Create'
Dtable/dtable.c:411: warning: implicit declaration of function
'Dvector_Data_Replace'
Dtable/dtable.c: In function 'dtable_set_row':
Dtable/dtable.c:425: warning: implicit declaration of function
'Dvector_Data_for_Read'
Dtable/dtable.c:425: warning: initialization makes pointer from integer
without a cast
Dtable/dtable.c: In function 'dtable_set_column':
Dtable/dtable.c:447: warning: initialization makes pointer from integer
without a cast
Dtable/dtable.c: In function 'dtable_column':
Dtable/dtable.c:473: warning: implicit declaration of function
'Dvector_Data_Resize'
Dtable/dtable.c:475: warning: implicit declaration of function
'Dvector_Store_Double'
Dtable/dtable.c: In function 'Init_Dtable':
Dtable/dtable.c:1919: error: 'Dvector_Create' undeclared (first use in
this function)
Dtable/dtable.c:1919: error: (Each undeclared identifier is reported only
once
Dtable/dtable.c:1919: error: for each function it appears in.)
Dtable/dtable.c:1920: error: 'Dvector_Data_Resize' undeclared (first use
in this function)
Dtable/dtable.c:1921: error: 'Dvector_Data_Replace' undeclared (first use
in this function)
Dtable/dtable.c:1922: error: 'Dvector_Data_for_Read' undeclared (first use
in this function)
Dtable/dtable.c:1923: error: 'Dvector_Store_Double' undeclared (first use
in this function)
Dtable/dtable.c: At top level:
Dtable/dtable.c:1930: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'rb_export_Dvector_Create_type'
Dtable/dtable.c:1931: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'rb_export_Dvector_Data_Resize_type'
Dtable/dtable.c:1932: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'rb_export_Dvector_Data_Replace_type'
Dtable/dtable.c:1933: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'rb_export_Dvector_Data_for_Read_type'
Dtable/dtable.c:1934: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'rb_export_Dvector_Store_Double_type'
make: *** [Dtable/dtable.o] Error 1
-Ken
On Tue, 29 Jan 2008, Vincent Fourmond wrote:
>
> Hello dear Tioga users !
>
> I'm glad to announce the 1.7 release of Tioga, the first in quite a
> long while. While this may not have shown on this list, a lot has been
> going on in Tioga's development over the past six month, as Taro Sato is
> preparing a Python port of Tioga, and we had to adapt the code so it
> would be easier.
>
> But that wasn't the only change. Among other things, let's name a few:
>
> * it is now possible to know the exact size of TeX text, using
> get_text_size. I suggest you have a look at the documentation, and at
> the text_size examples in samples/figures/figures.rb. This came somehow
> as a shock, as we never thought it would be possible.
>
> * legend information without lines, just call save_legend_info with
> 'line_type' => 'None' in addition to the marker information. You can
> also give a 'legend' argument to show_marker.
>
> * some bug fixes, which I hope will solve the various stack overflows
> we've seen recently on this list (I'm not entirely sure, as I could
> never reproduce them on my machine).
>
> * some improvements in Dvector.fancy_read (around three times faster
> now), and new methods to Function.
>
> * the release should be Ruby 1.9-ready. Please, check it out and let
> us know.
>
> The release is, as usual, available at
>
> http://rubyforge.org/frs/?group_id=701
>
> Enjoy !
>
> Vincent
> _______________________________________________
> Tioga-users mailing list
> Tioga-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/tioga-users
>
More information about the Tioga-users
mailing list