Hi, On x86_64 GNU/Linux (AMD Opteron) platform, the install script supplied with Thirdparty_install.1.22.0.tar.gz source distribution appears broken. line 1215: '$(INCLUDEDIR) -mcpu=i486,g\' Makefile > Makefile.new' python install /usr/local/SCIRun/Thirdparty 32 1 produces: gcc -Iheaders -I/usr/include -Ijpeg -mcpu=i486 -fomit-frame-pointer -ffast-mathMaking the following modification: 1215c1215 < '$(INCLUDEDIR) -mcpu=i486,g\' Makefile > Makefile.new' --- > '$(INCLUDEDIR) -m32,g\' Makefile > Makefile.new' Allows the build to proceed until the point of building DSOs in teem/libair: ld -o ../linux.32/obj/libair.so -shared -L/usr/local/SCIRun/Thirdparty/1.22/Linux/gcc-3.3.1-32bit/lib ../linux.32/obj/754.o ../linux.32/obj/rand48.o ../linux.32/obj/array.o ../linux.32/obj/miscAir.o ../linux.32/obj/parseAir.o ../linux.32/obj/endianAir.o ../linux.32/obj/dio.o ../linux.32/obj/mop.o ../linux.32/obj/enum.o ../linux.32/obj/sane.o ../linux.32/obj/string.o ../linux.32/obj/threadAir.oApply the following modifications to Thirdparty_install.1.22.0/install: 576c576 < # Now build SCI Interface library and Interface sampel programs --- > # Now build SCI Interface library and Interface sample programs 1084a1085,1089 > else : > cmmd = 'cp make/linux.mk make/linux.mk.work' > inst(cmmd) > cmmd = "sed -e 's,OPT_CFLAG ?= -O2,OPT_CFLAG ?= -O2 -fPIC,g' make/linux.mk.work > make/linux.mk" > inst(cmmd) 1209c1214 < elif processor == 'ia64' : --- > else : 1213c1218 < else : # Add in the -m486 flag... --- > # Add in the -m486 flag... 1215c1220 < '$(INCLUDEDIR) -mcpu=i486,g\' Makefile > Makefile.new' --- > '$(INCLUDEDIR) -m32,g\' Makefile > Makefile.new' 1276a1282 > logenviron('LDFLAGS','-fPIC') -Stewart http://us.imdb.com/Name?Stewart+Dickson http://www.csm.ornl.gov/~dickson |
Archive powered by MHonArc 2.6.16.