>From the log it looks like you need the X11 development libraries and headers to be installed. That's something you'll have to do by apt-get installing some x11 or xorg devel package.
On 2/19/07, Nikos Apostolakis <[EMAIL PROTECTED]> wrote: > > Hi, > > I just finished installing sage on a debian testing/unstable. > Everything went fine until I tried to install the optional package > axiom4sage-0.1. Other than that, as far I can tell, sage works > great! > > Here is the part of the log file with the errors: > > ------ Begin logfile ------- > pixmap.c:36:22: error: X11/Xlib.h: No such file or directory > pixmap.c:37:23: error: X11/Xutil.h: No such file or directory > pixmap.c:38:21: error: X11/Xos.h: No such file or directory > In file included from pixmap.c:48: > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/spadcolors.h:34:19: > error: X11/X.h: No such file or directory > In file included from pixmap.c:48: > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/spadcolors.h:58: > error: expected '=', ',', ';', 'asm' or '__attribute__' before 'colorMap' > In file included from pixmap.c:50: > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/pixmap.H1:9: > error: expected ')' before '*' token > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/pixmap.H1:10: > error: expected ')' before '*' token > In file included from pixmap.c:52: > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/spadcolors.H1:15: > error: expected ')' before '*' token > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/spadcolors.H1:16: > error: expected ')' before '*' token > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/spadcolors.H1:17: > error: expected ')' before '*' token > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/spadcolors.H1:19: > error: expected ')' before '*' token > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/spadcolors.H1:20: > error: expected ')' before '*' token > In file included from pixmap.c:290: > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/xpm.h:144: > error: expected ')' before '*' token > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/xpm.h:154: > error: expected ')' before '*' token > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/xpm.h:166: > error: expected specifier-qualifier-list before 'Visual' > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/xpm.h:303: > error: expected ')' before '*' token > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/xpm.h:310: > error: expected ')' before '*' token > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/xpm.h:316: > error: expected ')' before '*' token > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/xpm.h:323: > error: expected ')' before '*' token > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/xpm.h:330: > error: expected ')' before '*' token > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/xpm.h:336: > error: expected ')' before '*' token > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/xpm.h:342: > error: expected ')' before '*' token > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/xpm.h:348: > error: expected ')' before '*' token > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/xpm.h:354: > error: expected ')' before '*' token > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/xpm.h:360: > error: expected ')' before '*' token > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/xpm.h:367: > error: expected ')' before '*' token > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/xpm.h:373: > error: expected ')' before '*' token > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/xpm.h:404: > error: expected ')' before '*' token > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/xpm.h:411: > error: expected ')' before '*' token > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/xpm.h:417: > error: expected ')' before '*' token > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1/axiom.build-improvements/src/include/xpm.h:423: > error: expected ')' before '*' token > pixmap.c:301: error: expected ')' before '*' token > pixmap.c:344: error: expected ')' before '*' token > make[1]: *** [pixmap.o] Error 1 > make[1]: Leaving directory `/mnt/hda1/usr/local/include/sage-2.1.4 > /spkg/build/axiom4sage-0.1/src/lib' > make: *** [all-recursive] Error 1 > *********************************************************** > Failed to make Axiom. > *********************************************************** > > real 0m5.149s > user 0m2.499s > sys 0m1.554s > sage: An error occured while installing axiom4sage-0.1 > Please email William Stein <[EMAIL PROTECTED]> explaining the > problem and send him the relevant part of > of /mnt/hda1/usr/local/include/sage-2.1.4/install.log. Don't send the > whole thing. > If you want to try to fix the problem, yourself *don't* just cd to > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1 and type > 'make'. > Instead (using bash) type "source local/bin/sage-env" from the directory > /mnt/hda1/usr/local/include/sage-2.1.4 > in order to set all environment variables correctly, then cd to > /mnt/hda1/usr/local/include/sage-2.1.4/spkg/build/axiom4sage-0.1 > ------- End logfile ------- > > Thanks, > Nikos > > -- > 1 2 > \ / Nikos Apostolakis > / Assistant Professor > / \ Department of Mathematics and Computer Science > \ / 3 Bronx Community College of CUNY > / > / \ (718) 289-5482 > \ / > / [EMAIL PROTECTED] > / \ http://199.219.158.116/~nikosapostolakis > 1 2 > -- William Stein Associate Professor of Mathematics University of Washington --~--~---------~--~----~------------~-------~--~----~ 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://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---
