following some urls for ubuntu to install from src like

http://www.sagemath.org/download-source.html
http://www.sagemath.org/doc/installation/source.html

and

http://ubuntuforums.org/showthread.php?t=1382405

i checked that i had all required langs and tools first.
i came fairly far in the process with make but at the end of
the process i got an error . any one who has a clue what the
problem is?

staffan

----------------------------

clude" -I/opt/sage-4.3.1/local/include/freetype2/  -L/opt/sage-4.3.1/
local/lib -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib  -L/opt/sage-4.3.1/
local/lib  -o annotate  annotate.o ./libgd.la  -lfreetype -lpng12 -lz -
lm
gcc -fPIC -g -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include/freetype2/ -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib -o .libs/
annotate annotate.o  -L/opt/sage-4.3.1/local/lib ./.libs/libgd.so /opt/
sage-4.3.1/local/lib/libfreetype.so /opt/sage-4.3.1/local/lib/
libpng12.so -lz -lm -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib
creating annotate
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/sage-4.3.1/local/include/
freetype2 -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include   -fPIC -g -I"/opt/sage-4.3.1/local/include" -I/opt/sage-4.3.1/
local/include/freetype2/ -MT gdparttopng.o -MD -MP -MF ".deps/
gdparttopng.Tpo" -c -o gdparttopng.o gdparttopng.c; \
        then mv -f ".deps/gdparttopng.Tpo" ".deps/gdparttopng.Po";
else rm -f ".deps/gdparttopng.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g -I"/opt/
sage-4.3.1/local/include" -I/opt/sage-4.3.1/local/include/freetype2/  -
L/opt/sage-4.3.1/local/lib -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib  -
L/opt/sage-4.3.1/local/lib  -o gdparttopng  gdparttopng.o ./libgd.la  -
lfreetype -lpng12 -lz -lm
gcc -fPIC -g -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include/freetype2/ -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib -o .libs/
gdparttopng gdparttopng.o  -L/opt/sage-4.3.1/local/lib ./.libs/
libgd.so /opt/sage-4.3.1/local/lib/libfreetype.so /opt/sage-4.3.1/
local/lib/libpng12.so -lz -lm -Wl,--rpath -Wl,/opt/sage-4.3.1/local/
lib
creating gdparttopng
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/sage-4.3.1/local/include/
freetype2 -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include   -fPIC -g -I"/opt/sage-4.3.1/local/include" -I/opt/sage-4.3.1/
local/include/freetype2/ -MT gdtopng.o -MD -MP -MF ".deps/gdtopng.Tpo"
-c -o gdtopng.o gdtopng.c; \
        then mv -f ".deps/gdtopng.Tpo" ".deps/gdtopng.Po"; else rm -f
".deps/gdtopng.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g -I"/opt/
sage-4.3.1/local/include" -I/opt/sage-4.3.1/local/include/freetype2/  -
L/opt/sage-4.3.1/local/lib -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib  -
L/opt/sage-4.3.1/local/lib  -o gdtopng  gdtopng.o ./libgd.la  -
lfreetype -lpng12 -lz -lm
gcc -fPIC -g -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include/freetype2/ -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib -o .libs/
gdtopng gdtopng.o  -L/opt/sage-4.3.1/local/lib ./.libs/libgd.so /opt/
sage-4.3.1/local/lib/libfreetype.so /opt/sage-4.3.1/local/lib/
libpng12.so -lz -lm -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib
creating gdtopng
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/sage-4.3.1/local/include/
freetype2 -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include   -fPIC -g -I"/opt/sage-4.3.1/local/include" -I/opt/sage-4.3.1/
local/include/freetype2/ -MT gd2copypal.o -MD -MP -MF ".deps/
gd2copypal.Tpo" -c -o gd2copypal.o gd2copypal.c; \
        then mv -f ".deps/gd2copypal.Tpo" ".deps/gd2copypal.Po"; else
rm -f ".deps/gd2copypal.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g -I"/opt/
sage-4.3.1/local/include" -I/opt/sage-4.3.1/local/include/freetype2/  -
L/opt/sage-4.3.1/local/lib -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib  -
L/opt/sage-4.3.1/local/lib  -o gd2copypal  gd2copypal.o ./libgd.la  -
lfreetype -lpng12 -lz -lm
gcc -fPIC -g -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include/freetype2/ -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib -o .libs/
gd2copypal gd2copypal.o  -L/opt/sage-4.3.1/local/lib ./.libs/libgd.so /
opt/sage-4.3.1/local/lib/libfreetype.so /opt/sage-4.3.1/local/lib/
libpng12.so -lz -lm -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib
creating gd2copypal
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/sage-4.3.1/local/include/
freetype2 -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include   -fPIC -g -I"/opt/sage-4.3.1/local/include" -I/opt/sage-4.3.1/
local/include/freetype2/ -MT gd2topng.o -MD -MP -MF ".deps/
gd2topng.Tpo" -c -o gd2topng.o gd2topng.c; \
        then mv -f ".deps/gd2topng.Tpo" ".deps/gd2topng.Po"; else rm -
f ".deps/gd2topng.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g -I"/opt/
sage-4.3.1/local/include" -I/opt/sage-4.3.1/local/include/freetype2/  -
L/opt/sage-4.3.1/local/lib -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib  -
L/opt/sage-4.3.1/local/lib  -o gd2topng  gd2topng.o ./libgd.la  -
lfreetype -lpng12 -lz -lm
gcc -fPIC -g -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include/freetype2/ -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib -o .libs/
gd2topng gd2topng.o  -L/opt/sage-4.3.1/local/lib ./.libs/libgd.so /opt/
sage-4.3.1/local/lib/libfreetype.so /opt/sage-4.3.1/local/lib/
libpng12.so -lz -lm -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib
creating gd2topng
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/sage-4.3.1/local/include/
freetype2 -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include   -fPIC -g -I"/opt/sage-4.3.1/local/include" -I/opt/sage-4.3.1/
local/include/freetype2/ -MT pngtogd.o -MD -MP -MF ".deps/pngtogd.Tpo"
-c -o pngtogd.o pngtogd.c; \
        then mv -f ".deps/pngtogd.Tpo" ".deps/pngtogd.Po"; else rm -f
".deps/pngtogd.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g -I"/opt/
sage-4.3.1/local/include" -I/opt/sage-4.3.1/local/include/freetype2/  -
L/opt/sage-4.3.1/local/lib -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib  -
L/opt/sage-4.3.1/local/lib  -o pngtogd  pngtogd.o ./libgd.la  -
lfreetype -lpng12 -lz -lm
gcc -fPIC -g -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include/freetype2/ -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib -o .libs/
pngtogd pngtogd.o  -L/opt/sage-4.3.1/local/lib ./.libs/libgd.so /opt/
sage-4.3.1/local/lib/libfreetype.so /opt/sage-4.3.1/local/lib/
libpng12.so -lz -lm -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib
creating pngtogd
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/sage-4.3.1/local/include/
freetype2 -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include   -fPIC -g -I"/opt/sage-4.3.1/local/include" -I/opt/sage-4.3.1/
local/include/freetype2/ -MT pngtogd2.o -MD -MP -MF ".deps/
pngtogd2.Tpo" -c -o pngtogd2.o pngtogd2.c; \
        then mv -f ".deps/pngtogd2.Tpo" ".deps/pngtogd2.Po"; else rm -
f ".deps/pngtogd2.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g -I"/opt/
sage-4.3.1/local/include" -I/opt/sage-4.3.1/local/include/freetype2/  -
L/opt/sage-4.3.1/local/lib -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib  -
L/opt/sage-4.3.1/local/lib  -o pngtogd2  pngtogd2.o ./libgd.la  -
lfreetype -lpng12 -lz -lm
gcc -fPIC -g -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include/freetype2/ -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib -o .libs/
pngtogd2 pngtogd2.o  -L/opt/sage-4.3.1/local/lib ./.libs/libgd.so /opt/
sage-4.3.1/local/lib/libfreetype.so /opt/sage-4.3.1/local/lib/
libpng12.so -lz -lm -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib
creating pngtogd2
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/sage-4.3.1/local/include/
freetype2 -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include   -fPIC -g -I"/opt/sage-4.3.1/local/include" -I/opt/sage-4.3.1/
local/include/freetype2/ -MT webpng.o -MD -MP -MF ".deps/webpng.Tpo" -
c -o webpng.o webpng.c; \
        then mv -f ".deps/webpng.Tpo" ".deps/webpng.Po"; else rm -f
".deps/webpng.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g -I"/opt/
sage-4.3.1/local/include" -I/opt/sage-4.3.1/local/include/freetype2/  -
L/opt/sage-4.3.1/local/lib -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib  -
L/opt/sage-4.3.1/local/lib  -o webpng  webpng.o ./libgd.la  -lfreetype
-lpng12 -lz -lm
gcc -fPIC -g -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include/freetype2/ -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib -o .libs/
webpng webpng.o  -L/opt/sage-4.3.1/local/lib ./.libs/libgd.so /opt/
sage-4.3.1/local/lib/libfreetype.so /opt/sage-4.3.1/local/lib/
libpng12.so -lz -lm -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib
creating webpng
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/sage-4.3.1/local/include/
freetype2 -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include   -fPIC -g -I"/opt/sage-4.3.1/local/include" -I/opt/sage-4.3.1/
local/include/freetype2/ -MT gd2togif.o -MD -MP -MF ".deps/
gd2togif.Tpo" -c -o gd2togif.o gd2togif.c; \
        then mv -f ".deps/gd2togif.Tpo" ".deps/gd2togif.Po"; else rm -
f ".deps/gd2togif.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g -I"/opt/
sage-4.3.1/local/include" -I/opt/sage-4.3.1/local/include/freetype2/  -
L/opt/sage-4.3.1/local/lib -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib  -
L/opt/sage-4.3.1/local/lib  -o gd2togif  gd2togif.o ./libgd.la  -
lfreetype -lpng12 -lz -lm
gcc -fPIC -g -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include/freetype2/ -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib -o .libs/
gd2togif gd2togif.o  -L/opt/sage-4.3.1/local/lib ./.libs/libgd.so /opt/
sage-4.3.1/local/lib/libfreetype.so /opt/sage-4.3.1/local/lib/
libpng12.so -lz -lm -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib
creating gd2togif
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/sage-4.3.1/local/include/
freetype2 -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include   -fPIC -g -I"/opt/sage-4.3.1/local/include" -I/opt/sage-4.3.1/
local/include/freetype2/ -MT gdcmpgif.o -MD -MP -MF ".deps/
gdcmpgif.Tpo" -c -o gdcmpgif.o gdcmpgif.c; \
        then mv -f ".deps/gdcmpgif.Tpo" ".deps/gdcmpgif.Po"; else rm -
f ".deps/gdcmpgif.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g -I"/opt/
sage-4.3.1/local/include" -I/opt/sage-4.3.1/local/include/freetype2/  -
L/opt/sage-4.3.1/local/lib -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib  -
L/opt/sage-4.3.1/local/lib  -o gdcmpgif  gdcmpgif.o ./libgd.la  -
lfreetype -lpng12 -lz -lm
gcc -fPIC -g -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include/freetype2/ -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib -o .libs/
gdcmpgif gdcmpgif.o  -L/opt/sage-4.3.1/local/lib ./.libs/libgd.so /opt/
sage-4.3.1/local/lib/libfreetype.so /opt/sage-4.3.1/local/lib/
libpng12.so -lz -lm -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib
creating gdcmpgif
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/sage-4.3.1/local/include/
freetype2 -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include   -fPIC -g -I"/opt/sage-4.3.1/local/include" -I/opt/sage-4.3.1/
local/include/freetype2/ -MT giftogd2.o -MD -MP -MF ".deps/
giftogd2.Tpo" -c -o giftogd2.o giftogd2.c; \
        then mv -f ".deps/giftogd2.Tpo" ".deps/giftogd2.Po"; else rm -
f ".deps/giftogd2.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g -I"/opt/
sage-4.3.1/local/include" -I/opt/sage-4.3.1/local/include/freetype2/  -
L/opt/sage-4.3.1/local/lib -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib  -
L/opt/sage-4.3.1/local/lib  -o giftogd2  giftogd2.o ./libgd.la  -
lfreetype -lpng12 -lz -lm
gcc -fPIC -g -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include/freetype2/ -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib -o .libs/
giftogd2 giftogd2.o  -L/opt/sage-4.3.1/local/lib ./.libs/libgd.so /opt/
sage-4.3.1/local/lib/libfreetype.so /opt/sage-4.3.1/local/lib/
libpng12.so -lz -lm -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib
creating giftogd2
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/sage-4.3.1/local/include/
freetype2 -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include   -fPIC -g -I"/opt/sage-4.3.1/local/include" -I/opt/sage-4.3.1/
local/include/freetype2/ -MT fontsizetest.o -MD -MP -MF ".deps/
fontsizetest.Tpo" -c -o fontsizetest.o fontsizetest.c; \
        then mv -f ".deps/fontsizetest.Tpo" ".deps/fontsizetest.Po";
else rm -f ".deps/fontsizetest.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g -I"/opt/
sage-4.3.1/local/include" -I/opt/sage-4.3.1/local/include/freetype2/  -
L/opt/sage-4.3.1/local/lib -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib  -
L/opt/sage-4.3.1/local/lib  -o fontsizetest  fontsizetest.o ./
libgd.la  -lfreetype -lpng12 -lz -lm
gcc -fPIC -g -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include/freetype2/ -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib -o .libs/
fontsizetest fontsizetest.o  -L/opt/sage-4.3.1/local/lib ./.libs/
libgd.so /opt/sage-4.3.1/local/lib/libfreetype.so /opt/sage-4.3.1/
local/lib/libpng12.so -lz -lm -Wl,--rpath -Wl,/opt/sage-4.3.1/local/
lib
creating fontsizetest
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/sage-4.3.1/local/include/
freetype2 -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include   -fPIC -g -I"/opt/sage-4.3.1/local/include" -I/opt/sage-4.3.1/
local/include/freetype2/ -MT fontwheeltest.o -MD -MP -MF ".deps/
fontwheeltest.Tpo" -c -o fontwheeltest.o fontwheeltest.c; \
        then mv -f ".deps/fontwheeltest.Tpo" ".deps/fontwheeltest.Po";
else rm -f ".deps/fontwheeltest.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g -I"/opt/
sage-4.3.1/local/include" -I/opt/sage-4.3.1/local/include/freetype2/  -
L/opt/sage-4.3.1/local/lib -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib  -
L/opt/sage-4.3.1/local/lib  -o fontwheeltest  fontwheeltest.o ./
libgd.la  -lfreetype -lpng12 -lz -lm
gcc -fPIC -g -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include/freetype2/ -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib -o .libs/
fontwheeltest fontwheeltest.o  -L/opt/sage-4.3.1/local/lib ./.libs/
libgd.so /opt/sage-4.3.1/local/lib/libfreetype.so /opt/sage-4.3.1/
local/lib/libpng12.so -lz -lm -Wl,--rpath -Wl,/opt/sage-4.3.1/local/
lib
creating fontwheeltest
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/sage-4.3.1/local/include/
freetype2 -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include   -fPIC -g -I"/opt/sage-4.3.1/local/include" -I/opt/sage-4.3.1/
local/include/freetype2/ -MT gdtest.o -MD -MP -MF ".deps/gdtest.Tpo" -
c -o gdtest.o gdtest.c; \
        then mv -f ".deps/gdtest.Tpo" ".deps/gdtest.Po"; else rm -f
".deps/gdtest.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g -I"/opt/
sage-4.3.1/local/include" -I/opt/sage-4.3.1/local/include/freetype2/  -
L/opt/sage-4.3.1/local/lib -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib  -
L/opt/sage-4.3.1/local/lib  -o gdtest  gdtest.o ./libgd.la  -lfreetype
-lpng12 -lz -lm
gcc -fPIC -g -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include/freetype2/ -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib -o .libs/
gdtest gdtest.o  -L/opt/sage-4.3.1/local/lib ./.libs/libgd.so /opt/
sage-4.3.1/local/lib/libfreetype.so /opt/sage-4.3.1/local/lib/
libpng12.so -lz -lm -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib
creating gdtest
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/sage-4.3.1/local/include/
freetype2 -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include   -fPIC -g -I"/opt/sage-4.3.1/local/include" -I/opt/sage-4.3.1/
local/include/freetype2/ -MT gddemo.o -MD -MP -MF ".deps/gddemo.Tpo" -
c -o gddemo.o gddemo.c; \
        then mv -f ".deps/gddemo.Tpo" ".deps/gddemo.Po"; else rm -f
".deps/gddemo.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g -I"/opt/
sage-4.3.1/local/include" -I/opt/sage-4.3.1/local/include/freetype2/  -
L/opt/sage-4.3.1/local/lib -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib  -
L/opt/sage-4.3.1/local/lib  -o gddemo  gddemo.o ./libgd.la  -lfreetype
-lpng12 -lz -lm
gcc -fPIC -g -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include/freetype2/ -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib -o .libs/
gddemo gddemo.o  -L/opt/sage-4.3.1/local/lib ./.libs/libgd.so /opt/
sage-4.3.1/local/lib/libfreetype.so /opt/sage-4.3.1/local/lib/
libpng12.so -lz -lm -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib
creating gddemo
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/sage-4.3.1/local/include/
freetype2 -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include   -fPIC -g -I"/opt/sage-4.3.1/local/include" -I/opt/sage-4.3.1/
local/include/freetype2/ -MT gd2time.o -MD -MP -MF ".deps/gd2time.Tpo"
-c -o gd2time.o gd2time.c; \
        then mv -f ".deps/gd2time.Tpo" ".deps/gd2time.Po"; else rm -f
".deps/gd2time.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g -I"/opt/
sage-4.3.1/local/include" -I/opt/sage-4.3.1/local/include/freetype2/  -
L/opt/sage-4.3.1/local/lib -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib  -
L/opt/sage-4.3.1/local/lib  -o gd2time  gd2time.o ./libgd.la  -
lfreetype -lpng12 -lz -lm
gcc -fPIC -g -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include/freetype2/ -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib -o .libs/
gd2time gd2time.o  -L/opt/sage-4.3.1/local/lib ./.libs/libgd.so /opt/
sage-4.3.1/local/lib/libfreetype.so /opt/sage-4.3.1/local/lib/
libpng12.so -lz -lm -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib
creating gd2time
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/sage-4.3.1/local/include/
freetype2 -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include   -fPIC -g -I"/opt/sage-4.3.1/local/include" -I/opt/sage-4.3.1/
local/include/freetype2/ -MT gdtestft.o -MD -MP -MF ".deps/
gdtestft.Tpo" -c -o gdtestft.o gdtestft.c; \
        then mv -f ".deps/gdtestft.Tpo" ".deps/gdtestft.Po"; else rm -
f ".deps/gdtestft.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g -I"/opt/
sage-4.3.1/local/include" -I/opt/sage-4.3.1/local/include/freetype2/  -
L/opt/sage-4.3.1/local/lib -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib  -
L/opt/sage-4.3.1/local/lib  -o gdtestft  gdtestft.o ./libgd.la  -
lfreetype -lpng12 -lz -lm
gcc -fPIC -g -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include/freetype2/ -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib -o .libs/
gdtestft gdtestft.o  -L/opt/sage-4.3.1/local/lib ./.libs/libgd.so /opt/
sage-4.3.1/local/lib/libfreetype.so /opt/sage-4.3.1/local/lib/
libpng12.so -lz -lm -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib
creating gdtestft
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/sage-4.3.1/local/include/
freetype2 -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include   -fPIC -g -I"/opt/sage-4.3.1/local/include" -I/opt/sage-4.3.1/
local/include/freetype2/ -MT testac.o -MD -MP -MF ".deps/testac.Tpo" -
c -o testac.o testac.c; \
        then mv -f ".deps/testac.Tpo" ".deps/testac.Po"; else rm -f
".deps/testac.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g -I"/opt/
sage-4.3.1/local/include" -I/opt/sage-4.3.1/local/include/freetype2/  -
L/opt/sage-4.3.1/local/lib -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib  -
L/opt/sage-4.3.1/local/lib  -o testac  testac.o ./libgd.la  -lfreetype
-lpng12 -lz -lm
gcc -fPIC -g -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include/freetype2/ -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib -o .libs/
testac testac.o  -L/opt/sage-4.3.1/local/lib ./.libs/libgd.so /opt/
sage-4.3.1/local/lib/libfreetype.so /opt/sage-4.3.1/local/lib/
libpng12.so -lz -lm -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib
creating testac
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/sage-4.3.1/local/include/
freetype2 -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include   -fPIC -g -I"/opt/sage-4.3.1/local/include" -I/opt/sage-4.3.1/
local/include/freetype2/ -MT circletexttest.o -MD -MP -MF ".deps/
circletexttest.Tpo" -c -o circletexttest.o circletexttest.c; \
        then mv -f ".deps/circletexttest.Tpo" ".deps/
circletexttest.Po"; else rm -f ".deps/circletexttest.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g -I"/opt/
sage-4.3.1/local/include" -I/opt/sage-4.3.1/local/include/freetype2/  -
L/opt/sage-4.3.1/local/lib -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib  -
L/opt/sage-4.3.1/local/lib  -o circletexttest  circletexttest.o ./
libgd.la  -lfreetype -lpng12 -lz -lm
gcc -fPIC -g -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include/freetype2/ -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib -o .libs/
circletexttest circletexttest.o  -L/opt/sage-4.3.1/local/lib ./.libs/
libgd.so /opt/sage-4.3.1/local/lib/libfreetype.so /opt/sage-4.3.1/
local/lib/libpng12.so -lz -lm -Wl,--rpath -Wl,/opt/sage-4.3.1/local/
lib
creating circletexttest
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/sage-4.3.1/local/include/
freetype2 -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include   -fPIC -g -I"/opt/sage-4.3.1/local/include" -I/opt/sage-4.3.1/
local/include/freetype2/ -MT testtr.o -MD -MP -MF ".deps/testtr.Tpo" -
c -o testtr.o testtr.c; \
        then mv -f ".deps/testtr.Tpo" ".deps/testtr.Po"; else rm -f
".deps/testtr.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g -I"/opt/
sage-4.3.1/local/include" -I/opt/sage-4.3.1/local/include/freetype2/  -
L/opt/sage-4.3.1/local/lib -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib  -
L/opt/sage-4.3.1/local/lib  -o testtr  testtr.o ./libgd.la  -lfreetype
-lpng12 -lz -lm
gcc -fPIC -g -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include/freetype2/ -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib -o .libs/
testtr testtr.o  -L/opt/sage-4.3.1/local/lib ./.libs/libgd.so /opt/
sage-4.3.1/local/lib/libfreetype.so /opt/sage-4.3.1/local/lib/
libpng12.so -lz -lm -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib
creating testtr
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/sage-4.3.1/local/include/
freetype2 -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include   -fPIC -g -I"/opt/sage-4.3.1/local/include" -I/opt/sage-4.3.1/
local/include/freetype2/ -MT fontconfigtest.o -MD -MP -MF ".deps/
fontconfigtest.Tpo" -c -o fontconfigtest.o fontconfigtest.c; \
        then mv -f ".deps/fontconfigtest.Tpo" ".deps/
fontconfigtest.Po"; else rm -f ".deps/fontconfigtest.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g -I"/opt/
sage-4.3.1/local/include" -I/opt/sage-4.3.1/local/include/freetype2/  -
L/opt/sage-4.3.1/local/lib -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib  -
L/opt/sage-4.3.1/local/lib  -o fontconfigtest  fontconfigtest.o ./
libgd.la  -lfreetype -lpng12 -lz -lm
gcc -fPIC -g -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include/freetype2/ -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib -o .libs/
fontconfigtest fontconfigtest.o  -L/opt/sage-4.3.1/local/lib ./.libs/
libgd.so /opt/sage-4.3.1/local/lib/libfreetype.so /opt/sage-4.3.1/
local/lib/libpng12.so -lz -lm -Wl,--rpath -Wl,/opt/sage-4.3.1/local/
lib
creating fontconfigtest
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/sage-4.3.1/local/include/
freetype2 -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include   -fPIC -g -I"/opt/sage-4.3.1/local/include" -I/opt/sage-4.3.1/
local/include/freetype2/ -MT gifanimtest.o -MD -MP -MF ".deps/
gifanimtest.Tpo" -c -o gifanimtest.o gifanimtest.c; \
        then mv -f ".deps/gifanimtest.Tpo" ".deps/gifanimtest.Po";
else rm -f ".deps/gifanimtest.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g -I"/opt/
sage-4.3.1/local/include" -I/opt/sage-4.3.1/local/include/freetype2/  -
L/opt/sage-4.3.1/local/lib -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib  -
L/opt/sage-4.3.1/local/lib  -o gifanimtest  gifanimtest.o ./libgd.la  -
lfreetype -lpng12 -lz -lm
gcc -fPIC -g -I/opt/sage-4.3.1/local/include -I/opt/sage-4.3.1/local/
include/freetype2/ -Wl,--rpath -Wl,/opt/sage-4.3.1/local/lib -o .libs/
gifanimtest gifanimtest.o  -L/opt/sage-4.3.1/local/lib ./.libs/
libgd.so /opt/sage-4.3.1/local/lib/libfreetype.so /opt/sage-4.3.1/
local/lib/libpng12.so -lz -lm -Wl,--rpath -Wl,/opt/sage-4.3.1/local/
lib
creating gifanimtest
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make[4]: Leaving directory `/opt/sage-4.3.1/spkg/build/gd-2.0.35.p3/
src'
make[3]: Leaving directory `/opt/sage-4.3.1/spkg/build/gd-2.0.35.p3/
src'
make[2]: Leaving directory `/opt/sage-4.3.1/spkg/build/gd-2.0.35.p3/
src'
make[2]: Entering directory `/opt/sage-4.3.1/spkg/build/gd-2.0.35.p3/
src'
Making install in config
make[3]: Entering directory `/opt/sage-4.3.1/spkg/build/gd-2.0.35.p3/
src/config'
make[4]: Entering directory `/opt/sage-4.3.1/spkg/build/gd-2.0.35.p3/
src/config'
test -z "/opt/sage-4.3.1/local/bin" || mkdir -p -- "/opt/sage-4.3.1/
local/bin"
 /usr/bin/install -c 'gdlib-config' '/opt/sage-4.3.1/local/bin/gdlib-
config'
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/opt/sage-4.3.1/spkg/build/gd-2.0.35.p3/
src/config'
make[3]: Leaving directory `/opt/sage-4.3.1/spkg/build/gd-2.0.35.p3/
src/config'
Making install in test
make[3]: Entering directory `/opt/sage-4.3.1/spkg/build/gd-2.0.35.p3/
src/test'
make[4]: Entering directory `/opt/sage-4.3.1/spkg/build/gd-2.0.35.p3/
src/test'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/opt/sage-4.3.1/spkg/build/gd-2.0.35.p3/
src/test'
make[3]: Leaving directory `/opt/sage-4.3.1/spkg/build/gd-2.0.35.p3/
src/test'
make[3]: Entering directory `/opt/sage-4.3.1/spkg/build/gd-2.0.35.p3/
src'
make[4]: Entering directory `/opt/sage-4.3.1/spkg/build/gd-2.0.35.p3/
src'
test -z "/opt/sage-4.3.1/local/lib" || mkdir -p -- "/opt/sage-4.3.1/
local/lib"
 /bin/sh ./libtool --mode=install /usr/bin/install -c  'libgd.la' '/
opt/sage-4.3.1/local/lib/libgd.la'
/usr/bin/install -c .libs/libgd.so.2.0.0 /opt/sage-4.3.1/local/lib/
libgd.so.2.0.0
(cd /opt/sage-4.3.1/local/lib && { ln -s -f libgd.so.2.0.0 libgd.so.2
|| { rm -f libgd.so.2 && ln -s libgd.so.2.0.0 libgd.so.2; }; })
(cd /opt/sage-4.3.1/local/lib && { ln -s -f libgd.so.2.0.0 libgd.so ||
{ rm -f libgd.so && ln -s libgd.so.2.0.0 libgd.so; }; })
/usr/bin/install -c .libs/libgd.lai /opt/sage-4.3.1/local/lib/libgd.la
/usr/bin/install -c .libs/libgd.a /opt/sage-4.3.1/local/lib/libgd.a
chmod 644 /opt/sage-4.3.1/local/lib/libgd.a
ranlib /opt/sage-4.3.1/local/lib/libgd.a
PATH="$PATH:/sbin" ldconfig -n /opt/sage-4.3.1/local/lib
ldconfig: /opt/sage-4.3.1/local/lib/libpari-gmp.so.2 is not a symbolic
link

----------------------------------------------------------------------
Libraries have been installed in:
   /opt/sage-4.3.1/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/opt/sage-4.3.1/local/bin" || mkdir -p -- "/opt/sage-4.3.1/
local/bin"
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'annotate' '/
opt/sage-4.3.1/local/bin/annotate'
/usr/bin/install -c .libs/annotate /opt/sage-4.3.1/local/bin/annotate
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'gdparttopng' '/
opt/sage-4.3.1/local/bin/gdparttopng'
/usr/bin/install -c .libs/gdparttopng /opt/sage-4.3.1/local/bin/
gdparttopng
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'gdtopng' '/opt/
sage-4.3.1/local/bin/gdtopng'
/usr/bin/install -c .libs/gdtopng /opt/sage-4.3.1/local/bin/gdtopng
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'gd2copypal' '/
opt/sage-4.3.1/local/bin/gd2copypal'
/usr/bin/install -c .libs/gd2copypal /opt/sage-4.3.1/local/bin/
gd2copypal
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'gd2topng' '/
opt/sage-4.3.1/local/bin/gd2topng'
/usr/bin/install -c .libs/gd2topng /opt/sage-4.3.1/local/bin/gd2topng
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'pngtogd' '/opt/
sage-4.3.1/local/bin/pngtogd'
/usr/bin/install -c .libs/pngtogd /opt/sage-4.3.1/local/bin/pngtogd
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'pngtogd2' '/
opt/sage-4.3.1/local/bin/pngtogd2'
/usr/bin/install -c .libs/pngtogd2 /opt/sage-4.3.1/local/bin/pngtogd2
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'webpng' '/opt/
sage-4.3.1/local/bin/webpng'
/usr/bin/install -c .libs/webpng /opt/sage-4.3.1/local/bin/webpng
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'gd2togif' '/
opt/sage-4.3.1/local/bin/gd2togif'
/usr/bin/install -c .libs/gd2togif /opt/sage-4.3.1/local/bin/gd2togif
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'gdcmpgif' '/
opt/sage-4.3.1/local/bin/gdcmpgif'
/usr/bin/install -c .libs/gdcmpgif /opt/sage-4.3.1/local/bin/gdcmpgif
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'giftogd2' '/
opt/sage-4.3.1/local/bin/giftogd2'
/usr/bin/install -c .libs/giftogd2 /opt/sage-4.3.1/local/bin/giftogd2
test -z "/opt/sage-4.3.1/local/bin" || mkdir -p -- "/opt/sage-4.3.1/
local/bin"
 /usr/bin/install -c 'bdftogd' '/opt/sage-4.3.1/local/bin/bdftogd'
 /usr/bin/install -c 'config/gdlib-config' '/opt/sage-4.3.1/local/bin/
gdlib-config'
test -z "/opt/sage-4.3.1/local/include" || mkdir -p -- "/opt/
sage-4.3.1/local/include"
 /usr/bin/install -c -m 644 'gd.h' '/opt/sage-4.3.1/local/include/
gd.h'
 /usr/bin/install -c -m 644 'gdfx.h' '/opt/sage-4.3.1/local/include/
gdfx.h'
 /usr/bin/install -c -m 644 'gd_io.h' '/opt/sage-4.3.1/local/include/
gd_io.h'
 /usr/bin/install -c -m 644 'gdcache.h' '/opt/sage-4.3.1/local/include/
gdcache.h'
 /usr/bin/install -c -m 644 'gdfontg.h' '/opt/sage-4.3.1/local/include/
gdfontg.h'
 /usr/bin/install -c -m 644 'gdfontl.h' '/opt/sage-4.3.1/local/include/
gdfontl.h'
 /usr/bin/install -c -m 644 'gdfontmb.h' '/opt/sage-4.3.1/local/
include/gdfontmb.h'
 /usr/bin/install -c -m 644 'gdfonts.h' '/opt/sage-4.3.1/local/include/
gdfonts.h'
 /usr/bin/install -c -m 644 'gdfontt.h' '/opt/sage-4.3.1/local/include/
gdfontt.h'
 /usr/bin/install -c -m 644 'entities.h' '/opt/sage-4.3.1/local/
include/entities.h'
make[4]: Leaving directory `/opt/sage-4.3.1/spkg/build/gd-2.0.35.p3/
src'
make[3]: Leaving directory `/opt/sage-4.3.1/spkg/build/gd-2.0.35.p3/
src'
make[2]: Leaving directory `/opt/sage-4.3.1/spkg/build/gd-2.0.35.p3/
src'

real    1m23.569s
user    0m40.207s
sys     0m21.152s
Successfully installed gd-2.0.35.p3
Now cleaning up tmp files.
Making Sage/Python scripts relocatable...
Making script relocatable
Finished installing gd-2.0.35.p3.spkg
sage-spkg gdmodule-0.56.p6 2>&1
Warning: Attempted to overwrite SAGE_ROOT environment variable
gdmodule-0.56.p6
Machine:
Linux mepisdemo 2.6.27-1-mepis-smp #1 SMP PREEMPT Fri Jan 8 13:33:17
EST 2010 i686 GNU/Linux
Deleting directories from past builds of previous/current versions of
gdmodule-0.56.p6
Extracting package /opt/sage-4.3.1/spkg/standard/
gdmodule-0.56.p6.spkg ...
-rw-r--r-- 1 qrodo users 42383 2010-01-14 04:30 /opt/sage-4.3.1/spkg/
standard/gdmodule-0.56.p6.spkg
gdmodule-0.56.p6/
gdmodule-0.56.p6/SPKG.txt
gdmodule-0.56.p6/.hgignore
gdmodule-0.56.p6/src/
gdmodule-0.56.p6/src/SAGE.txt
gdmodule-0.56.p6/src/Setup.py
gdmodule-0.56.p6/src/install_notes.html
gdmodule-0.56.p6/src/gd.py
gdmodule-0.56.p6/src/_gdmodule.c
gdmodule-0.56.p6/src/README
gdmodule-0.56.p6/src/gd-ref.html
gdmodule-0.56.p6/src/PKG-INFO
gdmodule-0.56.p6/spkg-install
gdmodule-0.56.p6/.hg/
gdmodule-0.56.p6/.hg/store/
gdmodule-0.56.p6/.hg/store/data/
gdmodule-0.56.p6/.hg/store/data/_s_p_k_g.txt.i
gdmodule-0.56.p6/.hg/store/data/.hgignore.i
gdmodule-0.56.p6/.hg/store/data/patches/
gdmodule-0.56.p6/.hg/store/data/patches/_setup.py.i
gdmodule-0.56.p6/.hg/store/data/patches/_setup.py.patch.i
gdmodule-0.56.p6/.hg/store/data/patches/__gdmodule.c.i
gdmodule-0.56.p6/.hg/store/data/spkg-install.i
gdmodule-0.56.p6/.hg/store/undo
gdmodule-0.56.p6/.hg/store/00manifest.i
gdmodule-0.56.p6/.hg/store/00changelog.i
gdmodule-0.56.p6/.hg/requires
gdmodule-0.56.p6/.hg/dirstate
gdmodule-0.56.p6/.hg/undo.dirstate
gdmodule-0.56.p6/.hg/undo.branch
gdmodule-0.56.p6/.hg/00changelog.i
gdmodule-0.56.p6/patches/
gdmodule-0.56.p6/patches/Setup.py
gdmodule-0.56.p6/patches/_gdmodule.c
gdmodule-0.56.p6/patches/Setup.py.patch
Finished extraction
****************************************************
Host system
uname -a:
Linux mepisdemo 2.6.27-1-mepis-smp #1 SMP PREEMPT Fri Jan 8 13:33:17
EST 2010 i686 GNU/Linux
****************************************************
****************************************************
CC Version
gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian
4.3.2-1.1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --
enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-
shared --with-system-zlib --libexecdir=/usr/lib --without-included-
gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/
usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --
enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-
targets=all --enable-cld --enable-checking=release --build=i486-linux-
gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1.1)
****************************************************
running build
running build_py
creating build
creating build/lib.linux-i686-2.6
copying gd.py -> build/lib.linux-i686-2.6
running build_ext
building '_gd' extension
creating build/temp.linux-i686-2.6
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -
fPIC -DHAVE_LIBGD -DHAVE_LIBPNG -DHAVE_LIBZ -DHAVE_LIBFREETYPE -I/opt/
sage-4.3.1/local/include -I/usr/include -I/usr/include/X11 -I/opt/
sage-4.3.1/local/include/python2.6 -c _gdmodule.c -o build/temp.linux-
i686-2.6/_gdmodule.o
_gdmodule.c:152: warning: function declaration isn't a prototype
_gdmodule.c:169: warning: function declaration isn't a prototype
_gdmodule.c: In function 'image_string':
_gdmodule.c:993: warning: pointer targets in passing argument 5 of
'gdImageString' differ in signedness
_gdmodule.c: In function 'image_string16':
_gdmodule.c:1008: warning: passing argument 5 of 'gdImageString16'
from incompatible pointer type
_gdmodule.c: In function 'image_stringup':
_gdmodule.c:1022: warning: pointer targets in passing argument 5 of
'gdImageStringUp' differ in signedness
_gdmodule.c: In function 'image_stringup16':
_gdmodule.c:1037: warning: passing argument 5 of 'gdImageStringUp16'
from incompatible pointer type
gcc -pthread -shared build/temp.linux-i686-2.6/_gdmodule.o -L/opt/
sage-4.3.1/local/lib -L/usr/local/lib -L/usr/lib -L/usr/lib/X11 -lgd -
lpng12 -lz -lfreetype -o build/lib.linux-i686-2.6/_gd.so
running install
running build
running build_py
running build_ext
running install_lib
copying build/lib.linux-i686-2.6/_gd.so -> /opt/sage-4.3.1/local/lib/
python2.6/site-packages
copying build/lib.linux-i686-2.6/gd.py -> /opt/sage-4.3.1/local/lib/
python2.6/site-packages
byte-compiling /opt/sage-4.3.1/local/lib/python2.6/site-packages/gd.py
to gd.pyc
running install_egg_info
Writing /opt/sage-4.3.1/local/lib/python2.6/site-packages/
gdmodule-0.56-py2.6.egg-info

real    0m4.689s
user    0m2.810s
sys     0m0.120s
Successfully installed gdmodule-0.56.p6
Now cleaning up tmp files.
Making Sage/Python scripts relocatable...
Making script relocatable
Finished installing gdmodule-0.56.p6.spkg
sage-spkg fortran-20100118 2>&1
Warning: Attempted to overwrite SAGE_ROOT environment variable
fortran-20100118
Machine:
Linux mepisdemo 2.6.27-1-mepis-smp #1 SMP PREEMPT Fri Jan 8 13:33:17
EST 2010 i686 GNU/Linux
Deleting directories from past builds of previous/current versions of
fortran-20100118
Extracting package /opt/sage-4.3.1/spkg/standard/
fortran-20100118.spkg ...
-rw-r--r-- 1 qrodo users 34549760 2010-01-18 14:30 /opt/sage-4.3.1/
spkg/standard/fortran-20100118.spkg
fortran-20100118/
fortran-20100118/src/
fortran-20100118/src/sage_fortran
fortran-20100118/src/g95/
fortran-20100118/src/g95/g95-powerpc-osx.tar.bz2
fortran-20100118/src/g95/g95_x86_osx.tar.bz2
fortran-20100118/src/g95/g77
fortran-20100118/src/g95/remove_manual
fortran-20100118/src/gfortran/
fortran-20100118/src/gfortran/fortran-OSX64-20090120/
fortran-20100118/src/gfortran/fortran-OSX64-20090120/SPKG.txt
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/undo.branch
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/requires
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/store/
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/store/undo
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/store/
00manifest.i
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/store/
00changelog.i
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/store/data/
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/store/data/
_s_p_k_g.txt.i
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/store/data/
spkg-install.i
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/store/
data/.hgignore.i
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/store/fncache
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/undo.dirstate
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/dirstate
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/00changelog.i
fortran-20100118/src/gfortran/fortran-OSX64-20090120/src/
fortran-20100118/src/gfortran/fortran-OSX64-20090120/src/
gfortran-4.2.3.tar.bz2
fortran-20100118/src/gfortran/fortran-OSX64-20090120/spkg-install
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hgignore
fortran-20100118/src/gfortran/README.txt
fortran-20100118/which_fortran
fortran-20100118/.hgignore
fortran-20100118/spkg-install
fortran-20100118/SPKG.txt
fortran-20100118/.hg/
fortran-20100118/.hg/branch
fortran-20100118/.hg/requires
fortran-20100118/.hg/store/
fortran-20100118/.hg/store/data/
fortran-20100118/.hg/store/data/which__fortran.i
fortran-20100118/.hg/store/data/.hgignore.i
fortran-20100118/.hg/store/data/_s_p_k_g.txt.i
fortran-20100118/.hg/store/data/spkg-install.i
fortran-20100118/.hg/store/00manifest.i
fortran-20100118/.hg/store/undo
fortran-20100118/.hg/store/00changelog.i
fortran-20100118/.hg/dirstate
fortran-20100118/.hg/undo.branch
fortran-20100118/.hg/00changelog.i
fortran-20100118/.hg/undo.dirstate
Finished extraction
****************************************************
Host system
uname -a:
Linux mepisdemo 2.6.27-1-mepis-smp #1 SMP PREEMPT Fri Jan 8 13:33:17
EST 2010 i686 GNU/Linux
****************************************************
****************************************************
CC Version
gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian
4.3.2-1.1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --
enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-
shared --with-system-zlib --libexecdir=/usr/lib --without-included-
gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/
usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --
enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-
targets=all --enable-cld --enable-checking=release --build=i486-linux-
gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1.1)
****************************************************



**********************************************************************


Error installing Fortran: You must install gfortran or set
SAGE_FORTRAN (and possibly SAGE_FORTRAN_LIB).


**********************************************************************




real    0m0.368s
user    0m0.040s
sys     0m0.043s
sage: An error occurred while installing fortran-20100118
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /opt/sage-4.3.1/install.log.  Describe your computer, operating
system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/opt/sage-4.3.1/spkg/build/fortran-20100118 and type 'make check' or
whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/opt/sage-4.3.1/spkg/build/fortran-20100118' && '/opt/sage-4.3.1/
sage' -sh)
When you are done debugging, you can type "exit" to leave the
subshell.
make[1]: *** [installed/fortran-20100118] Error 1
make[1]: Leaving directory `/opt/sage-4.3.1/spkg'

real    66m52.355s
user    52m19.885s
sys     6m36.327s
Error building Sage.
qr...@mepisdemo:/opt/sage-4.3.1$ make
cd spkg && ./install all 2>&1 | tee -a ../install.log
make[1]: Entering directory `/opt/sage-4.3.1/spkg'
sage-spkg fortran-20100118 2>&1
Warning: Attempted to overwrite SAGE_ROOT environment variable
fortran-20100118
Machine:
Linux mepisdemo 2.6.27-1-mepis-smp #1 SMP PREEMPT Fri Jan 8 13:33:17
EST 2010 i686 GNU/Linux
Deleting directories from past builds of previous/current versions of
fortran-20100118
Extracting package /opt/sage-4.3.1/spkg/standard/
fortran-20100118.spkg ...
-rw-r--r-- 1 qrodo users 34549760 2010-01-18 14:30 /opt/sage-4.3.1/
spkg/standard/fortran-20100118.spkg
fortran-20100118/
fortran-20100118/src/
fortran-20100118/src/sage_fortran
fortran-20100118/src/g95/
fortran-20100118/src/g95/g95-powerpc-osx.tar.bz2
fortran-20100118/src/g95/g95_x86_osx.tar.bz2
fortran-20100118/src/g95/g77
fortran-20100118/src/g95/remove_manual
fortran-20100118/src/gfortran/
fortran-20100118/src/gfortran/fortran-OSX64-20090120/
fortran-20100118/src/gfortran/fortran-OSX64-20090120/SPKG.txt
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/undo.branch
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/requires
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/store/
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/store/undo
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/store/
00manifest.i
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/store/
00changelog.i
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/store/data/
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/store/data/
_s_p_k_g.txt.i
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/store/data/
spkg-install.i
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/store/
data/.hgignore.i
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/store/fncache
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/undo.dirstate
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/dirstate
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hg/00changelog.i
fortran-20100118/src/gfortran/fortran-OSX64-20090120/src/
fortran-20100118/src/gfortran/fortran-OSX64-20090120/src/
gfortran-4.2.3.tar.bz2
fortran-20100118/src/gfortran/fortran-OSX64-20090120/spkg-install
fortran-20100118/src/gfortran/fortran-OSX64-20090120/.hgignore
fortran-20100118/src/gfortran/README.txt
fortran-20100118/which_fortran
fortran-20100118/.hgignore
fortran-20100118/spkg-install
fortran-20100118/SPKG.txt
fortran-20100118/.hg/
fortran-20100118/.hg/branch
fortran-20100118/.hg/requires
fortran-20100118/.hg/store/
fortran-20100118/.hg/store/data/
fortran-20100118/.hg/store/data/which__fortran.i
fortran-20100118/.hg/store/data/.hgignore.i
fortran-20100118/.hg/store/data/_s_p_k_g.txt.i
fortran-20100118/.hg/store/data/spkg-install.i
fortran-20100118/.hg/store/00manifest.i
fortran-20100118/.hg/store/undo
fortran-20100118/.hg/store/00changelog.i
fortran-20100118/.hg/dirstate
fortran-20100118/.hg/undo.branch
fortran-20100118/.hg/00changelog.i
fortran-20100118/.hg/undo.dirstate
Finished extraction
****************************************************
Host system
uname -a:
Linux mepisdemo 2.6.27-1-mepis-smp #1 SMP PREEMPT Fri Jan 8 13:33:17
EST 2010 i686 GNU/Linux
****************************************************
****************************************************
CC Version
gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian
4.3.2-1.1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --
enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-
shared --with-system-zlib --libexecdir=/usr/lib --without-included-
gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/
usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --
enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-
targets=all --enable-cld --enable-checking=release --build=i486-linux-
gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1.1)
****************************************************



**********************************************************************


Error installing Fortran: You must install gfortran or set
SAGE_FORTRAN (and possibly SAGE_FORTRAN_LIB).


**********************************************************************




real    0m0.112s
user    0m0.050s
sys     0m0.010s
sage: An error occurred while installing fortran-20100118
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /opt/sage-4.3.1/install.log.  Describe your computer, operating
system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/opt/sage-4.3.1/spkg/build/fortran-20100118 and type 'make check' or
whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/opt/sage-4.3.1/spkg/build/fortran-20100118' && '/opt/sage-4.3.1/
sage' -sh)
When you are done debugging, you can type "exit" to leave the
subshell.
make[1]: *** [installed/fortran-20100118] Error 1
make[1]: Leaving directory `/opt/sage-4.3.1/spkg'

real    0m0.844s
user    0m0.127s
sys     0m0.400s
Error building Sage.
qr...@mepisdemo:/opt/sage-4.3.1$ cd spkg/build/fortran-20100118/
qr...@mepisdemo:/opt/sage-4.3.1/spkg/build/fortran-20100118$ cd '/opt/
sage-4.3.1/spkg/build/fortran-20100118' && '/opt/sage-4.3.1/sage' -sh

Starting subshell with Sage environment variables set.
Be sure to exit when you are done and do not do anything
with other copies of Sage!

Bypassing shell configuration files ...

/opt/sage-4.3.1/spkg/build/fortran-20100118
sage subshell$ make check
make: *** No rule to make target `check'.  Stop.
/opt/sage-4.3.1/spkg/build/fortran-20100118
sage subshell$ ls
spkg-install  SPKG.txt  src  which_fortran
/opt/sage-4.3.1/spkg/build/fortran-20100118
sage subshell$ cd src/
/opt/sage-4.3.1/spkg/build/fortran-20100118
sage subshell$ ls
g95  gfortran  sage_fortran
/opt/sage-4.3.1/spkg/build/fortran-20100118
sage subshell$ exit
exit
Exited Sage subshell.
qr...@mepisdemo:/opt/sage-4.3.1/spkg/build/fortran-20100118$ cd
qr...@mepisdemo:~$ cd /opt
qr...@mepisdemo:/opt$ ls
sage-4.3.1
qr...@mepisdemo:/opt$ cd sage-4.3.1/
qr...@mepisdemo:/opt/sage-4.3.1$ ls
COPYING.txt  install.log  local     README.txt  sage-python
spkg
data         ipython      makefile  sage        sage-README-osx.txt
tmp
qr...@mepisdemo:/opt/sage-4.3.1$ more makefile
# NUM_THREADS is the number of threads to use for parallel testing
(and
# sometime in the future, parallel building).  If this is 0, then it
# will be set to the number of processors, with a default maximum of 8
# -- see sage-ptest.
#
# The detection of number of processors might not be reliable on some
# platforms. On a Sun SPARC T5240 (t2.math), the number of processors
# reported by multiprocessing.cpu_count() might not correspond to the
# actual number of processors. See ticket #6283.
#
# WARNING: if your machine has <= 8 cpus (according to cpu_count() and
# you *don't* want to use that many threads for parallel doctesting,
# change the value of NUM_THREADS to a (sensible) positive integer. If
# cpu_count() reports > 8, then if NUM_THREADS is 0, only 8 threads
will
# be used. The default value is zero.
NUM_THREADS=0  # 0 interpreted as min(8, multiprocessing.cpu_count())

all:
        cd spkg && ./install all 2>&1 | tee -a ../install.log

clean:
        echo "Deleted spkg/build"
        rm -rf spkg/build
        mkdir -p spkg/build
        echo "Deleted spkg/archive"
        rm -rf spkg/archive
        mkdir -p spkg/archive

distclean:
        make clean
        rm -rf local
        rm -rf spkg/installed/*
        rm -f install.log
        rm -f test.log
        rm -rf data
        rm -rf dist
        rm -rf devel
        rm -rf doc
        rm -rf examples
        rm -rf sage-python
        rm -rf spkg/build
        rm -rf spkg/archive
        rm -rf ipython
        rm -rf matplotlibrc
        rm -rf tmp

TESTPRELIMS=. local/bin/sage-env && sage-starts &&
TESTDIRS=devel/sage/doc/common devel/sage/doc/en devel/sage/doc/fr
devel/sage/sa
ge

test: all
        $(TESTPRELIMS) sage-maketest

check: test

testoptional: all
        ./sage -b
        $(TESTPRELIMS) ./sage -t -sagenb -optional $(TESTDIRS) 2>&1 |
tee -a tes
tall.log

testlong: all
        ./sage -b
        $(TESTPRELIMS) ./sage -t -sagenb -long $(TESTDIRS) 2>&1 | tee -
a testlon
g.log

ptest: all
        $(TESTPRELIMS) ./sage -tp $(NUM_THREADS) -sagenb $(TESTDIRS)
2>&1 | tee
-a ptest.log

qr...@mepisdemo:/opt/sage-4.3.1$ cd '/opt/sage-4.3.1/spkg/build/
fortran-20100118' && '/opt/sage-4.3.1/sage' -sh

Starting subshell with Sage environment variables set.
Be sure to exit when you are done and do not do anything
with other copies of Sage!

Bypassing shell configuration files ...

/opt/sage-4.3.1/spkg/build/fortran-20100118
sage subshell$ make test
make: *** No rule to make target `test'.  Stop.
/opt/sage-4.3.1/spkg/build/fortran-20100118
sage subshell$ make
make: *** No targets specified and no makefile found.  Stop.
/opt/sage-4.3.1/spkg/build/fortran-20100118
sage subshell$ ls
spkg-install  SPKG.txt  src  which_fortran
/opt/sage-4.3.1/spkg/build/fortran-20100118
sage subshell$ more which_fortran
#!/usr/bin/env perl

$output=`sage_fortran --version`;

if ($output =~ m/G95/)
{
print("g95\n");
}
else{
print("gfortran\n");
}
/opt/sage-4.3.1/spkg/build/fortran-20100118
sage subshell$
/opt/sage-4.3.1/spkg/build/fortran-20100118
sage subshell$
/opt/sage-4.3.1/spkg/build/fortran-20100118
sage subshell$
/opt/sage-4.3.1/spkg/build/fortran-20100118
sage subshell$
/opt/sage-4.3.1/spkg/build/fortran-20100118
sage subshell$
/opt/sage-4.3.1/spkg/build/fortran-20100118
sage subshell$
/opt/sage-4.3.1/spkg/build/fortran-20100118
sage subshell$
/opt/sage-4.3.1/spkg/build/fortran-20100118
sage subshell$
/opt/sage-4.3.1/spkg/build/fortran-20100118
sage subshell$
/opt/sage-4.3.1/spkg/build/fortran-20100118
sage subshell$ which gcc
/usr/bin/gcc
/opt/sage-4.3.1/spkg/build/fortran-20100118
sage subshell$ exit
exit
Exited Sage subshell.
qr...@mepisdemo:/opt/sage-4.3.1/spkg/build/fortran-20100118$ which gcc
/usr/bin/gcc
qr...@mepisdemo:/opt/sage-4.3.1/spkg/build/fortran-20100118$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian
4.3.2-1.1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --
enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-
shared --with-system-zlib --libexecdir=/usr/lib --without-included-
gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/
usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --
enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-
targets=all --enable-cld --enable-checking=release --build=i486-linux-
gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1.1)
qr...@mepisdemo:/opt/sage-4.3.1/spkg/build/fortran-20100118$


-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to