I get the following errors while trying to install graphviz.
I am using ubuntu 8.04 and sage-3.0.2-ubuntu32-intel-i686-Linux
I issued the command sage -i nauty-24b7 -i graphviz-2.16.1.p0

This is the first time I have tried to install any package, so I am
unsure if I am doing anything wrong, but nauty installed without any
errors or warnings. One thing that is not clear to me is: are the
optional packages not pre-compiled?

Thank you for help.

Bhalchandra Thatte
Alfréd Rényi Institute of Mathematics
Hungarian Academy of Sciences

--------------------- error messages ---------------------------

In file included from gdft.c:107:
/usr/local/sage-3.0.2-ubuntu32-intel-i686-Linux/local/include/
ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or
directory
gdft.c:108:10: error: #include expects "FILENAME" or <FILENAME>
gdft.c:109:10: error: #include expects "FILENAME" or <FILENAME>
gdft.c:110:10: error: #include expects "FILENAME" or <FILENAME>
gdft.c:130: error: expected specifier-qualifier-list before
'FT_Library'
gdft.c:139: error: expected specifier-qualifier-list before
'FT_Library'
gdft.c:222: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'library'
gdft.c: In function 'fontFetch':
gdft.c:441: error: 'FT_Error' undeclared (first use in this function)
gdft.c:441: error: (Each undeclared identifier is reported only once
gdft.c:441: error: for each function it appears in.)
gdft.c:441: error: expected ';' before 'err'
gdft.c:452: error: 'font_t' has no member named 'library'
gdft.c:452: error: 'fontkey_t' has no member named 'library'
gdft.c:481: error: 'err' undeclared (first use in this function)
gdft.c:481: warning: implicit declaration of function 'FT_New_Face'
gdft.c:481: error: 'fontkey_t' has no member named 'library'
gdft.c:481: error: 'font_t' has no member named 'face'
gdft.c:490: warning: implicit declaration of function 'FT_Attach_File'
gdft.c:490: error: 'font_t' has no member named 'face'
gdft.c: In function 'fontRelease':
gdft.c:511: warning: implicit declaration of function 'FT_Done_Face'
gdft.c:511: error: 'font_t' has no member named 'face'
gdft.c: At top level:
gdft.c:609: error: expected declaration specifiers or '...' before
'FT_Bitmap'
gdft.c: In function 'gdft_draw_bitmap':
gdft.c:625: error: 'bitmap' undeclared (first use in this function)
gdft.c:637: error: 'ft_pixel_mode_grays' undeclared (first use in this
function)
gdft.c:646: error: 'ft_pixel_mode_mono' undeclared (first use in this
function)
gdft.c: In function 'gdFontCacheShutdown':
gdft.c:797: warning: implicit declaration of function
'FT_Done_FreeType'
gdft.c:797: error: 'library' undeclared (first use in this function)
gdft.c: In function 'gdFontCacheSetup':
gdft.c:819: warning: implicit declaration of function
'FT_Init_FreeType'
gdft.c:819: error: 'library' undeclared (first use in this function)
gdft.c: In function 'gdImageStringFTEx':
gdft.c:839: error: 'FT_Matrix' undeclared (first use in this function)
gdft.c:839: error: expected ';' before 'matrix'
gdft.c:840: error: 'FT_Vector' undeclared (first use in this function)
gdft.c:840: error: expected ';' before 'penf'
gdft.c:841: error: 'FT_Face' undeclared (first use in this function)
gdft.c:841: error: expected ';' before 'face'
gdft.c:842: error: 'FT_CharMap' undeclared (first use in this
function)
gdft.c:842: error: expected ';' before 'charmap'
gdft.c:843: error: 'FT_Glyph' undeclared (first use in this function)
gdft.c:843: error: expected ';' before 'image'
gdft.c:844: error: 'FT_GlyphSlot' undeclared (first use in this
function)
gdft.c:844: error: expected ';' before 'slot'
gdft.c:845: error: 'FT_Error' undeclared (first use in this function)
gdft.c:845: error: expected ';' before 'err'
gdft.c:846: error: 'FT_UInt' undeclared (first use in this function)
gdft.c:846: error: expected ';' before 'glyph_index'
gdft.c:855: error: 'FT_BitmapGlyph' undeclared (first use in this
function)
gdft.c:855: error: expected ';' before 'bm'
gdft.c:858: error: 'FT_LOAD_DEFAULT' undeclared (first use in this
function)
gdft.c:873: error: 'FT_Size' undeclared (first use in this function)
gdft.c:873: error: expected ';' before 'platform_specific'
gdft.c:904: error: 'fontkey_t' has no member named 'library'
gdft.c:904: error: 'library' undeclared (first use in this function)
gdft.c:912: error: 'face' undeclared (first use in this function)
gdft.c:912: error: 'font_t' has no member named 'face'
gdft.c:913: error: 'slot' undeclared (first use in this function)
gdft.c:917: error: 'total_min' undeclared (first use in this function)
gdft.c:918: error: 'total_max' undeclared (first use in this function)
gdft.c:953: error: 'matrix' undeclared (first use in this function)
gdft.c:953: error: 'FT_Fixed' undeclared (first use in this function)
gdft.c:959: warning: implicit declaration of function
'FT_Set_Transform'
gdft.c:961: warning: implicit declaration of function 'FT_New_Size'
gdft.c:961: error: 'platform_independent' undeclared (first use in
this function)
gdft.c:962: warning: implicit declaration of function
'FT_Activate_Size'
gdft.c:963: warning: implicit declaration of function
'FT_Set_Char_Size'
gdft.c:963: error: 'FT_F26Dot6' undeclared (first use in this
function)
gdft.c:972: error: 'platform_specific' undeclared (first use in this
function)
gdft.c:983: error: 'FT_LOAD_MONOCHROME' undeclared (first use in this
function)
gdft.c:989: error: 'charmap' undeclared (first use in this function)
gdft.c:1067: warning: implicit declaration of function
'FT_Set_Charmap'
gdft.c:1101: error: 'oldpenf' undeclared (first use in this function)
gdft.c:1102: error: 'penf' undeclared (first use in this function)
gdft.c:1103: error: 'previous' undeclared (first use in this function)
gdft.c:1215: error: 'glyph_index' undeclared (first use in this
function)
gdft.c:1215: warning: implicit declaration of function
'FT_Get_Char_Index'
gdft.c:1219: warning: implicit declaration of function
'FT_IS_FIXED_WIDTH'
gdft.c:1220: warning: implicit declaration of function
'FT_HAS_KERNING'
gdft.c:1223: warning: implicit declaration of function
'FT_Get_Kerning'
gdft.c:1223: error: 'ft_kerning_default' undeclared (first use in this
function)
gdft.c:1223: error: 'delta' undeclared (first use in this function)
gdft.c:1257: error: 'err' undeclared (first use in this function)
gdft.c:1257: warning: implicit declaration of function 'FT_Load_Glyph'
gdft.c:1270: error: 'glyph_min' undeclared (first use in this
function)
gdft.c:1283: error: 'glyph_max' undeclared (first use in this
function)
gdft.c:1319: warning: implicit declaration of function 'FT_Get_Glyph'
gdft.c:1319: error: 'image' undeclared (first use in this function)
gdft.c:1321: error: 'ft_glyph_format_bitmap' undeclared (first use in
this function)
gdft.c:1323: warning: implicit declaration of function
'FT_Glyph_To_Bitmap'
gdft.c:1323: error: 'ft_render_mode_normal' undeclared (first use in
this function)
gdft.c:1333: error: 'bm' undeclared (first use in this function)
gdft.c:1333: error: expected ';' before 'image'
gdft.c:1338: error: too many arguments to function 'gdft_draw_bitmap'
gdft.c:1340: warning: implicit declaration of function 'FT_Done_Glyph'
gdft.c:1378: warning: implicit declaration of function 'FT_Done_Size'
make[3]: *** [gdft.lo] Error 1
make[3]: Leaving directory `/usr/local/sage-3.0.2-ubuntu32-intel-i686-
Linux/spkg/build/graphviz-2.16.1.p0/src/lib/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/sage-3.0.2-ubuntu32-intel-i686-
Linux/spkg/build/graphviz-2.16.1.p0/src/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/sage-3.0.2-ubuntu32-intel-i686-
Linux/spkg/build/graphviz-2.16.1.p0/src'
make: *** [all] Error 2
Error building Graphviz

real    1m13.357s
user    0m44.543s
sys     0m24.042s
sage: An error occurred while installing graphviz-2.16.1.p0
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /usr/local/sage-3.0.2-ubuntu32-intel-i686-Linux/install.log.
Describe your computer, operating system, etc.
If you want to try to fix the problem, yourself *don't* just cd to
/usr/local/sage-3.0.2-ubuntu32-intel-i686-Linux/spkg/build/
graphviz-2.16.1.p0 and type 'make'.
Instead type "/usr/local/sage-3.0.2-ubuntu32-intel-i686-Linux/sage -
sh"
in order to set all environment variables correctly, then cd to
/usr/local/sage-3.0.2-ubuntu32-intel-i686-Linux/spkg/build/
graphviz-2.16.1.p0
(When you are done debugging, you can type "exit" to leave the
subshell.)

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to