lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


build problems:

[my system is an "x86_64" system]

(1) the following error:

    make[3]: ディレクトリ `/usr/local/src/gsl-shell-0.9beta1/lua/src' に入ります
    gcc --std=c99 -march=i586 -g -DGSL_SHELL -DLNUM_COMPLEX -DLUA_USE_LINUX   -c -o lapi.o lapi.c
    lapi.c:1: error: CPU you selected does not support x86-64 instruction set

solution:  remove the "-march=i586" from lua/src/Makefile

(2) 

    make DEFS='"-DGSL_SHELL -DLNUM_COMPLEX"' PLATFORM=linux -C agg-plot
    make[1]: Entering directory `/usr/local/src/gsl-shell-0.9beta1/agg-plot'
    g++ -O2 -DGSL_SHELL -DLNUM_COMPLEX -I.. -I../lua/src -I../lua/etc -I/usr/include/agg2 -c utils.cpp
    In file included from utils.cpp:8:
    utils.h:5:30: error: agg_trans_affine.h: No such file or directory
    ...

solution: ???

(did you forget that file?)

Thanks,

-Miles

-- 
Ocean, n. A body of water covering seven-tenths of a world designed for Man -
who has no gills.