Installatiom

Moderators: cyao, soliday

Post Reply
varese
Posts: 5
Joined: 10 Sep 2008, 10:19

Installatiom

Post by varese » 04 Jul 2012, 13:27

Previuosly I installed and/or compiled succesfully Elegant and SDDS on my Mac OS 10.5.8
but with the last version the precompiled one did not work so I tried to compile it and these below are the error messages I obtained, for sure it is somethig that I silly forgot to declare or whatever, but please can you help me?
many thanks
Cristina

for Elegant:

sh-3.2# ./makeSelegant
O.linux-x86 is linked with O.linux-x86_S
touch: ../../bin/linux-x86/elegant: No such file or directory
mv ../../src/elegant/Makefile ../../src/elegant/Makefile.TMP
cp ../../src/elegant/Makefile.Pelegant ../../src/elegant/Makefile
make NOMPI=1 -f Makefile
make -C O.darwin-x86 -f ../Makefile TOP=../../.. T_A=darwin-x86 install
nlpp ../amplif.nl amplif.h
make[2]: nlpp: Command not found
make[2]: *** [amplif.h] Error 127
make[1]: *** [install.darwin-x86] Error 2
make: *** [Selegant] Error 2

for SDDS:
make
make -C include install
make -C O.darwin-x86 -f ../Makefile TOP=../../../.. T_A=darwin-x86 install
make[2]: Nothing to be done for `install'.
make -C meschach install
make -C O.darwin-x86 -f ../Makefile TOP=../../../.. T_A=darwin-x86 install
make[2]: Nothing to be done for `install'.
make -C zlib install
make -C O.darwin-x86 -f ../Makefile TOP=../../../.. T_A=darwin-x86 install
make[2]: Nothing to be done for `install'.
make -C mdblib install
make -C O.darwin-x86 -f ../Makefile TOP=../../../.. T_A=darwin-x86 install
make[2]: Nothing to be done for `install'.
make -C mdbmth install
make -C O.darwin-x86 -f ../Makefile TOP=../../../.. T_A=darwin-x86 install
make[2]: Nothing to be done for `install'.
make -C rpns/code install
make -C O.darwin-x86 -f ../Makefile TOP=../../../../.. T_A=darwin-x86 install
/usr/bin/c++ -o rpn -L/usr/local/epics/extensions/lib/darwin-x86 -L/usr/local/epics/extensions/src/SDDS/rpns/code/O.darwin-x86 -L/opt/local/lib/ -L/sw/lib/ rpn.o -lrpnlib -lmdbmth -lmdblib -lz -lreadline -lm -lgcc
Undefined symbols:
"_gsl_sf_bessel_Inu", referenced from:
_rpn_IN in librpnlib.a(math.o)
"_gsl_sf_bessel_Knu", referenced from:
_rpn_KN in librpnlib.a(math.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [rpn] Error 1
make[1]: *** [install.darwin-x86] Error 2
make: *** [rpns/code.install] Error 2

soliday
Posts: 390
Joined: 28 May 2008, 09:15

Re: Installatiom

Post by soliday » 23 Aug 2012, 10:09

First run "fink install gsl" and then try to build SDDS again. Once SDDS is built you will have the nlpp program needed by elegant.

As a side note, I am working on a release for 64bit OSX in my spare time. I am trying to make it a set of universal executables that will run on 32bit and 64bit versions of OSX.

Post Reply