Dear experts and users,
I try to install the elegant following the guide 'Guide to Installing SDDS and AOP Simulation Software on Linux Computers'. When I compiling the elegant source (step 7, cd /oag/apps/configure and type make), an error is following:
../configure/CONFIG_APPS:9: /configure/CONFIG: No such file or directory
../configure/RULES:3: /configure/RULES: No such file or directory
make: *** No rule to make target `/configure/RULES'. Stop.
I think that the directory is wrong in the file CONFIG_APPS and RULES. So, I modify them.
Line 9 of CONFIG_APPS file in /oag/apps/configure
CONFIG=$(EPICS_BASE)/configure --> CONFIG=/epics/base/configure
line 3 of RULES file in /oag/apps/configure
include $(EPICS_BASE)/configure/RULES --> include /epics/base/configure/RULES
Then I type make, the error message is
perl /bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../..
Can't open perl script "/bin/linux-x86_64/makeMakefile.pl": No such file or directory.
The system is CentOS Linux 7, x86_64. I am the new one to the Linux.
I don't how to solve this problem. Please help me!
Thanks!
Bing
Some problems when compiling the elegant source
Re: Some problems when compiling the elegant source
I can get that exact error message if I don't have EPICS_BASE set in the RELEASE file. Make sure EPICS_BASE is set to the directory that you installed EPICS/Base
Re: Some problems when compiling the elegant source
Thank you so much! The installation was done.
Bing
Bing
Re: Some problems when compiling the elegant source
Hi soliday,
Today, I help my friend to install elegant. When I change the directory to oag/apps/src/elegant/sddsbrightness and type make,
an error (as follews):
How to solve this problem?
Thanks!
Bing
Today, I help my friend to install elegant. When I change the directory to oag/apps/src/elegant/sddsbrightness and type make,
an error (as follews):
Code: Select all
[bing@localhost sddsbrightness]$ make
make -C O.linux-x86_64 -f ../Makefile TOP=../../../.. \
T_A=linux-x86_64 install
make[1]: Entering directory '/home/bing/oag/apps/src/elegant/sddsbrightness/O.linux-x86_64'
../Makefile:176: warning: overriding recipe for target 'sddsbrightness'
/home/bing/epics/base/configure/RULES_BUILD:192: warning: ignoring old recipe for target 'sddsbrightness'
../Makefile:179: warning: overriding recipe for target 'sddsurgent'
/home/bing/epics/base/configure/RULES_BUILD:192: warning: ignoring old recipe for target 'sddsurgent'
../Makefile:182: warning: overriding recipe for target 'sddsfluxcurve'
/home/bing/epics/base/configure/RULES_BUILD:192: warning: ignoring old recipe for target 'sddsfluxcurve'
make[1]: *** No rule to make target '../../../../lib/linux-x86_64/libxrl.a', needed by 'sddsurgent'. Stop.
make[1]: Leaving directory '/home/bing/oag/apps/src/elegant/sddsbrightness/O.linux-x86_64'
/home/bing/epics/base/configure/RULES_ARCHS:61: recipe for target 'install.linux-x86_64' failed
Thanks!
Bing
Re: Some problems when compiling the elegant source
Type make in the oag/apps/src/xraylib directory to build the missing libxrl.a library.