icshwi / e3 Goto Github PK
View Code? Open in Web Editor NEWESS EPICS Environment : E3 Development
ESS EPICS Environment : E3 Development
I find that prepare module should be improved providing an option (e.g. -d) to set the destination path of the module. Currently everything is extracted under the e3/tool directory.
All but one of the Arch packages I need can be installed like this:
pacman -Syu tcl glibmm libtirpc readline libxt libxmu libxpm pcre net-snmp re2c darcs python2 netcdf hdf5 libpng bzip2 libxml2 libxml2 libusb libusb-compat remake systemd linux-headers mercurial boost boost-libs libraw1394 opencv
the tclx package is also needed but it's the only one that's not in an official Arch repository. Line number 3 of e3/e3-require/require-ess/App/tools/expandDBD.tcl
is package require Tclx
Do we really need it?
glibc beyond version 2.26 has removed some headers that asyn needs to compile. Arch is on version 2.28. The asyn build needs -I/usr/include/tirpc
to find the new location for these header files (rpc.h and netconfig.h).
PKG is installed throught pkg_automation, but the following command should be executed at the end of e3 builder.
sudo symlinks -d ${E3_SITELIBS_PATH}
cannot compile Asyn with Fedora 30.
The e3 building system can detect whether it needs root privilege or not according to EPICS_BASE
. However, e3.bash
cannot detect it automatically. Most case, we don't have any issue. However, if one compiles a module with root privilege, clean_module
cannot remove that directory without sudo
. So, it is quite possible to check EPICS_BASE
within e3.bash
.
I will leave this issue here in order to clean up them later.
https://github.com/icshwi/e3/blame/master/README.md#L118 says I should run bash caget_pvs.bash E3Test_PVs.list
, but that doesn't work:
$ bash caget_pvs.bash E3Test_PVs.list
Usage : caget_pvs.bash [-l pvlist_file] [-w watch_interval_sec] [-f <filter_string>] [-c] [-7]
-l : pvlist file generated by dbl output or hand
-w : watch interval sec
-f : without arg, select all
-c : disable existent EPICS CA ADDR environment
-7 : use pvget instead of caget
bash caget_pvs.bash -l pvlist_file
bash caget_pvs.bash -l pvlist_file -f "RB"
bash caget_pvs.bash -l pvlist_file -w 5
pi@raspberrypi:~/git/e3 $ bash e3.bash base
[sudo] password for pi:
Cleaning .... e3-base
>> e3-base
>> No target directroy is found, Cloning...
Cloning into 'e3-base'...
remote: Enumerating objects: 21, done.
remote: Counting objects: 100% (21/21), done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 547 (delta 10), reused 12 (delta 5), pack-reused 526
Receiving objects: 100% (547/547), 100.10 KiB | 0 bytes/s, done.
Resolving deltas: 100% (309/309), done.
mkdir: cannot create directory ‘/home/grey’: Permission denied
make: /home/pi/git/e3/e3-base/epics-base/startup/EpicsHostArch.pl: Command not found
Can't open perl script "/home/pi/git/e3/e3-base/epics-base/src/tools/EpicsHostArch.pl": No such file or directory
Two issues here:
mkdir: cannot create directory ‘/home/grey’: Permission denied
why is this directory trying to be created!?
and
Can't open perl script "/home/pi/git/e3/e3-base/epics-base/src/tools/EpicsHostArch.pl": No such file or directory
make uninstall should remove "creating symbolic links in siteLibs
Update additional features dependent upon sequencer
patch _site and patch_revert_site are needed to fix in order to generate the properly DEFINES_FT.
Some Repo has its own conflict
git submodule update --remote --merge m-epics-axiscore/
Auto-merging Makefile.EEE
CONFLICT (add/add): Merge conflict in Makefile.EEE
Automatic merge failed; fix conflicts and then commit the result.
Unable to merge '3d9cbfdf6c2130f9b1e89df8480d619d0766c4f1' in submodule path 'm-epics-axiscore'
/home/jhlee/e3/tools/e3-axiscore/configure/BUILD_E3:74: recipe for target 'm-epics-axiscore' failed
make: *** [m-epics-axiscore] Error 2
Why do ./e3.bash base
and ./e3.bash req
ask for my sudo password?
EEE has the hardcorded EPICS and EEE variables in /etc/profile.d/ In this case, HOST_ARCH is selected as centos7, instead of linux. Then, require building will be failed.
It would be better to void all of them in addition with EPICS variables.
db_module_list is hard-coded in e3.bash. So, we can expect module mismatch with active modules in configure/MODULE.
Need additional logic to check both properly.
Maybe to move that into makefile itself, will resolve this situation permanently.
e3-calc has the proper DEFINES_FT, should be copied most of modules
We have to check which version of Makefile can work with the current version of E3 building system.
I think it was Linx Mint 2 "Betsy"
I cloned a fresh e3 version from the repo. I start to follow the instructions in the README.
I get the following error:
$make env
e3.bash: illegal option -- g
Usage : e3.bash [ -ctifeal ]
......
am I doing something wrong? I am pretty sure that this used to work...
Hi Han,
I noticed that in the e3.bash there are several lines with "... || die 1 " commands.
This looks to me to some leftover from some perl script.
Could you please check?
Should add them in README.md
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.